@fluid-topics/ft-chart 2.2.28 → 2.2.29

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,11 +1,11 @@
1
- "use strict";(()=>{var xu=Object.defineProperty;var ns=(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 M=(e,t)=>{for(var r in t)xu(e,r,{get:t[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(g,y){if(g=g.toLowerCase(),this._getDefinition(g)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${g}" has already been used with this registry`);if(this._definitionsByClass.get(y)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=y.prototype.attributeChangedCallback,w=new Set(y.observedAttributes||[]);m(y,w,x);let N={elementClass:y,connectedCallback:y.prototype.connectedCallback,disconnectedCallback:y.prototype.disconnectedCallback,adoptedCallback:y.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:y.formAssociated,formAssociatedCallback:y.prototype.formAssociatedCallback,formDisabledCallback:y.prototype.formDisabledCallback,formResetCallback:y.prototype.formResetCallback,formStateRestoreCallback:y.prototype.formStateRestoreCallback,observedAttributes:w};this._definitionsByTag.set(g,N),this._definitionsByClass.set(y,N);let H=r.call(n,g);H||(H=h(g),t.call(n,g,H)),this===window.customElements&&(s.set(y,N),N.standInClass=H);let j=this._awaitingUpgrade.get(g);if(j){this._awaitingUpgrade.delete(g);for(let B of j)a.delete(B),S(B,N,!0)}let k=this._whenDefinedPromises.get(g);return k!==void 0&&(k.resolve(y),this._whenDefinedPromises.delete(g)),y}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(g){return this._definitionsByTag.get(g)?.elementClass}_getDefinition(g){return this._definitionsByTag.get(g)}whenDefined(g){let y=this._getDefinition(g);if(y!==void 0)return Promise.resolve(y.elementClass);let x=this._whenDefinedPromises.get(g);return x===void 0&&(x={},x.promise=new Promise(w=>x.resolve=w),this._whenDefinedPromises.set(g,x)),x.promise}_upgradeWhenDefined(g,y,x){let w=this._awaitingUpgrade.get(y);w||this._awaitingUpgrade.set(y,w=new Set),x?w.add(g):w.delete(g)}};let d;window.HTMLElement=function(){let y=d;if(y)return d=void 0,y;let x=s.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return y=Reflect.construct(e,[],x.standInClass),Object.setPrototypeOf(y,this.constructor.prototype),i.set(y,x),y},window.HTMLElement.prototype=e.prototype;let f=g=>g===document||g instanceof ShadowRoot,p=g=>{let y=g.getRootNode();if(!f(y)){let x=O[O.length-1];if(x instanceof CustomElementRegistry)return x;y=x.getRootNode(),f(y)||(y=l.get(y)?.getRootNode()||document)}return y.customElements},h=g=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let w=p(x)||window.customElements,N=w._getDefinition(g);return N?S(x,N):a.set(x,w),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(g,y,x)=>{if(y.size===0||x===void 0)return;let w=g.prototype.setAttribute;w&&(g.prototype.setAttribute=function(j,k){let B=j.toLowerCase();if(y.has(B)){let Q=this.getAttribute(B);w.call(this,B,k),x.call(this,B,Q,k)}else w.call(this,B,k)});let N=g.prototype.removeAttribute;N&&(g.prototype.removeAttribute=function(j){let k=j.toLowerCase();if(y.has(k)){let B=this.getAttribute(k);N.call(this,k),x.call(this,k,B,null)}else N.call(this,k)});let H=g.prototype.toggleAttribute;H&&(g.prototype.toggleAttribute=function(j,k){let B=j.toLowerCase();if(y.has(B)){let Q=this.getAttribute(B);H.call(this,B,k);let Ne=this.getAttribute(B);x.call(this,B,Q,Ne)}else H.call(this,B,k)})},b=g=>{let y=Object.getPrototypeOf(g);if(y!==window.HTMLElement)return y===e?Object.setPrototypeOf(g,window.HTMLElement):b(y)},S=(g,y,x=!1)=>{Object.setPrototypeOf(g,y.elementClass.prototype),i.set(g,y),d=g;try{new y.elementClass}catch{b(y.elementClass),new y.elementClass}y.attributeChangedCallback&&y.observedAttributes.forEach(w=>{g.hasAttribute(w)&&y.attributeChangedCallback.call(g,w,null,g.getAttribute(w))}),x&&y.connectedCallback&&g.isConnected&&y.connectedCallback.call(g)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(g){let y=C.apply(this,arguments);return g.customElements&&(y.customElements=g.customElements),y};let O=[document],A=(g,y,x=void 0)=>{let w=(x?Object.getPrototypeOf(x):g.prototype)[y];g.prototype[y]=function(){O.push(this);let N=w.apply(x||this,arguments);return N!==void 0&&l.set(N,this),O.pop(),N}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let T=(g,y)=>{let x=Object.getOwnPropertyDescriptor(g.prototype,y);Object.defineProperty(g.prototype,y,{...x,set(w){O.push(this),x.set.call(this,w),O.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let g=new WeakMap,y=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let k=y.call(this,...j);return g.set(k,this),k},x.forEach(j=>{let k=window.ElementInternals.prototype,B=k[j];k[j]=function(...Q){let Ne=g.get(this);if(i.get(Ne).formAssociated===!0)return B?.call(this,...Q);throw new DOMException(`Failed to execute ${B} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class w extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class N{constructor(k){let B=new Map;k.forEach((Q,Ne)=>{let uo=Q.getAttribute("name"),rs=B.get(uo)||[];this[+Ne]=Q,rs.push(Q),B.set(uo,rs)}),this.length=k.length,B.forEach((Q,Ne)=>{Q&&(Q.length===1?this[Ne]=Q[0]:this[Ne]=new w(Q))})}namedItem(k){return this[k]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=H.get.call(this,[]),k=[];for(let B of j){let Q=i.get(B);(!Q||Q.formAssociated===!0)&&k.push(B)}return new N(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{var a;if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,s)}}}var Eo={};M(Eo,{CSSResult:()=>Mt,LitElement:()=>Ve,ReactiveElement:()=>xe,_$LE:()=>Pu,_$LH:()=>xo,adoptStyles:()=>hr,css:()=>q,defaultConverter:()=>Ft,getCompatibleStyle:()=>tn,html:()=>tt,isServer:()=>p0,mathml:()=>Tu,noChange:()=>X,notEqual:()=>yr,nothing:()=>G,render:()=>So,supportsAdoptingStyleSheets:()=>fr,svg:()=>ku,unsafeCSS:()=>pr});var en=globalThis,fr=en.ShadowRoot&&(en.ShadyCSS===void 0||en.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fo=Symbol(),os=new WeakMap,Mt=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==fo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(fr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=os.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&os.set(r,t))}return t}toString(){return this.cssText}},pr=e=>new Mt(typeof e=="string"?e:e+"",void 0,fo),q=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new Mt(r,e,fo)},hr=(e,t)=>{if(fr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=en.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},tn=fr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return pr(r)})(e):e;var{is:Su,defineProperty:vu,getOwnPropertyDescriptor:Eu,getOwnPropertyNames:Ou,getOwnPropertySymbols:_u,getPrototypeOf:wu}=Object,rn=globalThis,is=rn.trustedTypes,Cu=is?is.emptyScript:"",Au=rn.reactiveElementPolyfillSupport,mr=(e,t)=>e,Ft={toAttribute(e,t){switch(t){case Boolean:e=e?Cu: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}},yr=(e,t)=>!Su(e,t),as={attribute:!0,type:String,converter:Ft,reflect:!1,useDefault:!1,hasChanged:yr};Symbol.metadata??=Symbol("metadata"),rn.litPropertyMetadata??=new WeakMap;var xe=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=as){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&vu(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=Eu(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??as}static _$Ei(){if(this.hasOwnProperty(mr("elementProperties")))return;let t=wu(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(mr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(mr("properties"))){let r=this.properties,n=[...Ou(r),..._u(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(tn(i))}else t!==void 0&&r.push(tn(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return hr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ft).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ft;this._$Em=i;let l=s.fromAttribute(r,a.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){let s=this.constructor;if(i===!1&&(a=this[t]),n??=s.getPropertyOptions(t),!((n.hasChanged??yr)(a,r)||n.useDefault&&n.reflect&&a===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),a!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),i===!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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};xe.elementStyles=[],xe.shadowRootOptions={mode:"open"},xe[mr("elementProperties")]=new Map,xe[mr("finalized")]=new Map,Au?.({ReactiveElement:xe}),(rn.reactiveElementVersions??=[]).push("2.1.2");var ho=globalThis,ss=e=>e,nn=ho.trustedTypes,cs=nn?nn.createPolicy("lit-html",{createHTML:e=>e}):void 0,mo="$lit$",$e=`lit$${Math.random().toFixed(9).slice(2)}$`,yo="?"+$e,Ru=`<${yo}>`,ht=document,br=()=>ht.createComment(""),xr=e=>e===null||typeof e!="object"&&typeof e!="function",go=Array.isArray,hs=e=>go(e)||typeof e?.[Symbol.iterator]=="function",po=`[
2
- \f\r]`,gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ls=/-->/g,ds=/>/g,ft=RegExp(`>|${po}(?:([^\\s"'>=/]+)(${po}*=${po}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),us=/'/g,fs=/"/g,ms=/^(?:script|style|textarea|title)$/i,bo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),tt=bo(1),ku=bo(2),Tu=bo(3),X=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),ps=new WeakMap,pt=ht.createTreeWalker(ht,129);function ys(e,t){if(!go(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return cs!==void 0?cs.createHTML(t):t}var gs=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":t===3?"<math>":"",s=gr;for(let l=0;l<r;l++){let d=e[l],f,p,h=-1,m=0;for(;m<d.length&&(s.lastIndex=m,p=s.exec(d),p!==null);)m=s.lastIndex,s===gr?p[1]==="!--"?s=ls:p[1]!==void 0?s=ds:p[2]!==void 0?(ms.test(p[2])&&(i=RegExp("</"+p[2],"g")),s=ft):p[3]!==void 0&&(s=ft):s===ft?p[0]===">"?(s=i??gr,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,f=p[1],s=p[3]===void 0?ft:p[3]==='"'?fs:us):s===fs||s===us?s=ft:s===ls||s===ds?s=gr:(s=ft,i=void 0);let b=s===ft&&e[l+1].startsWith("/>")?" ":"";a+=s===gr?d+Ru:h>=0?(n.push(f),d.slice(0,h)+mo+d.slice(h)+$e+b):d+$e+(h===-2?l:b)}return[ys(e,a+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Sr=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[f,p]=gs(t,r);if(this.el=e.createElement(f,n),pt.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=pt.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(mo)){let m=p[s++],b=i.getAttribute(h).split($e),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:S[2],strings:b,ctor:S[1]==="."?an:S[1]==="?"?sn:S[1]==="@"?cn:yt}),i.removeAttribute(h)}else h.startsWith($e)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(ms.test(i.tagName)){let h=i.textContent.split($e),m=h.length-1;if(m>0){i.textContent=nn?nn.emptyScript:"";for(let b=0;b<m;b++)i.append(h[b],br()),pt.nextNode(),d.push({type:2,index:++a});i.append(h[m],br())}}}else if(i.nodeType===8)if(i.data===yo)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf($e,h+1))!==-1;)d.push({type:7,index:a}),h+=$e.length-1}a++}}static createElement(t,r){let n=ht.createElement("template");return n.innerHTML=t,n}};function mt(e,t,r=e,n){if(t===X)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=xr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=mt(e,i._$AS(e,t.values),i,n)),t}var on=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??ht).importNode(r,!0);pt.currentNode=i;let a=pt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Ut(a,a.nextSibling,this,t):d.type===1?f=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(f=new ln(a,this,t)),this._$AV.push(f),d=n[++l]}s!==d?.index&&(a=pt.nextNode(),s++)}return pt.currentNode=ht,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ut=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=mt(this,t,r),xr(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==X&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):hs(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!==G&&xr(this._$AH)?this._$AA.nextSibling.data=t:this.T(ht.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Sr.createElement(ys(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new on(i,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(t){let r=ps.get(t.strings);return r===void 0&&ps.set(t.strings,r=new Sr(t)),r}k(t){go(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.O(br()),this.O(br()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let n=ss(t).nextSibling;ss(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},yt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=mt(this,t,r,0),s=!xr(t)||t!==this._$AH&&t!==X,s&&(this._$AH=t);else{let l=t,d,f;for(t=a[0],d=0;d<a.length-1;d++)f=mt(this,l[n+d],r,d),f===X&&(f=this._$AH[d]),s||=!xr(f)||f!==this._$AH[d],f===G?t=G:t!==G&&(t+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!i&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},an=class extends yt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}},sn=class extends yt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},cn=class extends yt{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=mt(this,t,r,0)??G)===X)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ln=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){mt(this,t)}},xo={M:mo,P:$e,A:yo,C:1,L:gs,R:on,D:hs,V:mt,I:Ut,H:yt,N:sn,U:cn,B:an,F:ln},Iu=ho.litHtmlPolyfillSupport;Iu?.(Sr,Ut),(ho.litHtmlVersions??=[]).push("3.3.3");var So=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ut(t.insertBefore(br(),a),a,void 0,r??{})}return i._$AI(e),i};var vo=globalThis,Ve=class extends xe{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=So(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return X}};Ve._$litElement$=!0,Ve.finalized=!0,vo.litElementHydrateSupport?.({LitElement:Ve});var Nu=vo.litElementPolyfillSupport;Nu?.({LitElement:Ve});var Pu={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(vo.litElementVersions??=[]).push("4.2.2");var p0=!1;var _o={};M(_o,{customElement:()=>Lu,eventOptions:()=>Mu,property:()=>I,query:()=>Oo,queryAll:()=>Uu,queryAssignedElements:()=>Wu,queryAssignedNodes:()=>Hu,queryAsync:()=>Bu,standardProperty:()=>bs,state:()=>ue});var Lu=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Du={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:yr},bs=(e=Du,t,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),a.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e,!0,l)}}throw Error("Unsupported decorator location: "+n)};function I(e){return(t,r)=>typeof r=="object"?bs(e,t,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,r)}function ue(e){return I({...e,state:!0,attribute:!1})}function Mu(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var Ce=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function Oo(e,t){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ce(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ce(r,n,{get(){return a(this)}})}}var Fu;function Uu(e){return(t,r)=>Ce(t,r,{get(){return(this.renderRoot??(Fu??=document.createDocumentFragment())).querySelectorAll(e)}})}function Bu(e){return(t,r)=>Ce(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Wu(e){return(t,r)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ce(t,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Hu(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ce(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var wo={};M(wo,{repeat:()=>un});var Pe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},fe=e=>(...t)=>({_$litDirective$:e,values:t}),Se=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:$u}=xo,xs=e=>e;var vs=e=>e.strings===void 0,Ss=()=>document.createComment(""),Bt=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let a=n.insertBefore(Ss(),i),s=n.insertBefore(Ss(),i);r=new $u(a,s,e,e.options)}else{let a=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(a!==i||l){let d=r._$AA;for(;d!==a;){let f=xs(d).nextSibling;xs(n).insertBefore(d,i),d=f}}}return r},rt=(e,t,r=e)=>(e._$AI(t,r),e),Vu={},Es=(e,t=Vu)=>e._$AH=t,Os=e=>e._$AH,dn=e=>{e._$AR(),e._$AA.remove()};var _s=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},un=fe(class extends Se{constructor(e){if(super(e),e.type!==Pe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,n]){let i=Os(e),{values:a,keys:s}=this.dt(t,r,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],f,p,h=0,m=i.length-1,b=0,S=a.length-1;for(;h<=m&&b<=S;)if(i[h]===null)h++;else if(i[m]===null)m--;else if(l[h]===s[b])d[b]=rt(i[h],a[b]),h++,b++;else if(l[m]===s[S])d[S]=rt(i[m],a[S]),m--,S--;else if(l[h]===s[S])d[S]=rt(i[h],a[S]),Bt(e,d[S+1],i[h]),h++,S--;else if(l[m]===s[b])d[b]=rt(i[m],a[b]),Bt(e,i[h],i[m]),m--,b++;else if(f===void 0&&(f=_s(s,b,S),p=_s(l,h,m)),f.has(l[h]))if(f.has(l[m])){let C=p.get(s[b]),O=C!==void 0?i[C]:null;if(O===null){let A=Bt(e,i[h]);rt(A,a[b]),d[b]=A}else d[b]=rt(O,a[b]),Bt(e,i[h],O),i[C]=null;b++}else dn(i[m]),m--;else dn(i[h]),h++;for(;b<=S;){let C=Bt(e,d[S+1]);rt(C,a[b]),d[b++]=C}for(;h<=m;){let C=i[h++];C!==null&&dn(C)}return this.ut=s,Es(e,d),X}});var Co={};M(Co,{classMap:()=>zu});var zu=fe(class extends Se{constructor(e){if(super(e),e.type!==Pe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.st)n in t||(r.remove(n),this.st.delete(n));for(let n in t){let i=!!t[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return X}});var Ao={};M(Ao,{styleMap:()=>Yu});var ws="important",Gu=" !"+ws,Yu=fe(class extends Se{constructor(e){if(super(e),e.type!==Pe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Gu);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ws:""):r[n]=i}}return X}});var Ro={};M(Ro,{UnsafeHTMLDirective:()=>Wt,unsafeHTML:()=>ju});var Wt=class extends Se{constructor(t){if(super(t),this.it=G,t.type!==Pe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||t==null)return this._t=void 0,this.it=t;if(t===X)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:[]}}};Wt.directiveName="unsafeHTML",Wt.resultType=1;var ju=fe(Wt);var ko={};M(ko,{splitBreadcrumbForMenu:()=>Ku});function Ku(e,t=0,r=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(r,1),i=e.slice(n*-1);return t+n>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-i.length),afterMenu:i}}var Wo={};M(Wo,{CacheRegistry:()=>Bo,ClearCacheEvent:()=>_r});var Io={};M(Io,{CancelablePromise:()=>fn,CanceledPromiseError:()=>vr,cancelable:()=>To});var vr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},fn=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new vr("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new vr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},To=e=>new fn((t,r)=>e.then(t).catch(r));var Uo={};M(Uo,{FtNotificationEvent:()=>Or,PostResizeEvent:()=>Fo,PreResizeEvent:()=>Mo,WithEventBus:()=>xt,withEventBus:()=>Ms});var Do={};M(Do,{applyMixinOnce:()=>pe,customElements:()=>Lo,dateReviver:()=>Xu,deepCopy:()=>Ht,deepEqual:()=>bt,delay:()=>ks,eventPathContainsMatchingElement:()=>tf,everyDeep:()=>Qu,flatDeep:()=>Is,forEachDeep:()=>Ns,getComposedPathTo:()=>Po,groupBy:()=>af,hasChanged:()=>ot,ignoreComposingEvents:()=>of,last:()=>rf,minmax:()=>gt,parseDate:()=>Ls,randomId:()=>nf,someDeep:()=>Ps,unslotText:()=>Ds,waitFor:()=>Ts,waitUntil:()=>Ju});var No={};M(No,{customElement:()=>Er,dateProperty:()=>qu,isNumber:()=>Rs,jsonProperty:()=>nt,jsonPropertyConverter:()=>Cs,numberProperty:()=>As,optionalNumberProperty:()=>Zu});var Er=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},Cs=e=>({fromAttribute:t=>{if(t==null)return Ht(e);try{return JSON.parse(t)}catch{return Ht(e)}},toAttribute:t=>JSON.stringify(t)});function nt(e,t){return I({type:Object,converter:Cs(e),hasChanged:ot,...t??{}})}function Zu(e){return As(e)}function As(e){return I({type:Object,converter:{fromAttribute:t=>{var r,n;if(t==null)return;let i=(r=e?.min)!==null&&r!==void 0?r:-1/0,a=(n=e?.max)!==null&&n!==void 0?n:1/0;return Rs(t)?gt(i,+t,a):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function Rs(e){return!isNaN(parseFloat(e))}function qu(e){return I({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 ks=e=>new Promise(t=>setTimeout(t,e));async function Ju(e,t=10,r=2e4){await Ts(async()=>await e()||void 0,t,r)}async function Ts(e,t=10,r=2e4){let n=await e(),i=performance.now(),a=i;for(;n==null&&(!r||a-i<r);)await ks(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Is(e,t){return e.flatMap(r=>[r,...Is(t(r),t)])}function Ns(e,t,r){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let d=i[l];if(!(((s=r(d,l,i,a))!==null&&s!==void 0?s:!0)&&n(t(d),[...a,d])))return!1}return!0};n(e,[])}function Ps(e,t,r){let n=!1;return Ns(e,t,(i,a,s,l)=>(n=!!r(i,a,s,l),!n)),n}function Qu(e,t,r){return!Ps(e,t,(n,i,a,s)=>!r(n,i,a,s))}function Xu(...e){return(t,r)=>e.includes(t)?Ls(r):r}function Ls(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function ef(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!bt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!bt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null),a=i(e);if(r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!bt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function bt(e,t){try{return ef(e,t)}catch{return!1}}function ot(e,t){return!bt(e,t)}function tf(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function gt(e,t,r){return Math.min(Math.max(e,t),r)}function rf(e){return e[e.length-1]}function Ds(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ds(t)).join(""):e?.textContent||""}function Po(e){let t=[],r=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Ht(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function nf(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function pe(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let i=t(n);return i[e]=!0,i}}function of(){return function(e,t,r){let n=r.value;r.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function Lo(e){for(let[t,r]of Object.entries(e))Er(t)(r)}function af(e,t){var r,n;let i=typeof t=="function"?t:s=>s[t],a={};for(let s of e)((r=a[n=i(s)])!==null&&r!==void 0?r:a[n]=[]).push(s);return a}var Or=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Mo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Fo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ms=pe(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),xt=class extends Ms(Object){};var _r=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Bo=class extends xt{constructor(){super(...arguments),this.content={}}register(t,r,n=!1){var i;let a=this.content[t],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[t]={...a,loader:r,final:n,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let n=Object.keys(this.content).filter(t).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new _r(n)),n}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new _r([t])),t}forceClear(t){var r;let n=this.content[t];n&&(this.clearClearTimeout(t),(r=n.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var r,n,i;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[t])===null||i===void 0||delete i.clearTimeout)}set(t,r,n=!1){this.forceClear(t);let i=async()=>r,a="RESOLVED";this.content[t]={loader:i,final:n,status:a,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,n){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let i=this.content[t];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=To(r()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(t),i.clearTimeout=window.setTimeout(()=>this.clear(t),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,n;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Zo={};M(Zo,{ClusteringHelper:()=>Ko,formatHierarchicalValues:()=>jo});var Yo={};M(Yo,{accessBreadcrumb:()=>hf,accessResult:()=>Go,accessResultId:()=>ff,accessResultUrl:()=>pf,enrichReaderUrl:()=>zo});var Vo={};M(Vo,{SearchPlaceConverter:()=>St,SearchPlaceQueryParams:()=>L,isSearchPlaceQueryParams:()=>_c,serializeRequest:()=>df});var sf=e=>typeof e=="object"&&e!=null;var cf=e=>typeof e=="number",pn=e=>typeof e=="string",$o=e=>sf(e)&&pn(e.endpoint)&&pn(e.method)&&pn(e.statusText)&&pn(e.body)&&cf(e.status),Fs;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Fs||(Fs={}));var Us;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Us||(Us={}));var Bs;(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"})(Bs||(Bs={}));var Ws;(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"})(Ws||(Ws={}));var Hs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Hs||(Hs={}));var $s;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})($s||($s={}));var Vs;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(Vs||(Vs={}));var zs;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(zs||(zs={}));var Gs;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Gs||(Gs={}));var Ys;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Ys||(Ys={}));var js;(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"})(js||(js={}));var Ks;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(Ks||(Ks={}));var Zs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Zs||(Zs={}));var qs;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(qs||(qs={}));var Js;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Js||(Js={}));var Qs;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Qs||(Qs={}));var Xs;(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"})(Xs||(Xs={}));var $t;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})($t||($t={}));var ec;(function(e){e.ASC="ASC",e.DESC="DESC"})(ec||(ec={}));var tc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(tc||(tc={}));var Ho;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ho||(Ho={}));var dc=e=>Object.keys(Ho).includes(e);var rc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(rc||(rc={}));var nc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(nc||(nc={}));var oc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(oc||(oc={}));var Vt;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Vt||(Vt={}));var uc=e=>Object.keys(Vt).includes(e);var ic;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(ic||(ic={}));var ac;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ac||(ac={}));var sc;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(sc||(sc={}));var te;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(te||(te={}));var cc;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(cc||(cc={}));var lc;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(lc||(lc={}));var fc;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(fc||(fc={}));var pc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(pc||(pc={}));var hc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(hc||(hc={}));var mc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(mc||(mc={}));var yc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(yc||(yc={}));var gc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(gc||(gc={}));var bc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(bc||(bc={}));var xc;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(xc||(xc={}));var Sc;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Sc||(Sc={}));var vc;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(vc||(vc={}));var Ec;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Ec||(Ec={}));var Rx={[te.PERSONAL_BOOK_SHARE_USER]:[te.PERSONAL_BOOK_USER],[te.HTML_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.PDF_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.KHUB_ADMIN]:[te.CONTENT_PUBLISHER],[te.ADMIN]:[te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN,te.BEHAVIOR_DATA_USER],[te.GENERATIVE_AI_EXPORT_USER]:[te.GENERATIVE_AI_USER]};function lf(e){return`"${e}"`}function Oc(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function df(e,t){return new St(e).serialize(t)}var L;(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.NEGATIVE_VALUE_FILTERS="negative-value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(L||(L={}));var uf=new Set(Object.values(L));function _c(e){return uf.has(e)}var St=class e{constructor(t,r=20,n=!1,i="en-US",a=[]){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(t),i.toString()}toURLSearchParams(t,r=!1){var n,i,a,s,l,d,f,p,h;let m=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&m.append(L.LOCALE,t.contentLocale):m.append(L.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&m.append(L.QUERY,t.query);let b=e.serializeValueFilters(t.metadataFilters);b&&m.append(L.VALUE_FILTERS,b);let S=e.serializeNegativeValueFilters(t.metadataFilters);S&&m.append(L.NEGATIVE_VALUE_FILTERS,S);let C=(d=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(g=>g.dateFilter))!==null&&d!==void 0?d:[];if(C.length>0){let g=C.map(y=>{var x;return`${y.key}~${(x=y.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(L.DATE_FILTERS,g)}let O=(f=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(g=>g.rangeFilter))!==null&&f!==void 0?f:[];if(O.length>0){let g=O.map(y=>{var x,w;return`${y.key}~${(x=y.rangeFilter)===null||x===void 0?void 0:x.from}_${(w=y.rangeFilter)===null||w===void 0?void 0:w.to}`}).join("*");m.append(L.RANGE_FILTERS,g)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(L.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&m.append(L.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&m.append(L.SORT,t.sortId),!((s=t.paging)===null||s===void 0)&&s.perPage&&((p=(l=t.paging)===null||l===void 0?void 0:l.perPage)!==null&&p!==void 0?p:this.defaultPerPage)!=this.defaultPerPage&&m.append(L.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&m.append(L.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let A=(h=t.otherQueryParams)!==null&&h!==void 0?h:{};for(let g in A)m.append(g,A[g]);let T=new Array;return m.forEach((g,y)=>{T.push(this.encodeQueryString(y)+"="+this.encodeQueryString(g))}),encodeURI(T.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let n=t.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(t){var r,n,i,a,s,l,d;try{t=decodeURI(t).replace(/%23/g,"#")}catch(T){console.warn("Could not decode search request query params, fallback on raw value",T)}let f=new URLSearchParams(t),p=(n=f.get(L.LOCALE))!==null&&n!==void 0?n:void 0,h=((i=f.get(L.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=f.get(L.SORT))===null||r===void 0?void 0:r.toLowerCase(),b=(a=f.get(L.SCOPE))!==null&&a!==void 0?a:"default",S=+((s=f.get(L.PER_PAGE))!==null&&s!==void 0?s:this.defaultPerPage),C=f.get(L.KEYWORD_MATCH),O=C?C.toUpperCase()===$t.MANDATORY?$t.MANDATORY:$t.OPTIONAL:void 0,A={};for(let T of f.keys())_c(T)||(A[T]=f.get(T));return p==="all"?p=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!p||this.availableContentLocales.length>0&&!this.availableContentLocales.some(T=>T.lang===p))&&(p=this.defaultContentLocale),{contentLocale:p,query:(l=f.get(L.QUERY))!==null&&l!==void 0?l:"",scope:(d=this.scopeMapping[b])!==null&&d!==void 0?d:"DEFAULT",virtualField:dc(h)?h:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(f),facets:[],paging:{page:1,perPage:gt(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:O,otherQueryParams:A}}parseCompatFilters(t){var r,n,i,a,s,l,d;let f=[];return t.has(L.FILTERS)&&(f=e.parseValueFilters((r=t.get(L.FILTERS))!==null&&r!==void 0?r:"")),(n=t.has(L.PERIOD))!==null&&n!==void 0&&n&&(f=[...f,...this.parseLegacyPeriodFilter(((i=t.get(L.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...f,...e.parseValueFilters((a=t.get(L.VALUE_FILTERS))!==null&&a!==void 0?a:""),...e.parseValueFilters((s=t.get(L.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=t.get(L.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=t.get(L.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}static parseValueFilters(t,r=!1){return t.length===0?[]:this.splitUnknownFilter(t).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Oc).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:Vt[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}static escapeFilters(t){for(let[r,n,i]of this.filtersEscapeMapping)t=t.replaceAll(r,n);return t}static superEscapeFilters(t){for(let[r,n,i]of e.filtersEscapeMapping)t=t.replaceAll(n,i);return t}static unescapeFilterValue(t){for(let[r,n,i]of e.filtersEscapeMapping)t=t.replaceAll(i,r);return t}parseLegacyPeriodFilter(t){if(uc(t))return[{key:"ft:lastEdition",dateFilter:{type:Vt[t]}}];if(t.startsWith("CUSTOM_")){let[r,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(t){var r,n;let i=((n=(r=t.valueFilter)===null||r===void 0?void 0:r.values)!==null&&n!==void 0?n:[]).map(a=>e.escapeFilters(a)).map(a=>lf(Oc(a))).join("_");return`${t.key}~${i}`}static serializeValueFilters(t){var r;let n=(r=t?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static serializeNegativeValueFilters(t){var r;let n=(r=t?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static clearSearchParamsInUrl(t){let r=new URL(t);return[L.LOCALE,L.FILTERS,L.VALUE_FILTERS,L.NEGATIVE_VALUE_FILTERS,L.DATE_FILTERS,L.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(t,r){let n=new URL(t);return n.searchParams.delete(L.LOCALE),r!==void 0&&n.searchParams.append(L.LOCALE,r),n.toString()}};St.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Go(e){var t,r,n,i;return(i=(n=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&i!==void 0?i:e?.htmlPackagePage}function ff(e){var t,r,n,i,a,s,l,d,f;return(f=(d=(l=(s=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&s!==void 0?s:(r=e?.topic)===null||r===void 0?void 0:r.tocId)!==null&&l!==void 0?l:(n=e?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=e?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&f!==void 0?f:(a=e?.htmlPackagePage)===null||a===void 0?void 0:a.contentId}function pf(e,t){var r,n,i,a,s,l,d,f,p;return(p=(f=(d=(l=zo((r=e?.map)===null||r===void 0?void 0:r.readerUrl,t))!==null&&l!==void 0?l:zo((n=e?.topic)===null||n===void 0?void 0:n.readerUrl,t))!==null&&d!==void 0?d:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&f!==void 0?f:(a=e?.htmlPackage)===null||a===void 0?void 0:a.viewerUrl)!==null&&p!==void 0?p:(s=e?.htmlPackagePage)===null||s===void 0?void 0:s.viewerUrl}function hf(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function zo(e,t){if(t&&e){let r=URL.parse(e),n=St.serializeValueFilters(t);if(n&&r?.searchParams.append(L.VALUE_FILTERS,n),r)return r.toString()}return e}function jo(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Ko=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(t,r,n){return t?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==r))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(t){var r,n;let i=(n=(r=Go(t.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(i,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(i.find(a=>a.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,r,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(jo(l)),s.push(jo(l,r))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,n="No value",i,a){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),f=(l=d?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(t))===null||s===void 0?void 0:s.label;return this.allResults.map(h=>e.extractResultMetadata({result:h,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(h=>h??{key:t,label:f,value:void 0,displayValue:n}).filter(h=>h.value!=d?.value).filter((h,m,b)=>b.findIndex(S=>S.value===h.value)===m).map(h=>({result:this.findBestResultForMetadataValue(t,h.value),metadata:h})).sort((h,m)=>this.compareMetadata(h.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var qo={};M(qo,{Debouncer:()=>wr});var wr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),a=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ei={};M(ei,{designSystemVariables:()=>Xf});var Xo={};M(Xo,{DesignSystemFamily:()=>Cr,DesignSystemSize:()=>Ar,FtCssVariableFactory:()=>o,badge:()=>If,banner:()=>Tf,button:()=>gf,card:()=>xf,chart:()=>jf,checkbox:()=>Of,chip:()=>Af,chipChoice:()=>Cf,chipGroup:()=>Rf,collapsible:()=>Gf,combobox:()=>Vf,dateRangePicker:()=>Qf,drawer:()=>Uf,eventCard:()=>Sf,floatingMenu:()=>$f,foundation:()=>c,link:()=>kf,modal:()=>Mf,notice:()=>Zf,notification:()=>qf,pageDesigner:()=>Kf,pageFooter:()=>Lf,pageHeader:()=>Pf,pageLayout:()=>Df,popover:()=>zf,radio:()=>_f,reorderableList:()=>Ff,resolveFamilyClass:()=>Jo,resolveSizeClass:()=>Qo,semantic:()=>u,setVariable:()=>zt,switch_:()=>Yf,table:()=>wf,tabs:()=>Bf,textArea:()=>Hf,textInput:()=>Wf,titleBreadcrumb:()=>Nf,toc:()=>Ef,toggle:()=>bf,tooltip:()=>Jf,treeList:()=>vf,typographies:()=>mf,typographyBody1Medium:()=>Tc,typographyBody1Regular:()=>kc,typographyBody1Semibold:()=>Ic,typographyBody2Medium:()=>Pc,typographyBody2MediumUnderline:()=>Lc,typographyBody2Regular:()=>Nc,typographyBody2Semibold:()=>Dc,typographyCaption1Medium:()=>Mc,typographyCaption1Semibold:()=>Fc,typographyCaption2Bold:()=>Wc,typographyCaption2Medium:()=>Uc,typographyCaption2Semibold:()=>Bc,typographyDisplay:()=>wc,typographyTitle1:()=>Cc,typographyTitle2:()=>Ac,typographyTitle3:()=>Rc,typographyVariants:()=>yf});var it=e=>typeof e=="string"?pr(e):e,o=class{static create(t,r,n,i){let a=l=>it(l??i),s=q`var(${it(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>zt(s,l??a(i)),s.get=l=>q`var(${it(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let a=l=>n.get(l??i),s=q`var(${it(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>zt(s,l??a(i)),s.get=l=>q`var(${it(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=a=>t.defaultCssValue(a),i=q`var(${it(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.set=a=>t.set(a),i.get=a=>q`var(${it(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function zt(e,t){return it(`${e.name}: ${t}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wc={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Cc={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ac={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Rc={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},kc={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Tc={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ic={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Nc={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Pc={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Lc={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Dc={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Mc={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Fc={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Uc={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Bc={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Wc={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},mf={display:wc,"title-1":Cc,"title-2":Ac,"title-3":Rc,"body-1-regular":kc,"body-1-medium":Tc,"body-1-semibold":Ic,"body-2-regular":Nc,"body-2-medium":Pc,"body-2-medium-underline":Lc,"body-2-semibold":Dc,"caption-1-medium":Mc,"caption-1-semibold":Fc,"caption-2-medium":Uc,"caption-2-semibold":Bc,"caption-2-bold":Wc},yf=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var gf={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var bf={iconSize:o.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var xf={borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Sf={borderRadius:o.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:o.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:o.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:o.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:o.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:o.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var vf={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Ef={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",c.spacing2),offsetTop:o.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:o.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:o.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:o.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:o.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:o.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:o.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",c.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",c.opacity8),itemActiveLabelColor:o.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:o.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:o.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:o.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:o.extend("--ftds-toc-item-active-default-state-layer-opacity","",c.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",c.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",c.opacity16),itemChildActiveLabelColor:o.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:o.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:o.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",c.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",c.opacity8)};var Of={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var _f={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var wf={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Cf={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Af={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Rf={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var kf={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",c.spacing1)};var Tf={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var If={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Nf={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Pf={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Lf={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Df={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Mf={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Ff={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Uf={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Bf={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:o.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Wf={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Hf={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",c.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",c.spacing6),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:o.extend("--ftds-text-area-resize-bottom","",c.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",c.spacing05)};var $f={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Vf={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var zf={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Gf={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Yf={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var jf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Kf={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Zf={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var qf={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Jf={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var Qf={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Cr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Cr||(Cr={}));var Ar;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ar||(Ar={}));function Jo(e){return`ftds--family-${e}`}function Qo(e){return`ftds--size-${e}`}var Xf={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ti={};M(ti,{DynamicImporter:()=>hn,dynamicImporter:()=>ep});var hn=class{async import(t){if(t)return import(t)}},ep=new hn;var pi={};M(pi,{computeOffsetAutoPosition:()=>wp,computeOffsetPosition:()=>_p});var $c=["top","right","bottom","left"],Hc=["start","end"],ni=$c.reduce((e,t)=>e.concat(t,t+"-"+Hc[0],t+"-"+Hc[1]),[]),vt=Math.min,Le=Math.max,Rr=Math.round;var De=e=>({x:e,y:e}),tp={left:"right",right:"left",bottom:"top",top:"bottom"};function Vc(e,t,r){return Le(e,vt(t,r))}function Gt(e,t){return typeof e=="function"?e(t):e}function Et(e){return e.split("-")[0]}function Me(e){return e.split("-")[1]}function oi(e){return e==="x"?"y":"x"}function ii(e){return e==="y"?"height":"width"}function Yt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function ai(e){return oi(Yt(e))}function zc(e,t,r){r===void 0&&(r=!1);let n=Me(e),i=ai(e),a=ii(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=ri(s)),[s,ri(s)]}function Gc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function ri(e){let t=Et(e);return tp[t]+e.slice(t.length)}function rp(e){var t,r,n,i;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(n=e.bottom)!=null?n:0,left:(i=e.left)!=null?i:0}}function Yc(e){return typeof e!="number"?rp(e):{top:e,right:e,bottom:e,left:e}}function Ot(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function jc(e,t,r){let{reference:n,floating:i}=e,a=Yt(t),s=ai(t),l=ii(s),d=Et(t),f=a==="y",p=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:p,y:n.y-i.height};break;case"bottom":b={x:p,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:h};break;case"left":b={x:n.x-i.width,y:h};break;default:b={x:n.x,y:n.y}}let S=Me(t);return S&&(b[s]+=m*(S==="end"?1:-1)*(r&&f?-1:1)),b}async function Kc(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:m=!1,padding:b=0}=Gt(t,e),S=Yc(b),O=l[m?h==="floating"?"reference":"floating":h],A=Ot(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(O)))==null||r?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:p,strategy:d})),T=h==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,g=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),y=await(a.isElement==null?void 0:a.isElement(g))&&await(a.getScale==null?void 0:a.getScale(g))||{x:1,y:1},x=Ot(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:T,offsetParent:g,strategy:d}):T);return{top:(A.top-x.top+S.top)/y.y,bottom:(x.bottom-A.bottom+S.bottom)/y.y,left:(A.left-x.left+S.left)/y.x,right:(x.right-A.right+S.right)/y.x}}var np=50,Zc=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Kc},d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:h}=jc(f,n,d),m=n,b=0,S={};for(let C=0;C<a.length;C++){let O=a[C];if(!O)continue;let{name:A,fn:T}=O,{x:g,y,data:x,reset:w}=await T({x:p,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:f,platform:l,elements:{reference:e,floating:t}});p=g??p,h=y??h,S[A]={...S[A],...x},w&&b<np&&(b++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(f=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:p,y:h}=jc(f,m,d)),C=-1)}return{x:p,y:h,placement:m,strategy:i,middlewareData:S}};function op(e,t,r){return(e?[...r.filter(i=>Me(i)===e),...r.filter(i=>Me(i)!==e)]:r.filter(i=>Et(i)===i)).filter(i=>e?Me(i)===e||(t?Gc(i)!==i:!1):!0)}var qc=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:p=!1,alignment:h,allowedPlacements:m=ni,autoAlignment:b=!0,...S}=Gt(e,t),C=h!==void 0||m===ni?op(h||null,b,m):m,O=((r=s.autoPlacement)==null?void 0:r.index)||0,A=C[O];if(A==null)return{};if(l!==A)return{reset:{placement:C[0]}};let T=await d.detectOverflow(t,S),g=zc(A,a,await(d.isRTL==null?void 0:d.isRTL(f.floating))),y=[T[Et(A)],T[g[0]],T[g[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:y}],w=C[O+1];if(w)return{data:{index:O+1,overflows:x},reset:{placement:w}};let N=x.map(k=>{let B=Me(k.placement);return[k.placement,B&&p?k.overflows.slice(0,2).reduce((Q,Ne)=>Q+Ne,0):k.overflows[0],k.overflows]}).sort((k,B)=>k[1]-B[1]),j=((i=N.filter(k=>k[2].slice(0,Me(k[0])?2:3).every(B=>B<=0))[0])==null?void 0:i[0])||N[0][0];return j!==l?{data:{index:O+1,overflows:x},reset:{placement:j}}:{}}}};var ip=new Set(["left","top"]);async function ap(e,t){let{placement:r,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Et(r),l=Me(r),d=Yt(r)==="y",f=ip.has(s)?-1:1,p=a&&d?-1:1,h=Gt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:S}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof S=="number"&&(b=l==="end"?S*-1:S),d?{x:b*p,y:m*f}:{x:m*f,y:b*p}}var Jc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:a,placement:s,middlewareData:l}=t,d=await ap(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Qc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i,platform:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:T=>{let{x:g,y}=T;return{x:g,y}}},...f}=Gt(e,t),p={x:r,y:n},h=await a.detectOverflow(t,f),m=Yt(i),b=oi(m),S=p[b],C=p[m],O=(T,g)=>Vc(g+h[T==="y"?"top":"left"],g,g-h[T==="y"?"bottom":"right"]);s&&(S=O(b,S)),l&&(C=O(m,C));let A=d.fn({...t,[b]:S,[m]:C});return{...A,data:{x:A.x-r,y:A.y-n,enabled:{[b]:s,[m]:l}}}}}};var Xc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:n,platform:i,elements:a}=t,{apply:s=()=>{},...l}=Gt(e,t),d=await i.detectOverflow(t,l),f=Et(r),p=Me(r),h=Yt(r)==="y",{width:m,height:b}=n.floating,S,C;f==="top"||f==="bottom"?(S=f,C=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(C=f,S=p==="end"?"top":"bottom");let O=b-d.top-d.bottom,A=m-d.left-d.right,T=vt(b-d[S],O),g=vt(m-d[C],A),y=t.middlewareData.shift,x=!y,w=T,N=g;y!=null&&y.enabled.x&&(N=A),y!=null&&y.enabled.y&&(w=O),x&&!p&&(h?N=m-2*Le(d.left,d.right):w=b-2*Le(d.top,d.bottom)),await s({...t,availableWidth:N,availableHeight:w});let H=await i.getDimensions(a.floating);return m!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};function yn(){return typeof window<"u"}function wt(e){return tl(e)?(e.nodeName||"").toLowerCase():"#document"}function se(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ze(e){var t;return(t=(tl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tl(e){return yn()?e instanceof Node||e instanceof se(e).Node:!1}function Ae(e){return yn()?e instanceof Element||e instanceof se(e).Element:!1}function Ge(e){return yn()?e instanceof HTMLElement||e instanceof se(e).HTMLElement:!1}function el(e){return!yn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof se(e).ShadowRoot}function kr(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&i!=="inline"&&i!=="contents"}function rl(e){return/^(table|td|th)$/.test(wt(e))}function Tr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var sp=/transform|translate|scale|rotate|perspective|filter/,cp=/paint|layout|strict|content/,_t=e=>!!e&&e!=="none",si;function jt(e){let t=Ae(e)?Re(e):e;return _t(t.transform)||_t(t.translate)||_t(t.scale)||_t(t.rotate)||_t(t.perspective)||!gn()&&(_t(t.backdropFilter)||_t(t.filter))||sp.test(t.willChange||"")||cp.test(t.contain||"")}function nl(e){let t=at(e);for(;Ge(t)&&!Kt(t);){if(jt(t))return t;if(Tr(t))return null;t=at(t)}return null}function gn(){return si==null&&(si=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),si}function Kt(e){return/^(html|body|#document)$/.test(wt(e))}function Re(e){return se(e).getComputedStyle(e)}function Ir(e){return Ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if(wt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||el(e)&&e.host||ze(e);return el(t)?t.host:t}function ol(e){let t=at(e);return Kt(t)?(e.ownerDocument||e).body:Ge(t)&&kr(t)?t:ol(t)}function mn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=ol(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=se(i);if(a){let l=bn(s);return t.concat(s,s.visualViewport||[],kr(i)?i:[],l&&r?mn(l):[])}else return t.concat(i,mn(i,[],r))}function bn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sl(e){let t=Re(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Ge(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,l=Rr(r)!==a||Rr(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function cl(e){return Ae(e)?e:e.contextElement}function Zt(e){let t=cl(e);if(!Ge(t))return De(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=sl(t),s=(a?Rr(r.width):r.width)/n,l=(a?Rr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var lp=De(0);function ll(e){let t=se(e);return!gn()||!t.visualViewport?lp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function dp(e,t,r){return t===void 0&&(t=!1),!!r&&t&&r===se(e)}function Nr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),a=cl(e),s=De(1);t&&(n?Ae(n)&&(s=Zt(n)):s=Zt(e));let l=dp(a,r,n)?ll(a):De(0),d=(i.left+l.x)/s.x,f=(i.top+l.y)/s.y,p=i.width/s.x,h=i.height/s.y;if(a&&n){let m=se(a),b=Ae(n)?se(n):n,S=m,C=bn(S);for(;C&&b!==S;){let O=Zt(C),A=C.getBoundingClientRect(),T=Re(C),g=A.left+(C.clientLeft+parseFloat(T.paddingLeft))*O.x,y=A.top+(C.clientTop+parseFloat(T.paddingTop))*O.y;d*=O.x,f*=O.y,p*=O.x,h*=O.y,d+=g,f+=y,S=se(C),C=bn(S)}}return Ot({width:p,height:h,x:d,y:f})}function xn(e,t){let r=Ir(e).scrollLeft;return t?t.left+r:Nr(ze(e)).left+r}function dl(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-xn(e,r),i=r.top+t.scrollTop;return{x:n,y:i}}function up(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,a=i==="fixed",s=ze(n),l=t?Tr(t.floating):!1;if(n===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},f=De(1),p=De(0),h=Ge(n);if((h||!a)&&((wt(n)!=="body"||kr(s))&&(d=Ir(n)),h)){let b=Nr(n);f=Zt(n),p.x=b.x+n.clientLeft,p.y=b.y+n.clientTop}let m=s&&!h&&!a?dl(s,d):De(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+p.x+m.x,y:r.y*f.y-d.scrollTop*f.y+p.y+m.y}}function fp(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function pp(e){let t=Ir(e),r=e.ownerDocument.body,n=Le(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Le(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),a=-t.scrollLeft+xn(e),s=-t.scrollTop;return Re(r).direction==="rtl"&&(a+=Le(e.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}var hp=25;function mp(e,t,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=se(e),a=ze(e),s=i.visualViewport,l=a.clientWidth,d=a.clientHeight,f=0,p=0;if(s){let m=!gn()||t==="fixed";n?m||(f=-s.offsetLeft,p=-s.offsetTop):(l=s.width,d=s.height,m&&(f=s.offsetLeft,p=s.offsetTop))}if(xn(a)<=0){let m=a.ownerDocument,b=m.body,S=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,O=Math.abs(a.clientWidth-b.clientWidth-C),A=getComputedStyle(a).scrollbarGutter==="stable both-edges"?O/2:O;A<=hp&&(l-=A)}return{width:l,height:d,x:f,y:p}}function yp(e,t){let r=Nr(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=Zt(e),s=e.clientWidth*a.x,l=e.clientHeight*a.y,d=i*a.x,f=n*a.y;return{width:s,height:l,x:d,y:f}}function il(e,t,r){let n;if(t==="viewport"||t==="layoutViewport")n=mp(e,r,t);else if(t==="document")n=pp(ze(e));else if(Ae(t))n=yp(t,r);else{let i=ll(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ot(n)}function gp(e,t){let r=t.get(e);if(r)return r;let n=mn(e,[],!1).filter(l=>Ae(l)&&wt(l)!=="body"),i=null,a=Re(e).position==="fixed",s=a?at(e):e;for(;Ae(s)&&!Kt(s);){let l=Re(s),d=jt(s),f=i?i.position:a?"fixed":"";!d&&(f==="fixed"||f==="absolute"&&l.position==="static")?n=n.filter(h=>h!==s):i=l,s=at(s)}return t.set(e,n),n}function bp(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[...r==="clippingAncestors"?Tr(t)?[]:gp(t,this._c):[].concat(r),n],l=il(t,s[0],i),d=l.top,f=l.right,p=l.bottom,h=l.left;for(let m=1;m<s.length;m++){let b=il(t,s[m],i);d=Le(b.top,d),f=vt(b.right,f),p=vt(b.bottom,p),h=Le(b.left,h)}return{width:f-h,height:p-d,x:h,y:d}}function xp(e){let{width:t,height:r}=sl(e);return{width:t,height:r}}function Sp(e,t,r){let n=Ge(t),i=ze(t),a=r==="fixed",s=Nr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=De(0);if((n||!a)&&((wt(t)!=="body"||kr(i))&&(l=Ir(t)),n)){let m=Nr(t,!0,a,t);d.x=m.x+t.clientLeft,d.y=m.y+t.clientTop}!n&&i&&(d.x=xn(i));let f=i&&!n&&!a?dl(i,l):De(0),p=s.left+l.scrollLeft-d.x-f.x,h=s.top+l.scrollTop-d.y-f.y;return{x:p,y:h,width:s.width,height:s.height}}function ci(e){return Re(e).position==="static"}function al(e,t){if(!Ge(e)||Re(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ze(e)===r&&(r=r.ownerDocument.body),r}function ul(e,t){let r=se(e);if(Tr(e))return r;if(!Ge(e)){let i=at(e);for(;i&&!Kt(i);){if(Ae(i)&&!ci(i))return i;i=at(i)}return r}let n=al(e,t);for(;n&&rl(n)&&ci(n);)n=al(n,t);return n&&Kt(n)&&ci(n)&&!jt(n)?r:n||nl(e)||r}var vp=async function(e){let t=this.getOffsetParent||ul,r=this.getDimensions,n=await r(e.floating);return{reference:Sp(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ep(e){return Re(e).direction==="rtl"}var qt={convertOffsetParentRelativeRectToViewportRelativeRect:up,getDocumentElement:ze,getClippingRect:bp,getOffsetParent:ul,getElementRects:vp,getClientRects:fp,getDimensions:xp,getScale:Zt,isElement:Ae,isRTL:Ep};var fl=Jc,li=qc,pl=Qc;var hl=Xc;var di=(e,t,r)=>{let n=new Map,i=r??{},a={...qt,...i.platform,_c:n};return Zc(e,t,{...i,platform:a})};function fi(e){return Op(e)}function ui(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Op(e){for(let t=e;t;t=ui(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ui(e);t;t=ui(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||jt(r)||t.tagName==="BODY"))return t}return null}async function _p(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},di(e,t,{strategy:n.strategy,platform:{...qt,getOffsetParent:i=>qt.getOffsetParent(i,fi)},middleware:[pl({crossAxis:!0}),li({allowedPlacements:[n.placement]})]})}async function wp(e,t,r,n,i,a,s){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,i=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,di(e,t,{placement:l,strategy:i,platform:{...qt,getOffsetParent:f=>qt.getOffsetParent(f,fi)},middleware:[fl(s??4),li({allowedPlacements:n}),hl({apply({availableHeight:f,availableWidth:p,elements:h}){typeof a=="string"&&(a=`var(${a})`),a?h.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${a})`:h.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,p)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,p)}px`}})]})}var hi={};M(hi,{isSlotEmptyOrWithoutContent:()=>Cp});var Cp=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var Si={};M(Si,{FtdsBase:()=>xi,toFtdsBase:()=>vl});var bi={};M(bi,{ExportpartsUpdatedEvent:()=>Ct,FtLitElement:()=>ae});var mi={};M(mi,{ScopedRegistryLitElement:()=>Pr});var Pr=class extends Ve{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return hr(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(t,r){Er(t)(r),this.canDefineScopedElement(t)&&this.registry.define(t,r)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,r){this.scopedRegistryConstructor.defineScopedElement(t,r)}};var gi={};M(gi,{shadowQuerySelector:()=>yi,shadowQuerySelectorAll:()=>Ap});function yi(e,t,...r){var n;let i=e.querySelector(t);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Ap(e,t,...r){let n=[...e.querySelectorAll(t)];for(let i of r)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Jt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},bl,ml=Symbol("constructorPrototype"),yl=Symbol("constructorName"),xl=Symbol("exportpartsDebouncer"),gl=Symbol("dynamicDependenciesLoaded"),Ct=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Ct.eventName="exportparts-updated";var ae=class extends Pr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[bl]=new wr(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[xl].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[yl]=this.constructor.name,this[ml]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[yl]&&Object.setPrototypeOf(this,this[ml])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[gl]||(r[gl]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Ct.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Ct.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 Ct)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];r=yi(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(t){var r,n,i,a,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 p=new Set;for(let m of(a=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(s=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],S=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...S].filter(d).map(O=>O.trim());for(let O of C)p.add(O)}if(p.size===0){this.exportparts=void 0;return}let h=[...p.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};bl=xl;Jt([I()],ae.prototype,"exportpartsPrefix",void 0);Jt([nt([])],ae.prototype,"exportpartsPrefixes",void 0);Jt([I({reflect:!0})],ae.prototype,"exportparts",void 0);Jt([I()],ae.prototype,"customStylesheet",void 0);Jt([I()],ae.prototype,"elementToFocus",void 0);Jt([ue()],ae.prototype,"useAdoptedStyleSheets",void 0);var Sl=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},vl=pe(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Ar.medium,this.family=Cr.neutral}getDesignSystemBaseClasses(){return{[Jo(this.family)]:!0,[Qo(this.size)]:!0}}}return Sl([I()],t.prototype,"size",void 0),Sl([I()],t.prototype,"family",void 0),t}),xi=class extends vl(ae){};var El={};var Ei={};M(Ei,{highlightHtml:()=>Tp,highlightHtmlColorCssVariable:()=>Ol,highlightHtmlStyles:()=>kp});var At=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,p=>{r(f)&&(l++,n(p)),d()},d)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(t,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,a){let s=this.createIterator(r,t,i),l=[],d=[],f,p,h=()=>({prevNode:p,node:f}=this.getIteratorNode(s),f);for(;h();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,p,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),i)}),d.push(f);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var Lr=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 At(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,r,n){let i,a=!0,s=n.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return At.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,r,n,i,a){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let f=r-s.start,p=(n>s.end?s.end:n)-s.start,h=t.value.substr(0,s.start),m=t.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,p),t.value=h+m,t.nodes.forEach((b,S)=>{S>=l&&(t.nodes[S].start>0&&S!==l&&(t.nodes[S].start-=p),t.nodes[S].end-=p)}),n-=p,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let p=f.index;if(s!==0)for(let h=1;h<s;h++)p+=f[h].length;d=this.wrapRangeInTextNode(d,p,p+f[s].length),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,r,n,i,a){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 h=1;h<s;h++)f+=d[h].length;let p=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,p,h=>n(d[s],h),(h,m)=>{t.lastIndex=m,i(h)})}a()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,d)=>{let{start:f,end:p,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,f,p,m=>r(m,l,a.value.substring(f,p),d),m=>{n(m,l)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let p=new RegExp(this.createRegExp(f),`gm${l}`),h=0;this.log(`Searching with expression "${p}"`),this[i](p,1,(m,b)=>this.opt.filter(b,f,n,h),m=>{h++,n++,this.opt.each(m)},()=>{h===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,r){this.opt=r;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=At.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function vi(e){let t=new Lr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var Rp=vi,Ol=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),kp=q`
1
+ "use strict";(()=>{var Eu=Object.defineProperty;var as=(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 M=(e,t)=>{for(var r in t)Eu(e,r,{get:t[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(g,y){if(g=g.toLowerCase(),this._getDefinition(g)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${g}" has already been used with this registry`);if(this._definitionsByClass.get(y)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=y.prototype.attributeChangedCallback,w=new Set(y.observedAttributes||[]);m(y,w,x);let N={elementClass:y,connectedCallback:y.prototype.connectedCallback,disconnectedCallback:y.prototype.disconnectedCallback,adoptedCallback:y.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:y.formAssociated,formAssociatedCallback:y.prototype.formAssociatedCallback,formDisabledCallback:y.prototype.formDisabledCallback,formResetCallback:y.prototype.formResetCallback,formStateRestoreCallback:y.prototype.formStateRestoreCallback,observedAttributes:w};this._definitionsByTag.set(g,N),this._definitionsByClass.set(y,N);let H=r.call(n,g);H||(H=h(g),t.call(n,g,H)),this===window.customElements&&(s.set(y,N),N.standInClass=H);let j=this._awaitingUpgrade.get(g);if(j){this._awaitingUpgrade.delete(g);for(let B of j)a.delete(B),S(B,N,!0)}let k=this._whenDefinedPromises.get(g);return k!==void 0&&(k.resolve(y),this._whenDefinedPromises.delete(g)),y}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(g){return this._definitionsByTag.get(g)?.elementClass}_getDefinition(g){return this._definitionsByTag.get(g)}whenDefined(g){let y=this._getDefinition(g);if(y!==void 0)return Promise.resolve(y.elementClass);let x=this._whenDefinedPromises.get(g);return x===void 0&&(x={},x.promise=new Promise(w=>x.resolve=w),this._whenDefinedPromises.set(g,x)),x.promise}_upgradeWhenDefined(g,y,x){let w=this._awaitingUpgrade.get(y);w||this._awaitingUpgrade.set(y,w=new Set),x?w.add(g):w.delete(g)}};let d;window.HTMLElement=function(){let y=d;if(y)return d=void 0,y;let x=s.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return y=Reflect.construct(e,[],x.standInClass),Object.setPrototypeOf(y,this.constructor.prototype),i.set(y,x),y},window.HTMLElement.prototype=e.prototype;let f=g=>g===document||g instanceof ShadowRoot,p=g=>{let y=g.getRootNode();if(!f(y)){let x=O[O.length-1];if(x instanceof CustomElementRegistry)return x;y=x.getRootNode(),f(y)||(y=l.get(y)?.getRootNode()||document)}return y.customElements},h=g=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let w=p(x)||window.customElements,N=w._getDefinition(g);return N?S(x,N):a.set(x,w),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(g,y,x)=>{if(y.size===0||x===void 0)return;let w=g.prototype.setAttribute;w&&(g.prototype.setAttribute=function(j,k){let B=j.toLowerCase();if(y.has(B)){let Q=this.getAttribute(B);w.call(this,B,k),x.call(this,B,Q,k)}else w.call(this,B,k)});let N=g.prototype.removeAttribute;N&&(g.prototype.removeAttribute=function(j){let k=j.toLowerCase();if(y.has(k)){let B=this.getAttribute(k);N.call(this,k),x.call(this,k,B,null)}else N.call(this,k)});let H=g.prototype.toggleAttribute;H&&(g.prototype.toggleAttribute=function(j,k){let B=j.toLowerCase();if(y.has(B)){let Q=this.getAttribute(B);H.call(this,B,k);let Ne=this.getAttribute(B);x.call(this,B,Q,Ne)}else H.call(this,B,k)})},b=g=>{let y=Object.getPrototypeOf(g);if(y!==window.HTMLElement)return y===e?Object.setPrototypeOf(g,window.HTMLElement):b(y)},S=(g,y,x=!1)=>{Object.setPrototypeOf(g,y.elementClass.prototype),i.set(g,y),d=g;try{new y.elementClass}catch{b(y.elementClass),new y.elementClass}y.attributeChangedCallback&&y.observedAttributes.forEach(w=>{g.hasAttribute(w)&&y.attributeChangedCallback.call(g,w,null,g.getAttribute(w))}),x&&y.connectedCallback&&g.isConnected&&y.connectedCallback.call(g)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(g){let y=C.apply(this,arguments);return g.customElements&&(y.customElements=g.customElements),y};let O=[document],A=(g,y,x=void 0)=>{let w=(x?Object.getPrototypeOf(x):g.prototype)[y];g.prototype[y]=function(){O.push(this);let N=w.apply(x||this,arguments);return N!==void 0&&l.set(N,this),O.pop(),N}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let T=(g,y)=>{let x=Object.getOwnPropertyDescriptor(g.prototype,y);Object.defineProperty(g.prototype,y,{...x,set(w){O.push(this),x.set.call(this,w),O.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let g=new WeakMap,y=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let k=y.call(this,...j);return g.set(k,this),k},x.forEach(j=>{let k=window.ElementInternals.prototype,B=k[j];k[j]=function(...Q){let Ne=g.get(this);if(i.get(Ne).formAssociated===!0)return B?.call(this,...Q);throw new DOMException(`Failed to execute ${B} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class w extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class N{constructor(k){let B=new Map;k.forEach((Q,Ne)=>{let fo=Q.getAttribute("name"),is=B.get(fo)||[];this[+Ne]=Q,is.push(Q),B.set(fo,is)}),this.length=k.length,B.forEach((Q,Ne)=>{Q&&(Q.length===1?this[Ne]=Q[0]:this[Ne]=new w(Q))})}namedItem(k){return this[k]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=H.get.call(this,[]),k=[];for(let B of j){let Q=i.get(B);(!Q||Q.formAssociated===!0)&&k.push(B)}return new N(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{var a;if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,s)}}}var Oo={};M(Oo,{CSSResult:()=>Mt,LitElement:()=>Ve,ReactiveElement:()=>xe,_$LE:()=>Mu,_$LH:()=>So,adoptStyles:()=>hr,css:()=>q,defaultConverter:()=>Ft,getCompatibleStyle:()=>rn,html:()=>tt,isServer:()=>m0,mathml:()=>Pu,noChange:()=>X,notEqual:()=>yr,nothing:()=>G,render:()=>vo,supportsAdoptingStyleSheets:()=>fr,svg:()=>Nu,unsafeCSS:()=>pr});var tn=globalThis,fr=tn.ShadowRoot&&(tn.ShadyCSS===void 0||tn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,po=Symbol(),ss=new WeakMap,Mt=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==po)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(fr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=ss.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ss.set(r,t))}return t}toString(){return this.cssText}},pr=e=>new Mt(typeof e=="string"?e:e+"",void 0,po),q=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new Mt(r,e,po)},hr=(e,t)=>{if(fr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=tn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},rn=fr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return pr(r)})(e):e;var{is:Ou,defineProperty:_u,getOwnPropertyDescriptor:wu,getOwnPropertyNames:Cu,getOwnPropertySymbols:Au,getPrototypeOf:Ru}=Object,nn=globalThis,cs=nn.trustedTypes,ku=cs?cs.emptyScript:"",Tu=nn.reactiveElementPolyfillSupport,mr=(e,t)=>e,Ft={toAttribute(e,t){switch(t){case Boolean:e=e?ku: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}},yr=(e,t)=>!Ou(e,t),ls={attribute:!0,type:String,converter:Ft,reflect:!1,useDefault:!1,hasChanged:yr};Symbol.metadata??=Symbol("metadata"),nn.litPropertyMetadata??=new WeakMap;var xe=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=ls){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&_u(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=wu(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ls}static _$Ei(){if(this.hasOwnProperty(mr("elementProperties")))return;let t=Ru(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(mr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(mr("properties"))){let r=this.properties,n=[...Cu(r),...Au(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(rn(i))}else t!==void 0&&r.push(rn(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return hr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ft).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ft;this._$Em=i;let l=s.fromAttribute(r,a.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){let s=this.constructor;if(i===!1&&(a=this[t]),n??=s.getPropertyOptions(t),!((n.hasChanged??yr)(a,r)||n.useDefault&&n.reflect&&a===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),a!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),i===!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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};xe.elementStyles=[],xe.shadowRootOptions={mode:"open"},xe[mr("elementProperties")]=new Map,xe[mr("finalized")]=new Map,Tu?.({ReactiveElement:xe}),(nn.reactiveElementVersions??=[]).push("2.1.2");var mo=globalThis,ds=e=>e,on=mo.trustedTypes,us=on?on.createPolicy("lit-html",{createHTML:e=>e}):void 0,yo="$lit$",$e=`lit$${Math.random().toFixed(9).slice(2)}$`,go="?"+$e,Iu=`<${go}>`,ht=document,br=()=>ht.createComment(""),xr=e=>e===null||typeof e!="object"&&typeof e!="function",bo=Array.isArray,gs=e=>bo(e)||typeof e?.[Symbol.iterator]=="function",ho=`[
2
+ \f\r]`,gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fs=/-->/g,ps=/>/g,ft=RegExp(`>|${ho}(?:([^\\s"'>=/]+)(${ho}*=${ho}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),hs=/'/g,ms=/"/g,bs=/^(?:script|style|textarea|title)$/i,xo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),tt=xo(1),Nu=xo(2),Pu=xo(3),X=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),ys=new WeakMap,pt=ht.createTreeWalker(ht,129);function xs(e,t){if(!bo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return us!==void 0?us.createHTML(t):t}var Ss=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":t===3?"<math>":"",s=gr;for(let l=0;l<r;l++){let d=e[l],f,p,h=-1,m=0;for(;m<d.length&&(s.lastIndex=m,p=s.exec(d),p!==null);)m=s.lastIndex,s===gr?p[1]==="!--"?s=fs:p[1]!==void 0?s=ps:p[2]!==void 0?(bs.test(p[2])&&(i=RegExp("</"+p[2],"g")),s=ft):p[3]!==void 0&&(s=ft):s===ft?p[0]===">"?(s=i??gr,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,f=p[1],s=p[3]===void 0?ft:p[3]==='"'?ms:hs):s===ms||s===hs?s=ft:s===fs||s===ps?s=gr:(s=ft,i=void 0);let b=s===ft&&e[l+1].startsWith("/>")?" ":"";a+=s===gr?d+Iu:h>=0?(n.push(f),d.slice(0,h)+yo+d.slice(h)+$e+b):d+$e+(h===-2?l:b)}return[xs(e,a+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Sr=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[f,p]=Ss(t,r);if(this.el=e.createElement(f,n),pt.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=pt.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(yo)){let m=p[s++],b=i.getAttribute(h).split($e),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:S[2],strings:b,ctor:S[1]==="."?sn:S[1]==="?"?cn:S[1]==="@"?ln:yt}),i.removeAttribute(h)}else h.startsWith($e)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(bs.test(i.tagName)){let h=i.textContent.split($e),m=h.length-1;if(m>0){i.textContent=on?on.emptyScript:"";for(let b=0;b<m;b++)i.append(h[b],br()),pt.nextNode(),d.push({type:2,index:++a});i.append(h[m],br())}}}else if(i.nodeType===8)if(i.data===go)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf($e,h+1))!==-1;)d.push({type:7,index:a}),h+=$e.length-1}a++}}static createElement(t,r){let n=ht.createElement("template");return n.innerHTML=t,n}};function mt(e,t,r=e,n){if(t===X)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=xr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=mt(e,i._$AS(e,t.values),i,n)),t}var an=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??ht).importNode(r,!0);pt.currentNode=i;let a=pt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Ut(a,a.nextSibling,this,t):d.type===1?f=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(f=new dn(a,this,t)),this._$AV.push(f),d=n[++l]}s!==d?.index&&(a=pt.nextNode(),s++)}return pt.currentNode=ht,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ut=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=mt(this,t,r),xr(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==X&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):gs(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!==G&&xr(this._$AH)?this._$AA.nextSibling.data=t:this.T(ht.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Sr.createElement(xs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new an(i,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(t){let r=ys.get(t.strings);return r===void 0&&ys.set(t.strings,r=new Sr(t)),r}k(t){bo(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.O(br()),this.O(br()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let n=ds(t).nextSibling;ds(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},yt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=mt(this,t,r,0),s=!xr(t)||t!==this._$AH&&t!==X,s&&(this._$AH=t);else{let l=t,d,f;for(t=a[0],d=0;d<a.length-1;d++)f=mt(this,l[n+d],r,d),f===X&&(f=this._$AH[d]),s||=!xr(f)||f!==this._$AH[d],f===G?t=G:t!==G&&(t+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!i&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},sn=class extends yt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}},cn=class extends yt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},ln=class extends yt{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=mt(this,t,r,0)??G)===X)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},dn=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){mt(this,t)}},So={M:yo,P:$e,A:go,C:1,L:Ss,R:an,D:gs,V:mt,I:Ut,H:yt,N:cn,U:ln,B:sn,F:dn},Lu=mo.litHtmlPolyfillSupport;Lu?.(Sr,Ut),(mo.litHtmlVersions??=[]).push("3.3.3");var vo=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ut(t.insertBefore(br(),a),a,void 0,r??{})}return i._$AI(e),i};var Eo=globalThis,Ve=class extends xe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=vo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return X}};Ve._$litElement$=!0,Ve.finalized=!0,Eo.litElementHydrateSupport?.({LitElement:Ve});var Du=Eo.litElementPolyfillSupport;Du?.({LitElement:Ve});var Mu={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(Eo.litElementVersions??=[]).push("4.2.2");var m0=!1;var wo={};M(wo,{customElement:()=>Fu,eventOptions:()=>Bu,property:()=>I,query:()=>_o,queryAll:()=>Hu,queryAssignedElements:()=>Vu,queryAssignedNodes:()=>zu,queryAsync:()=>$u,standardProperty:()=>vs,state:()=>ue});var Fu=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Uu={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:yr},vs=(e=Uu,t,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),a.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e,!0,l)}}throw Error("Unsupported decorator location: "+n)};function I(e){return(t,r)=>typeof r=="object"?vs(e,t,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,r)}function ue(e){return I({...e,state:!0,attribute:!1})}function Bu(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var Ce=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function _o(e,t){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ce(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ce(r,n,{get(){return a(this)}})}}var Wu;function Hu(e){return(t,r)=>Ce(t,r,{get(){return(this.renderRoot??(Wu??=document.createDocumentFragment())).querySelectorAll(e)}})}function $u(e){return(t,r)=>Ce(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Vu(e){return(t,r)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ce(t,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function zu(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ce(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Co={};M(Co,{repeat:()=>fn});var Pe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},fe=e=>(...t)=>({_$litDirective$:e,values:t}),Se=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:Gu}=So,Es=e=>e;var _s=e=>e.strings===void 0,Os=()=>document.createComment(""),Bt=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let a=n.insertBefore(Os(),i),s=n.insertBefore(Os(),i);r=new Gu(a,s,e,e.options)}else{let a=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(a!==i||l){let d=r._$AA;for(;d!==a;){let f=Es(d).nextSibling;Es(n).insertBefore(d,i),d=f}}}return r},rt=(e,t,r=e)=>(e._$AI(t,r),e),Yu={},ws=(e,t=Yu)=>e._$AH=t,Cs=e=>e._$AH,un=e=>{e._$AR(),e._$AA.remove()};var As=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},fn=fe(class extends Se{constructor(e){if(super(e),e.type!==Pe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,n]){let i=Cs(e),{values:a,keys:s}=this.dt(t,r,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],f,p,h=0,m=i.length-1,b=0,S=a.length-1;for(;h<=m&&b<=S;)if(i[h]===null)h++;else if(i[m]===null)m--;else if(l[h]===s[b])d[b]=rt(i[h],a[b]),h++,b++;else if(l[m]===s[S])d[S]=rt(i[m],a[S]),m--,S--;else if(l[h]===s[S])d[S]=rt(i[h],a[S]),Bt(e,d[S+1],i[h]),h++,S--;else if(l[m]===s[b])d[b]=rt(i[m],a[b]),Bt(e,i[h],i[m]),m--,b++;else if(f===void 0&&(f=As(s,b,S),p=As(l,h,m)),f.has(l[h]))if(f.has(l[m])){let C=p.get(s[b]),O=C!==void 0?i[C]:null;if(O===null){let A=Bt(e,i[h]);rt(A,a[b]),d[b]=A}else d[b]=rt(O,a[b]),Bt(e,i[h],O),i[C]=null;b++}else un(i[m]),m--;else un(i[h]),h++;for(;b<=S;){let C=Bt(e,d[S+1]);rt(C,a[b]),d[b++]=C}for(;h<=m;){let C=i[h++];C!==null&&un(C)}return this.ut=s,ws(e,d),X}});var Ao={};M(Ao,{classMap:()=>ju});var ju=fe(class extends Se{constructor(e){if(super(e),e.type!==Pe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.st)n in t||(r.remove(n),this.st.delete(n));for(let n in t){let i=!!t[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return X}});var Ro={};M(Ro,{styleMap:()=>Zu});var Rs="important",Ku=" !"+Rs,Zu=fe(class extends Se{constructor(e){if(super(e),e.type!==Pe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Ku);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Rs:""):r[n]=i}}return X}});var ko={};M(ko,{UnsafeHTMLDirective:()=>Wt,unsafeHTML:()=>qu});var Wt=class extends Se{constructor(t){if(super(t),this.it=G,t.type!==Pe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||t==null)return this._t=void 0,this.it=t;if(t===X)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:[]}}};Wt.directiveName="unsafeHTML",Wt.resultType=1;var qu=fe(Wt);var To={};M(To,{splitBreadcrumbForMenu:()=>Ju});function Ju(e,t=0,r=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(r,1),i=e.slice(n*-1);return t+n>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-i.length),afterMenu:i}}var Ho={};M(Ho,{CacheRegistry:()=>Wo,ClearCacheEvent:()=>_r});var No={};M(No,{CancelablePromise:()=>pn,CanceledPromiseError:()=>vr,cancelable:()=>Io});var vr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},pn=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new vr("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new vr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Io=e=>new pn((t,r)=>e.then(t).catch(r));var Bo={};M(Bo,{FtNotificationEvent:()=>Or,PostResizeEvent:()=>Uo,PreResizeEvent:()=>Fo,WithEventBus:()=>xt,withEventBus:()=>Bs});var Mo={};M(Mo,{applyMixinOnce:()=>pe,customElements:()=>Do,dateReviver:()=>rf,deepCopy:()=>Ht,deepEqual:()=>bt,delay:()=>Ns,eventPathContainsMatchingElement:()=>of,everyDeep:()=>tf,flatDeep:()=>Ls,forEachDeep:()=>Ds,getComposedPathTo:()=>Lo,groupBy:()=>lf,hasChanged:()=>ot,ignoreComposingEvents:()=>cf,last:()=>af,minmax:()=>gt,parseDate:()=>Fs,randomId:()=>sf,someDeep:()=>Ms,unslotText:()=>Us,waitFor:()=>Ps,waitUntil:()=>ef});var Po={};M(Po,{customElement:()=>Er,dateProperty:()=>Xu,isNumber:()=>Is,jsonProperty:()=>nt,jsonPropertyConverter:()=>ks,numberProperty:()=>Ts,optionalNumberProperty:()=>Qu});var Er=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},ks=e=>({fromAttribute:t=>{if(t==null)return Ht(e);try{return JSON.parse(t)}catch{return Ht(e)}},toAttribute:t=>JSON.stringify(t)});function nt(e,t){return I({type:Object,converter:ks(e),hasChanged:ot,...t??{}})}function Qu(e){return Ts(e)}function Ts(e){return I({type:Object,converter:{fromAttribute:t=>{var r,n;if(t==null)return;let i=(r=e?.min)!==null&&r!==void 0?r:-1/0,a=(n=e?.max)!==null&&n!==void 0?n:1/0;return Is(t)?gt(i,+t,a):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function Is(e){return!isNaN(parseFloat(e))}function Xu(e){return I({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 Ns=e=>new Promise(t=>setTimeout(t,e));async function ef(e,t=10,r=2e4){await Ps(async()=>await e()||void 0,t,r)}async function Ps(e,t=10,r=2e4){let n=await e(),i=performance.now(),a=i;for(;n==null&&(!r||a-i<r);)await Ns(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ls(e,t){return e.flatMap(r=>[r,...Ls(t(r),t)])}function Ds(e,t,r){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let d=i[l];if(!(((s=r(d,l,i,a))!==null&&s!==void 0?s:!0)&&n(t(d),[...a,d])))return!1}return!0};n(e,[])}function Ms(e,t,r){let n=!1;return Ds(e,t,(i,a,s,l)=>(n=!!r(i,a,s,l),!n)),n}function tf(e,t,r){return!Ms(e,t,(n,i,a,s)=>!r(n,i,a,s))}function rf(...e){return(t,r)=>e.includes(t)?Fs(r):r}function Fs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function nf(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!bt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!bt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null),a=i(e);if(r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!bt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function bt(e,t){try{return nf(e,t)}catch{return!1}}function ot(e,t){return!bt(e,t)}function of(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function gt(e,t,r){return Math.min(Math.max(e,t),r)}function af(e){return e[e.length-1]}function Us(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Us(t)).join(""):e?.textContent||""}function Lo(e){let t=[],r=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Ht(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function sf(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function pe(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let i=t(n);return i[e]=!0,i}}function cf(){return function(e,t,r){let n=r.value;r.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function Do(e){for(let[t,r]of Object.entries(e))Er(t)(r)}function lf(e,t){var r,n;let i=typeof t=="function"?t:s=>s[t],a={};for(let s of e)((r=a[n=i(s)])!==null&&r!==void 0?r:a[n]=[]).push(s);return a}var Or=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Fo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Uo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Bs=pe(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),xt=class extends Bs(Object){};var _r=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Wo=class extends xt{constructor(){super(...arguments),this.content={}}register(t,r,n=!1){var i;let a=this.content[t],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[t]={...a,loader:r,final:n,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let n=Object.keys(this.content).filter(t).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new _r(n)),n}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new _r([t])),t}forceClear(t){var r;let n=this.content[t];n&&(this.clearClearTimeout(t),(r=n.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var r,n,i;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[t])===null||i===void 0||delete i.clearTimeout)}set(t,r,n=!1){this.forceClear(t);let i=async()=>r,a="RESOLVED";this.content[t]={loader:i,final:n,status:a,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,n){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let i=this.content[t];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=Io(r()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(t),i.clearTimeout=window.setTimeout(()=>this.clear(t),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,n;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var qo={};M(qo,{ClusteringHelper:()=>Zo,formatHierarchicalValues:()=>Ko});var jo={};M(jo,{accessBreadcrumb:()=>gf,accessResult:()=>Yo,accessResultId:()=>mf,accessResultUrl:()=>yf,enrichReaderUrl:()=>Go});var zo={};M(zo,{SearchPlaceConverter:()=>St,SearchPlaceQueryParams:()=>L,isSearchPlaceQueryParams:()=>Ac,serializeRequest:()=>pf});var df=e=>typeof e=="object"&&e!=null;var uf=e=>typeof e=="number",hn=e=>typeof e=="string",Vo=e=>df(e)&&hn(e.endpoint)&&hn(e.method)&&hn(e.statusText)&&hn(e.body)&&uf(e.status),Ws;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Ws||(Ws={}));var Hs;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Hs||(Hs={}));var $s;(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"})($s||($s={}));var Vs;(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"})(Vs||(Vs={}));var zs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(zs||(zs={}));var Gs;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Gs||(Gs={}));var Ys;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(Ys||(Ys={}));var js;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(js||(js={}));var Ks;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Ks||(Ks={}));var Zs;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Zs||(Zs={}));var qs;(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"})(qs||(qs={}));var Js;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(Js||(Js={}));var Qs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Qs||(Qs={}));var Xs;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Xs||(Xs={}));var ec;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ec||(ec={}));var tc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(tc||(tc={}));var rc;(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"})(rc||(rc={}));var $t;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})($t||($t={}));var nc;(function(e){e.ASC="ASC",e.DESC="DESC"})(nc||(nc={}));var oc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(oc||(oc={}));var $o;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})($o||($o={}));var pc=e=>Object.keys($o).includes(e);var ic;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(ic||(ic={}));var ac;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ac||(ac={}));var sc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(sc||(sc={}));var Vt;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Vt||(Vt={}));var hc=e=>Object.keys(Vt).includes(e);var cc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(cc||(cc={}));var lc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(lc||(lc={}));var dc;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(dc||(dc={}));var te;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(te||(te={}));var uc;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(uc||(uc={}));var fc;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(fc||(fc={}));var mc;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(mc||(mc={}));var yc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(yc||(yc={}));var gc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(gc||(gc={}));var bc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(bc||(bc={}));var xc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(xc||(xc={}));var Sc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Sc||(Sc={}));var vc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(vc||(vc={}));var Ec;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(Ec||(Ec={}));var Oc;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Oc||(Oc={}));var _c;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(_c||(_c={}));var wc;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(wc||(wc={}));var Tx={[te.PERSONAL_BOOK_SHARE_USER]:[te.PERSONAL_BOOK_USER],[te.HTML_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.PDF_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.KHUB_ADMIN]:[te.CONTENT_PUBLISHER],[te.ADMIN]:[te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN,te.BEHAVIOR_DATA_USER],[te.GENERATIVE_AI_EXPORT_USER]:[te.GENERATIVE_AI_USER]};function ff(e){return`"${e}"`}function Cc(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function pf(e,t){return new St(e).serialize(t)}var L;(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.NEGATIVE_VALUE_FILTERS="negative-value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(L||(L={}));var hf=new Set(Object.values(L));function Ac(e){return hf.has(e)}var St=class e{constructor(t,r=20,n=!1,i="en-US",a=[]){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(t),i.toString()}toURLSearchParams(t,r=!1){var n,i,a,s,l,d,f,p,h;let m=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&m.append(L.LOCALE,t.contentLocale):m.append(L.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&m.append(L.QUERY,t.query);let b=e.serializeValueFilters(t.metadataFilters);b&&m.append(L.VALUE_FILTERS,b);let S=e.serializeNegativeValueFilters(t.metadataFilters);S&&m.append(L.NEGATIVE_VALUE_FILTERS,S);let C=(d=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(g=>g.dateFilter))!==null&&d!==void 0?d:[];if(C.length>0){let g=C.map(y=>{var x;return`${y.key}~${(x=y.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(L.DATE_FILTERS,g)}let O=(f=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(g=>g.rangeFilter))!==null&&f!==void 0?f:[];if(O.length>0){let g=O.map(y=>{var x,w;return`${y.key}~${(x=y.rangeFilter)===null||x===void 0?void 0:x.from}_${(w=y.rangeFilter)===null||w===void 0?void 0:w.to}`}).join("*");m.append(L.RANGE_FILTERS,g)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(L.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&m.append(L.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&m.append(L.SORT,t.sortId),!((s=t.paging)===null||s===void 0)&&s.perPage&&((p=(l=t.paging)===null||l===void 0?void 0:l.perPage)!==null&&p!==void 0?p:this.defaultPerPage)!=this.defaultPerPage&&m.append(L.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&m.append(L.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let A=(h=t.otherQueryParams)!==null&&h!==void 0?h:{};for(let g in A)m.append(g,A[g]);let T=new Array;return m.forEach((g,y)=>{T.push(this.encodeQueryString(y)+"="+this.encodeQueryString(g))}),encodeURI(T.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let n=t.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(t){var r,n,i,a,s,l,d;try{t=decodeURI(t).replace(/%23/g,"#")}catch(T){console.warn("Could not decode search request query params, fallback on raw value",T)}let f=new URLSearchParams(t),p=(n=f.get(L.LOCALE))!==null&&n!==void 0?n:void 0,h=((i=f.get(L.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=f.get(L.SORT))===null||r===void 0?void 0:r.toLowerCase(),b=(a=f.get(L.SCOPE))!==null&&a!==void 0?a:"default",S=+((s=f.get(L.PER_PAGE))!==null&&s!==void 0?s:this.defaultPerPage),C=f.get(L.KEYWORD_MATCH),O=C?C.toUpperCase()===$t.MANDATORY?$t.MANDATORY:$t.OPTIONAL:void 0,A={};for(let T of f.keys())Ac(T)||(A[T]=f.get(T));return p==="all"?p=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!p||this.availableContentLocales.length>0&&!this.availableContentLocales.some(T=>T.lang===p))&&(p=this.defaultContentLocale),{contentLocale:p,query:(l=f.get(L.QUERY))!==null&&l!==void 0?l:"",scope:(d=this.scopeMapping[b])!==null&&d!==void 0?d:"DEFAULT",virtualField:pc(h)?h:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(f),facets:[],paging:{page:1,perPage:gt(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:O,otherQueryParams:A}}parseCompatFilters(t){var r,n,i,a,s,l,d;let f=[];return t.has(L.FILTERS)&&(f=e.parseValueFilters((r=t.get(L.FILTERS))!==null&&r!==void 0?r:"")),(n=t.has(L.PERIOD))!==null&&n!==void 0&&n&&(f=[...f,...this.parseLegacyPeriodFilter(((i=t.get(L.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...f,...e.parseValueFilters((a=t.get(L.VALUE_FILTERS))!==null&&a!==void 0?a:""),...e.parseValueFilters((s=t.get(L.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=t.get(L.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=t.get(L.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}static parseValueFilters(t,r=!1){return t.length===0?[]:this.splitUnknownFilter(t).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Cc).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:Vt[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}static escapeFilters(t){for(let[r,n,i]of this.filtersEscapeMapping)t=t.replaceAll(r,n);return t}static superEscapeFilters(t){for(let[r,n,i]of e.filtersEscapeMapping)t=t.replaceAll(n,i);return t}static unescapeFilterValue(t){for(let[r,n,i]of e.filtersEscapeMapping)t=t.replaceAll(i,r);return t}parseLegacyPeriodFilter(t){if(hc(t))return[{key:"ft:lastEdition",dateFilter:{type:Vt[t]}}];if(t.startsWith("CUSTOM_")){let[r,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(t){var r,n;let i=((n=(r=t.valueFilter)===null||r===void 0?void 0:r.values)!==null&&n!==void 0?n:[]).map(a=>e.escapeFilters(a)).map(a=>ff(Cc(a))).join("_");return`${t.key}~${i}`}static serializeValueFilters(t){var r;let n=(r=t?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static serializeNegativeValueFilters(t){var r;let n=(r=t?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static clearSearchParamsInUrl(t){let r=new URL(t);return[L.LOCALE,L.FILTERS,L.VALUE_FILTERS,L.NEGATIVE_VALUE_FILTERS,L.DATE_FILTERS,L.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(t,r){let n=new URL(t);return n.searchParams.delete(L.LOCALE),r!==void 0&&n.searchParams.append(L.LOCALE,r),n.toString()}};St.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Yo(e){var t,r,n,i;return(i=(n=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&i!==void 0?i:e?.htmlPackagePage}function mf(e){var t,r,n,i,a,s,l,d,f;return(f=(d=(l=(s=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&s!==void 0?s:(r=e?.topic)===null||r===void 0?void 0:r.tocId)!==null&&l!==void 0?l:(n=e?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=e?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&f!==void 0?f:(a=e?.htmlPackagePage)===null||a===void 0?void 0:a.contentId}function yf(e,t){var r,n,i,a,s,l,d,f,p;return(p=(f=(d=(l=Go((r=e?.map)===null||r===void 0?void 0:r.readerUrl,t))!==null&&l!==void 0?l:Go((n=e?.topic)===null||n===void 0?void 0:n.readerUrl,t))!==null&&d!==void 0?d:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&f!==void 0?f:(a=e?.htmlPackage)===null||a===void 0?void 0:a.viewerUrl)!==null&&p!==void 0?p:(s=e?.htmlPackagePage)===null||s===void 0?void 0:s.viewerUrl}function gf(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function Go(e,t){if(t&&e){let r=URL.parse(e),n=St.serializeValueFilters(t);if(n&&r?.searchParams.append(L.VALUE_FILTERS,n),r)return r.toString()}return e}function Ko(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Zo=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(t,r,n){return t?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==r))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(t){var r,n;let i=(n=(r=Yo(t.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(i,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(i.find(a=>a.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,r,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(Ko(l)),s.push(Ko(l,r))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,n="No value",i,a){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),f=(l=d?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(t))===null||s===void 0?void 0:s.label;return this.allResults.map(h=>e.extractResultMetadata({result:h,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(h=>h??{key:t,label:f,value:void 0,displayValue:n}).filter(h=>h.value!=d?.value).filter((h,m,b)=>b.findIndex(S=>S.value===h.value)===m).map(h=>({result:this.findBestResultForMetadataValue(t,h.value),metadata:h})).sort((h,m)=>this.compareMetadata(h.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Jo={};M(Jo,{Debouncer:()=>wr});var wr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),a=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ti={};M(ti,{designSystemVariables:()=>rp});var ei={};M(ei,{DesignSystemFamily:()=>Cr,DesignSystemSize:()=>Ar,FtCssVariableFactory:()=>o,badge:()=>Lf,banner:()=>Pf,button:()=>Sf,card:()=>Ef,chart:()=>qf,checkbox:()=>Cf,chip:()=>Tf,chipChoice:()=>kf,chipGroup:()=>If,collapsible:()=>Kf,combobox:()=>Yf,dateRangePicker:()=>tp,drawer:()=>Hf,eventCard:()=>Of,floatingMenu:()=>Gf,foundation:()=>c,link:()=>Nf,modal:()=>Bf,notice:()=>Qf,notification:()=>Xf,pageDesigner:()=>Jf,pageFooter:()=>Ff,pageHeader:()=>Mf,pageLayout:()=>Uf,popover:()=>jf,radio:()=>Af,reorderableList:()=>Wf,resolveFamilyClass:()=>Qo,resolveSizeClass:()=>Xo,semantic:()=>u,setVariable:()=>zt,switch_:()=>Zf,table:()=>Rf,tabs:()=>$f,textArea:()=>zf,textInput:()=>Vf,titleBreadcrumb:()=>Df,toc:()=>wf,toggle:()=>vf,tooltip:()=>ep,treeList:()=>_f,typographies:()=>bf,typographyBody1Medium:()=>Pc,typographyBody1Regular:()=>Nc,typographyBody1Semibold:()=>Lc,typographyBody2Medium:()=>Mc,typographyBody2MediumUnderline:()=>Fc,typographyBody2Regular:()=>Dc,typographyBody2Semibold:()=>Uc,typographyCaption1Medium:()=>Bc,typographyCaption1Semibold:()=>Wc,typographyCaption2Bold:()=>Vc,typographyCaption2Medium:()=>Hc,typographyCaption2Semibold:()=>$c,typographyDisplay:()=>Rc,typographyTitle1:()=>kc,typographyTitle2:()=>Tc,typographyTitle3:()=>Ic,typographyVariants:()=>xf});var it=e=>typeof e=="string"?pr(e):e,o=class{static create(t,r,n,i){let a=l=>it(l??i),s=q`var(${it(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>zt(s,l??a(i)),s.get=l=>q`var(${it(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let a=l=>n.get(l??i),s=q`var(${it(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>zt(s,l??a(i)),s.get=l=>q`var(${it(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=a=>t.defaultCssValue(a),i=q`var(${it(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.set=a=>t.set(a),i.get=a=>q`var(${it(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function zt(e,t){return it(`${e.name}: ${t}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Rc={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},kc={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Tc={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ic={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Nc={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Pc={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Lc={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Dc={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Mc={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Fc={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Uc={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Bc={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Wc={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Hc={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},$c={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Vc={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},bf={display:Rc,"title-1":kc,"title-2":Tc,"title-3":Ic,"body-1-regular":Nc,"body-1-medium":Pc,"body-1-semibold":Lc,"body-2-regular":Dc,"body-2-medium":Mc,"body-2-medium-underline":Fc,"body-2-semibold":Uc,"caption-1-medium":Bc,"caption-1-semibold":Wc,"caption-2-medium":Hc,"caption-2-semibold":$c,"caption-2-bold":Vc},xf=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Sf={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var vf={iconSize:o.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var Ef={borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Of={borderRadius:o.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:o.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:o.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:o.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:o.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:o.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var _f={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var wf={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",c.spacing2),offsetTop:o.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:o.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:o.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:o.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:o.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:o.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:o.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",c.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",c.opacity8),itemActiveLabelColor:o.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:o.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:o.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:o.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:o.extend("--ftds-toc-item-active-default-state-layer-opacity","",c.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",c.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",c.opacity16),itemChildActiveLabelColor:o.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:o.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:o.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",c.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",c.opacity8)};var Cf={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Af={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Rf={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var kf={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Tf={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var If={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Nf={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",c.spacing1)};var Pf={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Lf={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Df={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Mf={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Ff={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Uf={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Bf={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Wf={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Hf={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var $f={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:o.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Vf={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var zf={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",c.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",c.spacing6),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:o.extend("--ftds-text-area-resize-bottom","",c.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",c.spacing05)};var Gf={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Yf={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var jf={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Kf={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Zf={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var qf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Jf={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Qf={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var Xf={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var ep={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var tp={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Cr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Cr||(Cr={}));var Ar;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ar||(Ar={}));function Qo(e){return`ftds--family-${e}`}function Xo(e){return`ftds--size-${e}`}var rp={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ri={};M(ri,{DynamicImporter:()=>mn,dynamicImporter:()=>np});var mn=class{async import(t){if(t)return import(t)}},np=new mn;var hi={};M(hi,{computeOffsetAutoPosition:()=>Rp,computeOffsetPosition:()=>Ap});var Gc=["top","right","bottom","left"],zc=["start","end"],oi=Gc.reduce((e,t)=>e.concat(t,t+"-"+zc[0],t+"-"+zc[1]),[]),vt=Math.min,Le=Math.max,Rr=Math.round;var De=e=>({x:e,y:e}),op={left:"right",right:"left",bottom:"top",top:"bottom"};function Yc(e,t,r){return Le(e,vt(t,r))}function Gt(e,t){return typeof e=="function"?e(t):e}function Et(e){return e.split("-")[0]}function Me(e){return e.split("-")[1]}function ii(e){return e==="x"?"y":"x"}function ai(e){return e==="y"?"height":"width"}function Yt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function si(e){return ii(Yt(e))}function jc(e,t,r){r===void 0&&(r=!1);let n=Me(e),i=si(e),a=ai(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=ni(s)),[s,ni(s)]}function Kc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function ni(e){let t=Et(e);return op[t]+e.slice(t.length)}function ip(e){var t,r,n,i;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(n=e.bottom)!=null?n:0,left:(i=e.left)!=null?i:0}}function Zc(e){return typeof e!="number"?ip(e):{top:e,right:e,bottom:e,left:e}}function Ot(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function qc(e,t,r){let{reference:n,floating:i}=e,a=Yt(t),s=si(t),l=ai(s),d=Et(t),f=a==="y",p=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:p,y:n.y-i.height};break;case"bottom":b={x:p,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:h};break;case"left":b={x:n.x-i.width,y:h};break;default:b={x:n.x,y:n.y}}let S=Me(t);return S&&(b[s]+=m*(S==="end"?1:-1)*(r&&f?-1:1)),b}async function Jc(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:m=!1,padding:b=0}=Gt(t,e),S=Zc(b),O=l[m?h==="floating"?"reference":"floating":h],A=Ot(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(O)))==null||r?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:p,strategy:d})),T=h==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,g=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),y=await(a.isElement==null?void 0:a.isElement(g))&&await(a.getScale==null?void 0:a.getScale(g))||{x:1,y:1},x=Ot(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:T,offsetParent:g,strategy:d}):T);return{top:(A.top-x.top+S.top)/y.y,bottom:(x.bottom-A.bottom+S.bottom)/y.y,left:(A.left-x.left+S.left)/y.x,right:(x.right-A.right+S.right)/y.x}}var ap=50,Qc=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Jc},d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:h}=qc(f,n,d),m=n,b=0,S={};for(let C=0;C<a.length;C++){let O=a[C];if(!O)continue;let{name:A,fn:T}=O,{x:g,y,data:x,reset:w}=await T({x:p,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:f,platform:l,elements:{reference:e,floating:t}});p=g??p,h=y??h,S[A]={...S[A],...x},w&&b<ap&&(b++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(f=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:p,y:h}=qc(f,m,d)),C=-1)}return{x:p,y:h,placement:m,strategy:i,middlewareData:S}};function sp(e,t,r){return(e?[...r.filter(i=>Me(i)===e),...r.filter(i=>Me(i)!==e)]:r.filter(i=>Et(i)===i)).filter(i=>e?Me(i)===e||(t?Kc(i)!==i:!1):!0)}var Xc=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:p=!1,alignment:h,allowedPlacements:m=oi,autoAlignment:b=!0,...S}=Gt(e,t),C=h!==void 0||m===oi?sp(h||null,b,m):m,O=((r=s.autoPlacement)==null?void 0:r.index)||0,A=C[O];if(A==null)return{};if(l!==A)return{reset:{placement:C[0]}};let T=await d.detectOverflow(t,S),g=jc(A,a,await(d.isRTL==null?void 0:d.isRTL(f.floating))),y=[T[Et(A)],T[g[0]],T[g[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:y}],w=C[O+1];if(w)return{data:{index:O+1,overflows:x},reset:{placement:w}};let N=x.map(k=>{let B=Me(k.placement);return[k.placement,B&&p?k.overflows.slice(0,2).reduce((Q,Ne)=>Q+Ne,0):k.overflows[0],k.overflows]}).sort((k,B)=>k[1]-B[1]),j=((i=N.filter(k=>k[2].slice(0,Me(k[0])?2:3).every(B=>B<=0))[0])==null?void 0:i[0])||N[0][0];return j!==l?{data:{index:O+1,overflows:x},reset:{placement:j}}:{}}}};var cp=new Set(["left","top"]);async function lp(e,t){let{placement:r,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Et(r),l=Me(r),d=Yt(r)==="y",f=cp.has(s)?-1:1,p=a&&d?-1:1,h=Gt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:S}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof S=="number"&&(b=l==="end"?S*-1:S),d?{x:b*p,y:m*f}:{x:m*f,y:b*p}}var el=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:a,placement:s,middlewareData:l}=t,d=await lp(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},tl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i,platform:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:T=>{let{x:g,y}=T;return{x:g,y}}},...f}=Gt(e,t),p={x:r,y:n},h=await a.detectOverflow(t,f),m=Yt(i),b=ii(m),S=p[b],C=p[m],O=(T,g)=>Yc(g+h[T==="y"?"top":"left"],g,g-h[T==="y"?"bottom":"right"]);s&&(S=O(b,S)),l&&(C=O(m,C));let A=d.fn({...t,[b]:S,[m]:C});return{...A,data:{x:A.x-r,y:A.y-n,enabled:{[b]:s,[m]:l}}}}}};var rl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:n,platform:i,elements:a}=t,{apply:s=()=>{},...l}=Gt(e,t),d=await i.detectOverflow(t,l),f=Et(r),p=Me(r),h=Yt(r)==="y",{width:m,height:b}=n.floating,S,C;f==="top"||f==="bottom"?(S=f,C=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(C=f,S=p==="end"?"top":"bottom");let O=b-d.top-d.bottom,A=m-d.left-d.right,T=vt(b-d[S],O),g=vt(m-d[C],A),y=t.middlewareData.shift,x=!y,w=T,N=g;y!=null&&y.enabled.x&&(N=A),y!=null&&y.enabled.y&&(w=O),x&&!p&&(h?N=m-2*Le(d.left,d.right):w=b-2*Le(d.top,d.bottom)),await s({...t,availableWidth:N,availableHeight:w});let H=await i.getDimensions(a.floating);return m!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};function gn(){return typeof window<"u"}function wt(e){return ol(e)?(e.nodeName||"").toLowerCase():"#document"}function se(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ze(e){var t;return(t=(ol(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ol(e){return gn()?e instanceof Node||e instanceof se(e).Node:!1}function Ae(e){return gn()?e instanceof Element||e instanceof se(e).Element:!1}function Ge(e){return gn()?e instanceof HTMLElement||e instanceof se(e).HTMLElement:!1}function nl(e){return!gn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof se(e).ShadowRoot}function kr(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&i!=="inline"&&i!=="contents"}function il(e){return/^(table|td|th)$/.test(wt(e))}function Tr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var dp=/transform|translate|scale|rotate|perspective|filter/,up=/paint|layout|strict|content/,_t=e=>!!e&&e!=="none",ci;function jt(e){let t=Ae(e)?Re(e):e;return _t(t.transform)||_t(t.translate)||_t(t.scale)||_t(t.rotate)||_t(t.perspective)||!bn()&&(_t(t.backdropFilter)||_t(t.filter))||dp.test(t.willChange||"")||up.test(t.contain||"")}function al(e){let t=at(e);for(;Ge(t)&&!Kt(t);){if(jt(t))return t;if(Tr(t))return null;t=at(t)}return null}function bn(){return ci==null&&(ci=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ci}function Kt(e){return/^(html|body|#document)$/.test(wt(e))}function Re(e){return se(e).getComputedStyle(e)}function Ir(e){return Ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if(wt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||nl(e)&&e.host||ze(e);return nl(t)?t.host:t}function sl(e){let t=at(e);return Kt(t)?(e.ownerDocument||e).body:Ge(t)&&kr(t)?t:sl(t)}function yn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=sl(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=se(i);if(a){let l=xn(s);return t.concat(s,s.visualViewport||[],kr(i)?i:[],l&&r?yn(l):[])}else return t.concat(i,yn(i,[],r))}function xn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function dl(e){let t=Re(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Ge(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,l=Rr(r)!==a||Rr(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function ul(e){return Ae(e)?e:e.contextElement}function Zt(e){let t=ul(e);if(!Ge(t))return De(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=dl(t),s=(a?Rr(r.width):r.width)/n,l=(a?Rr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var fp=De(0);function fl(e){let t=se(e);return!bn()||!t.visualViewport?fp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pp(e,t,r){return t===void 0&&(t=!1),!!r&&t&&r===se(e)}function Nr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),a=ul(e),s=De(1);t&&(n?Ae(n)&&(s=Zt(n)):s=Zt(e));let l=pp(a,r,n)?fl(a):De(0),d=(i.left+l.x)/s.x,f=(i.top+l.y)/s.y,p=i.width/s.x,h=i.height/s.y;if(a&&n){let m=se(a),b=Ae(n)?se(n):n,S=m,C=xn(S);for(;C&&b!==S;){let O=Zt(C),A=C.getBoundingClientRect(),T=Re(C),g=A.left+(C.clientLeft+parseFloat(T.paddingLeft))*O.x,y=A.top+(C.clientTop+parseFloat(T.paddingTop))*O.y;d*=O.x,f*=O.y,p*=O.x,h*=O.y,d+=g,f+=y,S=se(C),C=xn(S)}}return Ot({width:p,height:h,x:d,y:f})}function Sn(e,t){let r=Ir(e).scrollLeft;return t?t.left+r:Nr(ze(e)).left+r}function pl(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Sn(e,r),i=r.top+t.scrollTop;return{x:n,y:i}}function hp(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,a=i==="fixed",s=ze(n),l=t?Tr(t.floating):!1;if(n===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},f=De(1),p=De(0),h=Ge(n);if((h||!a)&&((wt(n)!=="body"||kr(s))&&(d=Ir(n)),h)){let b=Nr(n);f=Zt(n),p.x=b.x+n.clientLeft,p.y=b.y+n.clientTop}let m=s&&!h&&!a?pl(s,d):De(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+p.x+m.x,y:r.y*f.y-d.scrollTop*f.y+p.y+m.y}}function mp(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function yp(e){let t=Ir(e),r=e.ownerDocument.body,n=Le(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Le(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),a=-t.scrollLeft+Sn(e),s=-t.scrollTop;return Re(r).direction==="rtl"&&(a+=Le(e.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}var gp=25;function bp(e,t,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=se(e),a=ze(e),s=i.visualViewport,l=a.clientWidth,d=a.clientHeight,f=0,p=0;if(s){let m=!bn()||t==="fixed";n?m||(f=-s.offsetLeft,p=-s.offsetTop):(l=s.width,d=s.height,m&&(f=s.offsetLeft,p=s.offsetTop))}if(Sn(a)<=0){let m=a.ownerDocument,b=m.body,S=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,O=Math.abs(a.clientWidth-b.clientWidth-C),A=getComputedStyle(a).scrollbarGutter==="stable both-edges"?O/2:O;A<=gp&&(l-=A)}return{width:l,height:d,x:f,y:p}}function xp(e,t){let r=Nr(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=Zt(e),s=e.clientWidth*a.x,l=e.clientHeight*a.y,d=i*a.x,f=n*a.y;return{width:s,height:l,x:d,y:f}}function cl(e,t,r){let n;if(t==="viewport"||t==="layoutViewport")n=bp(e,r,t);else if(t==="document")n=yp(ze(e));else if(Ae(t))n=xp(t,r);else{let i=fl(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ot(n)}function Sp(e,t){let r=t.get(e);if(r)return r;let n=yn(e,[],!1).filter(l=>Ae(l)&&wt(l)!=="body"),i=null,a=Re(e).position==="fixed",s=a?at(e):e;for(;Ae(s)&&!Kt(s);){let l=Re(s),d=jt(s),f=i?i.position:a?"fixed":"";!d&&(f==="fixed"||f==="absolute"&&l.position==="static")?n=n.filter(h=>h!==s):i=l,s=at(s)}return t.set(e,n),n}function vp(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[...r==="clippingAncestors"?Tr(t)?[]:Sp(t,this._c):[].concat(r),n],l=cl(t,s[0],i),d=l.top,f=l.right,p=l.bottom,h=l.left;for(let m=1;m<s.length;m++){let b=cl(t,s[m],i);d=Le(b.top,d),f=vt(b.right,f),p=vt(b.bottom,p),h=Le(b.left,h)}return{width:f-h,height:p-d,x:h,y:d}}function Ep(e){let{width:t,height:r}=dl(e);return{width:t,height:r}}function Op(e,t,r){let n=Ge(t),i=ze(t),a=r==="fixed",s=Nr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=De(0);if((n||!a)&&((wt(t)!=="body"||kr(i))&&(l=Ir(t)),n)){let m=Nr(t,!0,a,t);d.x=m.x+t.clientLeft,d.y=m.y+t.clientTop}!n&&i&&(d.x=Sn(i));let f=i&&!n&&!a?pl(i,l):De(0),p=s.left+l.scrollLeft-d.x-f.x,h=s.top+l.scrollTop-d.y-f.y;return{x:p,y:h,width:s.width,height:s.height}}function li(e){return Re(e).position==="static"}function ll(e,t){if(!Ge(e)||Re(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ze(e)===r&&(r=r.ownerDocument.body),r}function hl(e,t){let r=se(e);if(Tr(e))return r;if(!Ge(e)){let i=at(e);for(;i&&!Kt(i);){if(Ae(i)&&!li(i))return i;i=at(i)}return r}let n=ll(e,t);for(;n&&il(n)&&li(n);)n=ll(n,t);return n&&Kt(n)&&li(n)&&!jt(n)?r:n||al(e)||r}var _p=async function(e){let t=this.getOffsetParent||hl,r=this.getDimensions,n=await r(e.floating);return{reference:Op(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function wp(e){return Re(e).direction==="rtl"}var qt={convertOffsetParentRelativeRectToViewportRelativeRect:hp,getDocumentElement:ze,getClippingRect:vp,getOffsetParent:hl,getElementRects:_p,getClientRects:mp,getDimensions:Ep,getScale:Zt,isElement:Ae,isRTL:wp};var ml=el,di=Xc,yl=tl;var gl=rl;var ui=(e,t,r)=>{let n=new Map,i=r??{},a={...qt,...i.platform,_c:n};return Qc(e,t,{...i,platform:a})};function pi(e){return Cp(e)}function fi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Cp(e){for(let t=e;t;t=fi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=fi(e);t;t=fi(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||jt(r)||t.tagName==="BODY"))return t}return null}async function Ap(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},ui(e,t,{strategy:n.strategy,platform:{...qt,getOffsetParent:i=>qt.getOffsetParent(i,pi)},middleware:[yl({crossAxis:!0}),di({allowedPlacements:[n.placement]})]})}async function Rp(e,t,r,n,i,a,s){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,i=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,ui(e,t,{placement:l,strategy:i,platform:{...qt,getOffsetParent:f=>qt.getOffsetParent(f,pi)},middleware:[ml(s??4),di({allowedPlacements:n}),gl({apply({availableHeight:f,availableWidth:p,elements:h}){typeof a=="string"&&(a=`var(${a})`),a?h.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${a})`:h.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,p)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,p)}px`}})]})}var mi={};M(mi,{isSlotEmptyOrWithoutContent:()=>kp});var kp=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var vi={};M(vi,{FtdsBase:()=>Si,toFtdsBase:()=>_l});var xi={};M(xi,{ExportpartsUpdatedEvent:()=>Ct,FtLitElement:()=>ae});var yi={};M(yi,{ScopedRegistryLitElement:()=>Pr});var Pr=class extends Ve{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return hr(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(t,r){Er(t)(r),this.canDefineScopedElement(t)&&this.registry.define(t,r)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,r){this.scopedRegistryConstructor.defineScopedElement(t,r)}};var bi={};M(bi,{shadowQuerySelector:()=>gi,shadowQuerySelectorAll:()=>Tp});function gi(e,t,...r){var n;let i=e.querySelector(t);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Tp(e,t,...r){let n=[...e.querySelectorAll(t)];for(let i of r)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Jt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},vl,bl=Symbol("constructorPrototype"),xl=Symbol("constructorName"),El=Symbol("exportpartsDebouncer"),Sl=Symbol("dynamicDependenciesLoaded"),Ct=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Ct.eventName="exportparts-updated";var ae=class extends Pr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[vl]=new wr(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[El].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[xl]=this.constructor.name,this[bl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xl]&&Object.setPrototypeOf(this,this[bl])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Sl]||(r[Sl]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Ct.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Ct.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 Ct)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];r=gi(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(t){var r,n,i,a,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 p=new Set;for(let m of(a=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(s=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],S=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...S].filter(d).map(O=>O.trim());for(let O of C)p.add(O)}if(p.size===0){this.exportparts=void 0;return}let h=[...p.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};vl=El;Jt([I()],ae.prototype,"exportpartsPrefix",void 0);Jt([nt([])],ae.prototype,"exportpartsPrefixes",void 0);Jt([I({reflect:!0})],ae.prototype,"exportparts",void 0);Jt([I()],ae.prototype,"customStylesheet",void 0);Jt([I()],ae.prototype,"elementToFocus",void 0);Jt([ue()],ae.prototype,"useAdoptedStyleSheets",void 0);var Ol=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},_l=pe(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Ar.medium,this.family=Cr.neutral}getDesignSystemBaseClasses(){return{[Qo(this.family)]:!0,[Xo(this.size)]:!0}}}return Ol([I()],t.prototype,"size",void 0),Ol([I()],t.prototype,"family",void 0),t}),Si=class extends _l(ae){};var wl={};var Oi={};M(Oi,{highlightHtml:()=>Pp,highlightHtmlColorCssVariable:()=>Cl,highlightHtmlStyles:()=>Np});var At=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,p=>{r(f)&&(l++,n(p)),d()},d)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(t,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,a){let s=this.createIterator(r,t,i),l=[],d=[],f,p,h=()=>({prevNode:p,node:f}=this.getIteratorNode(s),f);for(;h();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,p,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),i)}),d.push(f);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var Lr=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 At(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,r,n){let i,a=!0,s=n.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return At.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,r,n,i,a){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let f=r-s.start,p=(n>s.end?s.end:n)-s.start,h=t.value.substr(0,s.start),m=t.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,p),t.value=h+m,t.nodes.forEach((b,S)=>{S>=l&&(t.nodes[S].start>0&&S!==l&&(t.nodes[S].start-=p),t.nodes[S].end-=p)}),n-=p,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let p=f.index;if(s!==0)for(let h=1;h<s;h++)p+=f[h].length;d=this.wrapRangeInTextNode(d,p,p+f[s].length),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,r,n,i,a){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 h=1;h<s;h++)f+=d[h].length;let p=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,p,h=>n(d[s],h),(h,m)=>{t.lastIndex=m,i(h)})}a()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,d)=>{let{start:f,end:p,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,f,p,m=>r(m,l,a.value.substring(f,p),d),m=>{n(m,l)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let p=new RegExp(this.createRegExp(f),`gm${l}`),h=0;this.log(`Searching with expression "${p}"`),this[i](p,1,(m,b)=>this.opt.filter(b,f,n,h),m=>{h++,n++,this.opt.each(m)},()=>{h===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,r){this.opt=r;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=At.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ei(e){let t=new Lr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var Ip=Ei,Cl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Np=q`
5
5
  .highlight-html-match {
6
- background: ${Ol};
6
+ background: ${Cl};
7
7
  }
8
- `;function Tp(e,t,r){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new Rp(e);if(s.unmark(),t&&t.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let p in r.attributes)f.setAttribute(p,r.attributes[p])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var Oi={};M(Oi,{noTextInputDefaultClearButton:()=>Lp,noTextSelect:()=>Ip,safariEllipsisFix:()=>Pp,wordWrap:()=>Np});var Ip=q`
8
+ `;function Pp(e,t,r){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new Ip(e);if(s.unmark(),t&&t.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let p in r.attributes)f.setAttribute(p,r.attributes[p])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var _i={};M(_i,{noTextInputDefaultClearButton:()=>Fp,noTextSelect:()=>Lp,safariEllipsisFix:()=>Mp,wordWrap:()=>Dp});var Lp=q`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -14,7 +14,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,Np=q`
17
+ `,Dp=q`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,Pp=q`
29
+ `,Mp=q`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -37,14 +37,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
37
37
  display: inline-block;
38
38
  width: 0;
39
39
  }
40
- `,Lp=q`
40
+ `,Fp=q`
41
41
  input::-webkit-search-cancel-button,
42
42
  input::-webkit-search-decoration,
43
43
  input::-webkit-search-results-button,
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `;var _l={};var wi={};M(wi,{ParametrizedLabelResolver:()=>_i});var _i=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...r)}static replaceParameters(t,...r){return r.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ki={};M(Ki,{FtCommandQueue:()=>Dr,FtLitElementRedux:()=>Ci,FtReduxStore:()=>Yi,FtStateManager:()=>ji,ReduxWatcher:()=>Hn,clearAllStores:()=>Nh,isFtReduxStore:()=>Qt,redux:()=>Mp,reduxEventListener:()=>Fp,reduxReactive:()=>Dp,watch:()=>Ph,withRedux:()=>wl});var Dp=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},Mp=e=>{let t=e??{};return(r,n)=>{var i;let a={hasChanged:ot,attribute:!1,...t};I(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(l=>l[n]),store:t.store})}},Fp=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var Dr=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Qt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Mr=Symbol("internalReduxEventsUnsubscribers"),st=Symbol("internalStoresUnsubscribers"),Rt=Symbol("internalStores"),wl=pe(Symbol("withRedux"),function(e){var t,r,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Rt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Rt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Rt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Rt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Rt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Rt].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[st].has(s.store):this[st].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d,f;this[st].set(s,l.subscribe(()=>this.updateFromStores())),this[Mr].set(s,[]),Qt(l)&&(!((d=l.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((p,h)=>{this.getStore(p.store)===l&&l.deprecatedKeys.includes(h)&&console.warn("Element",this,"is subscribed to deprecated key",h,"in store",l.name)}),l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let m=b=>this[h](b);l.addEventListener(p.eventName,m),this[Mr].get(s).push(()=>l.removeEventListener(p.eventName,m))}}))),this.onStoreAvailable(s)}unsubscribeFromStores(){this[st].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[st].has(s)&&this[st].get(s)(),this[st].delete(s),(l=this[Mr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Mr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=st,r=Rt,n=Mr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Ci=class extends wl(ae){};function ne(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 Up=typeof Symbol=="function"&&Symbol.observable||"@@observable",Cl=Up,Ai=()=>Math.random().toString(36).substring(7).split("").join("."),Bp={INIT:`@@redux/INIT${Ai()}`,REPLACE:`@@redux/REPLACE${Ai()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ai()}`},Sn=Bp;function vn(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Ri(e,t,r){if(typeof e!="function")throw new Error(ne(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ne(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ne(1));return r(Ri)(e,t)}let n=e,i=t,a=new Map,s=a,l=0,d=!1;function f(){s===a&&(s=new Map,a.forEach((O,A)=>{s.set(A,O)}))}function p(){if(d)throw new Error(ne(3));return i}function h(O){if(typeof O!="function")throw new Error(ne(4));if(d)throw new Error(ne(5));let A=!0;f();let T=l++;return s.set(T,O),function(){if(A){if(d)throw new Error(ne(6));A=!1,f(),s.delete(T),a=null}}}function m(O){if(!vn(O))throw new Error(ne(7));if(typeof O.type>"u")throw new Error(ne(8));if(typeof O.type!="string")throw new Error(ne(17));if(d)throw new Error(ne(9));try{d=!0,i=n(i,O)}finally{d=!1}return(a=s).forEach(T=>{T()}),O}function b(O){if(typeof O!="function")throw new Error(ne(10));n=O,m({type:Sn.REPLACE})}function S(){let O=h;return{subscribe(A){if(typeof A!="object"||A===null)throw new Error(ne(11));function T(){let y=A;y.next&&y.next(p())}return T(),{unsubscribe:O(T)}},[Cl](){return this}}}return m({type:Sn.INIT}),{dispatch:m,subscribe:h,getState:p,replaceReducer:b,[Cl]:S}}function Wp(e){Object.keys(e).forEach(t=>{let r=e[t];if(typeof r(void 0,{type:Sn.INIT})>"u")throw new Error(ne(12));if(typeof r(void 0,{type:Sn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ne(13))})}function ki(e){let t=Object.keys(e),r={};for(let s=0;s<t.length;s++){let l=t[s];typeof e[l]=="function"&&(r[l]=e[l])}let n=Object.keys(r),i,a;try{Wp(r)}catch(s){a=s}return function(l={},d){if(a)throw a;let f=!1,p={};for(let h=0;h<n.length;h++){let m=n[h],b=r[m],S=l[m],C=b(S,d);if(typeof C>"u"){let O=d&&d.type;throw new Error(ne(14))}p[m]=C,f=f||C!==S}return f=f||n.length!==Object.keys(l).length,f?p:l}}function Fr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Al(...e){return t=>(r,n)=>{let i=t(r,n),a=()=>{throw new Error(ne(15))},s={getState:i.getState,dispatch:(d,...f)=>a(d,...f)},l=e.map(d=>d(s));return a=Fr(...l)(i.dispatch),{...i,dispatch:a}}}function Rl(e){return vn(e)&&"type"in e&&typeof e.type=="string"}var Fl=Symbol.for("immer-nothing"),kl=Symbol.for("immer-draftable"),oe=Symbol.for("immer-state");function ke(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var he=Object,er=he.getPrototypeOf,wn="constructor",In="prototype",Pi="configurable",Cn="enumerable",On="writable",Ur="value",Fe=e=>!!e&&!!e[oe];function me(e){return e?Ul(e)||Pn(e)||!!e[kl]||!!e[wn]?.[kl]||Ln(e)||Dn(e):!1}var Hp=he[In][wn].toString(),Tl=new WeakMap;function Ul(e){if(!e||!Hi(e))return!1;let t=er(e);if(t===null||t===he[In])return!0;let r=he.hasOwnProperty.call(t,wn)&&t[wn];if(r===Object)return!0;if(!Xt(r))return!1;let n=Tl.get(r);return n===void 0&&(n=Function.toString.call(r),Tl.set(r,n)),n===Hp}function Nn(e,t,r=!0){Hr(e)===0?(r?Reflect.ownKeys(e):he.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function Hr(e){let t=e[oe];return t?t.type_:Pn(e)?1:Ln(e)?2:Dn(e)?3:0}var Ti=(e,t,r=Hr(e))=>r===2?e.has(t):he[In].hasOwnProperty.call(e,t),Li=(e,t,r=Hr(e))=>r===2?e.get(t):e[t],An=(e,t,r,n=Hr(e))=>{n===2?e.set(t,r):n===3?e.add(r):e[t]=r};function $p(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Pn=Array.isArray,Ln=e=>e instanceof Map,Dn=e=>e instanceof Set,Hi=e=>typeof e=="object",Xt=e=>typeof e=="function",Ii=e=>typeof e=="boolean";function Vp(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ye=e=>e.copy_||e.base_;var $i=e=>e.modified_?e.copy_:e.base_;function Di(e,t){if(Ln(e))return new Map(e);if(Dn(e))return new Set(e);if(Pn(e))return Array[In].slice.call(e);let r=Ul(e);if(t===!0||t==="class_only"&&!r){let n=he.getOwnPropertyDescriptors(e);delete n[oe];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[On]===!1&&(l[On]=!0,l[Pi]=!0),(l.get||l.set)&&(n[s]={[Pi]:!0,[On]:!0,[Cn]:l[Cn],[Ur]:e[s]})}return he.create(er(e),n)}else{let n=er(e);if(n!==null&&r)return{...e};let i=he.create(n);return he.assign(i,e)}}function Mn(e,t=!1){return Fn(e)||Fe(e)||!me(e)||(Hr(e)>1&&he.defineProperties(e,{set:En,add:En,clear:En,delete:En}),he.freeze(e),t&&Nn(e,(r,n)=>{Mn(n,!0)},!1)),e}function zp(){ke(2)}var En={[Ur]:zp};function Fn(e){return e===null||!Hi(e)?!0:he.isFrozen(e)}var Rn="MapSet",Mi="Patches",Il="ArrayMethods",Bl={};function kt(e){let t=Bl[e];return t||ke(0,e),t}var Nl=e=>!!Bl[e];var Br,Wl=()=>Br,Gp=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Nl(Rn)?kt(Rn):void 0,arrayMethodsPlugin_:Nl(Il)?kt(Il):void 0});function Pl(e,t){t&&(e.patchPlugin_=kt(Mi),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Fi(e){Ui(e),e.drafts_.forEach(Yp),e.drafts_=null}function Ui(e){e===Br&&(Br=e.parent_)}var Ll=e=>Br=Gp(Br,e);function Yp(e){let t=e[oe];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Dl(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];if(e!==void 0&&e!==r){r[oe].modified_&&(Fi(t),ke(4)),me(e)&&(e=Ml(t,e));let{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(r[oe].base_,e,t)}else e=Ml(t,r);return jp(t,e,!0),Fi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Fl?e:void 0}function Ml(e,t){if(Fn(t))return t;let r=t[oe];if(!r)return kn(t,e.handledSet_,e);if(!Un(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(e);Vl(r,e)}return r.copy_}function jp(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Mn(t,r)}function Hl(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Un=(e,t)=>e.scope_===t,Kp=[];function $l(e,t,r,n){let i=Ye(e),a=e.type_;if(n!==void 0&&Li(i,n,a)===t){An(i,n,r,a);return}if(!e.draftLocations_){let l=e.draftLocations_=new Map;Nn(i,(d,f)=>{if(Fe(f)){let p=l.get(f)||[];p.push(d),l.set(f,p)}})}let s=e.draftLocations_.get(t)??Kp;for(let l of s)An(i,l,r,a)}function Zp(e,t,r){e.callbacks_.push(function(i){let a=t;if(!a||!Un(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=$i(a);$l(e,a.draft_??a,s,r),Vl(a,i)})}function Vl(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let i=n.getPath(e);i&&n.generatePatches_(e,i,t)}Hl(e)}}function qp(e,t,r){let{scope_:n}=e;if(Fe(r)){let i=r[oe];Un(i,n)&&i.callbacks_.push(function(){_n(e);let s=$i(i);$l(e,r,s,t)})}else me(r)&&e.callbacks_.push(function(){let a=Ye(e);e.type_===3?a.has(r)&&kn(r,n.handledSet_,n):Li(a,t,e.type_)===r&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&kn(Li(e.copy_,t,e.type_),n.handledSet_,n)})}function kn(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Fe(e)||t.has(e)||!me(e)||Fn(e)||(t.add(e),Nn(e,(n,i)=>{if(Fe(i)){let a=i[oe];if(Un(a,r)){let s=$i(a);An(e,n,s,e.type_),Hl(a)}}else me(i)&&kn(i,t,r)})),e}function Jp(e,t){let r=Pn(e),n={type_:r?1:0,scope_:t?t.scope_:Wl(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=Tn;r&&(i=[n],a=Wr);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var Tn={get(e,t){if(t===oe)return e;let r=e.scope_.arrayMethodsPlugin_,n=e.type_===1&&typeof t=="string";if(n&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);let i=Ye(e);if(!Ti(i,t,e.type_))return Xp(e,i,t);let a=i[t];if(e.finalized_||!me(a)||n&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&Vp(t))return a;if(a===Ni(e.base_,t)||Qp(e,t,a)){_n(e);let s=e.type_===1?+t:t,l=Wi(e.scope_,a,e,s);return e.copy_[s]=l}return a},has(e,t){return t in Ye(e)},ownKeys(e){return Reflect.ownKeys(Ye(e))},set(e,t,r){let n=zl(Ye(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let i=Ni(Ye(e),t),a=i?.[oe];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_.delete(t),!0;if($p(r,i)&&(r!==void 0||Ti(e.base_,t,e.type_)))return!0;_n(e),Bi(e)}return e.copy_[t]===r&&(r!==void 0||Ti(e.copy_,t,e.type_))||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_.set(t,!0),qp(e,t,r)),!0},deleteProperty(e,t){return _n(e),Ni(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Bi(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let r=Ye(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{[On]:!0,[Pi]:e.type_!==1||t!=="length",[Cn]:n[Cn],[Ur]:r[t]}},defineProperty(){ke(11)},getPrototypeOf(e){return er(e.base_)},setPrototypeOf(){ke(12)}},Wr={};for(let e in Tn){let t=Tn[e];Wr[e]=function(){let r=arguments;return r[0]=r[0][0],t.apply(this,r)}}Wr.deleteProperty=function(e,t){return Wr.set.call(this,e,t,void 0)};Wr.set=function(e,t,r){return Tn.set.call(this,e[0],t,r,e[0])};function Ni(e,t){let r=e[oe];return(r?Ye(r):e)[t]}function Qp(e,t,r){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!me(r)||r[oe]?!1:e.baseRefs_.has(r)}function Xp(e,t,r){let n=zl(t,r);return n?Ur in n?n[Ur]:n.get?.call(e.draft_):void 0}function zl(e,t){if(!(t in e))return;let r=er(e);for(;r;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=er(r)}}function Bi(e){e.modified_||(e.modified_=!0,e.parent_&&Bi(e.parent_))}function _n(e){e.copy_||(e.assigned_=new Map,e.copy_=Di(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var eh=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,r,n)=>{if(Xt(t)&&!Xt(r)){let a=r;r=t;let s=this;return function(d=a,...f){return s.produce(d,p=>r.call(this,p,...f))}}Xt(r)||ke(6),n!==void 0&&!Xt(n)&&ke(7);let i;if(me(t)){let a=Ll(this),s=Wi(a,t,void 0),l=!0;try{i=r(s),l=!1}finally{l?Fi(a):Ui(a)}return Pl(a,n),Dl(i,a)}else if(!t||!Hi(t)){if(i=r(t),i===void 0&&(i=t),i===Fl&&(i=void 0),this.autoFreeze_&&Mn(i,!0),n){let a=[],s=[];kt(Mi).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else ke(1,t)},this.produceWithPatches=(t,r)=>{if(Xt(t))return(s,...l)=>this.produceWithPatches(s,d=>t(d,...l));let n,i;return[this.produce(t,r,(s,l)=>{n=s,i=l}),n,i]},Ii(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Ii(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Ii(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){me(e)||ke(8),Fe(e)&&(e=Gl(e));let t=Ll(this),r=Wi(t,e,void 0);return r[oe].isManual_=!0,Ui(t),r}finishDraft(e,t){let r=e&&e[oe];(!r||!r.isManual_)&&ke(9);let{scope_:n}=r;return Pl(n,t),Dl(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));let n=kt(Mi).applyPatches_;return Fe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Wi(e,t,r,n){let[i,a]=Ln(t)?kt(Rn).proxyMap_(t,r):Dn(t)?kt(Rn).proxySet_(t,r):Jp(t,r);return(r?.scope_??Wl()).drafts_.push(i),a.callbacks_=r?.callbacks_??[],a.key_=n,r&&n!==void 0?Zp(r,a,n):a.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:f}=d;a.modified_&&f&&f.generatePatches_(a,[],d)}),i}function Gl(e){return Fe(e)||ke(10,e),Yl(e)}function Yl(e){if(!me(e)||Fn(e))return e;let t=e[oe],r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Di(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=Di(e,!0);return Nn(r,(i,a)=>{An(r,i,Yl(a))},n),t&&(t.finalized_=!1),r}var th=globalThis.Iterator,m_=typeof th?.from=="function";var rh=new eh,Vi=rh.produce;function jl(e){return({dispatch:r,getState:n})=>i=>a=>typeof a=="function"?a(r,n,e):i(a)}var Kl=jl(),Zl=jl;var nh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Fr:Fr.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var oh=e=>e&&typeof e.match=="function";function ct(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ue(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>Rl(n)&&n.type===e,r}var ed=class $r extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,$r.prototype)}static get[Symbol.species](){return $r}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new $r(...t[0].concat(this)):new $r(...t.concat(this))}};function ql(e){return me(e)?Vi(e,()=>{}):e}function Bn(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function ih(e){return typeof e=="boolean"}var ah=()=>function(t){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{},s=new ed;return r&&(ih(r)?s.push(Kl):s.push(Zl(r.extraArgument))),s},sh="RTK_autoBatch";var Jl=e=>t=>{setTimeout(t,e)},ch=(e,t)=>r=>{let n=!1,i,a,s=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(a),r())};i=e(s),a=setTimeout(s,t)},lh=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),i=!0,a=!1,s=!1,l=new Set,d=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?ch(window.requestAnimationFrame,100):Jl(10):e.type==="callback"?e.queueNotification:Jl(e.timeout),f=()=>{s=!1,a&&(a=!1,l.forEach(p=>p()))};return Object.assign({},n,{subscribe(p){let h=()=>i&&p(),m=n.subscribe(h);return l.add(p),()=>{m(),l.delete(p)}},dispatch(p){try{return i=!p?.meta?.[sh],a=!i,a&&(s||(s=!0,d(f))),n.dispatch(p)}finally{i=!0}}})},dh=e=>function(r){let{autoBatch:n=!0}=r??{},i=new ed(e);return n&&i.push(lh(typeof n=="object"?n:void 0)),i};function td(e){let t=ah(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:l=void 0}=e||{},d;if(typeof r=="function")d=r;else if(vn(r))d=ki(r);else throw new Error(Ue(1));let f;typeof n=="function"?f=n(t):f=t();let p=Fr;i&&(p=nh({trace:!1,...typeof i=="object"&&i}));let h=Al(...f),m=dh(h),b=typeof l=="function"?l(m):m(),S=p(...b);return Ri(d,s,S)}function rd(e){let t={},r=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(Ue(28));if(l in t)throw new Error(Ue(29));return t[l]=s,i},addAsyncThunk(a,s){return s.pending&&(t[a.pending.type]=s.pending),s.rejected&&(t[a.rejected.type]=s.rejected),s.fulfilled&&(t[a.fulfilled.type]=s.fulfilled),s.settled&&r.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return e(i),[t,r,n]}function uh(e){return typeof e=="function"}function fh(e,t){let[r,n,i]=rd(t),a;if(uh(e))a=()=>ql(e());else{let l=ql(e);a=()=>l}function s(l=a(),d){let f=[r[d.type],...n.filter(({matcher:p})=>p(d)).map(({reducer:p})=>p)];return f.filter(p=>!!p).length===0&&(f=[i]),f.reduce((p,h)=>{if(h)if(Fe(p)){let m=h(p,d);return m===void 0?p:m}else{if(me(p))return Vi(p,m=>h(m,d));{let m=h(p,d);if(m===void 0){if(p===null)return p;throw new Error(Ue(9))}return m}}return p},l)}return s.getInitialState=a,s}var ph=(e,t)=>oh(e)?e.match(t):e(t);function hh(...e){return t=>e.some(r=>ph(r,t))}var mh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",yh=(e=21)=>{let t="",r=e;for(;r--;)t+=mh[Math.random()*64|0];return t},gh=["name","message","stack","code"],zi=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},Ql=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},bh=e=>{if(typeof e=="object"&&e!==null){let t={};for(let r of gh)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Xl="External signal was aborted",xh=(()=>{function e(t,r,n){let i=ct(t+"/fulfilled",(d,f,p,h)=>({payload:d,meta:{...h||{},arg:p,requestId:f,requestStatus:"fulfilled"}})),a=ct(t+"/pending",(d,f,p)=>({payload:void 0,meta:{...p||{},arg:f,requestId:d,requestStatus:"pending"}})),s=ct(t+"/rejected",(d,f,p,h,m)=>({payload:h,error:(n&&n.serializeError||bh)(d||"Rejected"),meta:{...m||{},arg:p,requestId:f,rejectedWithValue:h!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:f}={}){return(p,h,m)=>{let b=n?.idGenerator?n.idGenerator(d):yh(),S=new AbortController,C,O;function A(g){O=g,S.abort()}f&&(f.aborted?A(Xl):f.addEventListener("abort",()=>A(Xl),{once:!0}));let T=(async function(){let g;try{let y=n?.condition?.(d,{getState:h,extra:m});if(vh(y)&&(y=await y),y===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:O||"Aborted"};let x=new Promise((w,N)=>{C=()=>{N({name:"AbortError",message:O||"Aborted"})},S.signal.addEventListener("abort",C,{once:!0})});p(a(b,d,n?.getPendingMeta?.({requestId:b,arg:d},{getState:h,extra:m}))),g=await Promise.race([x,Promise.resolve(r(d,{dispatch:p,getState:h,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:((w,N)=>new zi(w,N)),fulfillWithValue:((w,N)=>new Ql(w,N))})).then(w=>{if(w instanceof zi)throw w;return w instanceof Ql?i(w.payload,b,d,w.meta):i(w,b,d)})])}catch(y){g=y instanceof zi?s(null,b,d,y.payload,y.meta):s(y,b,d)}finally{C&&S.signal.removeEventListener("abort",C)}return n&&!n.dispatchConditionRejection&&s.match(g)&&g.meta.condition||p(g),g})();return Object.assign(T,{abort:A,requestId:b,arg:d,unwrap(){return T.then(Sh)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:hh(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Sh(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function vh(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var nd=Symbol.for("rtk-slice-createasyncthunk"),O_={[nd]:xh};function Eh(e,t){return`${e}/${t}`}function Oh({creators:e}={}){let t=e?.asyncThunk?.[nd];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(Ue(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(wh()):n.reducers)||{},l=Object.keys(s),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(g,y){let x=typeof g=="string"?g:g.type;if(!x)throw new Error(Ue(12));if(x in d.sliceCaseReducersByType)throw new Error(Ue(13));return d.sliceCaseReducersByType[x]=y,f},addMatcher(g,y){return d.sliceMatchers.push({matcher:g,reducer:y}),f},exposeAction(g,y){return d.actionCreators[g]=y,f},exposeCaseReducer(g,y){return d.sliceCaseReducersByName[g]=y,f}};l.forEach(g=>{let y=s[g],x={reducerName:g,type:Eh(i,g),createNotation:typeof n.reducers=="function"};Ah(y)?kh(x,y,f,t):Ch(x,y,f)});function p(){let[g={},y=[],x=void 0]=typeof n.extraReducers=="function"?rd(n.extraReducers):[n.extraReducers],w={...g,...d.sliceCaseReducersByType};return fh(n.initialState,N=>{for(let H in w)N.addCase(H,w[H]);for(let H of d.sliceMatchers)N.addMatcher(H.matcher,H.reducer);for(let H of y)N.addMatcher(H.matcher,H.reducer);x&&N.addDefaultCase(x)})}let h=g=>g,m=new Map,b=new WeakMap,S;function C(g,y){return S||(S=p()),S(g,y)}function O(){return S||(S=p()),S.getInitialState()}function A(g,y=!1){function x(N){let H=N[g];return typeof H>"u"&&y&&(H=Bn(b,x,O)),H}function w(N=h){return Bn(Bn(m,y,()=>new WeakMap),N,()=>{let H={};for(let[j,k]of Object.entries(n.selectors??{}))H[j]=_h(k,N,()=>Bn(b,N,O),y);return H})}return{reducerPath:g,getSelectors:w,get selectors(){return w(x)},selectSlice:x}}let T={name:i,reducer:C,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:O,...A(a),injectInto(g,{reducerPath:y,...x}={}){let w=y??a;return g.inject({reducerPath:w,reducer:C},x),{...T,...A(w,!0)}}};return T}}function _h(e,t,r,n){function i(a,...s){let l=t(a);return typeof l>"u"&&n&&(l=r()),e(l,...s)}return i.unwrapped=e,i}var od=Oh();function wh(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function Ch({type:e,reducerName:t,createNotation:r},n,i){let a,s;if("reducer"in n){if(r&&!Rh(n))throw new Error(Ue(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,s?ct(e,s):ct(e))}function Ah(e){return e._reducerDefinitionType==="asyncThunk"}function Rh(e){return e._reducerDefinitionType==="reducerWithPrepare"}function kh({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Ue(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:d,settled:f,options:p}=r,h=i(e,a,p);n.exposeAction(t,h),s&&n.addCase(h.fulfilled,s),l&&n.addCase(h.pending,l),d&&n.addCase(h.rejected,d),f&&n.addMatcher(h.settled,f),n.exposeCaseReducer(t,{fulfilled:s||Wn,pending:l||Wn,rejected:d||Wn,settled:f||Wn})}function Wn(){}var id="listener",ad="completed",sd="cancelled",__=`task-${sd}`,w_=`task-${ad}`,C_=`${id}-${sd}`,A_=`${id}-${ad}`;var{assign:cd}=Object;var Gi="listenerMiddleware";var Th=cd(ct(`${Gi}/add`),{withTypes:()=>Th}),R_=ct(`${Gi}/removeAll`),Ih=cd(ct(`${Gi}/remove`),{withTypes:()=>Ih});function Ue(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Yi=class e extends xt{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Qt(a))return a;if(i==null)return;let s=od({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=td({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let p=Ht(s.getInitialState());for(let h of f.keeping)p[h]=(d??p)[h];return p}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[i.name]=new e(s,l,i.eventBus,i.deprecatedKeys)}constructor(t,r,n,i){super(),this.reduxSlice=t,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new Dr,this.injectInto=(s,l)=>this.reduxSlice.injectInto(s,l),this.selectSlice=s=>this.reduxSlice.selectSlice(s);let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,l,d)=>{let f=l,p=s[f];return p?(...h)=>{let m=p(...h.map(a));return this.reduxStore.dispatch(m),m}:h=>{let m=f,b=this.getState()[m];bt(b,h)||this.setState({[m]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Nh(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Qt(t)&&t.clear()}var Hn=class{constructor(t,r,n){this.store=t,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);ot(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 Ph(e,t,r){return new Hn(e,t,r).watch()}var ji=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Ji={};M(Ji,{scrollHelper:()=>Lh});var Zi,$n=new Map,qi=class{lock(t,r){if(r){let n=$n.get(r);if(n==null||n===t)return $n.set(r,t),r}}release(t,r){r&&$n.get(r)===t&&$n.delete(r)}findFirstScrollableParent(t){var r;let n,i;for(let a of Po(t)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var n,i;let a=0;for(;r&&r.offsetParent!==t.offsetParent;)a+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return a+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=gt(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Zi=window.FluidTopicsScrollHelper)!==null&&Zi!==void 0?Zi:new qi;var Lh=window.FluidTopicsScrollHelper;var Xi={};M(Xi,{toFtFormComponent:()=>Dh});var Qi=Symbol("elementInternals"),Dh=pe(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Qi].form}constructor(...n){super(n),this[Qi]=this.attachInternals()}setFormValue(n){this[Qi].setFormValue(n)}}return t});var ta={};M(ta,{DateFormatter:()=>ea});var ea=class{static format(t,r,n,i,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(t,r,n,i,!!a)}static getMomentDateFormat(t,r,n){return n?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,i,a){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return a?d:i?`${l} ${d}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var na={};M(na,{ALL_KEYS_VALUE:()=>ra,SameWindowStorageEvent:()=>tr});var ra="__all__",tr=class extends CustomEvent{constructor(t,r,n){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ra}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new tr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new tr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new tr(ra))}});var ia={};M(ia,{FocusMainContentEvent:()=>oa});var oa=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var ld={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Mh(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function Fh(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Mh);document.addEventListener("click",Fh);var dd=q`
47
+ `;var Al={};var Ci={};M(Ci,{ParametrizedLabelResolver:()=>wi});var wi=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...r)}static replaceParameters(t,...r){return r.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Zi={};M(Zi,{FtCommandQueue:()=>Dr,FtLitElementRedux:()=>Ai,FtReduxStore:()=>ji,FtStateManager:()=>Ki,ReduxWatcher:()=>$n,clearAllStores:()=>Dh,isFtReduxStore:()=>Qt,redux:()=>Bp,reduxEventListener:()=>Wp,reduxReactive:()=>Up,watch:()=>Mh,withRedux:()=>Rl});var Up=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},Bp=e=>{let t=e??{};return(r,n)=>{var i;let a={hasChanged:ot,attribute:!1,...t};I(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(l=>l[n]),store:t.store})}},Wp=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var Dr=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Qt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Mr=Symbol("internalReduxEventsUnsubscribers"),st=Symbol("internalStoresUnsubscribers"),Rt=Symbol("internalStores"),Rl=pe(Symbol("withRedux"),function(e){var t,r,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Rt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Rt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Rt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Rt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Rt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Rt].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[st].has(s.store):this[st].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d,f;this[st].set(s,l.subscribe(()=>this.updateFromStores())),this[Mr].set(s,[]),Qt(l)&&(!((d=l.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((p,h)=>{this.getStore(p.store)===l&&l.deprecatedKeys.includes(h)&&console.warn("Element",this,"is subscribed to deprecated key",h,"in store",l.name)}),l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let m=b=>this[h](b);l.addEventListener(p.eventName,m),this[Mr].get(s).push(()=>l.removeEventListener(p.eventName,m))}}))),this.onStoreAvailable(s)}unsubscribeFromStores(){this[st].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[st].has(s)&&this[st].get(s)(),this[st].delete(s),(l=this[Mr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Mr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=st,r=Rt,n=Mr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Ai=class extends Rl(ae){};function ne(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 Hp=typeof Symbol=="function"&&Symbol.observable||"@@observable",kl=Hp,Ri=()=>Math.random().toString(36).substring(7).split("").join("."),$p={INIT:`@@redux/INIT${Ri()}`,REPLACE:`@@redux/REPLACE${Ri()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ri()}`},vn=$p;function En(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function ki(e,t,r){if(typeof e!="function")throw new Error(ne(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ne(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ne(1));return r(ki)(e,t)}let n=e,i=t,a=new Map,s=a,l=0,d=!1;function f(){s===a&&(s=new Map,a.forEach((O,A)=>{s.set(A,O)}))}function p(){if(d)throw new Error(ne(3));return i}function h(O){if(typeof O!="function")throw new Error(ne(4));if(d)throw new Error(ne(5));let A=!0;f();let T=l++;return s.set(T,O),function(){if(A){if(d)throw new Error(ne(6));A=!1,f(),s.delete(T),a=null}}}function m(O){if(!En(O))throw new Error(ne(7));if(typeof O.type>"u")throw new Error(ne(8));if(typeof O.type!="string")throw new Error(ne(17));if(d)throw new Error(ne(9));try{d=!0,i=n(i,O)}finally{d=!1}return(a=s).forEach(T=>{T()}),O}function b(O){if(typeof O!="function")throw new Error(ne(10));n=O,m({type:vn.REPLACE})}function S(){let O=h;return{subscribe(A){if(typeof A!="object"||A===null)throw new Error(ne(11));function T(){let y=A;y.next&&y.next(p())}return T(),{unsubscribe:O(T)}},[kl](){return this}}}return m({type:vn.INIT}),{dispatch:m,subscribe:h,getState:p,replaceReducer:b,[kl]:S}}function Vp(e){Object.keys(e).forEach(t=>{let r=e[t];if(typeof r(void 0,{type:vn.INIT})>"u")throw new Error(ne(12));if(typeof r(void 0,{type:vn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ne(13))})}function Ti(e){let t=Object.keys(e),r={};for(let s=0;s<t.length;s++){let l=t[s];typeof e[l]=="function"&&(r[l]=e[l])}let n=Object.keys(r),i,a;try{Vp(r)}catch(s){a=s}return function(l={},d){if(a)throw a;let f=!1,p={};for(let h=0;h<n.length;h++){let m=n[h],b=r[m],S=l[m],C=b(S,d);if(typeof C>"u"){let O=d&&d.type;throw new Error(ne(14))}p[m]=C,f=f||C!==S}return f=f||n.length!==Object.keys(l).length,f?p:l}}function Fr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Tl(...e){return t=>(r,n)=>{let i=t(r,n),a=()=>{throw new Error(ne(15))},s={getState:i.getState,dispatch:(d,...f)=>a(d,...f)},l=e.map(d=>d(s));return a=Fr(...l)(i.dispatch),{...i,dispatch:a}}}function Il(e){return En(e)&&"type"in e&&typeof e.type=="string"}var Wl=Symbol.for("immer-nothing"),Nl=Symbol.for("immer-draftable"),oe=Symbol.for("immer-state");function ke(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var he=Object,er=he.getPrototypeOf,Cn="constructor",Nn="prototype",Li="configurable",An="enumerable",_n="writable",Ur="value",Fe=e=>!!e&&!!e[oe];function me(e){return e?Hl(e)||Ln(e)||!!e[Nl]||!!e[Cn]?.[Nl]||Dn(e)||Mn(e):!1}var zp=he[Nn][Cn].toString(),Pl=new WeakMap;function Hl(e){if(!e||!$i(e))return!1;let t=er(e);if(t===null||t===he[Nn])return!0;let r=he.hasOwnProperty.call(t,Cn)&&t[Cn];if(r===Object)return!0;if(!Xt(r))return!1;let n=Pl.get(r);return n===void 0&&(n=Function.toString.call(r),Pl.set(r,n)),n===zp}function Pn(e,t,r=!0){Hr(e)===0?(r?Reflect.ownKeys(e):he.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function Hr(e){let t=e[oe];return t?t.type_:Ln(e)?1:Dn(e)?2:Mn(e)?3:0}var Ii=(e,t,r=Hr(e))=>r===2?e.has(t):he[Nn].hasOwnProperty.call(e,t),Di=(e,t,r=Hr(e))=>r===2?e.get(t):e[t],Rn=(e,t,r,n=Hr(e))=>{n===2?e.set(t,r):n===3?e.add(r):e[t]=r};function Gp(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Ln=Array.isArray,Dn=e=>e instanceof Map,Mn=e=>e instanceof Set,$i=e=>typeof e=="object",Xt=e=>typeof e=="function",Ni=e=>typeof e=="boolean";function Yp(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ye=e=>e.copy_||e.base_;var Vi=e=>e.modified_?e.copy_:e.base_;function Mi(e,t){if(Dn(e))return new Map(e);if(Mn(e))return new Set(e);if(Ln(e))return Array[Nn].slice.call(e);let r=Hl(e);if(t===!0||t==="class_only"&&!r){let n=he.getOwnPropertyDescriptors(e);delete n[oe];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[_n]===!1&&(l[_n]=!0,l[Li]=!0),(l.get||l.set)&&(n[s]={[Li]:!0,[_n]:!0,[An]:l[An],[Ur]:e[s]})}return he.create(er(e),n)}else{let n=er(e);if(n!==null&&r)return{...e};let i=he.create(n);return he.assign(i,e)}}function Fn(e,t=!1){return Un(e)||Fe(e)||!me(e)||(Hr(e)>1&&he.defineProperties(e,{set:On,add:On,clear:On,delete:On}),he.freeze(e),t&&Pn(e,(r,n)=>{Fn(n,!0)},!1)),e}function jp(){ke(2)}var On={[Ur]:jp};function Un(e){return e===null||!$i(e)?!0:he.isFrozen(e)}var kn="MapSet",Fi="Patches",Ll="ArrayMethods",$l={};function kt(e){let t=$l[e];return t||ke(0,e),t}var Dl=e=>!!$l[e];var Br,Vl=()=>Br,Kp=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Dl(kn)?kt(kn):void 0,arrayMethodsPlugin_:Dl(Ll)?kt(Ll):void 0});function Ml(e,t){t&&(e.patchPlugin_=kt(Fi),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ui(e){Bi(e),e.drafts_.forEach(Zp),e.drafts_=null}function Bi(e){e===Br&&(Br=e.parent_)}var Fl=e=>Br=Kp(Br,e);function Zp(e){let t=e[oe];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Ul(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];if(e!==void 0&&e!==r){r[oe].modified_&&(Ui(t),ke(4)),me(e)&&(e=Bl(t,e));let{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(r[oe].base_,e,t)}else e=Bl(t,r);return qp(t,e,!0),Ui(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Wl?e:void 0}function Bl(e,t){if(Un(t))return t;let r=t[oe];if(!r)return Tn(t,e.handledSet_,e);if(!Bn(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(e);Yl(r,e)}return r.copy_}function qp(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Fn(t,r)}function zl(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Bn=(e,t)=>e.scope_===t,Jp=[];function Gl(e,t,r,n){let i=Ye(e),a=e.type_;if(n!==void 0&&Di(i,n,a)===t){Rn(i,n,r,a);return}if(!e.draftLocations_){let l=e.draftLocations_=new Map;Pn(i,(d,f)=>{if(Fe(f)){let p=l.get(f)||[];p.push(d),l.set(f,p)}})}let s=e.draftLocations_.get(t)??Jp;for(let l of s)Rn(i,l,r,a)}function Qp(e,t,r){e.callbacks_.push(function(i){let a=t;if(!a||!Bn(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=Vi(a);Gl(e,a.draft_??a,s,r),Yl(a,i)})}function Yl(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let i=n.getPath(e);i&&n.generatePatches_(e,i,t)}zl(e)}}function Xp(e,t,r){let{scope_:n}=e;if(Fe(r)){let i=r[oe];Bn(i,n)&&i.callbacks_.push(function(){wn(e);let s=Vi(i);Gl(e,r,s,t)})}else me(r)&&e.callbacks_.push(function(){let a=Ye(e);e.type_===3?a.has(r)&&Tn(r,n.handledSet_,n):Di(a,t,e.type_)===r&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Tn(Di(e.copy_,t,e.type_),n.handledSet_,n)})}function Tn(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Fe(e)||t.has(e)||!me(e)||Un(e)||(t.add(e),Pn(e,(n,i)=>{if(Fe(i)){let a=i[oe];if(Bn(a,r)){let s=Vi(a);Rn(e,n,s,e.type_),zl(a)}}else me(i)&&Tn(i,t,r)})),e}function eh(e,t){let r=Ln(e),n={type_:r?1:0,scope_:t?t.scope_:Vl(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=In;r&&(i=[n],a=Wr);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var In={get(e,t){if(t===oe)return e;let r=e.scope_.arrayMethodsPlugin_,n=e.type_===1&&typeof t=="string";if(n&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);let i=Ye(e);if(!Ii(i,t,e.type_))return rh(e,i,t);let a=i[t];if(e.finalized_||!me(a)||n&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&Yp(t))return a;if(a===Pi(e.base_,t)||th(e,t,a)){wn(e);let s=e.type_===1?+t:t,l=Hi(e.scope_,a,e,s);return e.copy_[s]=l}return a},has(e,t){return t in Ye(e)},ownKeys(e){return Reflect.ownKeys(Ye(e))},set(e,t,r){let n=jl(Ye(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let i=Pi(Ye(e),t),a=i?.[oe];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_.delete(t),!0;if(Gp(r,i)&&(r!==void 0||Ii(e.base_,t,e.type_)))return!0;wn(e),Wi(e)}return e.copy_[t]===r&&(r!==void 0||Ii(e.copy_,t,e.type_))||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_.set(t,!0),Xp(e,t,r)),!0},deleteProperty(e,t){return wn(e),Pi(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Wi(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let r=Ye(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{[_n]:!0,[Li]:e.type_!==1||t!=="length",[An]:n[An],[Ur]:r[t]}},defineProperty(){ke(11)},getPrototypeOf(e){return er(e.base_)},setPrototypeOf(){ke(12)}},Wr={};for(let e in In){let t=In[e];Wr[e]=function(){let r=arguments;return r[0]=r[0][0],t.apply(this,r)}}Wr.deleteProperty=function(e,t){return Wr.set.call(this,e,t,void 0)};Wr.set=function(e,t,r){return In.set.call(this,e[0],t,r,e[0])};function Pi(e,t){let r=e[oe];return(r?Ye(r):e)[t]}function th(e,t,r){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!me(r)||r[oe]?!1:e.baseRefs_.has(r)}function rh(e,t,r){let n=jl(t,r);return n?Ur in n?n[Ur]:n.get?.call(e.draft_):void 0}function jl(e,t){if(!(t in e))return;let r=er(e);for(;r;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=er(r)}}function Wi(e){e.modified_||(e.modified_=!0,e.parent_&&Wi(e.parent_))}function wn(e){e.copy_||(e.assigned_=new Map,e.copy_=Mi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var nh=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,r,n)=>{if(Xt(t)&&!Xt(r)){let a=r;r=t;let s=this;return function(d=a,...f){return s.produce(d,p=>r.call(this,p,...f))}}Xt(r)||ke(6),n!==void 0&&!Xt(n)&&ke(7);let i;if(me(t)){let a=Fl(this),s=Hi(a,t,void 0),l=!0;try{i=r(s),l=!1}finally{l?Ui(a):Bi(a)}return Ml(a,n),Ul(i,a)}else if(!t||!$i(t)){if(i=r(t),i===void 0&&(i=t),i===Wl&&(i=void 0),this.autoFreeze_&&Fn(i,!0),n){let a=[],s=[];kt(Fi).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else ke(1,t)},this.produceWithPatches=(t,r)=>{if(Xt(t))return(s,...l)=>this.produceWithPatches(s,d=>t(d,...l));let n,i;return[this.produce(t,r,(s,l)=>{n=s,i=l}),n,i]},Ni(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Ni(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Ni(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){me(e)||ke(8),Fe(e)&&(e=Kl(e));let t=Fl(this),r=Hi(t,e,void 0);return r[oe].isManual_=!0,Bi(t),r}finishDraft(e,t){let r=e&&e[oe];(!r||!r.isManual_)&&ke(9);let{scope_:n}=r;return Ml(n,t),Ul(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));let n=kt(Fi).applyPatches_;return Fe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Hi(e,t,r,n){let[i,a]=Dn(t)?kt(kn).proxyMap_(t,r):Mn(t)?kt(kn).proxySet_(t,r):eh(t,r);return(r?.scope_??Vl()).drafts_.push(i),a.callbacks_=r?.callbacks_??[],a.key_=n,r&&n!==void 0?Qp(r,a,n):a.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:f}=d;a.modified_&&f&&f.generatePatches_(a,[],d)}),i}function Kl(e){return Fe(e)||ke(10,e),Zl(e)}function Zl(e){if(!me(e)||Un(e))return e;let t=e[oe],r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Mi(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=Mi(e,!0);return Pn(r,(i,a)=>{Rn(r,i,Zl(a))},n),t&&(t.finalized_=!1),r}var oh=globalThis.Iterator,g_=typeof oh?.from=="function";var ih=new nh,zi=ih.produce;function ql(e){return({dispatch:r,getState:n})=>i=>a=>typeof a=="function"?a(r,n,e):i(a)}var Jl=ql(),Ql=ql;var ah=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Fr:Fr.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var sh=e=>e&&typeof e.match=="function";function ct(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ue(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>Il(n)&&n.type===e,r}var nd=class $r extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,$r.prototype)}static get[Symbol.species](){return $r}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new $r(...t[0].concat(this)):new $r(...t.concat(this))}};function Xl(e){return me(e)?zi(e,()=>{}):e}function Wn(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function ch(e){return typeof e=="boolean"}var lh=()=>function(t){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{},s=new nd;return r&&(ch(r)?s.push(Jl):s.push(Ql(r.extraArgument))),s},dh="RTK_autoBatch";var ed=e=>t=>{setTimeout(t,e)},uh=(e,t)=>r=>{let n=!1,i,a,s=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(a),r())};i=e(s),a=setTimeout(s,t)},fh=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),i=!0,a=!1,s=!1,l=new Set,d=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?uh(window.requestAnimationFrame,100):ed(10):e.type==="callback"?e.queueNotification:ed(e.timeout),f=()=>{s=!1,a&&(a=!1,l.forEach(p=>p()))};return Object.assign({},n,{subscribe(p){let h=()=>i&&p(),m=n.subscribe(h);return l.add(p),()=>{m(),l.delete(p)}},dispatch(p){try{return i=!p?.meta?.[dh],a=!i,a&&(s||(s=!0,d(f))),n.dispatch(p)}finally{i=!0}}})},ph=e=>function(r){let{autoBatch:n=!0}=r??{},i=new nd(e);return n&&i.push(fh(typeof n=="object"?n:void 0)),i};function od(e){let t=lh(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:l=void 0}=e||{},d;if(typeof r=="function")d=r;else if(En(r))d=Ti(r);else throw new Error(Ue(1));let f;typeof n=="function"?f=n(t):f=t();let p=Fr;i&&(p=ah({trace:!1,...typeof i=="object"&&i}));let h=Tl(...f),m=ph(h),b=typeof l=="function"?l(m):m(),S=p(...b);return ki(d,s,S)}function id(e){let t={},r=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(Ue(28));if(l in t)throw new Error(Ue(29));return t[l]=s,i},addAsyncThunk(a,s){return s.pending&&(t[a.pending.type]=s.pending),s.rejected&&(t[a.rejected.type]=s.rejected),s.fulfilled&&(t[a.fulfilled.type]=s.fulfilled),s.settled&&r.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return e(i),[t,r,n]}function hh(e){return typeof e=="function"}function mh(e,t){let[r,n,i]=id(t),a;if(hh(e))a=()=>Xl(e());else{let l=Xl(e);a=()=>l}function s(l=a(),d){let f=[r[d.type],...n.filter(({matcher:p})=>p(d)).map(({reducer:p})=>p)];return f.filter(p=>!!p).length===0&&(f=[i]),f.reduce((p,h)=>{if(h)if(Fe(p)){let m=h(p,d);return m===void 0?p:m}else{if(me(p))return zi(p,m=>h(m,d));{let m=h(p,d);if(m===void 0){if(p===null)return p;throw new Error(Ue(9))}return m}}return p},l)}return s.getInitialState=a,s}var yh=(e,t)=>sh(e)?e.match(t):e(t);function gh(...e){return t=>e.some(r=>yh(r,t))}var bh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",xh=(e=21)=>{let t="",r=e;for(;r--;)t+=bh[Math.random()*64|0];return t},Sh=["name","message","stack","code"],Gi=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},td=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},vh=e=>{if(typeof e=="object"&&e!==null){let t={};for(let r of Sh)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},rd="External signal was aborted",Eh=(()=>{function e(t,r,n){let i=ct(t+"/fulfilled",(d,f,p,h)=>({payload:d,meta:{...h||{},arg:p,requestId:f,requestStatus:"fulfilled"}})),a=ct(t+"/pending",(d,f,p)=>({payload:void 0,meta:{...p||{},arg:f,requestId:d,requestStatus:"pending"}})),s=ct(t+"/rejected",(d,f,p,h,m)=>({payload:h,error:(n&&n.serializeError||vh)(d||"Rejected"),meta:{...m||{},arg:p,requestId:f,rejectedWithValue:h!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:f}={}){return(p,h,m)=>{let b=n?.idGenerator?n.idGenerator(d):xh(),S=new AbortController,C,O;function A(g){O=g,S.abort()}f&&(f.aborted?A(rd):f.addEventListener("abort",()=>A(rd),{once:!0}));let T=(async function(){let g;try{let y=n?.condition?.(d,{getState:h,extra:m});if(_h(y)&&(y=await y),y===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:O||"Aborted"};let x=new Promise((w,N)=>{C=()=>{N({name:"AbortError",message:O||"Aborted"})},S.signal.addEventListener("abort",C,{once:!0})});p(a(b,d,n?.getPendingMeta?.({requestId:b,arg:d},{getState:h,extra:m}))),g=await Promise.race([x,Promise.resolve(r(d,{dispatch:p,getState:h,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:((w,N)=>new Gi(w,N)),fulfillWithValue:((w,N)=>new td(w,N))})).then(w=>{if(w instanceof Gi)throw w;return w instanceof td?i(w.payload,b,d,w.meta):i(w,b,d)})])}catch(y){g=y instanceof Gi?s(null,b,d,y.payload,y.meta):s(y,b,d)}finally{C&&S.signal.removeEventListener("abort",C)}return n&&!n.dispatchConditionRejection&&s.match(g)&&g.meta.condition||p(g),g})();return Object.assign(T,{abort:A,requestId:b,arg:d,unwrap(){return T.then(Oh)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:gh(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Oh(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function _h(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var ad=Symbol.for("rtk-slice-createasyncthunk"),w_={[ad]:Eh};function wh(e,t){return`${e}/${t}`}function Ch({creators:e}={}){let t=e?.asyncThunk?.[ad];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(Ue(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(Rh()):n.reducers)||{},l=Object.keys(s),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(g,y){let x=typeof g=="string"?g:g.type;if(!x)throw new Error(Ue(12));if(x in d.sliceCaseReducersByType)throw new Error(Ue(13));return d.sliceCaseReducersByType[x]=y,f},addMatcher(g,y){return d.sliceMatchers.push({matcher:g,reducer:y}),f},exposeAction(g,y){return d.actionCreators[g]=y,f},exposeCaseReducer(g,y){return d.sliceCaseReducersByName[g]=y,f}};l.forEach(g=>{let y=s[g],x={reducerName:g,type:wh(i,g),createNotation:typeof n.reducers=="function"};Th(y)?Nh(x,y,f,t):kh(x,y,f)});function p(){let[g={},y=[],x=void 0]=typeof n.extraReducers=="function"?id(n.extraReducers):[n.extraReducers],w={...g,...d.sliceCaseReducersByType};return mh(n.initialState,N=>{for(let H in w)N.addCase(H,w[H]);for(let H of d.sliceMatchers)N.addMatcher(H.matcher,H.reducer);for(let H of y)N.addMatcher(H.matcher,H.reducer);x&&N.addDefaultCase(x)})}let h=g=>g,m=new Map,b=new WeakMap,S;function C(g,y){return S||(S=p()),S(g,y)}function O(){return S||(S=p()),S.getInitialState()}function A(g,y=!1){function x(N){let H=N[g];return typeof H>"u"&&y&&(H=Wn(b,x,O)),H}function w(N=h){return Wn(Wn(m,y,()=>new WeakMap),N,()=>{let H={};for(let[j,k]of Object.entries(n.selectors??{}))H[j]=Ah(k,N,()=>Wn(b,N,O),y);return H})}return{reducerPath:g,getSelectors:w,get selectors(){return w(x)},selectSlice:x}}let T={name:i,reducer:C,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:O,...A(a),injectInto(g,{reducerPath:y,...x}={}){let w=y??a;return g.inject({reducerPath:w,reducer:C},x),{...T,...A(w,!0)}}};return T}}function Ah(e,t,r,n){function i(a,...s){let l=t(a);return typeof l>"u"&&n&&(l=r()),e(l,...s)}return i.unwrapped=e,i}var sd=Ch();function Rh(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function kh({type:e,reducerName:t,createNotation:r},n,i){let a,s;if("reducer"in n){if(r&&!Ih(n))throw new Error(Ue(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,s?ct(e,s):ct(e))}function Th(e){return e._reducerDefinitionType==="asyncThunk"}function Ih(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Nh({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Ue(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:d,settled:f,options:p}=r,h=i(e,a,p);n.exposeAction(t,h),s&&n.addCase(h.fulfilled,s),l&&n.addCase(h.pending,l),d&&n.addCase(h.rejected,d),f&&n.addMatcher(h.settled,f),n.exposeCaseReducer(t,{fulfilled:s||Hn,pending:l||Hn,rejected:d||Hn,settled:f||Hn})}function Hn(){}var cd="listener",ld="completed",dd="cancelled",C_=`task-${dd}`,A_=`task-${ld}`,R_=`${cd}-${dd}`,k_=`${cd}-${ld}`;var{assign:ud}=Object;var Yi="listenerMiddleware";var Ph=ud(ct(`${Yi}/add`),{withTypes:()=>Ph}),T_=ct(`${Yi}/removeAll`),Lh=ud(ct(`${Yi}/remove`),{withTypes:()=>Lh});function Ue(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var ji=class e extends xt{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Qt(a))return a;if(i==null)return;let s=sd({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=od({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let p=Ht(s.getInitialState());for(let h of f.keeping)p[h]=(d??p)[h];return p}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[i.name]=new e(s,l,i.eventBus,i.deprecatedKeys)}constructor(t,r,n,i){super(),this.reduxSlice=t,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new Dr,this.injectInto=(s,l)=>this.reduxSlice.injectInto(s,l),this.selectSlice=s=>this.reduxSlice.selectSlice(s);let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,l,d)=>{let f=l,p=s[f];return p?(...h)=>{let m=p(...h.map(a));return this.reduxStore.dispatch(m),m}:h=>{let m=f,b=this.getState()[m];bt(b,h)||this.setState({[m]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Dh(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Qt(t)&&t.clear()}var $n=class{constructor(t,r,n){this.store=t,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);ot(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 Mh(e,t,r){return new $n(e,t,r).watch()}var Ki=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Qi={};M(Qi,{scrollHelper:()=>Fh});var qi,Vn=new Map,Ji=class{lock(t,r){if(r){let n=Vn.get(r);if(n==null||n===t)return Vn.set(r,t),r}}release(t,r){r&&Vn.get(r)===t&&Vn.delete(r)}findFirstScrollableParent(t){var r;let n,i;for(let a of Lo(t)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var n,i;let a=0;for(;r&&r.offsetParent!==t.offsetParent;)a+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return a+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=gt(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(qi=window.FluidTopicsScrollHelper)!==null&&qi!==void 0?qi:new Ji;var Fh=window.FluidTopicsScrollHelper;var ea={};M(ea,{toFtFormComponent:()=>Uh});var Xi=Symbol("elementInternals"),Uh=pe(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Xi].form}constructor(...n){super(n),this[Xi]=this.attachInternals()}setFormValue(n){this[Xi].setFormValue(n)}}return t});var ra={};M(ra,{DateFormatter:()=>ta});var ta=class{static format(t,r,n,i,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(t,r,n,i,!!a)}static getMomentDateFormat(t,r,n){return n?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,i,a){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return a?d:i?`${l} ${d}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var oa={};M(oa,{ALL_KEYS_VALUE:()=>na,SameWindowStorageEvent:()=>tr});var na="__all__",tr=class extends CustomEvent{constructor(t,r,n){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==na}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new tr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new tr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new tr(na))}});var aa={};M(aa,{FocusMainContentEvent:()=>ia});var ia=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var fd={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Bh(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function Wh(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Bh);document.addEventListener("click",Wh);var pd=q`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,31 +68,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var aa={};M(aa,{withAriaNotification:()=>Bh});var Uh={checkVisibility:!0},Bh=pe(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,i){let{checkVisibility:a}={...Uh,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Or({type:"aria",message:n})))},20)}}return t});var sa={};M(sa,{withConditionalVisibility:()=>Wh});var ud=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function Wh(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return ud([I({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),ud([ue()],t.prototype,"isVisible",void 0),t}var la={};M(la,{FormController:()=>ca});function Hh(e){let t={};for(let r of Object.keys(e))t[r]=e[r].initial;return t}var ca=class{constructor(t,r){this.host=t,this.config=r,this.errors=new Map,this.submitting=!1,t.addController(this),this.initial=Hh(r),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(t){return this.data[t]}hasError(t){return this.errors.has(t)}errorFor(t){return this.errors.get(t)}setValue(t,r){if(this.data[t]===r)return;let n={...this.data};n[t]=r,this.data=n,this.checkValidity()}bind(t){return r=>this.setValue(t,r.detail)}setInitialValues(t){this.initial={...t},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(t,r){var n,i;let a=(i=(n=this.config[t]).validator)===null||i===void 0?void 0:i.call(n,this.value(t),this.data,r);a!==void 0&&this.errors.set(t,a)}checkValidity(t){return this.errors.clear(),this.fields.forEach(r=>{this.validateField(r,t)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let t of this.fields){let r=this.config[t].selector;if(this.errors.has(t)&&r!==void 0)return r}}focusFirstFieldInError(){let t=this.firstFieldSelectorInError;if(t===void 0)return;let r=this.host.renderRoot.querySelector(t);r instanceof HTMLElement&&r.focus()}async submit(t){var r,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(r=t.onInvalid)===null||r===void 0||r.call(t);return}t.onSuccess(await t.request(this.data))}catch(a){let s=$o(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=t.onInvalid)===null||n===void 0||n.call(t);return}(i=t.onFailure)===null||i===void 0||i.call(t,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var ua={};M(ua,{MetadataValueLocalizer:()=>da});var da=class{constructor(t){this.contentLocales=t}localize(t){var r,n;return t?.key!=="ft:locale"?t:{...t,displayValue:(r=this.findLocaleValue(t))!==null&&r!==void 0?r:t.displayValue,displayTooltipValue:(n=this.findLocaleValue(t))!==null&&n!==void 0?n:t.displayTooltipValue}}findLocaleValue(t){var r;return(r=this.contentLocales.find(n=>n.lang===t.value))===null||r===void 0?void 0:r.label}};function fa(e,t){return t.map(r=>r(e)).filter(r=>r!==!0).map(r=>r)}function fd(e,t,r){return e?t(e):r?.(e)}var re=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Tt;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(Tt||(Tt={}));var lt;(function(e){e.default="default",e.warning="warning",e.error="error"})(lt||(lt={}));var pa=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}};var pw=pe(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Tt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=lt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Tt.blur||this.validateOn===Tt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==lt.default&&this.validateOn===Tt.blurWithStatusResolutionOnInput||this.validateOn===Tt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...fa(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=fa(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new pa(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return tt`
71
+ `;var sa={};M(sa,{withAriaNotification:()=>$h});var Hh={checkVisibility:!0},$h=pe(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,i){let{checkVisibility:a}={...Hh,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Or({type:"aria",message:n})))},20)}}return t});var ca={};M(ca,{withConditionalVisibility:()=>Vh});var hd=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function Vh(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return hd([I({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),hd([ue()],t.prototype,"isVisible",void 0),t}var da={};M(da,{FormController:()=>la});function zh(e){let t={};for(let r of Object.keys(e))t[r]=e[r].initial;return t}var la=class{constructor(t,r){this.host=t,this.config=r,this.errors=new Map,this.submitting=!1,t.addController(this),this.initial=zh(r),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(t){return this.data[t]}hasError(t){return this.errors.has(t)}errorFor(t){return this.errors.get(t)}setValue(t,r){if(this.data[t]===r)return;let n={...this.data};n[t]=r,this.data=n,this.checkValidity()}bind(t){return r=>this.setValue(t,r.detail)}setInitialValues(t){this.initial={...t},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(t,r){var n,i;let a=(i=(n=this.config[t]).validator)===null||i===void 0?void 0:i.call(n,this.value(t),this.data,r);a!==void 0&&this.errors.set(t,a)}checkValidity(t){return this.errors.clear(),this.fields.forEach(r=>{this.validateField(r,t)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let t of this.fields){let r=this.config[t].selector;if(this.errors.has(t)&&r!==void 0)return r}}focusFirstFieldInError(){let t=this.firstFieldSelectorInError;if(t===void 0)return;let r=this.host.renderRoot.querySelector(t);r instanceof HTMLElement&&r.focus()}async submit(t){var r,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(r=t.onInvalid)===null||r===void 0||r.call(t);return}t.onSuccess(await t.request(this.data))}catch(a){let s=Vo(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=t.onInvalid)===null||n===void 0||n.call(t);return}(i=t.onFailure)===null||i===void 0||i.call(t,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var fa={};M(fa,{MetadataValueLocalizer:()=>ua});var ua=class{constructor(t){this.contentLocales=t}localize(t){var r,n;return t?.key!=="ft:locale"?t:{...t,displayValue:(r=this.findLocaleValue(t))!==null&&r!==void 0?r:t.displayValue,displayTooltipValue:(n=this.findLocaleValue(t))!==null&&n!==void 0?n:t.displayTooltipValue}}findLocaleValue(t){var r;return(r=this.contentLocales.find(n=>n.lang===t.value))===null||r===void 0?void 0:r.label}};function pa(e,t){return t.map(r=>r(e)).filter(r=>r!==!0).map(r=>r)}function md(e,t,r){return e?t(e):r?.(e)}var re=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Tt;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(Tt||(Tt={}));var lt;(function(e){e.default="default",e.warning="warning",e.error="error"})(lt||(lt={}));var ha=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}};var mw=pe(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Tt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=lt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Tt.blur||this.validateOn===Tt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==lt.default&&this.validateOn===Tt.blurWithStatusResolutionOnInput||this.validateOn===Tt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...pa(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=pa(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new ha(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return tt`
72
72
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
73
73
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
74
- ${un(this.errorMessages,n=>tt`
74
+ ${fn(this.errorMessages,n=>tt`
75
75
  <li>${n}</li>
76
76
  `)}
77
- ${un(this.warningMessages,n=>tt`
77
+ ${fn(this.warningMessages,n=>tt`
78
78
  <li>${n}</li>
79
79
  `)}
80
- ${fd(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>tt`
80
+ ${md(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>tt`
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?lt.error:this.warningMessages.length?lt.warning:lt.default}}return re([I()],t.prototype,"warningRules",void 0),re([I()],t.prototype,"errorRules",void 0),re([I()],t.prototype,"validateOn",void 0),re([I({type:Boolean})],t.prototype,"validateAtRender",void 0),re([I()],t.prototype,"label",void 0),re([I({type:Boolean})],t.prototype,"hideLabel",void 0),re([I()],t.prototype,"name",void 0),re([I({type:Boolean})],t.prototype,"disabled",void 0),re([I()],t.prototype,"helperText",void 0),re([I()],t.prototype,"forceStatus",void 0),re([I({reflect:!0})],t.prototype,"value",void 0),re([ue()],t.prototype,"errorMessages",void 0),re([ue()],t.prototype,"warningMessages",void 0),re([ue()],t.prototype,"status",void 0),re([ue()],t.prototype,"focused",void 0),re([ue()],t.prototype,"additionalWarningRules",void 0),re([ue()],t.prototype,"additionalErrorRules",void 0),re([ue()],t.prototype,"forceErrorMessages",void 0),t});var Vr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(t,!1),Vr(n,t);return!0},Vn=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},pd=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),Gh(t)}};function Vh(e){this._$AN!==void 0?(Vn(this),this._$AM=e,pd(this)):this._$AM=e}function zh(e,t=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let a=r;a<n.length;a++)Vr(n[a],!1),Vn(n[a]);else n!=null&&(Vr(n,!1),Vn(n));else Vr(this,e)}var Gh=e=>{e.type==Pe.CHILD&&(e._$AP??=zh,e._$AQ??=Vh)},rr=class extends Se{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),pd(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(Vr(this,t),Vn(this))}setValue(t){if(vs(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 ha=class extends rr{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return X}update(t){return this.part=t,this.ensureFocusTrap(t.element),X}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var r,n;this.isElementTrappable(t)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,r,n,i;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=0;n<r.length;n++){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=r.length-1;n>=0;n--){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof xe&&await t.updateComplete}isInsideElement(t,r){for(let n=t;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},$w=fe(ha);var hd;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(hd||(hd={}));var Yh={sm:640,md:768,lg:1024,xl:1280},ma=class extends rr{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(t,r,n){let i=this.resolveThreshold(t),a=n??(()=>G);return this.size>i?r():a()}resolveThreshold(t){return typeof t=="number"?t:Yh[t]}},Yw=fe(ma);var ya,ga,ba,xa,jh=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ba=(ga=(ya=window.safari)===null||ya===void 0?void 0:ya.pushNotification)===null||ga===void 0?void 0:ga.toString())!==null&&ba!==void 0?ba:"")==="[object SafariRemoteNotification]",Kh="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xa=window.ftGlobals)!==null&&xa!==void 0?xa:{lit:Eo,litDecorators:_o,litRepeat:wo,litClassMap:Co,litStyleMap:Ao,litUnsafeHTML:Ro,wcUtils:{...ko,...Wo,...Io,...Zo,...ta,...qo,...No,...ei,...Uo,...pi,...ia,...ld,...Ji,...hi,...Xo,...Si,...Xi,...bi,...aa,...sa,...El,...Do,...Ei,...ua,...ti,...Oi,...dd,..._l,...wi,...Ki,...na,...mi,...gi,...Vo,...Yo,...la,isSafari:jh,isTouchScreen:Kh,setVariable:zt}};var _d;function E(){return _d.apply(null,arguments)}function Zh(e){_d=e}function Te(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Pt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Na(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(F(e,t))return!1;return!0}function ce(e){return e===void 0}function Qe(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function qr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function wd(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function Be(e,t){for(var r in t)F(t,r)&&(e[r]=t[r]);return F(t,"toString")&&(e.toString=t.toString),F(t,"valueOf")&&(e.valueOf=t.valueOf),e}function We(e,t,r,n){return qd(e,t,r,n,!0).utc()}function qh(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidOffset:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function P(e){return e._pf==null&&(e._pf=qh()),e._pf}var _a;Array.prototype.some?_a=Array.prototype.some:_a=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function Pa(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=P(e),r=_a.call(t.parsedDateParts,function(i){return i!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidOffset&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function Jr(e){var t=We(NaN);return e!=null?Be(P(t),e):P(t).userInvalidated=!0,t}var md=E.momentProperties=[],Sa=!1;function La(e,t){var r,n,i,a=md.length;if(ce(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ce(t._i)||(e._i=t._i),ce(t._f)||(e._f=t._f),ce(t._l)||(e._l=t._l),ce(t._strict)||(e._strict=t._strict),ce(t._tzm)||(e._tzm=t._tzm),ce(t._isUTC)||(e._isUTC=t._isUTC),ce(t._offset)||(e._offset=t._offset),ce(t._pf)||(e._pf=P(t)),ce(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=md[r],i=t[n],ce(i)||(e[n]=i);return e}function Qr(e){La(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Sa===!1&&(Sa=!0,E.updateOffset(this),Sa=!1)}function ge(e){return e instanceof Qr||e!=null&&e._isAMomentObject!=null}function Cd(e){E.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function _e(e,t){var r=!0;return Be(function(){if(E.deprecationHandler!=null&&E.deprecationHandler(null,e),r){var n=[],i,a,s,l=arguments.length;for(a=0;a<l;a++){if(i="",typeof arguments[a]=="object"){i+=`
85
- [`+a+"] ";for(s in arguments[0])F(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];n.push(i)}Cd(e+`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?lt.error:this.warningMessages.length?lt.warning:lt.default}}return re([I()],t.prototype,"warningRules",void 0),re([I()],t.prototype,"errorRules",void 0),re([I()],t.prototype,"validateOn",void 0),re([I({type:Boolean})],t.prototype,"validateAtRender",void 0),re([I()],t.prototype,"label",void 0),re([I({type:Boolean})],t.prototype,"hideLabel",void 0),re([I()],t.prototype,"name",void 0),re([I({type:Boolean})],t.prototype,"disabled",void 0),re([I()],t.prototype,"helperText",void 0),re([I()],t.prototype,"forceStatus",void 0),re([I({reflect:!0})],t.prototype,"value",void 0),re([ue()],t.prototype,"errorMessages",void 0),re([ue()],t.prototype,"warningMessages",void 0),re([ue()],t.prototype,"status",void 0),re([ue()],t.prototype,"focused",void 0),re([ue()],t.prototype,"additionalWarningRules",void 0),re([ue()],t.prototype,"additionalErrorRules",void 0),re([ue()],t.prototype,"forceErrorMessages",void 0),t});var Vr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(t,!1),Vr(n,t);return!0},zn=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},yd=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),Kh(t)}};function Yh(e){this._$AN!==void 0?(zn(this),this._$AM=e,yd(this)):this._$AM=e}function jh(e,t=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let a=r;a<n.length;a++)Vr(n[a],!1),zn(n[a]);else n!=null&&(Vr(n,!1),zn(n));else Vr(this,e)}var Kh=e=>{e.type==Pe.CHILD&&(e._$AP??=jh,e._$AQ??=Yh)},rr=class extends Se{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),yd(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(Vr(this,t),zn(this))}setValue(t){if(_s(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 ma=class extends rr{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return X}update(t){return this.part=t,this.ensureFocusTrap(t.element),X}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var r,n;this.isElementTrappable(t)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,r,n,i;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=0;n<r.length;n++){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=r.length-1;n>=0;n--){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof xe&&await t.updateComplete}isInsideElement(t,r){for(let n=t;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},zw=fe(ma);var gd;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(gd||(gd={}));var Zh={sm:640,md:768,lg:1024,xl:1280},ya=class extends rr{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(t,r,n){let i=this.resolveThreshold(t),a=n??(()=>G);return this.size>i?r():a()}resolveThreshold(t){return typeof t=="number"?t:Zh[t]}},Kw=fe(ya);var zr=class e{static isShadowRoot(t){return t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}static getShadowRoots(t){let r=[],n=t.getRootNode();for(;e.isShadowRoot(n);)r.push(n),n=n.host.getRootNode();return r}static compareDeepPosition(t,r){if(t===r)return 0;let n=e.getShadowRoots(t),i=e.getShadowRoots(r),a=n.findIndex(f=>i.includes(f)),s=a<0?-1:i.findIndex(f=>f===n[a]),l=a===0||n.length===0?t:n[(a<0?n.length:a)-1].host,d=s===0||i.length===0?r:i[(s<0?i.length:s)-1].host;return l===d?l===t?Node.DOCUMENT_POSITION_CONTAINED_BY:Node.DOCUMENT_POSITION_CONTAINS:l.compareDocumentPosition(d)}static getDeepActiveElement(){var t;if(!document.activeElement)return null;let r=document.activeElement;for(;!((t=r.shadowRoot)===null||t===void 0)&&t.activeElement;)r=r.shadowRoot.activeElement;return r}};var ga=class e{static autoFocus(t){e.allowAutoFocus(t)&&t.focus()}static allowAutoFocus(t){if(ba)return!1;let r=zr.getDeepActiveElement();if(!r)return!0;let n=zr.compareDeepPosition(r,t);return(n&(Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))!==0?!1:(n&Node.DOCUMENT_POSITION_PRECEDING)!==0&&(n&Node.DOCUMENT_POSITION_CONTAINS)===0||(n&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}};window.FluidTopicsFocusHelper=ga;var xa,Sa,va,Ea,qh=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((va=(Sa=(xa=window.safari)===null||xa===void 0?void 0:xa.pushNotification)===null||Sa===void 0?void 0:Sa.toString())!==null&&va!==void 0?va:"")==="[object SafariRemoteNotification]",ba="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ea=window.ftGlobals)!==null&&Ea!==void 0?Ea:{lit:Oo,litDecorators:wo,litRepeat:Co,litClassMap:Ao,litStyleMap:Ro,litUnsafeHTML:ko,wcUtils:{...To,...Ho,...No,...qo,...ra,...Jo,...Po,...ti,...Bo,...hi,...aa,...fd,...Qi,...mi,...ei,...vi,...ea,...xi,...sa,...ca,...wl,...Mo,...Oi,...fa,...ri,..._i,...pd,...Al,...Ci,...Zi,...oa,...yi,...bi,...zo,...jo,...da,isSafari:qh,isTouchScreen:ba,setVariable:zt}};var Ad;function E(){return Ad.apply(null,arguments)}function Jh(e){Ad=e}function Te(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Pt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Da(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(F(e,t))return!1;return!0}function ce(e){return e===void 0}function Qe(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Jr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Rd(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function Be(e,t){for(var r in t)F(t,r)&&(e[r]=t[r]);return F(t,"toString")&&(e.toString=t.toString),F(t,"valueOf")&&(e.valueOf=t.valueOf),e}function We(e,t,r,n){return Xd(e,t,r,n,!0).utc()}function Qh(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidOffset:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function P(e){return e._pf==null&&(e._pf=Qh()),e._pf}var Aa;Array.prototype.some?Aa=Array.prototype.some:Aa=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function Ma(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=P(e),r=Aa.call(t.parsedDateParts,function(i){return i!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidOffset&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function Qr(e){var t=We(NaN);return e!=null?Be(P(t),e):P(t).userInvalidated=!0,t}var bd=E.momentProperties=[],Oa=!1;function Fa(e,t){var r,n,i,a=bd.length;if(ce(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ce(t._i)||(e._i=t._i),ce(t._f)||(e._f=t._f),ce(t._l)||(e._l=t._l),ce(t._strict)||(e._strict=t._strict),ce(t._tzm)||(e._tzm=t._tzm),ce(t._isUTC)||(e._isUTC=t._isUTC),ce(t._offset)||(e._offset=t._offset),ce(t._pf)||(e._pf=P(t)),ce(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=bd[r],i=t[n],ce(i)||(e[n]=i);return e}function Xr(e){Fa(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Oa===!1&&(Oa=!0,E.updateOffset(this),Oa=!1)}function ge(e){return e instanceof Xr||e!=null&&e._isAMomentObject!=null}function kd(e){E.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function _e(e,t){var r=!0;return Be(function(){if(E.deprecationHandler!=null&&E.deprecationHandler(null,e),r){var n=[],i,a,s,l=arguments.length;for(a=0;a<l;a++){if(i="",typeof arguments[a]=="object"){i+=`
85
+ [`+a+"] ";for(s in arguments[0])F(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];n.push(i)}kd(e+`
86
86
  Arguments: `+Array.prototype.slice.call(n).join("")+`
87
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var yd={};function Ad(e,t){E.deprecationHandler!=null&&E.deprecationHandler(e,t),yd[e]||(Cd(t+`
88
- `+new Error().stack),yd[e]=!0)}E.suppressDeprecationWarnings=!1;E.deprecationHandler=null;function He(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}var gd={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function we(e){return typeof e=="string"?gd[e]||gd[e.toLowerCase()]:void 0}function Da(e){var t={},r,n;for(n in e)F(e,n)&&(r=we(n),r&&(t[r]=e[n]));return t}var Jh={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Qh(e){var t=[],r;for(r in e)F(e,r)&&t.push({unit:r,priority:Jh[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}function Oe(e,t,r){var n=""+Math.abs(e),i=t-n.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var Ma=/(\[[^\[]*\])|(\\e)|(\\)?(eHHmm|[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,zn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,va={},ir={};function R(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(ir[e]=i),t&&(ir[t[0]]=function(){return Oe(i.apply(this,arguments),t[1],t[2])}),r&&(ir[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Xh(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function em(e){var t=e.match(Ma),r,n;for(r=0,n=t.length;r<n;r++)ir[t[r]]?t[r]=ir[t[r]]:t[r]=Xh(t[r]);return function(i){var a="",s;for(s=0;s<n;s++)a+=He(t[s])?t[s].call(i,e):t[s];return a}}function Yn(e,t){if(!e.isValid())return e.localeData().invalidDate();t=Rd(t,e.localeData());var r="$"+t;return F(va,r)||(va[r]=em(t)),va[r](e)}function Rd(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(zn.lastIndex=0;r>=0&&zn.test(e);)e=e.replace(zn,n),zn.lastIndex=0,r-=1;return e}var kd=/\d/,be=/\d\d/,Td=/\d{3}/,Fa=/\d{4}/,eo=/[+-]?\d{6}/,z=/\d\d?/,Id=/\d\d\d\d?/,Ua=/\d\d\d\d\d\d?/,to=/\d{1,3}/,Ba=/\d{1,4}/,ro=/[+-]?\d{1,6}/,cr=/\d+/,no=/[+-]?\d+/,tm=/Z|[+-]\d\d:?\d\d/gi,oo=/Z|[+-]\d\d(?::?\d\d)?/gi,rm=/[+-]?\d+(\.\d{1,3})?/,Xr=/[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,lr=/^[1-9]\d?/,Wa=/^([1-9]\d|\d)/,Zn;Zn={};function _(e,t,r){Zn[e]=He(t)?t:function(n,i){return n&&r?r:t}}function nm(e,t){return F(Zn,e)?Zn[e](t._strict,t._locale):new RegExp(om(e))}function om(e){return qe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,a){return r||n||i||a}))}function qe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ve(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function D(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ve(t)),r}var wa={};function V(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),Qe(t)&&(n=function(a,s){s[t]=D(a)}),i=e.length,r=0;r<i;r++)wa[e[r]]=n}function dr(e,t){V(e,function(r,n,i,a){i._w=i._w||{},t(r,i._w,i,a)})}function im(e,t,r){t!=null&&F(wa,e)&&wa[e](t,r._a,r,e)}function io(e){return e%4===0&&e%100!==0||e%400===0}var Z=0,ye=1,le=2,J=3,Ee=4,Ze=5,Nt=6,am=7,sm=8;R("Y",0,0,function(){var e=this.year();return e<=9999?Oe(e,4):"+"+e});R(0,["YY",2],0,function(){return this.year()%100});R(0,["YYYY",4],0,"year");R(0,["YYYYY",5],0,"year");R(0,["YYYYYY",6,!0],0,"year");_("Y",no);_("YY",z,be);_("YYYY",Ba,Fa);_("YYYYY",ro,eo);_("YYYYYY",ro,eo);V(["YYYYY","YYYYYY"],Z);V("YYYY",function(e,t){t[Z]=e.length===2?E.parseTwoDigitYear(e):D(e)});V("YY",function(e,t){t[Z]=E.parseTwoDigitYear(e)});V("Y",function(e,t){t[Z]=parseInt(e,10)});function jr(e){return io(e)?366:365}E.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var Nd=ur("FullYear",!0);function cm(){return io(this.year())}function ur(e,t){return function(r){return r!=null?(Pd(this,e,r),E.updateOffset(this,t),this):Kr(this,e)}}function Kr(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Pd(e,t,r){var n,i,a,s,l;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}a=r,s=e.month(),l=e.date(),l=l===29&&s===1&&!io(a)?28:l,i?n.setUTCFullYear(a,s,l):n.setFullYear(a,s,l)}}function lm(e){return e=we(e),He(this[e])?this[e]():this}function dm(e,t){if(typeof e=="object"){e=Da(e);var r=Qh(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=we(e),He(this[e]))return this[e](t);return this}function um(e,t){return(e%t+t)%t}var K;Array.prototype.indexOf?K=Array.prototype.indexOf:K=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Ha(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=um(t,12);return e+=(t-r)/12,r===1?io(e)?29:28:31-r%7%2}R("M",["MM",2],"Mo",function(){return this.month()+1});R("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});R("MMMM",0,0,function(e){return this.localeData().months(this,e)});_("M",z,lr);_("MM",z,be);_("MMM",function(e,t){return t.monthsShortRegex(e)});_("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[ye]=D(e)-1});V(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[ye]=i:P(r).invalidMonth=e});var fm="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ld="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dd=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pm=Xr,hm=Xr,bd=["monthsParse","longMonthsParse","shortMonthsParse","monthsRegex","monthsShortRegex","monthsStrictRegex","monthsShortStrictRegex"];function mm(e,t){var r,n;for(r=0;r<bd.length;r++)n=bd[r],F(t,n)||delete e["_"+n]}function ym(e,t){return e?Te(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Dd).test(t)?"format":"standalone"][e.month()]:Te(this._months)?this._months:this._months.standalone}function gm(e,t){return e?Te(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Dd.test(t)?"format":"standalone"][e.month()]:Te(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function bm(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=We([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(i=K.call(this._shortMonthsParse,s),i!==-1?i:null):(i=K.call(this._longMonthsParse,s),i!==-1?i:null):t==="MMM"?(i=K.call(this._shortMonthsParse,s),i!==-1?i:(i=K.call(this._longMonthsParse,s),i!==-1?i:null)):(i=K.call(this._longMonthsParse,s),i!==-1?i:(i=K.call(this._shortMonthsParse,s),i!==-1?i:null))}function xm(e,t,r){var n,i,a;if(this._monthsParseExact)return bm.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=We([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function Md(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=D(t);else if(t=e.localeData().monthsParse(t),!Qe(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,Ha(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function Fd(e){return e!=null?(Md(this,e),E.updateOffset(this,!0),this):Kr(this,"Month")}function Sm(){return Ha(this.year(),this.month())}function vm(e){return this._monthsParseExact?(F(this,"_monthsRegex")||Ud.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(F(this,"_monthsShortRegex")||(this._monthsShortRegex=pm),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Em(e){return this._monthsParseExact?(F(this,"_monthsRegex")||Ud.call(this),e?this._monthsStrictRegex:this._monthsRegex):(F(this,"_monthsRegex")||(this._monthsRegex=hm),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Ud(){function e(d,f){return f.length-d.length}var t=[],r=[],n=[],i,a,s,l;for(i=0;i<12;i++)a=We([2e3,i]),s=qe(this.monthsShort(a,"")),l=qe(this.months(a,"")),t.push(s),r.push(l),n.push(l),n.push(s);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}R("d",0,"do","day");R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});R("e",0,0,"weekday");R("E",0,0,"isoWeekday");R("eHHmm",0,0,function(){return""+this.weekday()+Oe(this.hours(),2)+Oe(this.minutes(),2)});_("d",z);_("e",z);_("E",z);_("eHHmm",Ua);_("dd",function(e,t){return t.weekdaysMinRegex(e)});_("ddd",function(e,t){return t.weekdaysShortRegex(e)});_("dddd",function(e,t){return t.weekdaysRegex(e)});dr(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:P(r).invalidWeekday=e});dr(["d","e","E"],function(e,t,r,n){t[n]=D(e)});dr("eHHmm",function(e,t,r){var n=e.length-4;t.e=D(e.substr(0,n)),r._a[J]=D(e.substr(n,2)),r._a[Ee]=D(e.substr(n+2))});function Om(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function _m(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function $a(e,t){return e.slice(t,7).concat(e.slice(0,t))}var wm="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Cm="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Am=Xr,Rm=Xr,km=Xr,xd=["weekdaysParse","fullWeekdaysParse","shortWeekdaysParse","minWeekdaysParse","weekdaysRegex","weekdaysShortRegex","weekdaysMinRegex","weekdaysStrictRegex","weekdaysShortStrictRegex","weekdaysMinStrictRegex"];function Tm(e,t){var r,n;for(r=0;r<xd.length;r++)n=xd[r],F(t,n)||delete e["_"+n]}function Im(e,t){var r=Te(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?$a(r,this._week.dow):e?r[e.day()]:r}function Nm(e){return e===!0?$a(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pm(e){return e===!0?$a(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Lm(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=We([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(i=K.call(this._weekdaysParse,s),i!==-1?i:null):t==="ddd"?(i=K.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=K.call(this._minWeekdaysParse,s),i!==-1?i:null):t==="dddd"?(i=K.call(this._weekdaysParse,s),i!==-1||(i=K.call(this._shortWeekdaysParse,s),i!==-1)?i:(i=K.call(this._minWeekdaysParse,s),i!==-1?i:null)):t==="ddd"?(i=K.call(this._shortWeekdaysParse,s),i!==-1||(i=K.call(this._weekdaysParse,s),i!==-1)?i:(i=K.call(this._minWeekdaysParse,s),i!==-1?i:null)):(i=K.call(this._minWeekdaysParse,s),i!==-1||(i=K.call(this._weekdaysParse,s),i!==-1)?i:(i=K.call(this._shortWeekdaysParse,s),i!==-1?i:null))}function Dm(e,t,r){var n,i,a;if(this._weekdaysParseExact)return Lm.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=We([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Mm(e){if(!this.isValid())return e!=null?this:NaN;var t=Kr(this,"Day");return e!=null?(e=Om(e,this.localeData()),this.add(e-t,"d")):t}function Fm(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 Um(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=_m(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Bm(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Va.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(F(this,"_weekdaysRegex")||(this._weekdaysRegex=Am),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Wm(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Va.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(F(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rm),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Hm(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Va.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(F(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=km),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Va(){function e(p,h){return h.length-p.length}var t=[],r=[],n=[],i=[],a,s,l,d,f;for(a=0;a<7;a++)s=We([2e3,1]).day(a),l=qe(this.weekdaysMin(s,"")),d=qe(this.weekdaysShort(s,"")),f=qe(this.weekdays(s,"")),t.push(l),r.push(d),n.push(f),i.push(l),i.push(d),i.push(f);t.sort(e),r.sort(e),n.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function $m(e){var t,r;mm(this,e),Tm(this,e);for(r in e)F(e,r)&&(t=e[r],He(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 Ca(e,t){var r=Be({},e),n;for(n in t)F(t,n)&&(Pt(e[n])&&Pt(t[n])?(r[n]={},Be(r[n],e[n]),Be(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)F(e,n)&&!F(t,n)&&Pt(e[n])&&(r[n]=Be({},r[n]));return r}function za(e){e!=null&&this.set(e)}var Aa;Object.keys?Aa=Object.keys:Aa=function(e){var t,r=[];for(t in e)F(e,t)&&r.push(t);return r};var Vm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function zm(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return He(n)?n.call(t,r):n}var Gm={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 Ym(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()],n=this._longDateFormatCache;return t||!r?t:n&&n[e]&&n[e].formatUpper===r?n[e].format:(t=r.match(Ma).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),n||(n=this._longDateFormatCache={}),n[e]={formatUpper:r,format:t},t)}var jm="Invalid date";function Km(){return this._invalidDate}var Zm="%d",qm=/\d{1,2}/;function Jm(e){return this._ordinal.replace("%d",e)}var Qm={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 Wd(e,t,r,n){var i=this._relativeTime[r];return He(i)?i(e,t,r,n):i.replace(/%d/i,e)}function Xm(e,t,r,n){return this.postformat(Wd.call(this,e,t,r,n))}function Hd(e,t){var r=this._relativeTime[e>0?"future":"past"];return He(r)?r(t):r.replace(/%s/i,t)}function ey(e,t){return this.postformat(Hd.call(this,e,t))}function ty(e,t,r,n,i,a,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,n,i,a,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,n,i,a,s),l}function Lt(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 qn(e,t,r){var n=7+t-r,i=(7+Lt(e,0,n).getUTCDay()-t)%7;return-i+n-1}function $d(e,t,r,n,i){var a=(7+r-n)%7,s=qn(e,n,i),l=1+7*(t-1)+a+s,d,f;return l<=0?(d=e-1,f=jr(d)+l):l>jr(e)?(d=e+1,f=l-jr(e)):(d=e,f=l),{year:d,dayOfYear:f}}function Vd(e,t,r,n){var i=qn(e,r,n),a=Math.floor((t-i-1)/7)+1,s,l;return a<1?(l=e-1,s=a+Je(l,r,n)):a>Je(e,r,n)?(s=a-Je(e,r,n),l=e+1):(l=e,s=a),{week:s,year:l}}function Ga(e,t,r){return Vd(e.year(),e.dayOfYear(),t,r)}function Sd(e,t,r,n,i){var a=Math.round((Lt(e,t,r)-Lt(e,0,1))/864e5)+1;return Vd(e,a,n,i)}function Je(e,t,r){var n=qn(e,t,r),i=qn(e+1,t,r);return(jr(e)-n+i)/7}R("w",["ww",2],"wo","week");R("W",["WW",2],"Wo","isoWeek");_("w",z,lr);_("ww",z,be);_("W",z,lr);_("WW",z,be);dr(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=D(e)});function ry(e){return Ga(e,this._week.dow,this._week.doy).week}var ny={dow:0,doy:6};function oy(){return this._week.dow}function iy(){return this._week.doy}function ay(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function sy(e){var t=Ga(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}function Ya(){return this.hours()%12||12}function cy(){return this.hours()||24}R("H",["HH",2],0,"hour");R("h",["hh",2],0,Ya);R("k",["kk",2],0,cy);R("hmm",0,0,function(){return""+Ya.apply(this)+Oe(this.minutes(),2)});R("hmmss",0,0,function(){return""+Ya.apply(this)+Oe(this.minutes(),2)+Oe(this.seconds(),2)});R("Hmm",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)});R("Hmmss",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)+Oe(this.seconds(),2)});function zd(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}zd("a",!0);zd("A",!1);function Gd(e,t){return t._meridiemParse}_("a",Gd);_("A",Gd);_("H",z,Wa);_("h",z,lr);_("k",z,lr);_("HH",z,be);_("hh",z,be);_("kk",z,be);_("hmm",Id);_("hmmss",Ua);_("Hmm",Id);_("Hmmss",Ua);V(["H","HH"],J);V(["k","kk"],function(e,t,r){var n=D(e);t[J]=n===24?0:n});V(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});V(["h","hh"],function(e,t,r){t[J]=D(e),P(r).bigHour=!0});V("hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[Ee]=D(e.substr(n)),P(r).bigHour=!0});V("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[Ee]=D(e.substr(n,2)),t[Ze]=D(e.substr(i)),P(r).bigHour=!0});V("Hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[Ee]=D(e.substr(n))});V("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[Ee]=D(e.substr(n,2)),t[Ze]=D(e.substr(i))});function ly(e){return(e+"").toLowerCase().charAt(0)==="p"}var dy=/[ap]\.?m?\.?/i,uy=ur("Hours",!0);function fy(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Yd={calendar:Vm,longDateFormat:Gm,invalidDate:jm,ordinal:Zm,dayOfMonthOrdinalParse:qm,relativeTime:Qm,months:fm,monthsShort:Ld,week:ny,weekdays:wm,weekdaysMin:Cm,weekdaysShort:Bd,meridiemParse:dy},$={},zr={},Zr;function py(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function Ra(e){return e&&e.toLowerCase().replace("_","-")}function hy(e){for(var t=0,r,n,i,a;t<e.length;){for(a=Ra(e[t]).split("-"),r=a.length,n=Ra(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=ao(a.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&py(a,n)>=r-1)break;r--}t++}return Zr}function my(e){return typeof e=="string"&&/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(e)}function ao(e){var t=null,r,n;if(F($,e))return $[e];if(n=Ra(e),F($,n))return $[n];if(typeof module<"u"&&module&&module.exports&&my(n))try{t=Zr._abbr,r=ns,r("./locale/"+n),ut(t)}catch{$[n]=null}if(F($,n))return $[n]}function ut(e,t){var r;return e&&(ce(t)?r=Xe(e):r=ja(e,t),r?Zr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Zr._abbr}function ja(e,t){if(t!==null){var r,n=Yd;if(t.abbr=e,$[e]!=null)Ad("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=$[e]._config;else if(t.parentLocale!=null)if($[t.parentLocale]!=null)n=$[t.parentLocale]._config;else if(r=ao(t.parentLocale),r!=null)n=r._config;else return zr[t.parentLocale]||(zr[t.parentLocale]=[]),zr[t.parentLocale].push({name:e,config:t}),null;return $[e]=new za(Ca(n,t)),zr[e]&&zr[e].forEach(function(i){ja(i.name,i.config)}),ut(e),$[e]}else return delete $[e],null}function yy(e,t){var r,n=ao(e),i=Yd;return n!=null&&(e=n._abbr),t!=null?($[e]!=null&&$[e].parentLocale!=null?$[e].set(Ca($[e]._config,t)):(n!=null&&(i=n._config),t=Ca(i,t),n==null&&(t.abbr=e),r=new za(t),r.parentLocale=$[e],$[e]=r),ut(e)):$[e]!=null&&($[e].parentLocale!=null?($[e]=$[e].parentLocale,e===ut()&&ut(e)):$[e]!=null&&delete $[e]),$[e]}function Xe(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Zr;if(!Te(e)){if(t=ao(e),t)return t;e=[e]}return hy(e)}function gy(){return Aa($)}function Ka(e){var t,r=e._a;return r&&P(e).overflow===-2&&(t=r[ye]<0||r[ye]>11?ye:r[le]<1||r[le]>Ha(r[Z],r[ye])?le:r[J]<0||r[J]>24||r[J]===24&&(r[Ee]!==0||r[Ze]!==0||r[Nt]!==0)?J:r[Ee]<0||r[Ee]>59?Ee:r[Ze]<0||r[Ze]>59?Ze:r[Nt]<0||r[Nt]>999?Nt:-1,P(e)._overflowDayOfYear&&(t<Z||t>le)&&(t=le),P(e)._overflowWeeks&&t===-1&&(t=am),P(e)._overflowWeekday&&t===-1&&(t=sm),P(e).overflow=t),e}var by=/^\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)?)?$/,xy=/^\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)?)?$/,Sy=/Z|[+-]\d\d(?::?\d\d)?/,Gn=[["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]],Ea=[["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/]],vy=/^\/?Date\((-?\d+)/i,Ey=/^(?:(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}))$/,Oy={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jd(e){var t,r,n=e._i,i=by.exec(n)||xy.exec(n),a,s,l,d,f=Gn.length,p=Ea.length;if(i){for(P(e).iso=!0,t=0,r=f;t<r;t++)if(Gn[t][1].exec(i[1])){s=Gn[t][0],a=Gn[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(i[3]){for(t=0,r=p;t<r;t++)if(Ea[t][1].exec(i[3])){l=(i[2]||" ")+Ea[t][0];break}if(l==null){e._isValid=!1;return}}if(!a&&l!=null){e._isValid=!1;return}if(i[4])if(Sy.exec(i[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),qa(e)}else e._isValid=!1}function _y(e,t,r,n,i,a){var s=[wy(e),Ld.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function wy(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Cy(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ay(e,t,r){if(e){var n=Bd.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return P(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Ry(e,t,r){if(e)return Oy[e];if(t)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return a*60+i}function Kd(e){var t=Ey.exec(Cy(e._i)),r;if(t){if(r=_y(t[4],t[3],t[2],t[5],t[6],t[7]),!Ay(t[1],r,e))return;e._a=r,e._tzm=Ry(t[8],t[9],t[10]),e._d=Lt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),P(e).rfc2822=!0}else e._isValid=!1}function ky(e){var t=vy.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(jd(e),e._isValid===!1)delete e._isValid;else return;if(Kd(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:E.createFromInputFallback(e)}E.createFromInputFallback=_e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Gr(e,t,r){return e??t??r}function vd(e,t,r){var n=Object.prototype.hasOwnProperty.call(e,"_isDefaultDatePartsForWeek"),i=e._isDefaultDatePartsForWeek;e._isDefaultDatePartsForWeek=!!r;try{return E._getDefaultDateParts(e,t,r)}finally{n?e._isDefaultDatePartsForWeek=i:delete e._isDefaultDatePartsForWeek}}function Ty(e){var t=e._defaultDatePartsNow;return t?(t.hasValue||(t.value=E.now(),t.hasValue=!0),t.value):E.now()}function Iy(e,t,r){var n=r||e._isDefaultDatePartsForWeek,i=n?Y(t):new Date(t);return n?[i.year(),i.month(),i.date()]:e._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}E._getDefaultDateParts=Iy;function Za(e){var t,r,n=[],i,a,s,l,d;if(!e._d){for((e._a[Z]==null||e._a[ye]==null||e._a[le]==null)&&(i=Ty(e),a=vd(e,i)),e._w&&e._a[le]==null&&e._a[ye]==null&&Ny(e,vd(e,i,!0)),e._dayOfYear!=null&&(l=e._a[Z]!=null?e._a[Z]:a[Z],(e._dayOfYear>jr(l)||e._dayOfYear===0)&&(P(e)._overflowDayOfYear=!0),r=Lt(l,0,e._dayOfYear),e._a[ye]=r.getUTCMonth(),e._a[le]=r.getUTCDate()),d=e._a[Z]==null||e._a[ye]==null||e._a[le]==null,t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[J]===24&&e._a[Ee]===0&&e._a[Ze]===0&&e._a[Nt]===0&&(e._nextDay=!0,e._a[J]=0),e._d=(e._useUTC?Lt:ty).apply(null,n),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[J]=24),e._w&&typeof e._w.d<"u"&&!d&&e._w.d!==s&&(P(e).weekdayMismatch=!0)}}function Ny(e,t){var r,n,i,a,s,l,d,f,p;r=e._w,r.GG!=null||r.W!=null||r.E!=null?(s=1,l=4,n=Gr(r.GG,e._a[Z],Sd(t[Z],t[ye],t[le],1,4).year),i=Gr(r.W,1),a=Gr(r.E,1),(a<1||a>7)&&(f=!0)):(s=e._locale._week.dow,l=e._locale._week.doy,p=Sd(t[Z],t[ye],t[le],s,l),n=Gr(r.gg,e._a[Z],p.year),i=Gr(r.w,p.week),r.d!=null?(a=r.d,(a<0||a>6)&&(f=!0)):r.e!=null?(a=r.e+s,(r.e<0||r.e>6)&&(f=!0)):a=s),i<1||i>Je(n,s,l)?P(e)._overflowWeeks=!0:f!=null?P(e)._overflowWeekday=!0:(d=$d(n,i,a,s,l),e._a[Z]=d.year,e._dayOfYear=d.dayOfYear)}E.ISO_8601=function(){};E.RFC_2822=function(){};function qa(e){if(e._f===E.ISO_8601){jd(e);return}if(e._f===E.RFC_2822){Kd(e);return}e._a=[],P(e).empty=!0;var t=""+e._i,r,n,i,a,s,l=t.length,d=0,f,p;for(i=Rd(e._f,e._locale).match(Ma)||[],p=i.length,r=0;r<p;r++)a=i[r],n=(t.match(nm(a,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&P(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),d+=n.length),ir[a]?(n?P(e).empty=!1:P(e).unusedTokens.push(a),im(a,n,e)):e._strict&&!n&&P(e).unusedTokens.push(a);P(e).charsLeftOver=l-d,t.length>0&&P(e).unusedInput.push(t),e._a[J]<=12&&P(e).bigHour===!0&&e._a[J]>0&&(P(e).bigHour=void 0),P(e).parsedDateParts=e._a.slice(0),P(e).meridiem=e._meridiem,e._a[J]=Py(e._locale,e._a[J],e._meridiem),f=P(e).era,f!==null&&(e._a[Z]=e._locale.erasConvertYear(f,e._a[Z])),Za(e),Ka(e)}function Py(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Ly(e){var t,r,n,i,a,s,l=!1,d={},f=e._f.length;if(f===0){P(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<f;i++)a=0,s=!1,t=La({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._defaultDatePartsNow=d,t._f=e._f[i],qa(t),Pa(t)&&(s=!0),a+=P(t).charsLeftOver,a+=P(t).unusedTokens.length*10,P(t).score=a,l?a<n&&(n=a,r=t):(n==null||a<n||s)&&(n=a,r=t,s&&(l=!0));Be(e,r||t)}function Dy(e){if(!e._d){var t=Da(e._i),r=t.day===void 0?t.date:t.day;e._a=wd([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Za(e)}}function My(e){var t=new Qr(Ka(Zd(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Zd(e){var t=e._i,r=e._f;return e._locale=e._locale||Xe(e._l),t===null||r===void 0&&t===""?Jr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ge(t)?new Qr(Ka(t)):(qr(t)?e._d=t:Te(r)?Ly(e):r?qa(e):Fy(e),Pa(e)||(e._d=null),e))}function Fy(e){var t=e._i;ce(t)?e._d=new Date(E.now()):qr(t)?e._d=new Date(t.valueOf()):typeof t=="string"?ky(e):Te(t)?(e._a=wd(t.slice(0),function(r){return parseInt(r,10)}),Za(e)):Pt(t)?Dy(e):Qe(t)?e._d=new Date(t):E.createFromInputFallback(e)}function qd(e,t,r,n,i){var a={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Pt(e)&&Na(e)||Te(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=e,a._f=t,a._strict=n,My(a)}function Y(e,t,r,n){return qd(e,t,r,n,!1)}var Uy=_e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Y.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Jr()}),By=_e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Y.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Jr()});function Jd(e,t){var r,n;if(t.length===1&&Te(t[0])&&(t=t[0]),!t.length)return Y();for(n=0;n<t.length;++n)if(ge(t[n])){r=t[n];break}if(!r)return Jr();for(++n;n<t.length;++n)ge(t[n])&&(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Wy(){var e=[].slice.call(arguments,0);return Jd("isBefore",e)}function Hy(){var e=[].slice.call(arguments,0);return Jd("isAfter",e)}var $y=function(){return Date.now?Date.now():+new Date},Yr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Vy(e){var t,r=!1,n,i=Yr.length;for(t in e)if(F(e,t)&&!(K.call(Yr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[Yr[n]]){if(r)return!1;parseFloat(e[Yr[n]])!==D(e[Yr[n]])&&(r=!0)}return!0}function zy(){return this._isValid}function Gy(){return Ie(NaN)}function so(e){var t=Da(e),r=t.year||0,n=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,p=t.millisecond||0;this._isValid=Vy(t),this._milliseconds=+p+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+a*7,this._months=+i+n*3+r*12,this._data={},this._locale=Xe(),this._bubble()}function jn(e){return e instanceof so}function ka(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Yy(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,s;for(s=0;s<n;s++)D(e[s])!==D(t[s])&&a++;return a+i}function Qd(e,t){R(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Oe(~~(r/60),2)+t+Oe(~~r%60,2)})}Qd("Z",":");Qd("ZZ","");_("Z",oo);_("ZZ",oo);V(["Z","ZZ"],function(e,t,r){var n=Ja(oo,e);r._useUTC=!0,r._tzm=n,n===null&&(P(r).invalidOffset=e)});var jy=/([\+\-]|\d\d)/gi;function Ja(e,t){var r=(t||"").match(e),n,i,a;return r===null||(n=r[r.length-1]||[],i=(n+"").match(jy)||["-",0,0],a=+(i[1]*60)+D(i[2]),D(i[2])>59||(i[0]==="+"?a>840:a>720))?null:a===0?0:i[0]==="+"?a:-a}function Qa(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(ge(e)||qr(e)?e.valueOf():Y(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),E.updateOffset(r,!1),r):Y(e).local()}function Ta(e){return-Math.round(e._d.getTimezoneOffset())}E.updateOffset=function(){};function Ky(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ja(oo,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=Ta(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?tu(this,Ie(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,E.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Ta(this)}function Zy(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function qy(e){return this.utcOffset(0,e)}function Jy(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ta(this),"m")),this}function Qy(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ja(tm,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Xy(e){return this.isValid()?(e=e?Y(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function eg(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tg(){if(!ce(this._isDSTShifted))return this._isDSTShifted;var e={},t;return La(e,this),e=Zd(e),e._a?(t=e._isUTC?We(e._a):Y(e._a),this._isDSTShifted=this.isValid()&&Yy(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function rg(){return this.isValid()?!this._isUTC:!1}function ng(){return this.isValid()?this._isUTC:!1}function Xd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var og=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ig=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ie(e,t){var r=e,n=null,i,a,s;return jn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Qe(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=og.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:D(n[le])*i,h:D(n[J])*i,m:D(n[Ee])*i,s:D(n[Ze])*i,ms:D(ka(n[Nt]*1e3))*i}):(n=ig.exec(e))?(i=n[1]==="-"?-1:1,r={y:It(n[2],i),M:It(n[3],i),w:It(n[4],i),d:It(n[5],i),h:It(n[6],i),m:It(n[7],i),s:It(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=ag(Y(r.from),Y(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new so(r),jn(e)&&F(e,"_locale")&&(a._locale=e._locale),jn(e)&&F(e,"_isValid")&&(a._isValid=e._isValid),a}Ie.fn=so.prototype;Ie.invalid=Gy;function It(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Ed(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 ag(e,t){var r;return e.isValid()&&t.isValid()?(t=Qa(t,e),e.isBefore(t)?r=Ed(e,t):(r=Ed(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function eu(e,t){return function(r,n){var i,a;return n!==null&&!isNaN(+n)&&(Ad(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."),a=r,r=n,n=a),i=Ie(r,n),tu(this,i,e),this}}function tu(e,t,r,n){var i=t._milliseconds,a=ka(t._days),s=ka(t._months);e.isValid()&&(n=n??!0,s&&Md(e,Kr(e,"Month")+s*r),a&&Pd(e,"Date",Kr(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&E.updateOffset(e,a||s))}var sg=eu(1,"add"),cg=eu(-1,"subtract");function ru(e){return typeof e=="string"||e instanceof String}function lg(e){return ge(e)||qr(e)||ru(e)||Qe(e)||ug(e)||dg(e)||e===null||e===void 0}function dg(e){var t=Pt(e)&&!Na(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,a,s=n.length;for(i=0;i<s;i+=1)a=n[i],r=r||F(e,a);return t&&r}function ug(e){var t=Te(e),r=!1;return t&&(r=e.filter(function(n){return!Qe(n)&&ru(e)}).length===0),t&&r}function fg(e){var t=Pt(e)&&!Na(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<n.length;i+=1)a=n[i],r=r||F(e,a);return t&&r}function pg(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 hg(e,t){arguments.length===1&&(arguments[0]?lg(arguments[0])?(e=arguments[0],t=void 0):fg(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Y(),n=Qa(r,this).startOf("day"),i=E.calendarFormat(this,n)||"sameElse",a=t&&(He(t[i])?t[i].call(this,r):t[i]);return this.format(a||this.localeData().calendar(i,this,Y(r)))}function mg(){return new Qr(this)}function yg(e,t){var r=ge(e)?e:Y(e);return this.isValid()&&r.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function gg(e,t){var r=ge(e)?e:Y(e);return this.isValid()&&r.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function bg(e,t,r,n){var i=ge(e)?e:Y(e),a=ge(t)?t:Y(t);return this.isValid()&&i.isValid()&&a.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function xg(e,t){var r=ge(e)?e:Y(e),n;return this.isValid()&&r.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Sg(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function vg(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Eg(e,t,r){var n,i,a;if(!this.isValid())return NaN;if(n=Qa(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=we(t),t){case"year":a=Kn(this,n)/12;break;case"month":a=Kn(this,n);break;case"quarter":a=Kn(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-i)/864e5;break;case"week":a=(this-n-i)/6048e5;break;default:a=this-n}return r?a:ve(a)}function Kn(e,t){if(e.date()<t.date())return-Kn(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,a;return t-n<0?(i=e.clone().add(r-1,"months"),a=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),a=(t-n)/(i-n)),-(r+a)||0}E.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";E.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Og(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function _g(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Yn(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):He(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Yn(r,"Z")):Yn(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function wg(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+n+i+a)}function Cg(e){e||(e=this.isUtc()?E.defaultFormatUtc:E.defaultFormat);var t=Yn(this,e);return this.localeData().postformat(t)}function Ag(e,t){return this.isValid()&&(ge(e)&&e.isValid()||Y(e).isValid())?Ie({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Rg(e){return this.from(Y(),e)}function kg(e,t){return this.isValid()&&(ge(e)&&e.isValid()||Y(e).isValid())?Ie({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Tg(e){return this.to(Y(),e)}function nu(e){var t;return e===void 0?this._locale._abbr:(t=Xe(e),t!=null&&(this._locale=t),this)}var ou=_e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function iu(){return this._locale}var Jn=1e3,ar=60*Jn,Qn=60*ar,au=(365*400+97)*24*Qn;function sr(e,t){return(e%t+t)%t}function su(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-au:new Date(e,t,r).valueOf()}function cu(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-au:Date.UTC(e,t,r)}function Ig(e){var t,r;if(e=we(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?cu:su,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-=sr(t+(this._isUTC?0:this.utcOffset()*ar),Qn);break;case"minute":t=this._d.valueOf(),t-=sr(t,ar);break;case"second":t=this._d.valueOf(),t-=sr(t,Jn);break}return this._d.setTime(t),E.updateOffset(this,!0),this}function Ng(e){var t,r;if(e=we(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?cu:su,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+=Qn-sr(t+(this._isUTC?0:this.utcOffset()*ar),Qn)-1;break;case"minute":t=this._d.valueOf(),t+=ar-sr(t,ar)-1;break;case"second":t=this._d.valueOf(),t+=Jn-sr(t,Jn)-1;break}return this._d.setTime(t),E.updateOffset(this,!0),this}function Pg(){return this._d.valueOf()-(this._offset||0)*6e4}function Lg(){return Math.floor(this.valueOf()/1e3)}function Dg(){return new Date(this.valueOf())}function Mg(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Fg(){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 Ug(){return this.isValid()?this.toISOString():null}function Bg(){return Pa(this)}function Wg(){return Be({},P(this))}function Hg(){return P(this).overflow}function $g(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}R("N",0,0,"eraAbbr");R("NN",0,0,"eraAbbr");R("NNN",0,0,"eraAbbr");R("NNNN",0,0,"eraName");R("NNNNN",0,0,"eraNarrow");R("y",["y",1],"yo","eraYear");R("y",["yy",2],0,"eraYear");R("y",["yyy",3],0,"eraYear");R("y",["yyyy",4],0,"eraYear");_("N",Xa);_("NN",Xa);_("NNN",Xa);_("NNNN",Xg);_("NNNNN",eb);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?P(r).era=i:P(r).invalidEra=e});_("y",cr);_("yy",cr);_("yyy",cr);_("yyyy",cr);_("yo",tb);V(["y","yy","yyy","yyyy"],Z);V(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Z]=r._locale.eraYearOrdinalParse(e,i):t[Z]=parseInt(e,10)});function Vg(e,t){var r,n,i,a=this._eras||Xe("en")._eras;for(r=0,n=a.length;r<n;++r)switch(typeof a[r].since==="string"&&(i=E(a[r].since).startOf("day"),a[r].since=i.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":i=E(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}return a}function zg(e,t,r){var n,i,a=this.eras(),s,l,d;for(e=e.toUpperCase(),n=0,i=a.length;n<i;++n)if(s=a[n].name.toUpperCase(),l=a[n].abbr.toUpperCase(),d=a[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return a[n];break;case"NNNN":if(s===e)return a[n];break;case"NNNNN":if(d===e)return a[n];break}else if([s,l,d].indexOf(e)>=0)return a[n]}function Gg(e,t){var r=e.since<=e.until?1:-1;return t===void 0?E(e.since).year():E(e.since).year()+(t-e.offset)*r}function Yg(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function jg(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function Kg(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function Zg(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-E(i[e].since).year())*r+i[e].offset;return this.year()}function qg(e){return F(this,"_erasNameRegex")||es.call(this),e?this._erasNameRegex:this._erasRegex}function Jg(e){return F(this,"_erasAbbrRegex")||es.call(this),e?this._erasAbbrRegex:this._erasRegex}function Qg(e){return F(this,"_erasNarrowRegex")||es.call(this),e?this._erasNarrowRegex:this._erasRegex}function Xa(e,t){return t.erasAbbrRegex(e)}function Xg(e,t){return t.erasNameRegex(e)}function eb(e,t){return t.erasNarrowRegex(e)}function tb(e,t){return t._eraYearOrdinalRegex||cr}function es(){var e=[],t=[],r=[],n=[],i,a,s,l,d,f=this.eras();for(i=0,a=f.length;i<a;++i)s=qe(f[i].name),l=qe(f[i].abbr),d=qe(f[i].narrow),t.push(s),e.push(l),r.push(d),n.push(s),n.push(l),n.push(d);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}R(0,["gg",2],0,function(){return this.weekYear()%100});R(0,["GG",2],0,function(){return this.isoWeekYear()%100});function co(e,t){R(0,[e,e.length],0,t)}co("gggg","weekYear");co("ggggg","weekYear");co("GGGG","isoWeekYear");co("GGGGG","isoWeekYear");_("G",no);_("g",no);_("GG",z,be);_("gg",z,be);_("GGGG",Ba,Fa);_("gggg",Ba,Fa);_("GGGGG",ro,eo);_("ggggg",ro,eo);dr(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=D(e)});dr(["gg","GG"],function(e,t,r,n){t[n]=E.parseTwoDigitYear(e)});function rb(e){return lu.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function nb(e){return lu.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ob(){return Je(this.year(),1,4)}function ib(){return Je(this.isoWeekYear(),1,4)}function ab(){var e=this.localeData()._week;return Je(this.year(),e.dow,e.doy)}function sb(){var e=this.localeData()._week;return Je(this.weekYear(),e.dow,e.doy)}function lu(e,t,r,n,i){var a;return e==null?Ga(this,n,i).year:(a=Je(e,n,i),t>a&&(t=a),cb.call(this,e,t,r,n,i))}function cb(e,t,r,n,i){var a=$d(e,t,r,n,i),s=Lt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}R("Q",0,"Qo","quarter");_("Q",kd);V("Q",function(e,t){t[ye]=(D(e)-1)*3});function lb(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}R("D",["DD",2],"Do","date");_("D",z,lr);_("DD",z,be);_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],le);V("Do",function(e,t){t[le]=D(e.match(z)[0])});var du=ur("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear");_("DDD",to);_("DDDD",Td);V(["DDD","DDDD"],function(e,t,r){r._dayOfYear=D(e)});function db(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}R("m",["mm",2],0,"minute");_("m",z,Wa);_("mm",z,be);V(["m","mm"],Ee);var ub=ur("Minutes",!1);R("s",["ss",2],0,"second");_("s",z,Wa);_("ss",z,be);V(["s","ss"],Ze);var fb=ur("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)});R(0,["SS",2],0,function(){return~~(this.millisecond()/10)});R(0,["SSS",3],0,"millisecond");R(0,["SSSS",4],0,function(){return this.millisecond()*10});R(0,["SSSSS",5],0,function(){return this.millisecond()*100});R(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});R(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});R(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});R(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});_("S",to,kd);_("SS",to,be);_("SSS",to,Td);var dt,uu;for(dt="SSSS";dt.length<=9;dt+="S")_(dt,cr);function pb(e,t){t[Nt]=D(("0."+e)*1e3)}for(dt="S";dt.length<=9;dt+="S")V(dt,pb);uu=ur("Milliseconds",!1);R("z",0,0,"zoneAbbr");R("zz",0,0,"zoneName");function hb(){return this._isUTC?"UTC":""}function mb(){return this._isUTC?"Coordinated Universal Time":""}var v=Qr.prototype;v.add=sg;v.calendar=hg;v.clone=mg;v.diff=Eg;v.endOf=Ng;v.format=Cg;v.from=Ag;v.fromNow=Rg;v.to=kg;v.toNow=Tg;v.get=lm;v.invalidAt=Hg;v.isAfter=yg;v.isBefore=gg;v.isBetween=bg;v.isSame=xg;v.isSameOrAfter=Sg;v.isSameOrBefore=vg;v.isValid=Bg;v.lang=ou;v.locale=nu;v.localeData=iu;v.max=By;v.min=Uy;v.parsingFlags=Wg;v.set=dm;v.startOf=Ig;v.subtract=cg;v.toArray=Mg;v.toObject=Fg;v.toDate=Dg;v.toISOString=_g;v.inspect=wg;typeof Symbol<"u"&&Symbol.for!=null&&(v[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});v.toJSON=Ug;v.toString=Og;v.unix=Lg;v.valueOf=Pg;v.creationData=$g;v.eraName=Yg;v.eraNarrow=jg;v.eraAbbr=Kg;v.eraYear=Zg;v.year=Nd;v.isLeapYear=cm;v.weekYear=rb;v.isoWeekYear=nb;v.quarter=v.quarters=lb;v.month=Fd;v.daysInMonth=Sm;v.week=v.weeks=ay;v.isoWeek=v.isoWeeks=sy;v.weeksInYear=ab;v.weeksInWeekYear=sb;v.isoWeeksInYear=ob;v.isoWeeksInISOWeekYear=ib;v.date=du;v.day=v.days=Mm;v.weekday=Fm;v.isoWeekday=Um;v.dayOfYear=db;v.hour=v.hours=uy;v.minute=v.minutes=ub;v.second=v.seconds=fb;v.millisecond=v.milliseconds=uu;v.utcOffset=Ky;v.utc=qy;v.local=Jy;v.parseZone=Qy;v.hasAlignedHourOffset=Xy;v.isDST=eg;v.isLocal=rg;v.isUtcOffset=ng;v.isUtc=Xd;v.isUTC=Xd;v.zoneAbbr=hb;v.zoneName=mb;v.dates=_e("dates accessor is deprecated. Use date instead.",du);v.months=_e("months accessor is deprecated. Use month instead",Fd);v.years=_e("years accessor is deprecated. Use year instead",Nd);v.zone=_e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Zy);v.isDSTShifted=_e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",tg);function yb(e){return Y(e*1e3)}function gb(){return Y.apply(null,arguments).parseZone()}function fu(e){return e}var W=za.prototype;W.calendar=zm;W.longDateFormat=Ym;W.invalidDate=Km;W.ordinal=Jm;W.preparse=fu;W.postformat=fu;W.relativeTime=Xm;W.pastFuture=ey;W.set=$m;W.eras=Vg;W.erasParse=zg;W.erasConvertYear=Gg;W.erasAbbrRegex=Jg;W.erasNameRegex=qg;W.erasNarrowRegex=Qg;W.months=ym;W.monthsShort=gm;W.monthsParse=xm;W.monthsRegex=Em;W.monthsShortRegex=vm;W.week=ry;W.firstDayOfYear=iy;W.firstDayOfWeek=oy;W.weekdays=Im;W.weekdaysMin=Pm;W.weekdaysShort=Nm;W.weekdaysParse=Dm;W.weekdaysRegex=Bm;W.weekdaysShortRegex=Wm;W.weekdaysMinRegex=Hm;W.isPM=ly;W.meridiem=fy;function Xn(e,t,r,n){var i=Xe(),a=We().set(n,t);return i[r](a,e)}function pu(e,t,r){if(Qe(e)&&(t=e,e=void 0),e=e||"",t!=null)return Xn(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=Xn(e,n,r,"month");return i}function ts(e,t,r,n){typeof e=="boolean"?(Qe(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Qe(t)&&(r=t,t=void 0),t=t||"");var i=Xe(),a=e?i._week.dow:0,s,l=[];if(r!=null)return Xn(t,(r+a)%7,n,"day");for(s=0;s<7;s++)l[s]=Xn(t,(s+a)%7,n,"day");return l}function bb(e,t){return pu(e,t,"months")}function xb(e,t){return pu(e,t,"monthsShort")}function Sb(e,t,r){return ts(e,t,r,"weekdays")}function vb(e,t,r){return ts(e,t,r,"weekdaysShort")}function Eb(e,t,r){return ts(e,t,r,"weekdaysMin")}ut("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=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});E.lang=_e("moment.lang is deprecated. Use moment.locale instead.",ut);E.langData=_e("moment.langData is deprecated. Use moment.localeData instead.",Xe);var je=Math.abs;function Ob(){var e=this._data;return this._milliseconds=je(this._milliseconds),this._days=je(this._days),this._months=je(this._months),e.milliseconds=je(e.milliseconds),e.seconds=je(e.seconds),e.minutes=je(e.minutes),e.hours=je(e.hours),e.months=je(e.months),e.years=je(e.years),this}function hu(e,t,r,n){var i=Ie(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function _b(e,t){return hu(this,e,t,1)}function wb(e,t){return hu(this,e,t,-1)}function Od(e){return e<0?Math.floor(e):Math.ceil(e)}function Cb(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,a,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Od(Ia(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=ve(e/1e3),n.seconds=i%60,a=ve(i/60),n.minutes=a%60,s=ve(a/60),n.hours=s%24,t+=ve(s/24),d=ve(mu(t)),r+=d,t-=Od(Ia(d)),l=ve(r/12),r%=12,n.days=t,n.months=r,n.years=l,this}function mu(e){return e*4800/146097}function Ia(e){return e*146097/4800}function Ab(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=we(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+mu(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Ia(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function et(e){return function(){return this.as(e)}}var yu=et("ms"),Rb=et("s"),kb=et("m"),Tb=et("h"),Ib=et("d"),Nb=et("w"),Pb=et("M"),Lb=et("Q"),Db=et("y"),Mb=yu;function Fb(){return Ie(this)}function Ub(e){return e=we(e),this.isValid()?this[e+"s"]():NaN}function Dt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bb=Dt("milliseconds"),Wb=Dt("seconds"),Hb=Dt("minutes"),$b=Dt("hours"),Vb=Dt("days"),zb=Dt("months"),Gb=Dt("years");function Yb(){return ve(this.days()/7)}var Ke=Math.round,or={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function jb(e,t,r,n,i){return Wd.call(i,t||1,!!r,e,n)}function Kb(e,t,r,n){var i=Ie(e).abs(),a=Ke(i.as("s")),s=Ke(i.as("m")),l=Ke(i.as("h")),d=Ke(i.as("d")),f=Ke(i.as("M")),p=Ke(i.as("w")),h=Ke(i.as("y")),m=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||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||p<=1&&["w"]||p<r.w&&["ww",p]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||h<=1&&["y"]||["yy",h],m[2]=t,m[3]=+e>0,m[4]=n,jb.apply(null,m)}function Zb(e){return e===void 0?Ke:typeof e=="function"?(Ke=e,!0):!1}function qb(e,t){return or[e]===void 0?!1:t===void 0?or[e]:(or[e]=t,e==="s"&&(or.ss=t-1),!0)}function Jb(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=or,i,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Be(Be({},or),t||{}),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),a=Kb(this,!r,n,i),r&&(a=Hd.call(i,+this,a)),i.postformat(a)}var Oa=Math.abs;function nr(e){return(e>0)-(e<0)||+e}function lo(){if(!this.isValid())return this.localeData().invalidDate();var e=Oa(this._milliseconds)/1e3,t=Oa(this._days),r=Oa(this._months),n,i,a,s,l=this.asSeconds(),d,f,p,h;return l?(n=ve(e/60),i=ve(n/60),e%=60,n%=60,a=ve(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=nr(this._months)!==nr(l)?"-":"",p=nr(this._days)!==nr(l)?"-":"",h=nr(this._milliseconds)!==nr(l)?"-":"",d+"P"+(a?f+a+"Y":"")+(r?f+r+"M":"")+(t?p+t+"D":"")+(i||n||e?"T":"")+(i?h+i+"H":"")+(n?h+n+"M":"")+(e?h+s+"S":"")):"P0D"}var U=so.prototype;U.isValid=zy;U.abs=Ob;U.add=_b;U.subtract=wb;U.as=Ab;U.asMilliseconds=yu;U.asSeconds=Rb;U.asMinutes=kb;U.asHours=Tb;U.asDays=Ib;U.asWeeks=Nb;U.asMonths=Pb;U.asQuarters=Lb;U.asYears=Db;U.valueOf=Mb;U._bubble=Cb;U.clone=Fb;U.get=Ub;U.milliseconds=Bb;U.seconds=Wb;U.minutes=Hb;U.hours=$b;U.days=Vb;U.weeks=Yb;U.months=zb;U.years=Gb;U.humanize=Jb;U.toISOString=lo;U.toString=lo;U.toJSON=lo;U.locale=nu;U.localeData=iu;U.toIsoString=_e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lo);U.lang=ou;R("X",0,0,"unix");R("x",0,0,"valueOf");_("x",no);_("X",rm);V("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,r){r._d=new Date(D(e))});E.version="2.31.0";Zh(Y);E.fn=v;E.min=Wy;E.max=Hy;E.now=$y;E.utc=We;E.unix=yb;E.months=bb;E.isDate=qr;E.locale=ut;E.invalid=Jr;E.duration=Ie;E.isMoment=ge;E.weekdays=Sb;E.parseZone=gb;E.localeData=Xe;E.isDuration=jn;E.monthsShort=xb;E.weekdaysMin=Eb;E.defineLocale=ja;E.updateLocale=yy;E.locales=gy;E.weekdaysShort=vb;E.normalizeUnits=we;E.relativeTimeRounding=Zb;E.relativeTimeThreshold=qb;E.calendarFormat=pg;E.prototype=v;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 ie;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(ie||(ie={}));var gu=q`
87
+ `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var xd={};function Td(e,t){E.deprecationHandler!=null&&E.deprecationHandler(e,t),xd[e]||(kd(t+`
88
+ `+new Error().stack),xd[e]=!0)}E.suppressDeprecationWarnings=!1;E.deprecationHandler=null;function He(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}var Sd={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function we(e){return typeof e=="string"?Sd[e]||Sd[e.toLowerCase()]:void 0}function Ua(e){var t={},r,n;for(n in e)F(e,n)&&(r=we(n),r&&(t[r]=e[n]));return t}var Xh={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function em(e){var t=[],r;for(r in e)F(e,r)&&t.push({unit:r,priority:Xh[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}function Oe(e,t,r){var n=""+Math.abs(e),i=t-n.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var Ba=/(\[[^\[]*\])|(\\e)|(\\)?(eHHmm|[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,Gn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,_a={},ir={};function R(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(ir[e]=i),t&&(ir[t[0]]=function(){return Oe(i.apply(this,arguments),t[1],t[2])}),r&&(ir[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function tm(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function rm(e){var t=e.match(Ba),r,n;for(r=0,n=t.length;r<n;r++)ir[t[r]]?t[r]=ir[t[r]]:t[r]=tm(t[r]);return function(i){var a="",s;for(s=0;s<n;s++)a+=He(t[s])?t[s].call(i,e):t[s];return a}}function jn(e,t){if(!e.isValid())return e.localeData().invalidDate();t=Id(t,e.localeData());var r="$"+t;return F(_a,r)||(_a[r]=rm(t)),_a[r](e)}function Id(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(Gn.lastIndex=0;r>=0&&Gn.test(e);)e=e.replace(Gn,n),Gn.lastIndex=0,r-=1;return e}var Nd=/\d/,be=/\d\d/,Pd=/\d{3}/,Wa=/\d{4}/,to=/[+-]?\d{6}/,z=/\d\d?/,Ld=/\d\d\d\d?/,Ha=/\d\d\d\d\d\d?/,ro=/\d{1,3}/,$a=/\d{1,4}/,no=/[+-]?\d{1,6}/,cr=/\d+/,oo=/[+-]?\d+/,nm=/Z|[+-]\d\d:?\d\d/gi,io=/Z|[+-]\d\d(?::?\d\d)?/gi,om=/[+-]?\d+(\.\d{1,3})?/,en=/[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,lr=/^[1-9]\d?/,Va=/^([1-9]\d|\d)/,qn;qn={};function _(e,t,r){qn[e]=He(t)?t:function(n,i){return n&&r?r:t}}function im(e,t){return F(qn,e)?qn[e](t._strict,t._locale):new RegExp(am(e))}function am(e){return qe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,a){return r||n||i||a}))}function qe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ve(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function D(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ve(t)),r}var Ra={};function V(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),Qe(t)&&(n=function(a,s){s[t]=D(a)}),i=e.length,r=0;r<i;r++)Ra[e[r]]=n}function dr(e,t){V(e,function(r,n,i,a){i._w=i._w||{},t(r,i._w,i,a)})}function sm(e,t,r){t!=null&&F(Ra,e)&&Ra[e](t,r._a,r,e)}function ao(e){return e%4===0&&e%100!==0||e%400===0}var Z=0,ye=1,le=2,J=3,Ee=4,Ze=5,Nt=6,cm=7,lm=8;R("Y",0,0,function(){var e=this.year();return e<=9999?Oe(e,4):"+"+e});R(0,["YY",2],0,function(){return this.year()%100});R(0,["YYYY",4],0,"year");R(0,["YYYYY",5],0,"year");R(0,["YYYYYY",6,!0],0,"year");_("Y",oo);_("YY",z,be);_("YYYY",$a,Wa);_("YYYYY",no,to);_("YYYYYY",no,to);V(["YYYYY","YYYYYY"],Z);V("YYYY",function(e,t){t[Z]=e.length===2?E.parseTwoDigitYear(e):D(e)});V("YY",function(e,t){t[Z]=E.parseTwoDigitYear(e)});V("Y",function(e,t){t[Z]=parseInt(e,10)});function Kr(e){return ao(e)?366:365}E.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var Dd=ur("FullYear",!0);function dm(){return ao(this.year())}function ur(e,t){return function(r){return r!=null?(Md(this,e,r),E.updateOffset(this,t),this):Zr(this,e)}}function Zr(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Md(e,t,r){var n,i,a,s,l;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}a=r,s=e.month(),l=e.date(),l=l===29&&s===1&&!ao(a)?28:l,i?n.setUTCFullYear(a,s,l):n.setFullYear(a,s,l)}}function um(e){return e=we(e),He(this[e])?this[e]():this}function fm(e,t){if(typeof e=="object"){e=Ua(e);var r=em(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=we(e),He(this[e]))return this[e](t);return this}function pm(e,t){return(e%t+t)%t}var K;Array.prototype.indexOf?K=Array.prototype.indexOf:K=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function za(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=pm(t,12);return e+=(t-r)/12,r===1?ao(e)?29:28:31-r%7%2}R("M",["MM",2],"Mo",function(){return this.month()+1});R("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});R("MMMM",0,0,function(e){return this.localeData().months(this,e)});_("M",z,lr);_("MM",z,be);_("MMM",function(e,t){return t.monthsShortRegex(e)});_("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[ye]=D(e)-1});V(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[ye]=i:P(r).invalidMonth=e});var hm="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ud=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mm=en,ym=en,vd=["monthsParse","longMonthsParse","shortMonthsParse","monthsRegex","monthsShortRegex","monthsStrictRegex","monthsShortStrictRegex"];function gm(e,t){var r,n;for(r=0;r<vd.length;r++)n=vd[r],F(t,n)||delete e["_"+n]}function bm(e,t){return e?Te(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ud).test(t)?"format":"standalone"][e.month()]:Te(this._months)?this._months:this._months.standalone}function xm(e,t){return e?Te(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ud.test(t)?"format":"standalone"][e.month()]:Te(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Sm(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=We([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(i=K.call(this._shortMonthsParse,s),i!==-1?i:null):(i=K.call(this._longMonthsParse,s),i!==-1?i:null):t==="MMM"?(i=K.call(this._shortMonthsParse,s),i!==-1?i:(i=K.call(this._longMonthsParse,s),i!==-1?i:null)):(i=K.call(this._longMonthsParse,s),i!==-1?i:(i=K.call(this._shortMonthsParse,s),i!==-1?i:null))}function vm(e,t,r){var n,i,a;if(this._monthsParseExact)return Sm.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=We([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function Bd(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=D(t);else if(t=e.localeData().monthsParse(t),!Qe(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,za(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function Wd(e){return e!=null?(Bd(this,e),E.updateOffset(this,!0),this):Zr(this,"Month")}function Em(){return za(this.year(),this.month())}function Om(e){return this._monthsParseExact?(F(this,"_monthsRegex")||Hd.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(F(this,"_monthsShortRegex")||(this._monthsShortRegex=mm),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function _m(e){return this._monthsParseExact?(F(this,"_monthsRegex")||Hd.call(this),e?this._monthsStrictRegex:this._monthsRegex):(F(this,"_monthsRegex")||(this._monthsRegex=ym),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Hd(){function e(d,f){return f.length-d.length}var t=[],r=[],n=[],i,a,s,l;for(i=0;i<12;i++)a=We([2e3,i]),s=qe(this.monthsShort(a,"")),l=qe(this.months(a,"")),t.push(s),r.push(l),n.push(l),n.push(s);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}R("d",0,"do","day");R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});R("e",0,0,"weekday");R("E",0,0,"isoWeekday");R("eHHmm",0,0,function(){return""+this.weekday()+Oe(this.hours(),2)+Oe(this.minutes(),2)});_("d",z);_("e",z);_("E",z);_("eHHmm",Ha);_("dd",function(e,t){return t.weekdaysMinRegex(e)});_("ddd",function(e,t){return t.weekdaysShortRegex(e)});_("dddd",function(e,t){return t.weekdaysRegex(e)});dr(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:P(r).invalidWeekday=e});dr(["d","e","E"],function(e,t,r,n){t[n]=D(e)});dr("eHHmm",function(e,t,r){var n=e.length-4;t.e=D(e.substr(0,n)),r._a[J]=D(e.substr(n,2)),r._a[Ee]=D(e.substr(n+2))});function wm(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Cm(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ga(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Am="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),$d="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rm="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),km=en,Tm=en,Im=en,Ed=["weekdaysParse","fullWeekdaysParse","shortWeekdaysParse","minWeekdaysParse","weekdaysRegex","weekdaysShortRegex","weekdaysMinRegex","weekdaysStrictRegex","weekdaysShortStrictRegex","weekdaysMinStrictRegex"];function Nm(e,t){var r,n;for(r=0;r<Ed.length;r++)n=Ed[r],F(t,n)||delete e["_"+n]}function Pm(e,t){var r=Te(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ga(r,this._week.dow):e?r[e.day()]:r}function Lm(e){return e===!0?Ga(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Dm(e){return e===!0?Ga(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Mm(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=We([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(i=K.call(this._weekdaysParse,s),i!==-1?i:null):t==="ddd"?(i=K.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=K.call(this._minWeekdaysParse,s),i!==-1?i:null):t==="dddd"?(i=K.call(this._weekdaysParse,s),i!==-1||(i=K.call(this._shortWeekdaysParse,s),i!==-1)?i:(i=K.call(this._minWeekdaysParse,s),i!==-1?i:null)):t==="ddd"?(i=K.call(this._shortWeekdaysParse,s),i!==-1||(i=K.call(this._weekdaysParse,s),i!==-1)?i:(i=K.call(this._minWeekdaysParse,s),i!==-1?i:null)):(i=K.call(this._minWeekdaysParse,s),i!==-1||(i=K.call(this._weekdaysParse,s),i!==-1)?i:(i=K.call(this._shortWeekdaysParse,s),i!==-1?i:null))}function Fm(e,t,r){var n,i,a;if(this._weekdaysParseExact)return Mm.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=We([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Um(e){if(!this.isValid())return e!=null?this:NaN;var t=Zr(this,"Day");return e!=null?(e=wm(e,this.localeData()),this.add(e-t,"d")):t}function Bm(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 Wm(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Cm(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Hm(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Ya.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(F(this,"_weekdaysRegex")||(this._weekdaysRegex=km),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $m(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Ya.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(F(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Tm),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vm(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Ya.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(F(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Im),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ya(){function e(p,h){return h.length-p.length}var t=[],r=[],n=[],i=[],a,s,l,d,f;for(a=0;a<7;a++)s=We([2e3,1]).day(a),l=qe(this.weekdaysMin(s,"")),d=qe(this.weekdaysShort(s,"")),f=qe(this.weekdays(s,"")),t.push(l),r.push(d),n.push(f),i.push(l),i.push(d),i.push(f);t.sort(e),r.sort(e),n.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function zm(e){var t,r;gm(this,e),Nm(this,e);for(r in e)F(e,r)&&(t=e[r],He(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 ka(e,t){var r=Be({},e),n;for(n in t)F(t,n)&&(Pt(e[n])&&Pt(t[n])?(r[n]={},Be(r[n],e[n]),Be(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)F(e,n)&&!F(t,n)&&Pt(e[n])&&(r[n]=Be({},r[n]));return r}function ja(e){e!=null&&this.set(e)}var Ta;Object.keys?Ta=Object.keys:Ta=function(e){var t,r=[];for(t in e)F(e,t)&&r.push(t);return r};var Gm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Ym(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return He(n)?n.call(t,r):n}var jm={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 Km(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()],n=this._longDateFormatCache;return t||!r?t:n&&n[e]&&n[e].formatUpper===r?n[e].format:(t=r.match(Ba).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),n||(n=this._longDateFormatCache={}),n[e]={formatUpper:r,format:t},t)}var Zm="Invalid date";function qm(){return this._invalidDate}var Jm="%d",Qm=/\d{1,2}/;function Xm(e){return this._ordinal.replace("%d",e)}var ey={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 Vd(e,t,r,n){var i=this._relativeTime[r];return He(i)?i(e,t,r,n):i.replace(/%d/i,e)}function ty(e,t,r,n){return this.postformat(Vd.call(this,e,t,r,n))}function zd(e,t){var r=this._relativeTime[e>0?"future":"past"];return He(r)?r(t):r.replace(/%s/i,t)}function ry(e,t){return this.postformat(zd.call(this,e,t))}function ny(e,t,r,n,i,a,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,n,i,a,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,n,i,a,s),l}function Lt(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 Jn(e,t,r){var n=7+t-r,i=(7+Lt(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Gd(e,t,r,n,i){var a=(7+r-n)%7,s=Jn(e,n,i),l=1+7*(t-1)+a+s,d,f;return l<=0?(d=e-1,f=Kr(d)+l):l>Kr(e)?(d=e+1,f=l-Kr(e)):(d=e,f=l),{year:d,dayOfYear:f}}function Yd(e,t,r,n){var i=Jn(e,r,n),a=Math.floor((t-i-1)/7)+1,s,l;return a<1?(l=e-1,s=a+Je(l,r,n)):a>Je(e,r,n)?(s=a-Je(e,r,n),l=e+1):(l=e,s=a),{week:s,year:l}}function Ka(e,t,r){return Yd(e.year(),e.dayOfYear(),t,r)}function Od(e,t,r,n,i){var a=Math.round((Lt(e,t,r)-Lt(e,0,1))/864e5)+1;return Yd(e,a,n,i)}function Je(e,t,r){var n=Jn(e,t,r),i=Jn(e+1,t,r);return(Kr(e)-n+i)/7}R("w",["ww",2],"wo","week");R("W",["WW",2],"Wo","isoWeek");_("w",z,lr);_("ww",z,be);_("W",z,lr);_("WW",z,be);dr(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=D(e)});function oy(e){return Ka(e,this._week.dow,this._week.doy).week}var iy={dow:0,doy:6};function ay(){return this._week.dow}function sy(){return this._week.doy}function cy(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function ly(e){var t=Ka(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}function Za(){return this.hours()%12||12}function dy(){return this.hours()||24}R("H",["HH",2],0,"hour");R("h",["hh",2],0,Za);R("k",["kk",2],0,dy);R("hmm",0,0,function(){return""+Za.apply(this)+Oe(this.minutes(),2)});R("hmmss",0,0,function(){return""+Za.apply(this)+Oe(this.minutes(),2)+Oe(this.seconds(),2)});R("Hmm",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)});R("Hmmss",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)+Oe(this.seconds(),2)});function jd(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}jd("a",!0);jd("A",!1);function Kd(e,t){return t._meridiemParse}_("a",Kd);_("A",Kd);_("H",z,Va);_("h",z,lr);_("k",z,lr);_("HH",z,be);_("hh",z,be);_("kk",z,be);_("hmm",Ld);_("hmmss",Ha);_("Hmm",Ld);_("Hmmss",Ha);V(["H","HH"],J);V(["k","kk"],function(e,t,r){var n=D(e);t[J]=n===24?0:n});V(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});V(["h","hh"],function(e,t,r){t[J]=D(e),P(r).bigHour=!0});V("hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[Ee]=D(e.substr(n)),P(r).bigHour=!0});V("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[Ee]=D(e.substr(n,2)),t[Ze]=D(e.substr(i)),P(r).bigHour=!0});V("Hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[Ee]=D(e.substr(n))});V("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[Ee]=D(e.substr(n,2)),t[Ze]=D(e.substr(i))});function uy(e){return(e+"").toLowerCase().charAt(0)==="p"}var fy=/[ap]\.?m?\.?/i,py=ur("Hours",!0);function hy(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Zd={calendar:Gm,longDateFormat:jm,invalidDate:Zm,ordinal:Jm,dayOfMonthOrdinalParse:Qm,relativeTime:ey,months:hm,monthsShort:Fd,week:iy,weekdays:Am,weekdaysMin:Rm,weekdaysShort:$d,meridiemParse:fy},$={},Gr={},qr;function my(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function Ia(e){return e&&e.toLowerCase().replace("_","-")}function yy(e){for(var t=0,r,n,i,a;t<e.length;){for(a=Ia(e[t]).split("-"),r=a.length,n=Ia(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=so(a.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&my(a,n)>=r-1)break;r--}t++}return qr}function gy(e){return typeof e=="string"&&/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(e)}function so(e){var t=null,r,n;if(F($,e))return $[e];if(n=Ia(e),F($,n))return $[n];if(typeof module<"u"&&module&&module.exports&&gy(n))try{t=qr._abbr,r=as,r("./locale/"+n),ut(t)}catch{$[n]=null}if(F($,n))return $[n]}function ut(e,t){var r;return e&&(ce(t)?r=Xe(e):r=qa(e,t),r?qr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),qr._abbr}function qa(e,t){if(t!==null){var r,n=Zd;if(t.abbr=e,$[e]!=null)Td("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=$[e]._config;else if(t.parentLocale!=null)if($[t.parentLocale]!=null)n=$[t.parentLocale]._config;else if(r=so(t.parentLocale),r!=null)n=r._config;else return Gr[t.parentLocale]||(Gr[t.parentLocale]=[]),Gr[t.parentLocale].push({name:e,config:t}),null;return $[e]=new ja(ka(n,t)),Gr[e]&&Gr[e].forEach(function(i){qa(i.name,i.config)}),ut(e),$[e]}else return delete $[e],null}function by(e,t){var r,n=so(e),i=Zd;return n!=null&&(e=n._abbr),t!=null?($[e]!=null&&$[e].parentLocale!=null?$[e].set(ka($[e]._config,t)):(n!=null&&(i=n._config),t=ka(i,t),n==null&&(t.abbr=e),r=new ja(t),r.parentLocale=$[e],$[e]=r),ut(e)):$[e]!=null&&($[e].parentLocale!=null?($[e]=$[e].parentLocale,e===ut()&&ut(e)):$[e]!=null&&delete $[e]),$[e]}function Xe(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return qr;if(!Te(e)){if(t=so(e),t)return t;e=[e]}return yy(e)}function xy(){return Ta($)}function Ja(e){var t,r=e._a;return r&&P(e).overflow===-2&&(t=r[ye]<0||r[ye]>11?ye:r[le]<1||r[le]>za(r[Z],r[ye])?le:r[J]<0||r[J]>24||r[J]===24&&(r[Ee]!==0||r[Ze]!==0||r[Nt]!==0)?J:r[Ee]<0||r[Ee]>59?Ee:r[Ze]<0||r[Ze]>59?Ze:r[Nt]<0||r[Nt]>999?Nt:-1,P(e)._overflowDayOfYear&&(t<Z||t>le)&&(t=le),P(e)._overflowWeeks&&t===-1&&(t=cm),P(e)._overflowWeekday&&t===-1&&(t=lm),P(e).overflow=t),e}var Sy=/^\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)?)?$/,vy=/^\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)?)?$/,Ey=/Z|[+-]\d\d(?::?\d\d)?/,Yn=[["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]],wa=[["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/]],Oy=/^\/?Date\((-?\d+)/i,_y=/^(?:(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}))$/,wy={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function qd(e){var t,r,n=e._i,i=Sy.exec(n)||vy.exec(n),a,s,l,d,f=Yn.length,p=wa.length;if(i){for(P(e).iso=!0,t=0,r=f;t<r;t++)if(Yn[t][1].exec(i[1])){s=Yn[t][0],a=Yn[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(i[3]){for(t=0,r=p;t<r;t++)if(wa[t][1].exec(i[3])){l=(i[2]||" ")+wa[t][0];break}if(l==null){e._isValid=!1;return}}if(!a&&l!=null){e._isValid=!1;return}if(i[4])if(Ey.exec(i[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Xa(e)}else e._isValid=!1}function Cy(e,t,r,n,i,a){var s=[Ay(e),Fd.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function Ay(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ry(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ky(e,t,r){if(e){var n=$d.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return P(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Ty(e,t,r){if(e)return wy[e];if(t)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return a*60+i}function Jd(e){var t=_y.exec(Ry(e._i)),r;if(t){if(r=Cy(t[4],t[3],t[2],t[5],t[6],t[7]),!ky(t[1],r,e))return;e._a=r,e._tzm=Ty(t[8],t[9],t[10]),e._d=Lt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),P(e).rfc2822=!0}else e._isValid=!1}function Iy(e){var t=Oy.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(qd(e),e._isValid===!1)delete e._isValid;else return;if(Jd(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:E.createFromInputFallback(e)}E.createFromInputFallback=_e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Yr(e,t,r){return e??t??r}function _d(e,t,r){var n=Object.prototype.hasOwnProperty.call(e,"_isDefaultDatePartsForWeek"),i=e._isDefaultDatePartsForWeek;e._isDefaultDatePartsForWeek=!!r;try{return E._getDefaultDateParts(e,t,r)}finally{n?e._isDefaultDatePartsForWeek=i:delete e._isDefaultDatePartsForWeek}}function Ny(e){var t=e._defaultDatePartsNow;return t?(t.hasValue||(t.value=E.now(),t.hasValue=!0),t.value):E.now()}function Py(e,t,r){var n=r||e._isDefaultDatePartsForWeek,i=n?Y(t):new Date(t);return n?[i.year(),i.month(),i.date()]:e._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}E._getDefaultDateParts=Py;function Qa(e){var t,r,n=[],i,a,s,l,d;if(!e._d){for((e._a[Z]==null||e._a[ye]==null||e._a[le]==null)&&(i=Ny(e),a=_d(e,i)),e._w&&e._a[le]==null&&e._a[ye]==null&&Ly(e,_d(e,i,!0)),e._dayOfYear!=null&&(l=e._a[Z]!=null?e._a[Z]:a[Z],(e._dayOfYear>Kr(l)||e._dayOfYear===0)&&(P(e)._overflowDayOfYear=!0),r=Lt(l,0,e._dayOfYear),e._a[ye]=r.getUTCMonth(),e._a[le]=r.getUTCDate()),d=e._a[Z]==null||e._a[ye]==null||e._a[le]==null,t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[J]===24&&e._a[Ee]===0&&e._a[Ze]===0&&e._a[Nt]===0&&(e._nextDay=!0,e._a[J]=0),e._d=(e._useUTC?Lt:ny).apply(null,n),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[J]=24),e._w&&typeof e._w.d<"u"&&!d&&e._w.d!==s&&(P(e).weekdayMismatch=!0)}}function Ly(e,t){var r,n,i,a,s,l,d,f,p;r=e._w,r.GG!=null||r.W!=null||r.E!=null?(s=1,l=4,n=Yr(r.GG,e._a[Z],Od(t[Z],t[ye],t[le],1,4).year),i=Yr(r.W,1),a=Yr(r.E,1),(a<1||a>7)&&(f=!0)):(s=e._locale._week.dow,l=e._locale._week.doy,p=Od(t[Z],t[ye],t[le],s,l),n=Yr(r.gg,e._a[Z],p.year),i=Yr(r.w,p.week),r.d!=null?(a=r.d,(a<0||a>6)&&(f=!0)):r.e!=null?(a=r.e+s,(r.e<0||r.e>6)&&(f=!0)):a=s),i<1||i>Je(n,s,l)?P(e)._overflowWeeks=!0:f!=null?P(e)._overflowWeekday=!0:(d=Gd(n,i,a,s,l),e._a[Z]=d.year,e._dayOfYear=d.dayOfYear)}E.ISO_8601=function(){};E.RFC_2822=function(){};function Xa(e){if(e._f===E.ISO_8601){qd(e);return}if(e._f===E.RFC_2822){Jd(e);return}e._a=[],P(e).empty=!0;var t=""+e._i,r,n,i,a,s,l=t.length,d=0,f,p;for(i=Id(e._f,e._locale).match(Ba)||[],p=i.length,r=0;r<p;r++)a=i[r],n=(t.match(im(a,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&P(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),d+=n.length),ir[a]?(n?P(e).empty=!1:P(e).unusedTokens.push(a),sm(a,n,e)):e._strict&&!n&&P(e).unusedTokens.push(a);P(e).charsLeftOver=l-d,t.length>0&&P(e).unusedInput.push(t),e._a[J]<=12&&P(e).bigHour===!0&&e._a[J]>0&&(P(e).bigHour=void 0),P(e).parsedDateParts=e._a.slice(0),P(e).meridiem=e._meridiem,e._a[J]=Dy(e._locale,e._a[J],e._meridiem),f=P(e).era,f!==null&&(e._a[Z]=e._locale.erasConvertYear(f,e._a[Z])),Qa(e),Ja(e)}function Dy(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function My(e){var t,r,n,i,a,s,l=!1,d={},f=e._f.length;if(f===0){P(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<f;i++)a=0,s=!1,t=Fa({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._defaultDatePartsNow=d,t._f=e._f[i],Xa(t),Ma(t)&&(s=!0),a+=P(t).charsLeftOver,a+=P(t).unusedTokens.length*10,P(t).score=a,l?a<n&&(n=a,r=t):(n==null||a<n||s)&&(n=a,r=t,s&&(l=!0));Be(e,r||t)}function Fy(e){if(!e._d){var t=Ua(e._i),r=t.day===void 0?t.date:t.day;e._a=Rd([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Qa(e)}}function Uy(e){var t=new Xr(Ja(Qd(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Qd(e){var t=e._i,r=e._f;return e._locale=e._locale||Xe(e._l),t===null||r===void 0&&t===""?Qr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ge(t)?new Xr(Ja(t)):(Jr(t)?e._d=t:Te(r)?My(e):r?Xa(e):By(e),Ma(e)||(e._d=null),e))}function By(e){var t=e._i;ce(t)?e._d=new Date(E.now()):Jr(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Iy(e):Te(t)?(e._a=Rd(t.slice(0),function(r){return parseInt(r,10)}),Qa(e)):Pt(t)?Fy(e):Qe(t)?e._d=new Date(t):E.createFromInputFallback(e)}function Xd(e,t,r,n,i){var a={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Pt(e)&&Da(e)||Te(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=e,a._f=t,a._strict=n,Uy(a)}function Y(e,t,r,n){return Xd(e,t,r,n,!1)}var Wy=_e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Y.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Qr()}),Hy=_e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Y.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Qr()});function eu(e,t){var r,n;if(t.length===1&&Te(t[0])&&(t=t[0]),!t.length)return Y();for(n=0;n<t.length;++n)if(ge(t[n])){r=t[n];break}if(!r)return Qr();for(++n;n<t.length;++n)ge(t[n])&&(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function $y(){var e=[].slice.call(arguments,0);return eu("isBefore",e)}function Vy(){var e=[].slice.call(arguments,0);return eu("isAfter",e)}var zy=function(){return Date.now?Date.now():+new Date},jr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Gy(e){var t,r=!1,n,i=jr.length;for(t in e)if(F(e,t)&&!(K.call(jr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[jr[n]]){if(r)return!1;parseFloat(e[jr[n]])!==D(e[jr[n]])&&(r=!0)}return!0}function Yy(){return this._isValid}function jy(){return Ie(NaN)}function co(e){var t=Ua(e),r=t.year||0,n=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,p=t.millisecond||0;this._isValid=Gy(t),this._milliseconds=+p+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+a*7,this._months=+i+n*3+r*12,this._data={},this._locale=Xe(),this._bubble()}function Kn(e){return e instanceof co}function Na(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ky(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,s;for(s=0;s<n;s++)D(e[s])!==D(t[s])&&a++;return a+i}function tu(e,t){R(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Oe(~~(r/60),2)+t+Oe(~~r%60,2)})}tu("Z",":");tu("ZZ","");_("Z",io);_("ZZ",io);V(["Z","ZZ"],function(e,t,r){var n=es(io,e);r._useUTC=!0,r._tzm=n,n===null&&(P(r).invalidOffset=e)});var Zy=/([\+\-]|\d\d)/gi;function es(e,t){var r=(t||"").match(e),n,i,a;return r===null||(n=r[r.length-1]||[],i=(n+"").match(Zy)||["-",0,0],a=+(i[1]*60)+D(i[2]),D(i[2])>59||(i[0]==="+"?a>840:a>720))?null:a===0?0:i[0]==="+"?a:-a}function ts(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(ge(e)||Jr(e)?e.valueOf():Y(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),E.updateOffset(r,!1),r):Y(e).local()}function Pa(e){return-Math.round(e._d.getTimezoneOffset())}E.updateOffset=function(){};function qy(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=es(io,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=Pa(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?ou(this,Ie(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,E.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Pa(this)}function Jy(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qy(e){return this.utcOffset(0,e)}function Xy(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Pa(this),"m")),this}function eg(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=es(nm,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function tg(e){return this.isValid()?(e=e?Y(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function rg(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ng(){if(!ce(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Fa(e,this),e=Qd(e),e._a?(t=e._isUTC?We(e._a):Y(e._a),this._isDSTShifted=this.isValid()&&Ky(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function og(){return this.isValid()?!this._isUTC:!1}function ig(){return this.isValid()?this._isUTC:!1}function ru(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ag=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,sg=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ie(e,t){var r=e,n=null,i,a,s;return Kn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Qe(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=ag.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:D(n[le])*i,h:D(n[J])*i,m:D(n[Ee])*i,s:D(n[Ze])*i,ms:D(Na(n[Nt]*1e3))*i}):(n=sg.exec(e))?(i=n[1]==="-"?-1:1,r={y:It(n[2],i),M:It(n[3],i),w:It(n[4],i),d:It(n[5],i),h:It(n[6],i),m:It(n[7],i),s:It(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=cg(Y(r.from),Y(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new co(r),Kn(e)&&F(e,"_locale")&&(a._locale=e._locale),Kn(e)&&F(e,"_isValid")&&(a._isValid=e._isValid),a}Ie.fn=co.prototype;Ie.invalid=jy;function It(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function wd(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 cg(e,t){var r;return e.isValid()&&t.isValid()?(t=ts(t,e),e.isBefore(t)?r=wd(e,t):(r=wd(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function nu(e,t){return function(r,n){var i,a;return n!==null&&!isNaN(+n)&&(Td(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."),a=r,r=n,n=a),i=Ie(r,n),ou(this,i,e),this}}function ou(e,t,r,n){var i=t._milliseconds,a=Na(t._days),s=Na(t._months);e.isValid()&&(n=n??!0,s&&Bd(e,Zr(e,"Month")+s*r),a&&Md(e,"Date",Zr(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&E.updateOffset(e,a||s))}var lg=nu(1,"add"),dg=nu(-1,"subtract");function iu(e){return typeof e=="string"||e instanceof String}function ug(e){return ge(e)||Jr(e)||iu(e)||Qe(e)||pg(e)||fg(e)||e===null||e===void 0}function fg(e){var t=Pt(e)&&!Da(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,a,s=n.length;for(i=0;i<s;i+=1)a=n[i],r=r||F(e,a);return t&&r}function pg(e){var t=Te(e),r=!1;return t&&(r=e.filter(function(n){return!Qe(n)&&iu(e)}).length===0),t&&r}function hg(e){var t=Pt(e)&&!Da(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<n.length;i+=1)a=n[i],r=r||F(e,a);return t&&r}function mg(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 yg(e,t){arguments.length===1&&(arguments[0]?ug(arguments[0])?(e=arguments[0],t=void 0):hg(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Y(),n=ts(r,this).startOf("day"),i=E.calendarFormat(this,n)||"sameElse",a=t&&(He(t[i])?t[i].call(this,r):t[i]);return this.format(a||this.localeData().calendar(i,this,Y(r)))}function gg(){return new Xr(this)}function bg(e,t){var r=ge(e)?e:Y(e);return this.isValid()&&r.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function xg(e,t){var r=ge(e)?e:Y(e);return this.isValid()&&r.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Sg(e,t,r,n){var i=ge(e)?e:Y(e),a=ge(t)?t:Y(t);return this.isValid()&&i.isValid()&&a.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function vg(e,t){var r=ge(e)?e:Y(e),n;return this.isValid()&&r.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Eg(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Og(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function _g(e,t,r){var n,i,a;if(!this.isValid())return NaN;if(n=ts(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=we(t),t){case"year":a=Zn(this,n)/12;break;case"month":a=Zn(this,n);break;case"quarter":a=Zn(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-i)/864e5;break;case"week":a=(this-n-i)/6048e5;break;default:a=this-n}return r?a:ve(a)}function Zn(e,t){if(e.date()<t.date())return-Zn(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,a;return t-n<0?(i=e.clone().add(r-1,"months"),a=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),a=(t-n)/(i-n)),-(r+a)||0}E.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";E.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function wg(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Cg(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?jn(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):He(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",jn(r,"Z")):jn(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Ag(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+n+i+a)}function Rg(e){e||(e=this.isUtc()?E.defaultFormatUtc:E.defaultFormat);var t=jn(this,e);return this.localeData().postformat(t)}function kg(e,t){return this.isValid()&&(ge(e)&&e.isValid()||Y(e).isValid())?Ie({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Tg(e){return this.from(Y(),e)}function Ig(e,t){return this.isValid()&&(ge(e)&&e.isValid()||Y(e).isValid())?Ie({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ng(e){return this.to(Y(),e)}function au(e){var t;return e===void 0?this._locale._abbr:(t=Xe(e),t!=null&&(this._locale=t),this)}var su=_e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function cu(){return this._locale}var Qn=1e3,ar=60*Qn,Xn=60*ar,lu=(365*400+97)*24*Xn;function sr(e,t){return(e%t+t)%t}function du(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-lu:new Date(e,t,r).valueOf()}function uu(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-lu:Date.UTC(e,t,r)}function Pg(e){var t,r;if(e=we(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?uu:du,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-=sr(t+(this._isUTC?0:this.utcOffset()*ar),Xn);break;case"minute":t=this._d.valueOf(),t-=sr(t,ar);break;case"second":t=this._d.valueOf(),t-=sr(t,Qn);break}return this._d.setTime(t),E.updateOffset(this,!0),this}function Lg(e){var t,r;if(e=we(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?uu:du,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+=Xn-sr(t+(this._isUTC?0:this.utcOffset()*ar),Xn)-1;break;case"minute":t=this._d.valueOf(),t+=ar-sr(t,ar)-1;break;case"second":t=this._d.valueOf(),t+=Qn-sr(t,Qn)-1;break}return this._d.setTime(t),E.updateOffset(this,!0),this}function Dg(){return this._d.valueOf()-(this._offset||0)*6e4}function Mg(){return Math.floor(this.valueOf()/1e3)}function Fg(){return new Date(this.valueOf())}function Ug(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Bg(){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 Wg(){return this.isValid()?this.toISOString():null}function Hg(){return Ma(this)}function $g(){return Be({},P(this))}function Vg(){return P(this).overflow}function zg(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}R("N",0,0,"eraAbbr");R("NN",0,0,"eraAbbr");R("NNN",0,0,"eraAbbr");R("NNNN",0,0,"eraName");R("NNNNN",0,0,"eraNarrow");R("y",["y",1],"yo","eraYear");R("y",["yy",2],0,"eraYear");R("y",["yyy",3],0,"eraYear");R("y",["yyyy",4],0,"eraYear");_("N",rs);_("NN",rs);_("NNN",rs);_("NNNN",tb);_("NNNNN",rb);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?P(r).era=i:P(r).invalidEra=e});_("y",cr);_("yy",cr);_("yyy",cr);_("yyyy",cr);_("yo",nb);V(["y","yy","yyy","yyyy"],Z);V(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Z]=r._locale.eraYearOrdinalParse(e,i):t[Z]=parseInt(e,10)});function Gg(e,t){var r,n,i,a=this._eras||Xe("en")._eras;for(r=0,n=a.length;r<n;++r)switch(typeof a[r].since==="string"&&(i=E(a[r].since).startOf("day"),a[r].since=i.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":i=E(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}return a}function Yg(e,t,r){var n,i,a=this.eras(),s,l,d;for(e=e.toUpperCase(),n=0,i=a.length;n<i;++n)if(s=a[n].name.toUpperCase(),l=a[n].abbr.toUpperCase(),d=a[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return a[n];break;case"NNNN":if(s===e)return a[n];break;case"NNNNN":if(d===e)return a[n];break}else if([s,l,d].indexOf(e)>=0)return a[n]}function jg(e,t){var r=e.since<=e.until?1:-1;return t===void 0?E(e.since).year():E(e.since).year()+(t-e.offset)*r}function Kg(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function Zg(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function qg(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function Jg(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-E(i[e].since).year())*r+i[e].offset;return this.year()}function Qg(e){return F(this,"_erasNameRegex")||ns.call(this),e?this._erasNameRegex:this._erasRegex}function Xg(e){return F(this,"_erasAbbrRegex")||ns.call(this),e?this._erasAbbrRegex:this._erasRegex}function eb(e){return F(this,"_erasNarrowRegex")||ns.call(this),e?this._erasNarrowRegex:this._erasRegex}function rs(e,t){return t.erasAbbrRegex(e)}function tb(e,t){return t.erasNameRegex(e)}function rb(e,t){return t.erasNarrowRegex(e)}function nb(e,t){return t._eraYearOrdinalRegex||cr}function ns(){var e=[],t=[],r=[],n=[],i,a,s,l,d,f=this.eras();for(i=0,a=f.length;i<a;++i)s=qe(f[i].name),l=qe(f[i].abbr),d=qe(f[i].narrow),t.push(s),e.push(l),r.push(d),n.push(s),n.push(l),n.push(d);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}R(0,["gg",2],0,function(){return this.weekYear()%100});R(0,["GG",2],0,function(){return this.isoWeekYear()%100});function lo(e,t){R(0,[e,e.length],0,t)}lo("gggg","weekYear");lo("ggggg","weekYear");lo("GGGG","isoWeekYear");lo("GGGGG","isoWeekYear");_("G",oo);_("g",oo);_("GG",z,be);_("gg",z,be);_("GGGG",$a,Wa);_("gggg",$a,Wa);_("GGGGG",no,to);_("ggggg",no,to);dr(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=D(e)});dr(["gg","GG"],function(e,t,r,n){t[n]=E.parseTwoDigitYear(e)});function ob(e){return fu.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ib(e){return fu.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ab(){return Je(this.year(),1,4)}function sb(){return Je(this.isoWeekYear(),1,4)}function cb(){var e=this.localeData()._week;return Je(this.year(),e.dow,e.doy)}function lb(){var e=this.localeData()._week;return Je(this.weekYear(),e.dow,e.doy)}function fu(e,t,r,n,i){var a;return e==null?Ka(this,n,i).year:(a=Je(e,n,i),t>a&&(t=a),db.call(this,e,t,r,n,i))}function db(e,t,r,n,i){var a=Gd(e,t,r,n,i),s=Lt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}R("Q",0,"Qo","quarter");_("Q",Nd);V("Q",function(e,t){t[ye]=(D(e)-1)*3});function ub(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}R("D",["DD",2],"Do","date");_("D",z,lr);_("DD",z,be);_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],le);V("Do",function(e,t){t[le]=D(e.match(z)[0])});var pu=ur("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear");_("DDD",ro);_("DDDD",Pd);V(["DDD","DDDD"],function(e,t,r){r._dayOfYear=D(e)});function fb(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}R("m",["mm",2],0,"minute");_("m",z,Va);_("mm",z,be);V(["m","mm"],Ee);var pb=ur("Minutes",!1);R("s",["ss",2],0,"second");_("s",z,Va);_("ss",z,be);V(["s","ss"],Ze);var hb=ur("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)});R(0,["SS",2],0,function(){return~~(this.millisecond()/10)});R(0,["SSS",3],0,"millisecond");R(0,["SSSS",4],0,function(){return this.millisecond()*10});R(0,["SSSSS",5],0,function(){return this.millisecond()*100});R(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});R(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});R(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});R(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});_("S",ro,Nd);_("SS",ro,be);_("SSS",ro,Pd);var dt,hu;for(dt="SSSS";dt.length<=9;dt+="S")_(dt,cr);function mb(e,t){t[Nt]=D(("0."+e)*1e3)}for(dt="S";dt.length<=9;dt+="S")V(dt,mb);hu=ur("Milliseconds",!1);R("z",0,0,"zoneAbbr");R("zz",0,0,"zoneName");function yb(){return this._isUTC?"UTC":""}function gb(){return this._isUTC?"Coordinated Universal Time":""}var v=Xr.prototype;v.add=lg;v.calendar=yg;v.clone=gg;v.diff=_g;v.endOf=Lg;v.format=Rg;v.from=kg;v.fromNow=Tg;v.to=Ig;v.toNow=Ng;v.get=um;v.invalidAt=Vg;v.isAfter=bg;v.isBefore=xg;v.isBetween=Sg;v.isSame=vg;v.isSameOrAfter=Eg;v.isSameOrBefore=Og;v.isValid=Hg;v.lang=su;v.locale=au;v.localeData=cu;v.max=Hy;v.min=Wy;v.parsingFlags=$g;v.set=fm;v.startOf=Pg;v.subtract=dg;v.toArray=Ug;v.toObject=Bg;v.toDate=Fg;v.toISOString=Cg;v.inspect=Ag;typeof Symbol<"u"&&Symbol.for!=null&&(v[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});v.toJSON=Wg;v.toString=wg;v.unix=Mg;v.valueOf=Dg;v.creationData=zg;v.eraName=Kg;v.eraNarrow=Zg;v.eraAbbr=qg;v.eraYear=Jg;v.year=Dd;v.isLeapYear=dm;v.weekYear=ob;v.isoWeekYear=ib;v.quarter=v.quarters=ub;v.month=Wd;v.daysInMonth=Em;v.week=v.weeks=cy;v.isoWeek=v.isoWeeks=ly;v.weeksInYear=cb;v.weeksInWeekYear=lb;v.isoWeeksInYear=ab;v.isoWeeksInISOWeekYear=sb;v.date=pu;v.day=v.days=Um;v.weekday=Bm;v.isoWeekday=Wm;v.dayOfYear=fb;v.hour=v.hours=py;v.minute=v.minutes=pb;v.second=v.seconds=hb;v.millisecond=v.milliseconds=hu;v.utcOffset=qy;v.utc=Qy;v.local=Xy;v.parseZone=eg;v.hasAlignedHourOffset=tg;v.isDST=rg;v.isLocal=og;v.isUtcOffset=ig;v.isUtc=ru;v.isUTC=ru;v.zoneAbbr=yb;v.zoneName=gb;v.dates=_e("dates accessor is deprecated. Use date instead.",pu);v.months=_e("months accessor is deprecated. Use month instead",Wd);v.years=_e("years accessor is deprecated. Use year instead",Dd);v.zone=_e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Jy);v.isDSTShifted=_e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ng);function bb(e){return Y(e*1e3)}function xb(){return Y.apply(null,arguments).parseZone()}function mu(e){return e}var W=ja.prototype;W.calendar=Ym;W.longDateFormat=Km;W.invalidDate=qm;W.ordinal=Xm;W.preparse=mu;W.postformat=mu;W.relativeTime=ty;W.pastFuture=ry;W.set=zm;W.eras=Gg;W.erasParse=Yg;W.erasConvertYear=jg;W.erasAbbrRegex=Xg;W.erasNameRegex=Qg;W.erasNarrowRegex=eb;W.months=bm;W.monthsShort=xm;W.monthsParse=vm;W.monthsRegex=_m;W.monthsShortRegex=Om;W.week=oy;W.firstDayOfYear=sy;W.firstDayOfWeek=ay;W.weekdays=Pm;W.weekdaysMin=Dm;W.weekdaysShort=Lm;W.weekdaysParse=Fm;W.weekdaysRegex=Hm;W.weekdaysShortRegex=$m;W.weekdaysMinRegex=Vm;W.isPM=uy;W.meridiem=hy;function eo(e,t,r,n){var i=Xe(),a=We().set(n,t);return i[r](a,e)}function yu(e,t,r){if(Qe(e)&&(t=e,e=void 0),e=e||"",t!=null)return eo(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=eo(e,n,r,"month");return i}function os(e,t,r,n){typeof e=="boolean"?(Qe(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Qe(t)&&(r=t,t=void 0),t=t||"");var i=Xe(),a=e?i._week.dow:0,s,l=[];if(r!=null)return eo(t,(r+a)%7,n,"day");for(s=0;s<7;s++)l[s]=eo(t,(s+a)%7,n,"day");return l}function Sb(e,t){return yu(e,t,"months")}function vb(e,t){return yu(e,t,"monthsShort")}function Eb(e,t,r){return os(e,t,r,"weekdays")}function Ob(e,t,r){return os(e,t,r,"weekdaysShort")}function _b(e,t,r){return os(e,t,r,"weekdaysMin")}ut("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=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});E.lang=_e("moment.lang is deprecated. Use moment.locale instead.",ut);E.langData=_e("moment.langData is deprecated. Use moment.localeData instead.",Xe);var je=Math.abs;function wb(){var e=this._data;return this._milliseconds=je(this._milliseconds),this._days=je(this._days),this._months=je(this._months),e.milliseconds=je(e.milliseconds),e.seconds=je(e.seconds),e.minutes=je(e.minutes),e.hours=je(e.hours),e.months=je(e.months),e.years=je(e.years),this}function gu(e,t,r,n){var i=Ie(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Cb(e,t){return gu(this,e,t,1)}function Ab(e,t){return gu(this,e,t,-1)}function Cd(e){return e<0?Math.floor(e):Math.ceil(e)}function Rb(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,a,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Cd(La(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=ve(e/1e3),n.seconds=i%60,a=ve(i/60),n.minutes=a%60,s=ve(a/60),n.hours=s%24,t+=ve(s/24),d=ve(bu(t)),r+=d,t-=Cd(La(d)),l=ve(r/12),r%=12,n.days=t,n.months=r,n.years=l,this}function bu(e){return e*4800/146097}function La(e){return e*146097/4800}function kb(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=we(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+bu(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(La(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function et(e){return function(){return this.as(e)}}var xu=et("ms"),Tb=et("s"),Ib=et("m"),Nb=et("h"),Pb=et("d"),Lb=et("w"),Db=et("M"),Mb=et("Q"),Fb=et("y"),Ub=xu;function Bb(){return Ie(this)}function Wb(e){return e=we(e),this.isValid()?this[e+"s"]():NaN}function Dt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Hb=Dt("milliseconds"),$b=Dt("seconds"),Vb=Dt("minutes"),zb=Dt("hours"),Gb=Dt("days"),Yb=Dt("months"),jb=Dt("years");function Kb(){return ve(this.days()/7)}var Ke=Math.round,or={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zb(e,t,r,n,i){return Vd.call(i,t||1,!!r,e,n)}function qb(e,t,r,n){var i=Ie(e).abs(),a=Ke(i.as("s")),s=Ke(i.as("m")),l=Ke(i.as("h")),d=Ke(i.as("d")),f=Ke(i.as("M")),p=Ke(i.as("w")),h=Ke(i.as("y")),m=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||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||p<=1&&["w"]||p<r.w&&["ww",p]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||h<=1&&["y"]||["yy",h],m[2]=t,m[3]=+e>0,m[4]=n,Zb.apply(null,m)}function Jb(e){return e===void 0?Ke:typeof e=="function"?(Ke=e,!0):!1}function Qb(e,t){return or[e]===void 0?!1:t===void 0?or[e]:(or[e]=t,e==="s"&&(or.ss=t-1),!0)}function Xb(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=or,i,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Be(Be({},or),t||{}),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),a=qb(this,!r,n,i),r&&(a=zd.call(i,+this,a)),i.postformat(a)}var Ca=Math.abs;function nr(e){return(e>0)-(e<0)||+e}function uo(){if(!this.isValid())return this.localeData().invalidDate();var e=Ca(this._milliseconds)/1e3,t=Ca(this._days),r=Ca(this._months),n,i,a,s,l=this.asSeconds(),d,f,p,h;return l?(n=ve(e/60),i=ve(n/60),e%=60,n%=60,a=ve(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=nr(this._months)!==nr(l)?"-":"",p=nr(this._days)!==nr(l)?"-":"",h=nr(this._milliseconds)!==nr(l)?"-":"",d+"P"+(a?f+a+"Y":"")+(r?f+r+"M":"")+(t?p+t+"D":"")+(i||n||e?"T":"")+(i?h+i+"H":"")+(n?h+n+"M":"")+(e?h+s+"S":"")):"P0D"}var U=co.prototype;U.isValid=Yy;U.abs=wb;U.add=Cb;U.subtract=Ab;U.as=kb;U.asMilliseconds=xu;U.asSeconds=Tb;U.asMinutes=Ib;U.asHours=Nb;U.asDays=Pb;U.asWeeks=Lb;U.asMonths=Db;U.asQuarters=Mb;U.asYears=Fb;U.valueOf=Ub;U._bubble=Rb;U.clone=Bb;U.get=Wb;U.milliseconds=Hb;U.seconds=$b;U.minutes=Vb;U.hours=zb;U.days=Gb;U.weeks=Kb;U.months=Yb;U.years=jb;U.humanize=Xb;U.toISOString=uo;U.toString=uo;U.toJSON=uo;U.locale=au;U.localeData=cu;U.toIsoString=_e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo);U.lang=su;R("X",0,0,"unix");R("x",0,0,"valueOf");_("x",oo);_("X",om);V("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,r){r._d=new Date(D(e))});E.version="2.31.0";Jh(Y);E.fn=v;E.min=$y;E.max=Vy;E.now=zy;E.utc=We;E.unix=bb;E.months=Sb;E.isDate=Jr;E.locale=ut;E.invalid=Qr;E.duration=Ie;E.isMoment=ge;E.weekdays=Eb;E.parseZone=xb;E.localeData=Xe;E.isDuration=Kn;E.monthsShort=vb;E.weekdaysMin=_b;E.defineLocale=qa;E.updateLocale=by;E.locales=xy;E.weekdaysShort=Ob;E.normalizeUnits=we;E.relativeTimeRounding=Jb;E.relativeTimeThreshold=Qb;E.calendarFormat=mg;E.prototype=v;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 ie;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(ie||(ie={}));var Su=q`
89
89
  .sessions-chart {
90
90
  height: 100%;
91
91
  width: 100%;
92
92
  }
93
93
  `;var de=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};window.echarts==null&&console.warn("Echarts is not available");var ee=class extends ae{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=ie.DAY,this.data=[]}render(){return tt`
94
94
  <div class="sessions-chart"></div>
95
- `}firstUpdated(t){var r;super.firstUpdated(t),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var n;(n=this.myChart)===null||n===void 0||n.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===ie.DAY||t.period===ie.WEEK?E.utc(r*1e3).format("DD MMM YYYY"):t.period===ie.MONTH?E.utc(r*1e3).format("MMMM YYYY"):E.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=E.utc(t[0].data.value[0]*1e3),n=t.map(d=>d.data.value[1]),i,a,s="";switch(this.period){case ie.DAY:{i=r.format("DD MMM YYYY"),a="on",this.isThisPeriod(r,ie.DAY)&&(s=" so far");break}case ie.WEEK:{i=r.format("DD MMM YYYY"),a="during the week of",this.isThisPeriod(r,ie.WEEK)&&(s=" so far");break}case ie.MONTH:{a="in",i=r.format("MMMM YYYY"),this.isThisPeriod(r,ie.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<n.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,p=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,h=n[d]===1?p:f;l+=`${n[d].toLocaleString()} ${h} ${a} ${i}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,n=E.utc()){switch(r){case ie.DAY:return t.format("YYYY-MM-DD")===n.clone().startOf("day").format("YYYY-MM-DD");case ie.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===n.clone().startOf("isoWeek").format("YYYY-MM-DD");case ie.MONTH:return t.month()===n.month()&&t.year()===n.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let n=0;n<t;n++)r[n]={type:this.barChart?"bar":"line",data:this.getData(n)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(E.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};ee.styles=gu;de([I({type:String})],ee.prototype,"xAxisName",void 0);de([I({type:String})],ee.prototype,"yAxisName",void 0);de([I({type:String})],ee.prototype,"graphColor",void 0);de([I({type:String})],ee.prototype,"hoverColor",void 0);de([I({type:String})],ee.prototype,"tooltipBackgroundColor",void 0);de([I({type:String})],ee.prototype,"tooltipBorderColor",void 0);de([I({type:String})],ee.prototype,"tooltipTextColor",void 0);de([I({type:String})],ee.prototype,"tooltipBorderRadius",void 0);de([nt(void 0)],ee.prototype,"valueLabels",void 0);de([nt(void 0)],ee.prototype,"valueLabelsSingular",void 0);de([I({type:Boolean})],ee.prototype,"barChart",void 0);de([I({type:String})],ee.prototype,"period",void 0);de([nt([])],ee.prototype,"data",void 0);de([Oo(".sessions-chart")],ee.prototype,"container",void 0);var bu={"ft-chart":ee};Lo(bu);})();
95
+ `}firstUpdated(t){var r;super.firstUpdated(t),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var n;(n=this.myChart)===null||n===void 0||n.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===ie.DAY||t.period===ie.WEEK?E.utc(r*1e3).format("DD MMM YYYY"):t.period===ie.MONTH?E.utc(r*1e3).format("MMMM YYYY"):E.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=E.utc(t[0].data.value[0]*1e3),n=t.map(d=>d.data.value[1]),i,a,s="";switch(this.period){case ie.DAY:{i=r.format("DD MMM YYYY"),a="on",this.isThisPeriod(r,ie.DAY)&&(s=" so far");break}case ie.WEEK:{i=r.format("DD MMM YYYY"),a="during the week of",this.isThisPeriod(r,ie.WEEK)&&(s=" so far");break}case ie.MONTH:{a="in",i=r.format("MMMM YYYY"),this.isThisPeriod(r,ie.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<n.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,p=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,h=n[d]===1?p:f;l+=`${n[d].toLocaleString()} ${h} ${a} ${i}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,n=E.utc()){switch(r){case ie.DAY:return t.format("YYYY-MM-DD")===n.clone().startOf("day").format("YYYY-MM-DD");case ie.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===n.clone().startOf("isoWeek").format("YYYY-MM-DD");case ie.MONTH:return t.month()===n.month()&&t.year()===n.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let n=0;n<t;n++)r[n]={type:this.barChart?"bar":"line",data:this.getData(n)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(E.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};ee.styles=Su;de([I({type:String})],ee.prototype,"xAxisName",void 0);de([I({type:String})],ee.prototype,"yAxisName",void 0);de([I({type:String})],ee.prototype,"graphColor",void 0);de([I({type:String})],ee.prototype,"hoverColor",void 0);de([I({type:String})],ee.prototype,"tooltipBackgroundColor",void 0);de([I({type:String})],ee.prototype,"tooltipBorderColor",void 0);de([I({type:String})],ee.prototype,"tooltipTextColor",void 0);de([I({type:String})],ee.prototype,"tooltipBorderRadius",void 0);de([nt(void 0)],ee.prototype,"valueLabels",void 0);de([nt(void 0)],ee.prototype,"valueLabelsSingular",void 0);de([I({type:Boolean})],ee.prototype,"barChart",void 0);de([I({type:String})],ee.prototype,"period",void 0);de([nt([])],ee.prototype,"data",void 0);de([_o(".sessions-chart")],ee.prototype,"container",void 0);var vu={"ft-chart":ee};Do(vu);})();
96
96
  /*! Bundled license information:
97
97
 
98
98
  .store/@webcomponents-scoped-custom-element-registry-npm-0.0.9-2bdd05710b/package/src/scoped-custom-element-registry.js: