@fluid-topics/ft-chart 2.2.24 → 2.2.26

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 rs=(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,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,A=new Set(g.observedAttributes||[]);m(g,A,x);let k={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:A};this._definitionsByTag.set(y,k),this._definitionsByClass.set(g,k);let U=r.call(o,y);U||(U=p(y),t.call(o,y,U)),this===window.customElements&&(s.set(g,k),k.standInClass=U);let j=this._awaitingUpgrade.get(y);if(j){this._awaitingUpgrade.delete(y);for(let B of j)i.delete(B),S(B,k,!0)}let T=this._whenDefinedPromises.get(y);return T!==void 0&&(T.resolve(g),this._whenDefinedPromises.delete(y)),g}upgrade(){O.push(this),o.upgrade.apply(o,arguments),O.pop()}get(y){return this._definitionsByTag.get(y)?.elementClass}_getDefinition(y){return this._definitionsByTag.get(y)}whenDefined(y){let g=this._getDefinition(y);if(g!==void 0)return Promise.resolve(g.elementClass);let x=this._whenDefinedPromises.get(y);return x===void 0&&(x={},x.promise=new Promise(A=>x.resolve=A),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let A=this._awaitingUpgrade.get(g);A||this._awaitingUpgrade.set(g,A=new Set),x?A.add(y):A.delete(y)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;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 g=Reflect.construct(e,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),a.set(g,x),g},window.HTMLElement.prototype=e.prototype;let f=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!f(g)){let x=O[O.length-1];if(x instanceof CustomElementRegistry)return x;g=x.getRootNode(),f(g)||(g=l.get(g)?.getRootNode()||document)}return g.customElements},p=y=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let A=h(x)||window.customElements,k=A._getDefinition(y);return k?S(x,k):i.set(x,A),x}connectedCallback(){let x=a.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=a.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,y,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=a.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=a.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=a.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=a.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(y,g,x)=>{if(g.size===0||x===void 0)return;let A=y.prototype.setAttribute;A&&(y.prototype.setAttribute=function(j,T){let B=j.toLowerCase();if(g.has(B)){let Q=this.getAttribute(B);A.call(this,B,T),x.call(this,B,Q,T)}else A.call(this,B,T)});let k=y.prototype.removeAttribute;k&&(y.prototype.removeAttribute=function(j){let T=j.toLowerCase();if(g.has(T)){let B=this.getAttribute(T);k.call(this,T),x.call(this,T,B,null)}else k.call(this,T)});let U=y.prototype.toggleAttribute;U&&(y.prototype.toggleAttribute=function(j,T){let B=j.toLowerCase();if(g.has(B)){let Q=this.getAttribute(B);U.call(this,B,T);let Ne=this.getAttribute(B);x.call(this,B,Q,Ne)}else U.call(this,B,T)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===e?Object.setPrototypeOf(y,window.HTMLElement):b(g)},S=(y,g,x=!1)=>{Object.setPrototypeOf(y,g.elementClass.prototype),a.set(y,g),d=y;try{new g.elementClass}catch{b(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(A=>{y.hasAttribute(A)&&g.attributeChangedCallback.call(y,A,null,y.getAttribute(A))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},_=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=_.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let O=[document],C=(y,g,x=void 0)=>{let A=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){O.push(this);let k=A.apply(x||this,arguments);return k!==void 0&&l.set(k,this),O.pop(),k}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let D=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(A){O.push(this),x.set.call(this,A),O.pop()}})};if(D(Element,"innerHTML"),D(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let y=new WeakMap,g=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let T=g.call(this,...j);return y.set(T,this),T},x.forEach(j=>{let T=window.ElementInternals.prototype,B=T[j];T[j]=function(...Q){let Ne=y.get(this);if(a.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 A extends Array{constructor(T){super(...T),this._elements=T}get value(){return this._elements.find(T=>T.checked===!0)?.value||""}}class k{constructor(T){let B=new Map;T.forEach((Q,Ne)=>{let dn=Q.getAttribute("name"),ts=B.get(dn)||[];this[+Ne]=Q,ts.push(Q),B.set(dn,ts)}),this.length=T.length,B.forEach((Q,Ne)=>{Q&&(Q.length===1?this[Ne]=Q[0]:this[Ne]=new A(Q))})}namedItem(T){return this[T]}}let U=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=U.get.call(this,[]),T=[];for(let B of j){let Q=a.get(B);(!Q||Q.formAssociated===!0)&&T.push(B)}return new k(T)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,o,a)=>{var i;if(o!==null)try{t.bind(window.customElements)(r,o,a)}catch(s){!((i=s.message)===null||i===void 0)&&i.includes("this constructor has already been used")?window.customElements.define(r,class extends o{},a):console.info(r,o,a,s)}}}var vn={};M(vn,{CSSResult:()=>Mt,LitElement:()=>$e,ReactiveElement:()=>xe,_$LE:()=>Pu,_$LH:()=>bn,adoptStyles:()=>hr,css:()=>q,defaultConverter:()=>Ft,getCompatibleStyle:()=>to,html:()=>tt,isServer:()=>px,mathml:()=>Tu,noChange:()=>X,notEqual:()=>yr,nothing:()=>G,render:()=>xn,supportsAdoptingStyleSheets:()=>fr,svg:()=>ku,unsafeCSS:()=>pr});var eo=globalThis,fr=eo.ShadowRoot&&(eo.ShadyCSS===void 0||eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,un=Symbol(),os=new WeakMap,Mt=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==un)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(fr&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=os.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&os.set(r,t))}return t}toString(){return this.cssText}},pr=e=>new Mt(typeof e=="string"?e:e+"",void 0,un),q=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[i+1],e[0]);return new Mt(r,e,un)},hr=(e,t)=>{if(fr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),a=eo.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,e.appendChild(o)}},to=fr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return pr(r)})(e):e;var{is:Su,defineProperty:vu,getOwnPropertyDescriptor:Eu,getOwnPropertyNames:Ou,getOwnPropertySymbols:wu,getPrototypeOf:_u}=Object,ro=globalThis,ns=ro.trustedTypes,Cu=ns?ns.emptyScript:"",Au=ro.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"),ro.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 o=Symbol(),a=this.getPropertyDescriptor(t,o,r);a!==void 0&&vu(this.prototype,t,a)}}static getPropertyDescriptor(t,r,o){let{get:a,set:i}=Eu(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(t,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??as}static _$Ei(){if(this.hasOwnProperty(mr("elementProperties")))return;let t=_u(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,o=[...Ou(r),...wu(r)];for(let a of o)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let a of o)r.unshift(to(a))}else t!==void 0&&r.push(to(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return 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,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:Ft).toAttribute(r,o.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let o=this.constructor,a=o._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Ft;this._$Em=a;let l=s.fromAttribute(r,i.type);this[a]=l??this._$Ej?.get(a)??l,this._$Em=null}}requestUpdate(t,r,o,a=!1,i){if(t!==void 0){let s=this.constructor;if(a===!1&&(i=this[t]),o??=s.getPropertyOptions(t),!((o.hasChanged??yr)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};xe.elementStyles=[],xe.shadowRootOptions={mode:"open"},xe[mr("elementProperties")]=new Map,xe[mr("finalized")]=new Map,Au?.({ReactiveElement:xe}),(ro.reactiveElementVersions??=[]).push("2.1.2");var pn=globalThis,is=e=>e,oo=pn.trustedTypes,ss=oo?oo.createPolicy("lit-html",{createHTML:e=>e}):void 0,hn="$lit$",He=`lit$${Math.random().toFixed(9).slice(2)}$`,mn="?"+He,Ru=`<${mn}>`,ht=document,br=()=>ht.createComment(""),xr=e=>e===null||typeof e!="object"&&typeof e!="function",yn=Array.isArray,ps=e=>yn(e)||typeof e?.[Symbol.iterator]=="function",fn=`[
2
- \f\r]`,gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,cs=/-->/g,ls=/>/g,ft=RegExp(`>|${fn}(?:([^\\s"'>=/]+)(${fn}*=${fn}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ds=/'/g,us=/"/g,hs=/^(?:script|style|textarea|title)$/i,gn=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),tt=gn(1),ku=gn(2),Tu=gn(3),X=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),fs=new WeakMap,pt=ht.createTreeWalker(ht,129);function ms(e,t){if(!yn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ss!==void 0?ss.createHTML(t):t}var ys=(e,t)=>{let r=e.length-1,o=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=gr;for(let l=0;l<r;l++){let d=e[l],f,h,p=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===gr?h[1]==="!--"?s=cs:h[1]!==void 0?s=ls:h[2]!==void 0?(hs.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=ft):h[3]!==void 0&&(s=ft):s===ft?h[0]===">"?(s=a??gr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?ft:h[3]==='"'?us:ds):s===us||s===ds?s=ft:s===cs||s===ls?s=gr:(s=ft,a=void 0);let b=s===ft&&e[l+1].startsWith("/>")?" ":"";i+=s===gr?d+Ru:p>=0?(o.push(f),d.slice(0,p)+hn+d.slice(p)+He+b):d+He+(p===-2?l:b)}return[ms(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Sr=class e{constructor({strings:t,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=ys(t,r);if(this.el=e.createElement(f,o),pt.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=pt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(hn)){let m=h[s++],b=a.getAttribute(p).split(He),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:S[2],strings:b,ctor:S[1]==="."?ao:S[1]==="?"?io:S[1]==="@"?so:yt}),a.removeAttribute(p)}else p.startsWith(He)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(hs.test(a.tagName)){let p=a.textContent.split(He),m=p.length-1;if(m>0){a.textContent=oo?oo.emptyScript:"";for(let b=0;b<m;b++)a.append(p[b],br()),pt.nextNode(),d.push({type:2,index:++i});a.append(p[m],br())}}}else if(a.nodeType===8)if(a.data===mn)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(He,p+1))!==-1;)d.push({type:7,index:i}),p+=He.length-1}i++}}static createElement(t,r){let o=ht.createElement("template");return o.innerHTML=t,o}};function mt(e,t,r=e,o){if(t===X)return t;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=xr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(t=mt(e,a._$AS(e,t.values),a,o)),t}var no=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,a=(t?.creationScope??ht).importNode(r,!0);pt.currentNode=a;let i=pt.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Ut(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new co(i,this,t)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(i=pt.nextNode(),s++)}return pt.currentNode=ht,a}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},Ut=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,a){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=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):ps(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$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Sr.createElement(ms(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new no(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=fs.get(t.strings);return r===void 0&&fs.set(t.strings,r=new Sr(t)),r}k(t){yn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of t)a===r.length?r.push(o=new e(this.O(br()),this.O(br()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let o=is(t).nextSibling;is(t).remove(),t=o}}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,o,a,i){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=G}_$AI(t,r=this,o,a){let i=this.strings,s=!1;if(i===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=i[0],d=0;d<i.length-1;d++)f=mt(this,l[o+d],r,d),f===X&&(f=this._$AH[d]),s||=!xr(f)||f!==this._$AH[d],f===G?t=G:t!==G&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ao=class extends yt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}},io=class extends yt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},so=class extends yt{constructor(t,r,o,a,i){super(t,r,o,a,i),this.type=5}_$AI(t,r=this){if((t=mt(this,t,r,0)??G)===X)return;let o=this._$AH,a=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==G&&(o===G||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},co=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){mt(this,t)}},bn={M:hn,P:He,A:mn,C:1,L:ys,R:no,D:ps,V:mt,I:Ut,H:yt,N:io,U:so,B:ao,F:co},Iu=pn.litHtmlPolyfillSupport;Iu?.(Sr,Ut),(pn.litHtmlVersions??=[]).push("3.3.3");var xn=(e,t,r)=>{let o=r?.renderBefore??t,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Ut(t.insertBefore(br(),i),i,void 0,r??{})}return a._$AI(e),a};var Sn=globalThis,$e=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=xn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return X}};$e._$litElement$=!0,$e.finalized=!0,Sn.litElementHydrateSupport?.({LitElement:$e});var Nu=Sn.litElementPolyfillSupport;Nu?.({LitElement:$e});var Pu={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(Sn.litElementVersions??=[]).push("4.2.2");var px=!1;var On={};M(On,{customElement:()=>Lu,eventOptions:()=>Mu,property:()=>I,query:()=>En,queryAll:()=>Uu,queryAssignedElements:()=>Wu,queryAssignedNodes:()=>Hu,queryAsync:()=>Bu,standardProperty:()=>gs,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},gs=(e=Du,t,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),o==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(o==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e,!0,l)}}throw Error("Unsupported decorator location: "+o)};function I(e){return(t,r)=>typeof r=="object"?gs(e,t,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function ue(e){return I({...e,state:!0,attribute:!1})}function Mu(e){return(t,r)=>{let o=typeof t=="function"?t:t[r];Object.assign(o,e)}}var Ce=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function En(e,t){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ce(r,o,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ce(r,o,{get(){return i(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:o,selector:a}=e??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Ce(t,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(e)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function Hu(e){return(t,r)=>{let{slot:o}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ce(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var wn={};M(wn,{repeat:()=>uo});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,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:$u}=bn,bs=e=>e;var Ss=e=>e.strings===void 0,xs=()=>document.createComment(""),Bt=(e,t,r)=>{let o=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=o.insertBefore(xs(),a),s=o.insertBefore(xs(),a);r=new $u(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||l){let d=r._$AA;for(;d!==i;){let f=bs(d).nextSibling;bs(o).insertBefore(d,a),d=f}}}return r},rt=(e,t,r=e)=>(e._$AI(t,r),e),zu={},vs=(e,t=zu)=>e._$AH=t,Es=e=>e._$AH,lo=e=>{e._$AR(),e._$AA.remove()};var Os=(e,t,r)=>{let o=new Map;for(let a=t;a<=r;a++)o.set(e[a],a);return o},uo=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 o;r===void 0?r=t:t!==void 0&&(o=t);let a=[],i=[],s=0;for(let l of e)a[s]=o?o(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,o]){let a=Es(e),{values:i,keys:s}=this.dt(t,r,o);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,m=a.length-1,b=0,S=i.length-1;for(;p<=m&&b<=S;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(l[p]===s[b])d[b]=rt(a[p],i[b]),p++,b++;else if(l[m]===s[S])d[S]=rt(a[m],i[S]),m--,S--;else if(l[p]===s[S])d[S]=rt(a[p],i[S]),Bt(e,d[S+1],a[p]),p++,S--;else if(l[m]===s[b])d[b]=rt(a[m],i[b]),Bt(e,a[p],a[m]),m--,b++;else if(f===void 0&&(f=Os(s,b,S),h=Os(l,p,m)),f.has(l[p]))if(f.has(l[m])){let _=h.get(s[b]),O=_!==void 0?a[_]:null;if(O===null){let C=Bt(e,a[p]);rt(C,i[b]),d[b]=C}else d[b]=rt(O,i[b]),Bt(e,a[p],O),a[_]=null;b++}else lo(a[m]),m--;else lo(a[p]),p++;for(;b<=S;){let _=Bt(e,d[S+1]);rt(_,i[b]),d[b++]=_}for(;p<=m;){let _=a[p++];_!==null&&lo(_)}return this.ut=s,vs(e,d),X}});var _n={};M(_n,{classMap:()=>Vu});var Vu=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(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let a=!!t[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return X}});var Cn={};M(Cn,{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 o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let a=t[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(Gu);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?ws:""):r[o]=a}}return X}});var An={};M(An,{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 Rn={};M(Rn,{splitBreadcrumbForMenu:()=>Ku});function Ku(e,t=0,r=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let o=Math.max(r,1),a=e.slice(o*-1);return t+o>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-a.length),afterMenu:a}}var Bn={};M(Bn,{CacheRegistry:()=>Un,ClearCacheEvent:()=>wr});var Tn={};M(Tn,{CancelablePromise:()=>fo,CanceledPromiseError:()=>vr,cancelable:()=>kn});var vr=class extends Error{constructor(t,r,o){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=o}},fo=class extends Promise{constructor(t){super((r,o)=>t(a=>{this.isCanceled?o(new vr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new vr("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},kn=e=>new fo((t,r)=>e.then(t).catch(r));var Fn={};M(Fn,{FtNotificationEvent:()=>Or,PostResizeEvent:()=>Mn,PreResizeEvent:()=>Dn,WithEventBus:()=>xt,withEventBus:()=>Ds});var Ln={};M(Ln,{applyMixinOnce:()=>pe,customElements:()=>Pn,dateReviver:()=>Xu,deepCopy:()=>Ht,deepEqual:()=>bt,delay:()=>Rs,eventPathContainsMatchingElement:()=>tf,everyDeep:()=>Qu,flatDeep:()=>Ts,forEachDeep:()=>Is,getComposedPathTo:()=>Nn,groupBy:()=>af,hasChanged:()=>nt,ignoreComposingEvents:()=>nf,last:()=>rf,minmax:()=>gt,parseDate:()=>Ps,randomId:()=>of,someDeep:()=>Ns,unslotText:()=>Ls,waitFor:()=>ks,waitUntil:()=>Ju});var In={};M(In,{customElement:()=>Er,dateProperty:()=>qu,isNumber:()=>As,jsonProperty:()=>ot,jsonPropertyConverter:()=>_s,numberProperty:()=>Cs,optionalNumberProperty:()=>Zu});var Er=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},_s=e=>({fromAttribute:t=>{if(t==null)return Ht(e);try{return JSON.parse(t)}catch{return Ht(e)}},toAttribute:t=>JSON.stringify(t)});function ot(e,t){return I({type:Object,converter:_s(e),hasChanged:nt,...t??{}})}function Zu(e){return Cs(e)}function Cs(e){return I({type:Object,converter:{fromAttribute:t=>{var r,o;if(t==null)return;let a=(r=e?.min)!==null&&r!==void 0?r:-1/0,i=(o=e?.max)!==null&&o!==void 0?o:1/0;return As(t)?gt(a,+t,i):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function As(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 Rs=e=>new Promise(t=>setTimeout(t,e));async function Ju(e,t=10,r=2e4){await ks(async()=>await e()||void 0,t,r)}async function ks(e,t=10,r=2e4){let o=await e(),a=performance.now(),i=a;for(;o==null&&(!r||i-a<r);)await Rs(t),o=await e(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Ts(e,t){return e.flatMap(r=>[r,...Ts(t(r),t)])}function Is(e,t,r){let o=(a,i)=>{var s;for(let l=0;l<a.length;l++){let d=a[l];if(!(((s=r(d,l,a,i))!==null&&s!==void 0?s:!0)&&o(t(d),[...i,d])))return!1}return!0};o(e,[])}function Ns(e,t,r){let o=!1;return Is(e,t,(a,i,s,l)=>(o=!!r(a,i,s,l),!o)),o}function Qu(e,t,r){return!Ns(e,t,(o,a,i,s)=>!r(o,a,i,s))}function Xu(...e){return(t,r)=>e.includes(t)?Ps(r):r}function Ps(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,o,a)=>r+o+":"+a),new Date(e)}function 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,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!bt(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!bt(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null),i=a(e);if(r=i.length,r!==a(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=r;o--!==0;){let s=i[o];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 nt(e,t){return!bt(e,t)}function tf(e,t,r=window.document.body){if(t.length>0){let o=e.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function gt(e,t,r){return Math.min(Math.max(e,t),r)}function rf(e){return e[e.length-1]}function Ls(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ls(t)).join(""):e?.textContent||""}function Nn(e){let t=[],r=o=>{o.stopPropagation(),t=o.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Ht(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function of(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function pe(e,t){let r=o=>o[e]===!0;return o=>{if(r(o))return o;let a=t(o);return a[e]=!0,a}}function nf(){return function(e,t,r){let o=r.value;r.value=function(a,...i){if(a.isComposing||a.keyCode===229){a.stopPropagation();return}return o.apply(this,[a].concat(i))}}}function Pn(e){for(let[t,r]of Object.entries(e))Er(t)(r)}function af(e,t){var r,o;let a=typeof t=="function"?t:s=>s[t],i={};for(let s of e)((r=i[o=a(s)])!==null&&r!==void 0?r:i[o]=[]).push(s);return i}var Or=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Dn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Mn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ds=pe(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}),xt=class extends Ds(Object){};var wr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Un=class extends xt{constructor(){super(...arguments),this.content={}}register(t,r,o=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:o,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let o=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new wr(o)),o}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new wr([t])),t}forceClear(t){var r;let o=this.content[t];o&&(this.clearClearTimeout(t),(r=o.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(t){var r,o,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,o=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:o,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,o){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=kn(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,o;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[t])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Kn={};M(Kn,{ClusteringHelper:()=>jn,formatHierarchicalValues:()=>Yn});var Gn={};M(Gn,{accessBreadcrumb:()=>hf,accessResult:()=>Vn,accessResultId:()=>ff,accessResultUrl:()=>pf,enrichReaderUrl:()=>zn});var $n={};M($n,{SearchPlaceConverter:()=>St,SearchPlaceQueryParams:()=>N,isSearchPlaceQueryParams:()=>Oc,serializeRequest:()=>df});var sf=e=>typeof e=="object"&&e!=null;var cf=e=>typeof e=="number",po=e=>typeof e=="string",Hn=e=>sf(e)&&po(e.endpoint)&&po(e.method)&&po(e.statusText)&&po(e.body)&&cf(e.status),Ms;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Ms||(Ms={}));var Fs;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Fs||(Fs={}));var Us;(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"})(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.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ws||(Ws={}));var Hs;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Hs||(Hs={}));var $s;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})($s||($s={}));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 Vs;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Vs||(Vs={}));var Gs;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Gs||(Gs={}));var Ys;(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"})(Ys||(Ys={}));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 Ks;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Ks||(Ks={}));var Zs;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Zs||(Zs={}));var qs;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(qs||(qs={}));var Js;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Js||(Js={}));var Qs;(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"})(Qs||(Qs={}));var $t;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})($t||($t={}));var Xs;(function(e){e.ASC="ASC",e.DESC="DESC"})(Xs||(Xs={}));var ec;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ec||(ec={}));var Wn;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Wn||(Wn={}));var lc=e=>Object.keys(Wn).includes(e);var tc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(tc||(tc={}));var rc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(rc||(rc={}));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 zt;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(zt||(zt={}));var dc=e=>Object.keys(zt).includes(e);var nc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(nc||(nc={}));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 ic;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ic||(ic={}));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 sc;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(sc||(sc={}));var cc;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(cc||(cc={}));var uc;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(uc||(uc={}));var fc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(fc||(fc={}));var pc;(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"})(pc||(pc={}));var hc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(hc||(hc={}));var mc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(mc||(mc={}));var yc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(yc||(yc={}));var gc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(gc||(gc={}));var bc;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(bc||(bc={}));var xc;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(xc||(xc={}));var Sc;(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"})(Sc||(Sc={}));var vc;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(vc||(vc={}));var R0={[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 Ec(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function df(e,t){return new St(e).serialize(t)}var N;(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"})(N||(N={}));var uf=new Set(Object.values(N));function Oc(e){return uf.has(e)}var St=class e{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,l,d,f,h,p;let m=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&m.append(N.LOCALE,t.contentLocale):m.append(N.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&m.append(N.QUERY,t.query);let b=e.serializeValueFilters(t.metadataFilters);b&&m.append(N.VALUE_FILTERS,b);let S=e.serializeNegativeValueFilters(t.metadataFilters);S&&m.append(N.NEGATIVE_VALUE_FILTERS,S);let _=(d=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(y=>y.dateFilter))!==null&&d!==void 0?d:[];if(_.length>0){let y=_.map(g=>{var x;return`${g.key}~${(x=g.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(N.DATE_FILTERS,y)}let O=(f=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.rangeFilter))!==null&&f!==void 0?f:[];if(O.length>0){let y=O.map(g=>{var x,A;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(A=g.rangeFilter)===null||A===void 0?void 0:A.to}`}).join("*");m.append(N.RANGE_FILTERS,y)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(N.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&m.append(N.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&m.append(N.SORT,t.sortId),!((s=t.paging)===null||s===void 0)&&s.perPage&&((h=(l=t.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(N.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&m.append(N.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let C=(p=t.otherQueryParams)!==null&&p!==void 0?p:{};for(let y in C)m.append(y,C[y]);let D=new Array;return m.forEach((y,g)=>{D.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(D.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(t){var r,o,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(C){console.warn("Could not decode search request query params, fallback on raw value",C)}let d=new URLSearchParams(t),f=d.get(N.LOCALE)==="all"?void 0:d.get(N.LOCALE),h=((o=d.get(N.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),p=(r=d.get(N.SORT))===null||r===void 0?void 0:r.toLowerCase(),m=(a=d.get(N.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=d.get(N.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S=d.get(N.KEYWORD_MATCH),_=S?S.toUpperCase()===$t.MANDATORY?$t.MANDATORY:$t.OPTIONAL:void 0,O={};for(let C of d.keys())Oc(C)||(O[C]=d.get(C));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(N.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:lc(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:gt(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:_,otherQueryParams:O}}parseCompatFilters(t){var r,o,a,i,s,l,d;let f=[];return t.has(N.FILTERS)&&(f=e.parseValueFilters((r=t.get(N.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(N.PERIOD))!==null&&o!==void 0&&o&&(f=[...f,...this.parseLegacyPeriodFilter(((a=t.get(N.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...f,...e.parseValueFilters((i=t.get(N.VALUE_FILTERS))!==null&&i!==void 0?i:""),...e.parseValueFilters((s=t.get(N.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=t.get(N.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=t.get(N.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(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Ec).map(a=>this.unescapeFilterValue(a)),negative:r}}))}parseDateFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:zt[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,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}static superEscapeFilters(t){for(let[r,o,a]of e.filtersEscapeMapping)t=t.replaceAll(o,a);return t}static unescapeFilterValue(t){for(let[r,o,a]of e.filtersEscapeMapping)t=t.replaceAll(a,r);return t}parseLegacyPeriodFilter(t){if(dc(t))return[{key:"ft:lastEdition",dateFilter:{type:zt[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}static serializeValueFilter(t){var r,o;let a=((o=(r=t.valueFilter)===null||r===void 0?void 0:r.values)!==null&&o!==void 0?o:[]).map(i=>e.escapeFilters(i)).map(i=>lf(Ec(i))).join("_");return`${t.key}~${a}`}static serializeValueFilters(t){var r;let o=(r=t?.filter(a=>a.valueFilter&&!a.valueFilter.negative))!==null&&r!==void 0?r:[];if(o.length>0)return o.map(e.serializeValueFilter).join("*")}static serializeNegativeValueFilters(t){var r;let o=(r=t?.filter(a=>a.valueFilter&&a.valueFilter.negative))!==null&&r!==void 0?r:[];if(o.length>0)return o.map(e.serializeValueFilter).join("*")}static clearSearchParamsInUrl(t){let r=new URL(t);return[N.LOCALE,N.FILTERS,N.VALUE_FILTERS,N.NEGATIVE_VALUE_FILTERS,N.DATE_FILTERS,N.RANGE_FILTERS].forEach(a=>{r.searchParams.delete(a)}),r.toString()}static updateLocaleParamInUrl(t,r){let o=new URL(t);return o.searchParams.delete(N.LOCALE),r!==void 0&&o.searchParams.append(N.LOCALE,r),o.toString()}};St.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Vn(e){var t,r,o,a;return(a=(o=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&o!==void 0?o:e?.htmlPackage)!==null&&a!==void 0?a:e?.htmlPackagePage}function ff(e){var t,r,o,a,i,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:(o=e?.document)===null||o===void 0?void 0:o.documentId)!==null&&d!==void 0?d:(a=e?.htmlPackage)===null||a===void 0?void 0:a.packageId)!==null&&f!==void 0?f:(i=e?.htmlPackagePage)===null||i===void 0?void 0:i.contentId}function pf(e,t){var r,o,a,i,s,l,d,f,h;return(h=(f=(d=(l=zn((r=e?.map)===null||r===void 0?void 0:r.readerUrl,t))!==null&&l!==void 0?l:zn((o=e?.topic)===null||o===void 0?void 0:o.readerUrl,t))!==null&&d!==void 0?d:(a=e?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&f!==void 0?f:(i=e?.htmlPackage)===null||i===void 0?void 0:i.viewerUrl)!==null&&h!==void 0?h:(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 zn(e,t){if(t&&e){let r=URL.parse(e),o=St.serializeValueFilters(t);if(o&&r?.searchParams.append(N.VALUE_FILTERS,o),r)return r.toString()}return e}function Yn(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var jn=class e{constructor(t,r,o,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static findResultWithMetadataValue(t,r,o){return t?.find(a=>{var i;return((i=this.extractResultMetadata({result:a}).find(s=>s.key==r))===null||i===void 0?void 0:i.value)==o})}static extractResultMetadata(t){var r,o;let a=(o=(r=Vn(t.result))===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[];return t.key==null?e.flattenMetadata(a,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(a.find(i=>i.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,o){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(l=>{i.push(Yn(l)),s.push(Yn(l,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(l=>o?o(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,o="No value",a,i){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(l=d?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(t))===null||s===void 0?void 0:s.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:o}).filter(p=>p.value!=d?.value).filter((p,m,b)=>b.findIndex(S=>S.value===p.value)===m).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,m)=>this.compareMetadata(p.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,o,a){if(t==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let o=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,i);if(f>l&&(l=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Zn={};M(Zn,{Debouncer:()=>_r});var _r=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let o=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of o)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Xn={};M(Xn,{designSystemVariables:()=>Xf});var Qn={};M(Qn,{DesignSystemFamily:()=>Cr,DesignSystemSize:()=>Ar,FtCssVariableFactory:()=>n,badge:()=>If,banner:()=>Tf,button:()=>gf,card:()=>xf,chart:()=>jf,checkbox:()=>Of,chip:()=>Af,chipChoice:()=>Cf,chipGroup:()=>Rf,collapsible:()=>Gf,combobox:()=>zf,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:()=>Vf,radio:()=>wf,reorderableList:()=>Ff,resolveFamilyClass:()=>qn,resolveSizeClass:()=>Jn,semantic:()=>u,setVariable:()=>Vt,switch_:()=>Yf,table:()=>_f,tabs:()=>Bf,textArea:()=>Hf,textInput:()=>Wf,titleBreadcrumb:()=>Nf,toc:()=>Ef,toggle:()=>bf,tooltip:()=>Jf,treeList:()=>vf,typographies:()=>mf,typographyBody1Medium:()=>kc,typographyBody1Regular:()=>Rc,typographyBody1Semibold:()=>Tc,typographyBody2Medium:()=>Nc,typographyBody2MediumUnderline:()=>Pc,typographyBody2Regular:()=>Ic,typographyBody2Semibold:()=>Lc,typographyCaption1Medium:()=>Dc,typographyCaption1Semibold:()=>Mc,typographyCaption2Bold:()=>Bc,typographyCaption2Medium:()=>Fc,typographyCaption2Semibold:()=>Uc,typographyDisplay:()=>wc,typographyTitle1:()=>_c,typographyTitle2:()=>Cc,typographyTitle3:()=>Ac,typographyVariants:()=>yf});var at=e=>typeof e=="string"?pr(e):e,n=class{static create(t,r,o,a){let i=l=>at(l??a),s=q`var(${at(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Vt(s,l??i(a)),s.get=l=>q`var(${at(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,o,a){let i=l=>o.get(l??a),s=q`var(${at(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Vt(s,l??i(a)),s.get=l=>q`var(${at(t)}, ${i(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(t,r){let o=i=>t.defaultCssValue(i),a=q`var(${at(t.name)}, ${o(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>t.set(i),a.get=i=>q`var(${at(t.name)}, ${o(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Vt(e,t){return at(`${e.name}: ${t}`)}var c={colorWhite:n.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:n.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:n.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:n.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:n.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:n.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:n.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:n.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:n.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:n.create("--ftds-opacity-0","","NUMBER","0"),opacity4:n.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:n.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:n.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:n.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:n.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:n.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:n.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:n.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:n.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:n.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:n.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:n.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:n.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:n.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:n.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:n.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wc={fontFamily:n.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:n.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-display-text-case","","UNKNOWN","none")},_c={fontFamily:n.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:n.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Cc={fontFamily:n.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:n.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ac={fontFamily:n.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:n.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Rc={fontFamily:n.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},kc={fontFamily:n.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Tc={fontFamily:n.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Ic={fontFamily:n.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Nc={fontFamily:n.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Pc={fontFamily:n.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:n.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:n.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Lc={fontFamily:n.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Dc={fontFamily:n.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Mc={fontFamily:n.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Fc={fontFamily:n.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Uc={fontFamily:n.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Bc={fontFamily:n.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},mf={display:wc,"title-1":_c,"title-2":Cc,"title-3":Ac,"body-1-regular":Rc,"body-1-medium":kc,"body-1-semibold":Tc,"body-2-regular":Ic,"body-2-medium":Nc,"body-2-medium-underline":Pc,"body-2-semibold":Lc,"caption-1-medium":Dc,"caption-1-semibold":Mc,"caption-2-medium":Fc,"caption-2-semibold":Uc,"caption-2-bold":Bc},yf=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:n.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:n.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:n.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:n.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:n.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:n.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:n.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:n.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:n.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:n.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:n.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:n.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:n.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:n.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:n.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:n.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:n.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:n.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:n.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:n.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:n.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:n.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:n.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:n.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:n.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:n.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:n.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:n.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:n.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:n.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:n.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:n.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:n.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:n.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var gf={largeHeight:n.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:n.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:n.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:n.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:n.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:n.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:n.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:n.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:n.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:n.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:n.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:n.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:n.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:n.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:n.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:n.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:n.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:n.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:n.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:n.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:n.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:n.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:n.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:n.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:n.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:n.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:n.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:n.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:n.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:n.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:n.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:n.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:n.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:n.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:n.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:n.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:n.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var bf={iconSize:n.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:n.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:n.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:n.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:n.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:n.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:n.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:n.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:n.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:n.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ftds-toggle-gap","",c.spacing3),width:n.create("--ftds-toggle-width","","SIZE","36px"),height:n.create("--ftds-toggle-height","","SIZE","20px")};var xf={borderRadius:n.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:n.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:n.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:n.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:n.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:n.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:n.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:n.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:n.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:n.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:n.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:n.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:n.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:n.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:n.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:n.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:n.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:n.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:n.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:n.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:n.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:n.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:n.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:n.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:n.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:n.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:n.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:n.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:n.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:n.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:n.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:n.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:n.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:n.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:n.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:n.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:n.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:n.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:n.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:n.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:n.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:n.create("--ftds-card-internal-border-width","","SIZE","1px")};var Sf={borderRadius:n.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:n.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:n.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:n.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:n.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:n.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:n.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:n.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:n.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var vf={loadMoreIconSize:n.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:n.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:n.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:n.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:n.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:n.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:n.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:n.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:n.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:n.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:n.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:n.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:n.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:n.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:n.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:n.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:n.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:n.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:n.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:n.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:n.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:n.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:n.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:n.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:n.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:n.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:n.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:n.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:n.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:n.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:n.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:n.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:n.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:n.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:n.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Ef={titleColor:n.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:n.extend("--ftds-toc-title-gap","",c.spacing2),top:n.create("--ftds-toc-top","","SIZE","160px"),itemGap:n.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:n.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:n.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:n.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:n.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:n.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:n.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","3px"),itemRootDefaultLabelColor:n.extend("--ftds-toc-item-root-default-label-color","",u.contentGlobalSecondary),itemRootDefaultBorderColor:n.extend("--ftds-toc-item-root-default-border-color","",u.borderGlobalSubtle),itemRootHoverLabelColor:n.extend("--ftds-toc-item-root-hover-label-color","",u.contentGlobalSecondary),itemRootHoverBorderColor:n.extend("--ftds-toc-item-root-hover-border-color","",u.borderGlobalSubtle),itemRootHoverStateLayerColor:n.extend("--ftds-toc-item-root-hover-state-layer-color","",u.contentGlobalSecondary),itemRootHoverStateLayerOpacity:n.extend("--ftds-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:n.extend("--ftds-toc-item-root-focus-label-color","",u.contentGlobalSecondary),itemRootFocusStateLayerColor:n.extend("--ftds-toc-item-root-focus-state-layer-color","",u.contentGlobalSecondary),itemRootFocusStateLayerOpacity:n.extend("--ftds-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:n.extend("--ftds-toc-item-root-selected-label-color","",u.contentActionPrimary),itemRootSelectedBorderColor:n.extend("--ftds-toc-item-root-selected-border-color","",u.borderActionPrimary),itemRootSelectedBorderWidth:n.create("--ftds-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:n.extend("--ftds-toc-item-root-selected-state-layer-color","",u.contentActionPrimary),itemRootSelectedStateLayerOpacity:n.extend("--ftds-toc-item-root-selected-state-layer-opacity","",c.opacity8),itemRootChildrenActiveLabelColor:n.extend("--ftds-toc-item-root-children-active-label-color","",u.contentActionPrimary),itemRootChildrenActiveBorderColor:n.extend("--ftds-toc-item-root-children-active-border-color","",u.borderGlobalSubtle),itemChildDefaultLabelColor:n.extend("--ftds-toc-item-child-default-label-color","",u.contentGlobalSubtle),itemChildDefaultBorderColor:n.extend("--ftds-toc-item-child-default-border-color","",u.borderGlobalSubtle),itemChildHoverLabelColor:n.extend("--ftds-toc-item-child-hover-label-color","",u.contentGlobalSubtle),itemChildHoverBorderColor:n.extend("--ftds-toc-item-child-hover-border-color","",u.borderGlobalSubtle),itemChildHoverStateLayerColor:n.extend("--ftds-toc-item-child-hover-state-layer-color","",u.contentGlobalSecondary),itemChildHoverStateLayerOpacity:n.extend("--ftds-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:n.extend("--ftds-toc-item-child-focus-label-color","",u.contentGlobalSubtle),itemChildFocusStateLayerColor:n.extend("--ftds-toc-item-child-focus-state-layer-color","",u.contentGlobalSecondary),itemChildFocusStateLayerOpacity:n.extend("--ftds-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:n.extend("--ftds-toc-item-child-selected-label-color","",u.contentActionPrimary),itemChildSelectedBorderColor:n.extend("--ftds-toc-item-child-selected-border-color","",u.borderActionPrimary),itemChildSelectedBorderWidth:n.create("--ftds-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:n.extend("--ftds-toc-item-child-selected-state-layer-color","",u.contentActionPrimary),itemChildSelectedStateLayerOpacity:n.extend("--ftds-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var Of={iconSize:n.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:n.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:n.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:n.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:n.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:n.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:n.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:n.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:n.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:n.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:n.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:n.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:n.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:n.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:n.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:n.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:n.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:n.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:n.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:n.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:n.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:n.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:n.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var wf={circleSize:n.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ftds-radio-border-width","","SIZE","2px"),color:n.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:n.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:n.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:n.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:n.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:n.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:n.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:n.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var _f={headerRowBorderWidth:n.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:n.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:n.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:n.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:n.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:n.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:n.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:n.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:n.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:n.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:n.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:n.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:n.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:n.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:n.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:n.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:n.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:n.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Cf={neutralOffHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:n.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:n.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:n.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:n.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:n.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:n.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:n.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:n.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:n.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:n.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:n.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Af={largeMinHeight:n.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:n.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:n.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:n.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:n.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:n.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:n.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:n.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:n.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:n.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:n.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:n.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:n.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:n.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:n.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:n.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Rf={horizontalGap:n.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:n.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:n.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:n.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:n.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:n.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:n.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:n.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:n.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:n.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:n.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var kf={brandHoverOpacity:n.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:n.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:n.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:n.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:n.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:n.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:n.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:n.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:n.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:n.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:n.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:n.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:n.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:n.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:n.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:n.extend("--ftds-link-horizontal-gap","",c.spacing1)};var Tf={iconSize:n.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:n.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:n.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:n.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:n.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:n.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:n.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:n.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:n.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var If={horizontalPadding:n.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:n.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:n.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:n.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Nf={horizontalGap:n.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:n.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:n.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:n.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Pf={parentHorizontalPadding:n.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:n.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:n.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:n.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:n.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:n.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:n.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:n.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:n.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:n.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:n.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:n.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:n.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:n.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:n.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:n.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:n.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:n.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:n.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:n.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:n.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:n.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:n.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:n.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:n.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:n.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Lf={horizontalPadding:n.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:n.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:n.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:n.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:n.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:n.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Df={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Mf={smallContainerTargetWidth:n.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:n.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:n.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:n.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:n.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:n.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:n.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:n.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:n.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:n.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:n.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:n.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:n.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:n.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:n.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:n.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:n.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Ff={grabberIconSize:n.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:n.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:n.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:n.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:n.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:n.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:n.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:n.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:n.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:n.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:n.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:n.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:n.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:n.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:n.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:n.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Uf={overlayOpacity:n.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:n.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:n.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:n.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:n.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:n.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:n.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:n.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:n.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:n.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:n.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:n.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Bf={offBorderBottomWidth:n.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:n.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:n.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:n.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:n.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:n.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:n.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:n.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:n.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:n.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:n.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:n.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:n.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:n.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:n.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:n.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:n.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:n.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:n.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Wf={largeFieldHorizontalPadding:n.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:n.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Hf={backgroundColor:n.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:n.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-area-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-area-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-area-warning-helper-icon-color","",u.contentWarningIconOnly),focusFocusRingColor:n.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:n.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:n.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:n.create("--ftds-text-area-field-max-height","","SIZE","300px"),helperHorizontalPadding:n.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var $f={height:n.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:n.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:n.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:n.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:n.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:n.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:n.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:n.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:n.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:n.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:n.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:n.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:n.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:n.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:n.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:n.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:n.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:n.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:n.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:n.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:n.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:n.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:n.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:n.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:n.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:n.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:n.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:n.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:n.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var zf={menuVerticalGap:n.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:n.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:n.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:n.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:n.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:n.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:n.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:n.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:n.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:n.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:n.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:n.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:n.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:n.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:n.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:n.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:n.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:n.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var Vf={backgroundColor:n.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:n.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:n.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:n.extend("--ftds-popover-gap","",c.spacing2),borderRadius:n.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:n.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:n.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:n.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:n.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:n.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:n.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:n.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:n.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:n.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:n.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Gf={hoverStateLayerOpacity:n.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:n.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:n.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:n.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:n.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:n.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Yf={groupHorizontalPadding:n.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:n.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:n.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:n.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:n.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:n.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:n.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:n.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:n.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:n.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:n.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:n.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:n.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:n.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:n.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:n.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var jf={color1Light:n.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:n.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:n.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:n.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:n.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:n.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:n.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:n.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:n.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:n.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:n.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:n.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:n.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:n.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:n.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:n.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:n.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:n.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:n.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:n.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:n.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:n.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:n.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:n.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:n.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:n.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Kf={color1IconColor:n.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:n.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:n.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:n.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:n.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:n.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:n.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:n.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:n.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:n.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:n.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:n.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:n.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:n.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:n.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:n.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Zf={borderWidth:n.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:n.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:n.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:n.extend("--ftds-notice-gap","",c.spacing2),iconSize:n.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:n.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:n.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:n.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:n.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:n.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:n.create("--ftds-notice-dense-border-width","","SIZE","0")};var qf={iconSize:n.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:n.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:n.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:n.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:n.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:n.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:n.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:n.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Jf={horizontalPadding:n.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:n.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:n.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:n.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:n.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:n.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:n.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ftds-tooltip-gap","",c.spacing05)};var Qf={menuHorizontalPadding:n.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:n.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:n.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:n.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var 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 qn(e){return`ftds--family-${e}`}function Jn(e){return`ftds--size-${e}`}var Xf={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:n.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:n.create("--ft-color-warning","","COLOR","#B74706"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:n.create("--ft-color-success","","COLOR","#187856"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:n.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:n.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:n.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:n.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:n.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:n.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:n.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:n.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:n.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ea={};M(ea,{DynamicImporter:()=>ho,dynamicImporter:()=>ep});var ho=class{async import(t){if(t)return import(t)}},ep=new ho;var fa={};M(fa,{computeOffsetAutoPosition:()=>_p,computeOffsetPosition:()=>wp});var Hc=["top","right","bottom","left"],Wc=["start","end"],ra=Hc.reduce((e,t)=>e.concat(t,t+"-"+Wc[0],t+"-"+Wc[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 $c(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 oa(e){return e==="x"?"y":"x"}function na(e){return e==="y"?"height":"width"}function Yt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function aa(e){return oa(Yt(e))}function zc(e,t,r){r===void 0&&(r=!1);let o=Me(e),a=aa(e),i=na(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ta(s)),[s,ta(s)]}function Vc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function ta(e){let t=Et(e);return tp[t]+e.slice(t.length)}function rp(e){var t,r,o,a;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(o=e.bottom)!=null?o:0,left:(a=e.left)!=null?a:0}}function Gc(e){return typeof e!="number"?rp(e):{top:e,right:e,bottom:e,left:e}}function Ot(e){let{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function Yc(e,t,r){let{reference:o,floating:a}=e,i=Yt(t),s=aa(t),l=na(s),d=Et(t),f=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,m=o[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:o.y-a.height};break;case"bottom":b={x:h,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:p};break;case"left":b={x:o.x-a.width,y:p};break;default:b={x:o.x,y:o.y}}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:o,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:b=0}=Gt(t,e),S=Gc(b),O=l[m?p==="floating"?"reference":"floating":p],C=Ot(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(O)))==null||r?O:O.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),D=p==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),g=await(i.isElement==null?void 0:i.isElement(y))&&await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1},x=Ot(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:D,offsetParent:y,strategy:d}):D);return{top:(C.top-x.top+S.top)/g.y,bottom:(x.bottom-C.bottom+S.bottom)/g.y,left:(C.left-x.left+S.left)/g.x,right:(x.right-C.right+S.right)/g.x}}var op=50,Kc=async(e,t,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],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:a}),{x:h,y:p}=Yc(f,o,d),m=o,b=0,S={};for(let _=0;_<i.length;_++){let O=i[_];if(!O)continue;let{name:C,fn:D}=O,{x:y,y:g,data:x,reset:A}=await D({x:h,y:p,initialPlacement:o,placement:m,strategy:a,middlewareData:S,rects:f,platform:l,elements:{reference:e,floating:t}});h=y??h,p=g??p,S[C]={...S[C],...x},A&&b<op&&(b++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(f=A.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):A.rects),{x:h,y:p}=Yc(f,m,d)),_=-1)}return{x:h,y:p,placement:m,strategy:a,middlewareData:S}};function np(e,t,r){return(e?[...r.filter(a=>Me(a)===e),...r.filter(a=>Me(a)!==e)]:r.filter(a=>Et(a)===a)).filter(a=>e?Me(a)===e||(t?Vc(a)!==a:!1):!0)}var Zc=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:m=ra,autoAlignment:b=!0,...S}=Gt(e,t),_=p!==void 0||m===ra?np(p||null,b,m):m,O=((r=s.autoPlacement)==null?void 0:r.index)||0,C=_[O];if(C==null)return{};if(l!==C)return{reset:{placement:_[0]}};let D=await d.detectOverflow(t,S),y=zc(C,i,await(d.isRTL==null?void 0:d.isRTL(f.floating))),g=[D[Et(C)],D[y[0]],D[y[1]]],x=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:C,overflows:g}],A=_[O+1];if(A)return{data:{index:O+1,overflows:x},reset:{placement:A}};let k=x.map(T=>{let B=Me(T.placement);return[T.placement,B&&h?T.overflows.slice(0,2).reduce((Q,Ne)=>Q+Ne,0):T.overflows[0],T.overflows]}).sort((T,B)=>T[1]-B[1]),j=((a=k.filter(T=>T[2].slice(0,Me(T[0])?2:3).every(B=>B<=0))[0])==null?void 0:a[0])||k[0][0];return j!==l?{data:{index:O+1,overflows:x},reset:{placement:j}}:{}}}};var ap=new Set(["left","top"]);async function ip(e,t){let{placement:r,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Et(r),l=Me(r),d=Yt(r)==="y",f=ap.has(s)?-1:1,h=i&&d?-1:1,p=Gt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:S}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof S=="number"&&(b=l==="end"?S*-1:S),d?{x:b*h,y:m*f}:{x:m*f,y:b*h}}var qc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await ip(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Jc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:D=>{let{x:y,y:g}=D;return{x:y,y:g}}},...f}=Gt(e,t),h={x:r,y:o},p=await i.detectOverflow(t,f),m=Yt(a),b=oa(m),S=h[b],_=h[m],O=(D,y)=>$c(y+p[D==="y"?"top":"left"],y,y-p[D==="y"?"bottom":"right"]);s&&(S=O(b,S)),l&&(_=O(m,_));let C=d.fn({...t,[b]:S,[m]:_});return{...C,data:{x:C.x-r,y:C.y-o,enabled:{[b]:s,[m]:l}}}}}};var Qc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:o,platform:a,elements:i}=t,{apply:s=()=>{},...l}=Gt(e,t),d=await a.detectOverflow(t,l),f=Et(r),h=Me(r),p=Yt(r)==="y",{width:m,height:b}=o.floating,S,_;f==="top"||f==="bottom"?(S=f,_=h===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(_=f,S=h==="end"?"top":"bottom");let O=b-d.top-d.bottom,C=m-d.left-d.right,D=vt(b-d[S],O),y=vt(m-d[_],C),g=t.middlewareData.shift,x=!g,A=D,k=y;g!=null&&g.enabled.x&&(k=C),g!=null&&g.enabled.y&&(A=O),x&&!h&&(p?k=m-2*Le(d.left,d.right):A=b-2*Le(d.top,d.bottom)),await s({...t,availableWidth:k,availableHeight:A});let U=await a.getDimensions(i.floating);return m!==U.width||b!==U.height?{reset:{rects:!0}}:{}}}};function yo(){return typeof window<"u"}function _t(e){return el(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=(el(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function el(e){return yo()?e instanceof Node||e instanceof se(e).Node:!1}function Ae(e){return yo()?e instanceof Element||e instanceof se(e).Element:!1}function Ve(e){return yo()?e instanceof HTMLElement||e instanceof se(e).HTMLElement:!1}function Xc(e){return!yo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof se(e).ShadowRoot}function kr(e){let{overflow:t,overflowX:r,overflowY:o,display:a}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&a!=="inline"&&a!=="contents"}function tl(e){return/^(table|td|th)$/.test(_t(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/,wt=e=>!!e&&e!=="none",ia;function jt(e){let t=Ae(e)?Re(e):e;return wt(t.transform)||wt(t.translate)||wt(t.scale)||wt(t.rotate)||wt(t.perspective)||!go()&&(wt(t.backdropFilter)||wt(t.filter))||sp.test(t.willChange||"")||cp.test(t.contain||"")}function rl(e){let t=it(e);for(;Ve(t)&&!Kt(t);){if(jt(t))return t;if(Tr(t))return null;t=it(t)}return null}function go(){return ia==null&&(ia=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ia}function Kt(e){return/^(html|body|#document)$/.test(_t(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 it(e){if(_t(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Xc(e)&&e.host||ze(e);return Xc(t)?t.host:t}function ol(e){let t=it(e);return Kt(t)?(e.ownerDocument||e).body:Ve(t)&&kr(t)?t:ol(t)}function mo(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=ol(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=se(a);if(i){let l=bo(s);return t.concat(s,s.visualViewport||[],kr(a)?a:[],l&&r?mo(l):[])}else return t.concat(a,mo(a,[],r))}function bo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function il(e){let t=Re(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=Ve(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:o,l=Rr(r)!==i||Rr(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$:l}}function sl(e){return Ae(e)?e:e.contextElement}function Zt(e){let t=sl(e);if(!Ve(t))return De(1);let r=t.getBoundingClientRect(),{width:o,height:a,$:i}=il(t),s=(i?Rr(r.width):r.width)/o,l=(i?Rr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var lp=De(0);function cl(e){let t=se(e);return!go()||!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,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=sl(e),s=De(1);t&&(o?Ae(o)&&(s=Zt(o)):s=Zt(e));let l=dp(i,r,o)?cl(i):De(0),d=(a.left+l.x)/s.x,f=(a.top+l.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i&&o){let m=se(i),b=Ae(o)?se(o):o,S=m,_=bo(S);for(;_&&b!==S;){let O=Zt(_),C=_.getBoundingClientRect(),D=Re(_),y=C.left+(_.clientLeft+parseFloat(D.paddingLeft))*O.x,g=C.top+(_.clientTop+parseFloat(D.paddingTop))*O.y;d*=O.x,f*=O.y,h*=O.x,p*=O.y,d+=y,f+=g,S=se(_),_=bo(S)}}return Ot({width:h,height:p,x:d,y:f})}function xo(e,t){let r=Ir(e).scrollLeft;return t?t.left+r:Nr(ze(e)).left+r}function ll(e,t){let r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-xo(e,r),a=r.top+t.scrollTop;return{x:o,y:a}}function up(e){let{elements:t,rect:r,offsetParent:o,strategy:a}=e,i=a==="fixed",s=ze(o),l=t?Tr(t.floating):!1;if(o===s||l&&i)return r;let d={scrollLeft:0,scrollTop:0},f=De(1),h=De(0),p=Ve(o);if((p||!i)&&((_t(o)!=="body"||kr(s))&&(d=Ir(o)),p)){let b=Nr(o);f=Zt(o),h.x=b.x+o.clientLeft,h.y=b.y+o.clientTop}let m=s&&!p&&!i?ll(s,d):De(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+h.x+m.x,y:r.y*f.y-d.scrollTop*f.y+h.y+m.y}}function fp(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function pp(e){let t=Ir(e),r=e.ownerDocument.body,o=Le(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=Le(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),i=-t.scrollLeft+xo(e),s=-t.scrollTop;return Re(r).direction==="rtl"&&(i+=Le(e.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}var hp=25;function mp(e,t,r){r===void 0&&(r="viewport");let o=r==="layoutViewport",a=se(e),i=ze(e),s=a.visualViewport,l=i.clientWidth,d=i.clientHeight,f=0,h=0;if(s){let m=!go()||t==="fixed";o?m||(f=-s.offsetLeft,h=-s.offsetTop):(l=s.width,d=s.height,m&&(f=s.offsetLeft,h=s.offsetTop))}if(xo(i)<=0){let m=i.ownerDocument,b=m.body,S=getComputedStyle(b),_=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,O=Math.abs(i.clientWidth-b.clientWidth-_),C=getComputedStyle(i).scrollbarGutter==="stable both-edges"?O/2:O;C<=hp&&(l-=C)}return{width:l,height:d,x:f,y:h}}function yp(e,t){let r=Nr(e,!0,t==="fixed"),o=r.top+e.clientTop,a=r.left+e.clientLeft,i=Zt(e),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:l,x:d,y:f}}function nl(e,t,r){let o;if(t==="viewport"||t==="layoutViewport")o=mp(e,r,t);else if(t==="document")o=pp(ze(e));else if(Ae(t))o=yp(t,r);else{let a=cl(e);o={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Ot(o)}function gp(e,t){let r=t.get(e);if(r)return r;let o=mo(e,[],!1).filter(l=>Ae(l)&&_t(l)!=="body"),a=null,i=Re(e).position==="fixed",s=i?it(e):e;for(;Ae(s)&&!Kt(s);){let l=Re(s),d=jt(s),f=a?a.position:i?"fixed":"";!d&&(f==="fixed"||f==="absolute"&&l.position==="static")?o=o.filter(p=>p!==s):a=l,s=it(s)}return t.set(e,o),o}function bp(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e,s=[...r==="clippingAncestors"?Tr(t)?[]:gp(t,this._c):[].concat(r),o],l=nl(t,s[0],a),d=l.top,f=l.right,h=l.bottom,p=l.left;for(let m=1;m<s.length;m++){let b=nl(t,s[m],a);d=Le(b.top,d),f=vt(b.right,f),h=vt(b.bottom,h),p=Le(b.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function xp(e){let{width:t,height:r}=il(e);return{width:t,height:r}}function Sp(e,t,r){let o=Ve(t),a=ze(t),i=r==="fixed",s=Nr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=De(0);if((o||!i)&&((_t(t)!=="body"||kr(a))&&(l=Ir(t)),o)){let m=Nr(t,!0,i,t);d.x=m.x+t.clientLeft,d.y=m.y+t.clientTop}!o&&a&&(d.x=xo(a));let f=a&&!o&&!i?ll(a,l):De(0),h=s.left+l.scrollLeft-d.x-f.x,p=s.top+l.scrollTop-d.y-f.y;return{x:h,y:p,width:s.width,height:s.height}}function sa(e){return Re(e).position==="static"}function al(e,t){if(!Ve(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 dl(e,t){let r=se(e);if(Tr(e))return r;if(!Ve(e)){let a=it(e);for(;a&&!Kt(a);){if(Ae(a)&&!sa(a))return a;a=it(a)}return r}let o=al(e,t);for(;o&&tl(o)&&sa(o);)o=al(o,t);return o&&Kt(o)&&sa(o)&&!jt(o)?r:o||rl(e)||r}var vp=async function(e){let t=this.getOffsetParent||dl,r=this.getDimensions,o=await r(e.floating);return{reference:Sp(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ep(e){return Re(e).direction==="rtl"}var qt={convertOffsetParentRelativeRectToViewportRelativeRect:up,getDocumentElement:ze,getClippingRect:bp,getOffsetParent:dl,getElementRects:vp,getClientRects:fp,getDimensions:xp,getScale:Zt,isElement:Ae,isRTL:Ep};var ul=qc,ca=Zc,fl=Jc;var pl=Qc;var la=(e,t,r)=>{let o=new Map,a=r??{},i={...qt,...a.platform,_c:o};return Kc(e,t,{...a,platform:i})};function ua(e){return Op(e)}function da(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Op(e){for(let t=e;t;t=da(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=da(e);t;t=da(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 wp(e,t,r){let o;return typeof r=="object"?o=r:o={placement:r},la(e,t,{strategy:o.strategy,platform:{...qt,getOffsetParent:a=>qt.getOffsetParent(a,ua)},middleware:[fl({crossAxis:!0}),ca({allowedPlacements:[o.placement]})]})}async function _p(e,t,r,o,a,i,s){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,la(e,t,{placement:l,strategy:a,platform:{...qt,getOffsetParent:f=>qt.getOffsetParent(f,ua)},middleware:[ul(s??4),ca({allowedPlacements:o}),pl({apply({availableHeight:f,availableWidth:h,elements:p}){typeof i=="string"&&(i=`var(${i})`),i?p.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${i})`:p.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?p.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:p.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var pa={};M(pa,{isSlotEmptyOrWithoutContent:()=>Cp});var Cp=e=>e?e.assignedNodes({flatten:!0}).filter(o=>{var a;return o.nodeType===Node.TEXT_NODE?((a=o.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var xa={};M(xa,{FtdsBase:()=>ba,toFtdsBase:()=>Sl});var ga={};M(ga,{ExportpartsUpdatedEvent:()=>Ct,FtLitElement:()=>ie});var ha={};M(ha,{ScopedRegistryLitElement:()=>Pr});var Pr=class extends $e{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},o=this.renderOptions.creationScope=this.attachShadow(r);return hr(o,t.elementStyles),o}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([r,o])=>this.defineScopedElement(r,o))}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 ya={};M(ya,{shadowQuerySelector:()=>ma,shadowQuerySelectorAll:()=>Ap});function ma(e,t,...r){var o;let a=e.querySelector(t);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function Ap(e,t,...r){let o=[...e.querySelectorAll(t)];for(let a of r)o=o.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return o}var Jt=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},gl,hl=Symbol("constructorPrototype"),ml=Symbol("constructorName"),bl=Symbol("exportpartsDebouncer"),yl=Symbol("dynamicDependenciesLoaded"),Ct=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Ct.eventName="exportparts-updated";var ie=class extends Pr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[gl]=new _r(5),this.scheduleExportpartsUpdate=()=>{var t,r,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[bl].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[ml]=this.constructor.name,this[hl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ml]&&Object.setPrototypeOf(this,this[hl])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[yl]||(r[yl]=!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:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=ma(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,o,a,i,s,l;let d=m=>m!=null&&m.trim().length>0,f=t.filter(d).map(m=>m.trim());if(f.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(s=(o=m.getAttribute("part"))===null||o===void 0?void 0:o.split(" "))!==null&&s!==void 0?s:[],S=(l=(a=m.getAttribute("exportparts"))===null||a===void 0?void 0:a.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[],_=[...b,...S].filter(d).map(O=>O.trim());for(let O of _)h.add(O)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...p].join(", ")}};gl=bl;Jt([I()],ie.prototype,"exportpartsPrefix",void 0);Jt([ot([])],ie.prototype,"exportpartsPrefixes",void 0);Jt([I({reflect:!0})],ie.prototype,"exportparts",void 0);Jt([I()],ie.prototype,"customStylesheet",void 0);Jt([I()],ie.prototype,"elementToFocus",void 0);Jt([ue()],ie.prototype,"useAdoptedStyleSheets",void 0);var xl=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Sl=pe(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Ar.medium,this.family=Cr.neutral}getDesignSystemBaseClasses(){return{[qn(this.family)]:!0,[Jn(this.size)]:!0}}}return xl([I()],t.prototype,"size",void 0),xl([I()],t.prototype,"family",void 0),t}),ba=class extends Sl(ie){};var vl={};var va={};M(va,{highlightHtml:()=>Tp,highlightHtmlColorCssVariable:()=>El,highlightHtmlStyles:()=>kp});var At=class e{constructor(t,r=!0,o=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(t,r){let o=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(t,r,o=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(t){let r="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(t,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,o))}catch{o()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,o){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,o):this.getIframeContents(t,r,o):this.observeIframeLoad(t,r,o)}catch{o()}}waitForIframes(t,r){let o=0;this.forEachIframe(t,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(t,r,o,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,o(h)),d()},d)})}createIterator(t,r,o){return document.createNodeIterator(t,r,o,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,o){let a=t.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),o;return r===null?o=t.nextNode():o=t.nextNode()&&t.nextNode(),{prevNode:r,node:o}}checkIframeFilter(t,r,o,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===o&&(i=d,s=l.handled)}),this.compareNodeIframe(t,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(t,r,o,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(t,r,o,a,i){let s=this.createIterator(r,t,a),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),a)}),d.push(f);d.forEach(m=>{o(m)}),this.iframes&&this.handleOpenIframes(l,t,o,a),i()}forEachNode(t,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var 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 o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],o=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,o);l&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(t,r){let o,a,i=!1;return t&&typeof t.start<"u"?(o=parseInt(t.start,10),a=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:a,valid:i}}checkWhitespaceRanges(t,r,o){let a,i=!0,s=o.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:o})})}matchesExclude(t){return At.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,o){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(r),s=i.splitText(o-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(t,r,o,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(o>s.end?s.end:o)-s.start,p=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+m,t.nodes.forEach((b,S)=>{S>=l&&(t.nodes[S].start>0&&S!==l&&(t.nodes[S].start-=h),t.nodes[S].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,p=>o(d[s],p),(p,m)=>{t.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(t,r,o,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,m=>r(m,l,i.value.substring(f,h),d),m=>{o(m,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));r.replaceChild(o,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),i,()=>{o===0&&this.opt.noMatch(t),this.opt.done(o)})}mark(t,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,b)=>this.opt.filter(b,f,o,p),m=>{p++,o++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(o):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(t,r){this.opt=r;let o=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=At.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Sa(e){let t=new Lr(e);return this.mark=(r,o)=>(t.mark(r,o),this),this.markRegExp=(r,o)=>(t.markRegExp(r,o),this),this.markRanges=(r,o)=>(t.markRanges(r,o),this),this.unmark=r=>(t.unmark(r),this),this}var Rp=Sa,El=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),kp=q`
1
+ "use strict";(()=>{var xu=Object.defineProperty;var os=(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,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(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,_=new Set(y.observedAttributes||[]);m(y,_,x);let I={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:_};this._definitionsByTag.set(g,I),this._definitionsByClass.set(y,I);let H=r.call(o,g);H||(H=p(g),t.call(o,g,H)),this===window.customElements&&(s.set(y,I),I.standInClass=H);let j=this._awaitingUpgrade.get(g);if(j){this._awaitingUpgrade.delete(g);for(let B of j)i.delete(B),S(B,I,!0)}let k=this._whenDefinedPromises.get(g);return k!==void 0&&(k.resolve(y),this._whenDefinedPromises.delete(g)),y}upgrade(){O.push(this),o.upgrade.apply(o,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(_=>x.resolve=_),this._whenDefinedPromises.set(g,x)),x.promise}_upgradeWhenDefined(g,y,x){let _=this._awaitingUpgrade.get(y);_||this._awaitingUpgrade.set(y,_=new Set),x?_.add(g):_.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),a.set(y,x),y},window.HTMLElement.prototype=e.prototype;let f=g=>g===document||g instanceof ShadowRoot,h=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},p=g=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let _=h(x)||window.customElements,I=_._getDefinition(g);return I?S(x,I):i.set(x,_),x}connectedCallback(){let x=a.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,g,!0)}disconnectedCallback(){let x=a.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,g,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=a.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=a.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=a.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=a.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(g,y,x)=>{if(y.size===0||x===void 0)return;let _=g.prototype.setAttribute;_&&(g.prototype.setAttribute=function(j,k){let B=j.toLowerCase();if(y.has(B)){let Q=this.getAttribute(B);_.call(this,B,k),x.call(this,B,Q,k)}else _.call(this,B,k)});let I=g.prototype.removeAttribute;I&&(g.prototype.removeAttribute=function(j){let k=j.toLowerCase();if(y.has(k)){let B=this.getAttribute(k);I.call(this,k),x.call(this,k,B,null)}else I.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),a.set(g,y),d=g;try{new y.elementClass}catch{b(y.elementClass),new y.elementClass}y.attributeChangedCallback&&y.observedAttributes.forEach(_=>{g.hasAttribute(_)&&y.attributeChangedCallback.call(g,_,null,g.getAttribute(_))}),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 _=(x?Object.getPrototypeOf(x):g.prototype)[y];g.prototype[y]=function(){O.push(this);let I=_.apply(x||this,arguments);return I!==void 0&&l.set(I,this),O.pop(),I}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let D=(g,y)=>{let x=Object.getOwnPropertyDescriptor(g.prototype,y);Object.defineProperty(g.prototype,y,{...x,set(_){O.push(this),x.set.call(this,_),O.pop()}})};if(D(Element,"innerHTML"),D(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(a.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 _ extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class I{constructor(k){let B=new Map;k.forEach((Q,Ne)=>{let un=Q.getAttribute("name"),rs=B.get(un)||[];this[+Ne]=Q,rs.push(Q),B.set(un,rs)}),this.length=k.length,B.forEach((Q,Ne)=>{Q&&(Q.length===1?this[Ne]=Q[0]:this[Ne]=new _(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=a.get(B);(!Q||Q.formAssociated===!0)&&k.push(B)}return new I(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,o,a)=>{var i;if(o!==null)try{t.bind(window.customElements)(r,o,a)}catch(s){!((i=s.message)===null||i===void 0)&&i.includes("this constructor has already been used")?window.customElements.define(r,class extends o{},a):console.info(r,o,a,s)}}}var En={};M(En,{CSSResult:()=>Mt,LitElement:()=>ze,ReactiveElement:()=>xe,_$LE:()=>Pu,_$LH:()=>xn,adoptStyles:()=>hr,css:()=>q,defaultConverter:()=>Ft,getCompatibleStyle:()=>to,html:()=>tt,isServer:()=>px,mathml:()=>Tu,noChange:()=>X,notEqual:()=>yr,nothing:()=>G,render:()=>Sn,supportsAdoptingStyleSheets:()=>fr,svg:()=>ku,unsafeCSS:()=>pr});var eo=globalThis,fr=eo.ShadowRoot&&(eo.ShadyCSS===void 0||eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fn=Symbol(),ns=new WeakMap,Mt=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==fn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(fr&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=ns.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ns.set(r,t))}return t}toString(){return this.cssText}},pr=e=>new Mt(typeof e=="string"?e:e+"",void 0,fn),q=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[i+1],e[0]);return new Mt(r,e,fn)},hr=(e,t)=>{if(fr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),a=eo.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,e.appendChild(o)}},to=fr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return pr(r)})(e):e;var{is:Su,defineProperty:vu,getOwnPropertyDescriptor:Eu,getOwnPropertyNames:Ou,getOwnPropertySymbols:wu,getPrototypeOf:_u}=Object,ro=globalThis,as=ro.trustedTypes,Cu=as?as.emptyScript:"",Au=ro.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),is={attribute:!0,type:String,converter:Ft,reflect:!1,useDefault:!1,hasChanged:yr};Symbol.metadata??=Symbol("metadata"),ro.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=is){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(t,o,r);a!==void 0&&vu(this.prototype,t,a)}}static getPropertyDescriptor(t,r,o){let{get:a,set:i}=Eu(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(t,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??is}static _$Ei(){if(this.hasOwnProperty(mr("elementProperties")))return;let t=_u(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,o=[...Ou(r),...wu(r)];for(let a of o)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let a of o)r.unshift(to(a))}else t!==void 0&&r.push(to(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return 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,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:Ft).toAttribute(r,o.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let o=this.constructor,a=o._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Ft;this._$Em=a;let l=s.fromAttribute(r,i.type);this[a]=l??this._$Ej?.get(a)??l,this._$Em=null}}requestUpdate(t,r,o,a=!1,i){if(t!==void 0){let s=this.constructor;if(a===!1&&(i=this[t]),o??=s.getPropertyOptions(t),!((o.hasChanged??yr)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};xe.elementStyles=[],xe.shadowRootOptions={mode:"open"},xe[mr("elementProperties")]=new Map,xe[mr("finalized")]=new Map,Au?.({ReactiveElement:xe}),(ro.reactiveElementVersions??=[]).push("2.1.2");var hn=globalThis,ss=e=>e,oo=hn.trustedTypes,cs=oo?oo.createPolicy("lit-html",{createHTML:e=>e}):void 0,mn="$lit$",$e=`lit$${Math.random().toFixed(9).slice(2)}$`,yn="?"+$e,Ru=`<${yn}>`,ht=document,br=()=>ht.createComment(""),xr=e=>e===null||typeof e!="object"&&typeof e!="function",gn=Array.isArray,hs=e=>gn(e)||typeof e?.[Symbol.iterator]=="function",pn=`[
2
+ \f\r]`,gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ls=/-->/g,ds=/>/g,ft=RegExp(`>|${pn}(?:([^\\s"'>=/]+)(${pn}*=${pn}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),us=/'/g,fs=/"/g,ms=/^(?:script|style|textarea|title)$/i,bn=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),tt=bn(1),ku=bn(2),Tu=bn(3),X=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),ps=new WeakMap,pt=ht.createTreeWalker(ht,129);function ys(e,t){if(!gn(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,o=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=gr;for(let l=0;l<r;l++){let d=e[l],f,h,p=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===gr?h[1]==="!--"?s=ls:h[1]!==void 0?s=ds:h[2]!==void 0?(ms.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=ft):h[3]!==void 0&&(s=ft):s===ft?h[0]===">"?(s=a??gr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?ft:h[3]==='"'?fs:us):s===fs||s===us?s=ft:s===ls||s===ds?s=gr:(s=ft,a=void 0);let b=s===ft&&e[l+1].startsWith("/>")?" ":"";i+=s===gr?d+Ru:p>=0?(o.push(f),d.slice(0,p)+mn+d.slice(p)+$e+b):d+$e+(p===-2?l:b)}return[ys(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Sr=class e{constructor({strings:t,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=gs(t,r);if(this.el=e.createElement(f,o),pt.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=pt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(mn)){let m=h[s++],b=a.getAttribute(p).split($e),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:S[2],strings:b,ctor:S[1]==="."?ao:S[1]==="?"?io:S[1]==="@"?so:yt}),a.removeAttribute(p)}else p.startsWith($e)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(ms.test(a.tagName)){let p=a.textContent.split($e),m=p.length-1;if(m>0){a.textContent=oo?oo.emptyScript:"";for(let b=0;b<m;b++)a.append(p[b],br()),pt.nextNode(),d.push({type:2,index:++i});a.append(p[m],br())}}}else if(a.nodeType===8)if(a.data===yn)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf($e,p+1))!==-1;)d.push({type:7,index:i}),p+=$e.length-1}i++}}static createElement(t,r){let o=ht.createElement("template");return o.innerHTML=t,o}};function mt(e,t,r=e,o){if(t===X)return t;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=xr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(t=mt(e,a._$AS(e,t.values),a,o)),t}var no=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,a=(t?.creationScope??ht).importNode(r,!0);pt.currentNode=a;let i=pt.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Ut(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new co(i,this,t)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(i=pt.nextNode(),s++)}return pt.currentNode=ht,a}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},Ut=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,a){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=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$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Sr.createElement(ys(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new no(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=ps.get(t.strings);return r===void 0&&ps.set(t.strings,r=new Sr(t)),r}k(t){gn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of t)a===r.length?r.push(o=new e(this.O(br()),this.O(br()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let o=ss(t).nextSibling;ss(t).remove(),t=o}}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,o,a,i){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=G}_$AI(t,r=this,o,a){let i=this.strings,s=!1;if(i===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=i[0],d=0;d<i.length-1;d++)f=mt(this,l[o+d],r,d),f===X&&(f=this._$AH[d]),s||=!xr(f)||f!==this._$AH[d],f===G?t=G:t!==G&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ao=class extends yt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}},io=class extends yt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},so=class extends yt{constructor(t,r,o,a,i){super(t,r,o,a,i),this.type=5}_$AI(t,r=this){if((t=mt(this,t,r,0)??G)===X)return;let o=this._$AH,a=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==G&&(o===G||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},co=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){mt(this,t)}},xn={M:mn,P:$e,A:yn,C:1,L:gs,R:no,D:hs,V:mt,I:Ut,H:yt,N:io,U:so,B:ao,F:co},Iu=hn.litHtmlPolyfillSupport;Iu?.(Sr,Ut),(hn.litHtmlVersions??=[]).push("3.3.3");var Sn=(e,t,r)=>{let o=r?.renderBefore??t,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Ut(t.insertBefore(br(),i),i,void 0,r??{})}return a._$AI(e),a};var vn=globalThis,ze=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=Sn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return X}};ze._$litElement$=!0,ze.finalized=!0,vn.litElementHydrateSupport?.({LitElement:ze});var Nu=vn.litElementPolyfillSupport;Nu?.({LitElement:ze});var Pu={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(vn.litElementVersions??=[]).push("4.2.2");var px=!1;var wn={};M(wn,{customElement:()=>Lu,eventOptions:()=>Mu,property:()=>T,query:()=>On,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:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),o==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(o==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e,!0,l)}}throw Error("Unsupported decorator location: "+o)};function T(e){return(t,r)=>typeof r=="object"?bs(e,t,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function ue(e){return T({...e,state:!0,attribute:!1})}function Mu(e){return(t,r)=>{let o=typeof t=="function"?t:t[r];Object.assign(o,e)}}var Ce=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function On(e,t){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ce(r,o,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ce(r,o,{get(){return i(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:o,selector:a}=e??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Ce(t,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(e)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function Hu(e){return(t,r)=>{let{slot:o}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ce(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var _n={};M(_n,{repeat:()=>uo});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,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:$u}=xn,xs=e=>e;var vs=e=>e.strings===void 0,Ss=()=>document.createComment(""),Bt=(e,t,r)=>{let o=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=o.insertBefore(Ss(),a),s=o.insertBefore(Ss(),a);r=new $u(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||l){let d=r._$AA;for(;d!==i;){let f=xs(d).nextSibling;xs(o).insertBefore(d,a),d=f}}}return r},rt=(e,t,r=e)=>(e._$AI(t,r),e),zu={},Es=(e,t=zu)=>e._$AH=t,Os=e=>e._$AH,lo=e=>{e._$AR(),e._$AA.remove()};var ws=(e,t,r)=>{let o=new Map;for(let a=t;a<=r;a++)o.set(e[a],a);return o},uo=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 o;r===void 0?r=t:t!==void 0&&(o=t);let a=[],i=[],s=0;for(let l of e)a[s]=o?o(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,o]){let a=Os(e),{values:i,keys:s}=this.dt(t,r,o);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,m=a.length-1,b=0,S=i.length-1;for(;p<=m&&b<=S;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(l[p]===s[b])d[b]=rt(a[p],i[b]),p++,b++;else if(l[m]===s[S])d[S]=rt(a[m],i[S]),m--,S--;else if(l[p]===s[S])d[S]=rt(a[p],i[S]),Bt(e,d[S+1],a[p]),p++,S--;else if(l[m]===s[b])d[b]=rt(a[m],i[b]),Bt(e,a[p],a[m]),m--,b++;else if(f===void 0&&(f=ws(s,b,S),h=ws(l,p,m)),f.has(l[p]))if(f.has(l[m])){let C=h.get(s[b]),O=C!==void 0?a[C]:null;if(O===null){let A=Bt(e,a[p]);rt(A,i[b]),d[b]=A}else d[b]=rt(O,i[b]),Bt(e,a[p],O),a[C]=null;b++}else lo(a[m]),m--;else lo(a[p]),p++;for(;b<=S;){let C=Bt(e,d[S+1]);rt(C,i[b]),d[b++]=C}for(;p<=m;){let C=a[p++];C!==null&&lo(C)}return this.ut=s,Es(e,d),X}});var Cn={};M(Cn,{classMap:()=>Vu});var Vu=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(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let a=!!t[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return X}});var An={};M(An,{styleMap:()=>Yu});var _s="important",Gu=" !"+_s,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 o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let a=t[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(Gu);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?_s:""):r[o]=a}}return X}});var Rn={};M(Rn,{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 kn={};M(kn,{splitBreadcrumbForMenu:()=>Ku});function Ku(e,t=0,r=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let o=Math.max(r,1),a=e.slice(o*-1);return t+o>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-a.length),afterMenu:a}}var Wn={};M(Wn,{CacheRegistry:()=>Bn,ClearCacheEvent:()=>wr});var In={};M(In,{CancelablePromise:()=>fo,CanceledPromiseError:()=>vr,cancelable:()=>Tn});var vr=class extends Error{constructor(t,r,o){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=o}},fo=class extends Promise{constructor(t){super((r,o)=>t(a=>{this.isCanceled?o(new vr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new vr("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Tn=e=>new fo((t,r)=>e.then(t).catch(r));var Un={};M(Un,{FtNotificationEvent:()=>Or,PostResizeEvent:()=>Fn,PreResizeEvent:()=>Mn,WithEventBus:()=>xt,withEventBus:()=>Ms});var Dn={};M(Dn,{applyMixinOnce:()=>pe,customElements:()=>Ln,dateReviver:()=>Xu,deepCopy:()=>Ht,deepEqual:()=>bt,delay:()=>ks,eventPathContainsMatchingElement:()=>tf,everyDeep:()=>Qu,flatDeep:()=>Is,forEachDeep:()=>Ns,getComposedPathTo:()=>Pn,groupBy:()=>af,hasChanged:()=>nt,ignoreComposingEvents:()=>nf,last:()=>rf,minmax:()=>gt,parseDate:()=>Ls,randomId:()=>of,someDeep:()=>Ps,unslotText:()=>Ds,waitFor:()=>Ts,waitUntil:()=>Ju});var Nn={};M(Nn,{customElement:()=>Er,dateProperty:()=>qu,isNumber:()=>Rs,jsonProperty:()=>ot,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 ot(e,t){return T({type:Object,converter:Cs(e),hasChanged:nt,...t??{}})}function Zu(e){return As(e)}function As(e){return T({type:Object,converter:{fromAttribute:t=>{var r,o;if(t==null)return;let a=(r=e?.min)!==null&&r!==void 0?r:-1/0,i=(o=e?.max)!==null&&o!==void 0?o:1/0;return Rs(t)?gt(a,+t,i):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function Rs(e){return!isNaN(parseFloat(e))}function qu(e){return T({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 o=await e(),a=performance.now(),i=a;for(;o==null&&(!r||i-a<r);)await ks(t),o=await e(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Is(e,t){return e.flatMap(r=>[r,...Is(t(r),t)])}function Ns(e,t,r){let o=(a,i)=>{var s;for(let l=0;l<a.length;l++){let d=a[l];if(!(((s=r(d,l,a,i))!==null&&s!==void 0?s:!0)&&o(t(d),[...i,d])))return!1}return!0};o(e,[])}function Ps(e,t,r){let o=!1;return Ns(e,t,(a,i,s,l)=>(o=!!r(a,i,s,l),!o)),o}function Qu(e,t,r){return!Ps(e,t,(o,a,i,s)=>!r(o,a,i,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,o,a)=>r+o+":"+a),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,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!bt(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!bt(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null),i=a(e);if(r=i.length,r!==a(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=r;o--!==0;){let s=i[o];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 nt(e,t){return!bt(e,t)}function tf(e,t,r=window.document.body){if(t.length>0){let o=e.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function 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 Pn(e){let t=[],r=o=>{o.stopPropagation(),t=o.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Ht(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function of(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function pe(e,t){let r=o=>o[e]===!0;return o=>{if(r(o))return o;let a=t(o);return a[e]=!0,a}}function nf(){return function(e,t,r){let o=r.value;r.value=function(a,...i){if(a.isComposing||a.keyCode===229){a.stopPropagation();return}return o.apply(this,[a].concat(i))}}}function Ln(e){for(let[t,r]of Object.entries(e))Er(t)(r)}function af(e,t){var r,o;let a=typeof t=="function"?t:s=>s[t],i={};for(let s of e)((r=i[o=a(s)])!==null&&r!==void 0?r:i[o]=[]).push(s);return i}var Or=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Mn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Fn=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,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}),xt=class extends Ms(Object){};var wr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Bn=class extends xt{constructor(){super(...arguments),this.content={}}register(t,r,o=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:o,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let o=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new wr(o)),o}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new wr([t])),t}forceClear(t){var r;let o=this.content[t];o&&(this.clearClearTimeout(t),(r=o.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(t){var r,o,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,o=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:o,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,o){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=Tn(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,o;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[t])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Zn={};M(Zn,{ClusteringHelper:()=>Kn,formatHierarchicalValues:()=>jn});var Yn={};M(Yn,{accessBreadcrumb:()=>hf,accessResult:()=>Gn,accessResultId:()=>ff,accessResultUrl:()=>pf,enrichReaderUrl:()=>Vn});var zn={};M(zn,{SearchPlaceConverter:()=>St,SearchPlaceQueryParams:()=>N,isSearchPlaceQueryParams:()=>wc,serializeRequest:()=>df});var sf=e=>typeof e=="object"&&e!=null;var cf=e=>typeof e=="number",po=e=>typeof e=="string",$n=e=>sf(e)&&po(e.endpoint)&&po(e.method)&&po(e.statusText)&&po(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 zs;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(zs||(zs={}));var Vs;(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"})(Vs||(Vs={}));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 Hn;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Hn||(Hn={}));var dc=e=>Object.keys(Hn).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 oc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(oc||(oc={}));var nc;(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"})(nc||(nc={}));var zt;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(zt||(zt={}));var uc=e=>Object.keys(zt).includes(e);var ac;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(ac||(ac={}));var ic;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ic||(ic={}));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 R0={[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 N;(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"})(N||(N={}));var uf=new Set(Object.values(N));function wc(e){return uf.has(e)}var St=class e{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,l,d,f,h,p;let m=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&m.append(N.LOCALE,t.contentLocale):m.append(N.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&m.append(N.QUERY,t.query);let b=e.serializeValueFilters(t.metadataFilters);b&&m.append(N.VALUE_FILTERS,b);let S=e.serializeNegativeValueFilters(t.metadataFilters);S&&m.append(N.NEGATIVE_VALUE_FILTERS,S);let C=(d=(a=t.metadataFilters)===null||a===void 0?void 0:a.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(N.DATE_FILTERS,g)}let O=(f=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(g=>g.rangeFilter))!==null&&f!==void 0?f:[];if(O.length>0){let g=O.map(y=>{var x,_;return`${y.key}~${(x=y.rangeFilter)===null||x===void 0?void 0:x.from}_${(_=y.rangeFilter)===null||_===void 0?void 0:_.to}`}).join("*");m.append(N.RANGE_FILTERS,g)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(N.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&m.append(N.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&m.append(N.SORT,t.sortId),!((s=t.paging)===null||s===void 0)&&s.perPage&&((h=(l=t.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(N.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&m.append(N.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let A=(p=t.otherQueryParams)!==null&&p!==void 0?p:{};for(let g in A)m.append(g,A[g]);let D=new Array;return m.forEach((g,y)=>{D.push(this.encodeQueryString(y)+"="+this.encodeQueryString(g))}),encodeURI(D.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(t){var r,o,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(A){console.warn("Could not decode search request query params, fallback on raw value",A)}let d=new URLSearchParams(t),f=d.get(N.LOCALE)==="all"?void 0:d.get(N.LOCALE),h=((o=d.get(N.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),p=(r=d.get(N.SORT))===null||r===void 0?void 0:r.toLowerCase(),m=(a=d.get(N.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=d.get(N.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S=d.get(N.KEYWORD_MATCH),C=S?S.toUpperCase()===$t.MANDATORY?$t.MANDATORY:$t.OPTIONAL:void 0,O={};for(let A of d.keys())wc(A)||(O[A]=d.get(A));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(N.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:dc(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:gt(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:C,otherQueryParams:O}}parseCompatFilters(t){var r,o,a,i,s,l,d;let f=[];return t.has(N.FILTERS)&&(f=e.parseValueFilters((r=t.get(N.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(N.PERIOD))!==null&&o!==void 0&&o&&(f=[...f,...this.parseLegacyPeriodFilter(((a=t.get(N.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...f,...e.parseValueFilters((i=t.get(N.VALUE_FILTERS))!==null&&i!==void 0?i:""),...e.parseValueFilters((s=t.get(N.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=t.get(N.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=t.get(N.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(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Oc).map(a=>this.unescapeFilterValue(a)),negative:r}}))}parseDateFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:zt[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,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}static superEscapeFilters(t){for(let[r,o,a]of e.filtersEscapeMapping)t=t.replaceAll(o,a);return t}static unescapeFilterValue(t){for(let[r,o,a]of e.filtersEscapeMapping)t=t.replaceAll(a,r);return t}parseLegacyPeriodFilter(t){if(uc(t))return[{key:"ft:lastEdition",dateFilter:{type:zt[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}static serializeValueFilter(t){var r,o;let a=((o=(r=t.valueFilter)===null||r===void 0?void 0:r.values)!==null&&o!==void 0?o:[]).map(i=>e.escapeFilters(i)).map(i=>lf(Oc(i))).join("_");return`${t.key}~${a}`}static serializeValueFilters(t){var r;let o=(r=t?.filter(a=>a.valueFilter&&!a.valueFilter.negative))!==null&&r!==void 0?r:[];if(o.length>0)return o.map(e.serializeValueFilter).join("*")}static serializeNegativeValueFilters(t){var r;let o=(r=t?.filter(a=>a.valueFilter&&a.valueFilter.negative))!==null&&r!==void 0?r:[];if(o.length>0)return o.map(e.serializeValueFilter).join("*")}static clearSearchParamsInUrl(t){let r=new URL(t);return[N.LOCALE,N.FILTERS,N.VALUE_FILTERS,N.NEGATIVE_VALUE_FILTERS,N.DATE_FILTERS,N.RANGE_FILTERS].forEach(a=>{r.searchParams.delete(a)}),r.toString()}static updateLocaleParamInUrl(t,r){let o=new URL(t);return o.searchParams.delete(N.LOCALE),r!==void 0&&o.searchParams.append(N.LOCALE,r),o.toString()}};St.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Gn(e){var t,r,o,a;return(a=(o=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&o!==void 0?o:e?.htmlPackage)!==null&&a!==void 0?a:e?.htmlPackagePage}function ff(e){var t,r,o,a,i,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:(o=e?.document)===null||o===void 0?void 0:o.documentId)!==null&&d!==void 0?d:(a=e?.htmlPackage)===null||a===void 0?void 0:a.packageId)!==null&&f!==void 0?f:(i=e?.htmlPackagePage)===null||i===void 0?void 0:i.contentId}function pf(e,t){var r,o,a,i,s,l,d,f,h;return(h=(f=(d=(l=Vn((r=e?.map)===null||r===void 0?void 0:r.readerUrl,t))!==null&&l!==void 0?l:Vn((o=e?.topic)===null||o===void 0?void 0:o.readerUrl,t))!==null&&d!==void 0?d:(a=e?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&f!==void 0?f:(i=e?.htmlPackage)===null||i===void 0?void 0:i.viewerUrl)!==null&&h!==void 0?h:(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 Vn(e,t){if(t&&e){let r=URL.parse(e),o=St.serializeValueFilters(t);if(o&&r?.searchParams.append(N.VALUE_FILTERS,o),r)return r.toString()}return e}function jn(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Kn=class e{constructor(t,r,o,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static findResultWithMetadataValue(t,r,o){return t?.find(a=>{var i;return((i=this.extractResultMetadata({result:a}).find(s=>s.key==r))===null||i===void 0?void 0:i.value)==o})}static extractResultMetadata(t){var r,o;let a=(o=(r=Gn(t.result))===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[];return t.key==null?e.flattenMetadata(a,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(a.find(i=>i.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,o){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(l=>{i.push(jn(l)),s.push(jn(l,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(l=>o?o(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,o="No value",a,i){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(l=d?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(t))===null||s===void 0?void 0:s.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:o}).filter(p=>p.value!=d?.value).filter((p,m,b)=>b.findIndex(S=>S.value===p.value)===m).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,m)=>this.compareMetadata(p.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,o,a){if(t==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let o=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,i);if(f>l&&(l=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var qn={};M(qn,{Debouncer:()=>_r});var _r=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let o=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of o)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ea={};M(ea,{designSystemVariables:()=>Xf});var Xn={};M(Xn,{DesignSystemFamily:()=>Cr,DesignSystemSize:()=>Ar,FtCssVariableFactory:()=>n,badge:()=>If,banner:()=>Tf,button:()=>gf,card:()=>xf,chart:()=>jf,checkbox:()=>Of,chip:()=>Af,chipChoice:()=>Cf,chipGroup:()=>Rf,collapsible:()=>Gf,combobox:()=>zf,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:()=>Vf,radio:()=>wf,reorderableList:()=>Ff,resolveFamilyClass:()=>Jn,resolveSizeClass:()=>Qn,semantic:()=>u,setVariable:()=>Vt,switch_:()=>Yf,table:()=>_f,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:()=>_c,typographyTitle1:()=>Cc,typographyTitle2:()=>Ac,typographyTitle3:()=>Rc,typographyVariants:()=>yf});var at=e=>typeof e=="string"?pr(e):e,n=class{static create(t,r,o,a){let i=l=>at(l??a),s=q`var(${at(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Vt(s,l??i(a)),s.get=l=>q`var(${at(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,o,a){let i=l=>o.get(l??a),s=q`var(${at(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Vt(s,l??i(a)),s.get=l=>q`var(${at(t)}, ${i(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(t,r){let o=i=>t.defaultCssValue(i),a=q`var(${at(t.name)}, ${o(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>t.set(i),a.get=i=>q`var(${at(t.name)}, ${o(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Vt(e,t){return at(`${e.name}: ${t}`)}var c={colorWhite:n.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:n.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:n.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:n.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:n.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:n.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:n.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:n.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:n.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:n.create("--ftds-opacity-0","","NUMBER","0"),opacity4:n.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:n.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:n.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:n.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:n.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:n.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:n.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:n.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:n.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:n.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:n.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:n.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:n.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:n.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:n.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:n.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},_c={fontFamily:n.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:n.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Cc={fontFamily:n.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:n.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ac={fontFamily:n.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:n.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Rc={fontFamily:n.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:n.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},kc={fontFamily:n.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Tc={fontFamily:n.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ic={fontFamily:n.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Nc={fontFamily:n.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Pc={fontFamily:n.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Lc={fontFamily:n.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:n.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:n.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Dc={fontFamily:n.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Mc={fontFamily:n.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Fc={fontFamily:n.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Uc={fontFamily:n.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Bc={fontFamily:n.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Wc={fontFamily:n.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},mf={display:_c,"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:n.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:n.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:n.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:n.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:n.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:n.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:n.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:n.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:n.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:n.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:n.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:n.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:n.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:n.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:n.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:n.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:n.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:n.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:n.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:n.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:n.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:n.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:n.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:n.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:n.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:n.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:n.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:n.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:n.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:n.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:n.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:n.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:n.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:n.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var gf={largeHeight:n.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:n.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:n.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:n.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:n.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:n.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:n.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:n.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:n.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:n.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:n.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:n.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:n.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:n.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:n.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:n.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:n.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:n.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:n.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:n.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:n.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:n.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:n.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:n.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:n.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:n.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:n.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:n.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:n.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:n.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:n.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:n.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:n.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:n.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:n.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:n.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:n.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var bf={iconSize:n.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:n.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:n.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:n.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:n.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:n.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:n.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:n.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:n.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:n.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ftds-toggle-gap","",c.spacing3),width:n.create("--ftds-toggle-width","","SIZE","36px"),height:n.create("--ftds-toggle-height","","SIZE","20px")};var xf={borderRadius:n.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:n.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:n.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:n.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:n.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:n.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:n.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:n.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:n.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:n.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:n.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:n.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:n.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:n.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:n.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:n.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:n.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:n.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:n.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:n.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:n.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:n.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:n.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:n.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:n.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:n.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:n.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:n.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:n.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:n.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:n.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:n.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:n.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:n.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:n.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:n.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:n.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:n.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:n.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:n.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:n.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:n.create("--ftds-card-internal-border-width","","SIZE","1px")};var Sf={borderRadius:n.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:n.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:n.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:n.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:n.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:n.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:n.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:n.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:n.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var vf={loadMoreIconSize:n.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:n.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:n.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:n.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:n.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:n.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:n.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:n.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:n.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:n.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:n.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:n.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:n.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:n.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:n.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:n.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:n.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:n.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:n.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:n.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:n.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:n.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:n.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:n.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:n.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:n.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:n.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:n.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:n.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:n.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:n.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:n.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:n.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:n.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:n.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Ef={titleColor:n.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:n.extend("--ftds-toc-title-gap","",c.spacing2),top:n.create("--ftds-toc-top","","SIZE","160px"),itemGap:n.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:n.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:n.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:n.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:n.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:n.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:n.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","3px"),itemRootDefaultLabelColor:n.extend("--ftds-toc-item-root-default-label-color","",u.contentGlobalSecondary),itemRootDefaultBorderColor:n.extend("--ftds-toc-item-root-default-border-color","",u.borderGlobalSubtle),itemRootHoverLabelColor:n.extend("--ftds-toc-item-root-hover-label-color","",u.contentGlobalSecondary),itemRootHoverBorderColor:n.extend("--ftds-toc-item-root-hover-border-color","",u.borderGlobalSubtle),itemRootHoverStateLayerColor:n.extend("--ftds-toc-item-root-hover-state-layer-color","",u.contentGlobalSecondary),itemRootHoverStateLayerOpacity:n.extend("--ftds-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:n.extend("--ftds-toc-item-root-focus-label-color","",u.contentGlobalSecondary),itemRootFocusStateLayerColor:n.extend("--ftds-toc-item-root-focus-state-layer-color","",u.contentGlobalSecondary),itemRootFocusStateLayerOpacity:n.extend("--ftds-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:n.extend("--ftds-toc-item-root-selected-label-color","",u.contentActionPrimary),itemRootSelectedBorderColor:n.extend("--ftds-toc-item-root-selected-border-color","",u.borderActionPrimary),itemRootSelectedBorderWidth:n.create("--ftds-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:n.extend("--ftds-toc-item-root-selected-state-layer-color","",u.contentActionPrimary),itemRootSelectedStateLayerOpacity:n.extend("--ftds-toc-item-root-selected-state-layer-opacity","",c.opacity8),itemRootChildrenActiveLabelColor:n.extend("--ftds-toc-item-root-children-active-label-color","",u.contentActionPrimary),itemRootChildrenActiveBorderColor:n.extend("--ftds-toc-item-root-children-active-border-color","",u.borderGlobalSubtle),itemChildDefaultLabelColor:n.extend("--ftds-toc-item-child-default-label-color","",u.contentGlobalSubtle),itemChildDefaultBorderColor:n.extend("--ftds-toc-item-child-default-border-color","",u.borderGlobalSubtle),itemChildHoverLabelColor:n.extend("--ftds-toc-item-child-hover-label-color","",u.contentGlobalSubtle),itemChildHoverBorderColor:n.extend("--ftds-toc-item-child-hover-border-color","",u.borderGlobalSubtle),itemChildHoverStateLayerColor:n.extend("--ftds-toc-item-child-hover-state-layer-color","",u.contentGlobalSecondary),itemChildHoverStateLayerOpacity:n.extend("--ftds-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:n.extend("--ftds-toc-item-child-focus-label-color","",u.contentGlobalSubtle),itemChildFocusStateLayerColor:n.extend("--ftds-toc-item-child-focus-state-layer-color","",u.contentGlobalSecondary),itemChildFocusStateLayerOpacity:n.extend("--ftds-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:n.extend("--ftds-toc-item-child-selected-label-color","",u.contentActionPrimary),itemChildSelectedBorderColor:n.extend("--ftds-toc-item-child-selected-border-color","",u.borderActionPrimary),itemChildSelectedBorderWidth:n.create("--ftds-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:n.extend("--ftds-toc-item-child-selected-state-layer-color","",u.contentActionPrimary),itemChildSelectedStateLayerOpacity:n.extend("--ftds-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var Of={iconSize:n.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:n.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:n.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:n.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:n.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:n.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:n.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:n.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:n.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:n.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:n.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:n.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:n.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:n.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:n.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:n.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:n.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:n.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:n.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:n.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:n.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:n.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:n.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var wf={circleSize:n.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ftds-radio-border-width","","SIZE","2px"),color:n.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:n.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:n.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:n.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:n.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:n.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:n.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:n.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var _f={headerRowBorderWidth:n.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:n.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:n.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:n.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:n.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:n.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:n.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:n.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:n.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:n.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:n.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:n.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:n.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:n.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:n.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:n.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:n.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:n.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Cf={neutralOffHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:n.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:n.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:n.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:n.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:n.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:n.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:n.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:n.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:n.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:n.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:n.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Af={largeMinHeight:n.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:n.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:n.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:n.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:n.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:n.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:n.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:n.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:n.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:n.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:n.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:n.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:n.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:n.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:n.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:n.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Rf={horizontalGap:n.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:n.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:n.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:n.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:n.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:n.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:n.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:n.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:n.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:n.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:n.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var kf={brandHoverOpacity:n.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:n.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:n.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:n.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:n.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:n.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:n.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:n.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:n.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:n.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:n.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:n.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:n.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:n.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:n.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:n.extend("--ftds-link-horizontal-gap","",c.spacing1)};var Tf={iconSize:n.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:n.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:n.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:n.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:n.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:n.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:n.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:n.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:n.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var If={horizontalPadding:n.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:n.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:n.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:n.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Nf={horizontalGap:n.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:n.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:n.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:n.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Pf={parentHorizontalPadding:n.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:n.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:n.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:n.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:n.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:n.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:n.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:n.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:n.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:n.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:n.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:n.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:n.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:n.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:n.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:n.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:n.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:n.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:n.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:n.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:n.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:n.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:n.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:n.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:n.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:n.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Lf={horizontalPadding:n.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:n.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:n.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:n.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:n.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:n.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Df={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Mf={smallContainerTargetWidth:n.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:n.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:n.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:n.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:n.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:n.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:n.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:n.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:n.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:n.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:n.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:n.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:n.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:n.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:n.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:n.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:n.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Ff={grabberIconSize:n.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:n.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:n.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:n.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:n.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:n.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:n.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:n.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:n.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:n.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:n.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:n.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:n.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:n.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:n.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:n.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Uf={overlayOpacity:n.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:n.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:n.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:n.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:n.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:n.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:n.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:n.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:n.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:n.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:n.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:n.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Bf={offBorderBottomWidth:n.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:n.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:n.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:n.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:n.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:n.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:n.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:n.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:n.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:n.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:n.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:n.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:n.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:n.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:n.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:n.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:n.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:n.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:n.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Wf={largeFieldHorizontalPadding:n.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:n.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Hf={backgroundColor:n.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:n.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-area-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-area-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-area-warning-helper-icon-color","",u.contentWarningIconOnly),focusFocusRingColor:n.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:n.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:n.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:n.create("--ftds-text-area-field-max-height","","SIZE","300px"),helperHorizontalPadding:n.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var $f={height:n.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:n.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:n.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:n.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:n.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:n.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:n.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:n.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:n.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:n.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:n.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:n.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:n.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:n.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:n.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:n.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:n.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:n.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:n.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:n.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:n.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:n.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:n.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:n.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:n.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:n.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:n.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:n.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:n.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var zf={menuVerticalGap:n.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:n.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:n.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:n.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:n.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:n.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:n.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:n.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:n.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:n.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:n.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:n.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:n.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:n.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:n.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:n.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:n.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:n.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var Vf={backgroundColor:n.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:n.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:n.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:n.extend("--ftds-popover-gap","",c.spacing2),borderRadius:n.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:n.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:n.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:n.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:n.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:n.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:n.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:n.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:n.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:n.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:n.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Gf={hoverStateLayerOpacity:n.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:n.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:n.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:n.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:n.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:n.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Yf={groupHorizontalPadding:n.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:n.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:n.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:n.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:n.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:n.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:n.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:n.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:n.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:n.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:n.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:n.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:n.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:n.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:n.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:n.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var jf={color1Light:n.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:n.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:n.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:n.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:n.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:n.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:n.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:n.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:n.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:n.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:n.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:n.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:n.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:n.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:n.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:n.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:n.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:n.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:n.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:n.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:n.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:n.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:n.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:n.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:n.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:n.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Kf={color1IconColor:n.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:n.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:n.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:n.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:n.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:n.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:n.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:n.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:n.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:n.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:n.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:n.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:n.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:n.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:n.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:n.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Zf={borderWidth:n.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:n.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:n.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:n.extend("--ftds-notice-gap","",c.spacing2),iconSize:n.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:n.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:n.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:n.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:n.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:n.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:n.create("--ftds-notice-dense-border-width","","SIZE","0")};var qf={iconSize:n.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:n.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:n.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:n.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:n.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:n.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:n.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:n.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Jf={horizontalPadding:n.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:n.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:n.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:n.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:n.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:n.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:n.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ftds-tooltip-gap","",c.spacing05)};var Qf={menuHorizontalPadding:n.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:n.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:n.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:n.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var 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 Jn(e){return`ftds--family-${e}`}function Qn(e){return`ftds--size-${e}`}var Xf={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:n.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:n.create("--ft-color-warning","","COLOR","#B74706"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:n.create("--ft-color-success","","COLOR","#187856"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:n.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:n.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:n.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:n.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:n.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:n.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:n.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:n.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:n.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ta={};M(ta,{DynamicImporter:()=>ho,dynamicImporter:()=>ep});var ho=class{async import(t){if(t)return import(t)}},ep=new ho;var pa={};M(pa,{computeOffsetAutoPosition:()=>_p,computeOffsetPosition:()=>wp});var $c=["top","right","bottom","left"],Hc=["start","end"],oa=$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 zc(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 na(e){return e==="x"?"y":"x"}function aa(e){return e==="y"?"height":"width"}function Yt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function ia(e){return na(Yt(e))}function Vc(e,t,r){r===void 0&&(r=!1);let o=Me(e),a=ia(e),i=aa(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ra(s)),[s,ra(s)]}function Gc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function ra(e){let t=Et(e);return tp[t]+e.slice(t.length)}function rp(e){var t,r,o,a;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(o=e.bottom)!=null?o:0,left:(a=e.left)!=null?a: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:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function jc(e,t,r){let{reference:o,floating:a}=e,i=Yt(t),s=ia(t),l=aa(s),d=Et(t),f=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,m=o[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:o.y-a.height};break;case"bottom":b={x:h,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:p};break;case"left":b={x:o.x-a.width,y:p};break;default:b={x:o.x,y:o.y}}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:o,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:b=0}=Gt(t,e),S=Yc(b),O=l[m?p==="floating"?"reference":"floating":p],A=Ot(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(O)))==null||r?O:O.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),D=p==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(g))&&await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1},x=Ot(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:D,offsetParent:g,strategy:d}):D);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 op=50,Zc=async(e,t,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],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:a}),{x:h,y:p}=jc(f,o,d),m=o,b=0,S={};for(let C=0;C<i.length;C++){let O=i[C];if(!O)continue;let{name:A,fn:D}=O,{x:g,y,data:x,reset:_}=await D({x:h,y:p,initialPlacement:o,placement:m,strategy:a,middlewareData:S,rects:f,platform:l,elements:{reference:e,floating:t}});h=g??h,p=y??p,S[A]={...S[A],...x},_&&b<op&&(b++,typeof _=="object"&&(_.placement&&(m=_.placement),_.rects&&(f=_.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):_.rects),{x:h,y:p}=jc(f,m,d)),C=-1)}return{x:h,y:p,placement:m,strategy:a,middlewareData:S}};function np(e,t,r){return(e?[...r.filter(a=>Me(a)===e),...r.filter(a=>Me(a)!==e)]:r.filter(a=>Et(a)===a)).filter(a=>e?Me(a)===e||(t?Gc(a)!==a:!1):!0)}var qc=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:m=oa,autoAlignment:b=!0,...S}=Gt(e,t),C=p!==void 0||m===oa?np(p||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 D=await d.detectOverflow(t,S),g=Vc(A,i,await(d.isRTL==null?void 0:d.isRTL(f.floating))),y=[D[Et(A)],D[g[0]],D[g[1]]],x=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:A,overflows:y}],_=C[O+1];if(_)return{data:{index:O+1,overflows:x},reset:{placement:_}};let I=x.map(k=>{let B=Me(k.placement);return[k.placement,B&&h?k.overflows.slice(0,2).reduce((Q,Ne)=>Q+Ne,0):k.overflows[0],k.overflows]}).sort((k,B)=>k[1]-B[1]),j=((a=I.filter(k=>k[2].slice(0,Me(k[0])?2:3).every(B=>B<=0))[0])==null?void 0:a[0])||I[0][0];return j!==l?{data:{index:O+1,overflows:x},reset:{placement:j}}:{}}}};var ap=new Set(["left","top"]);async function ip(e,t){let{placement:r,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Et(r),l=Me(r),d=Yt(r)==="y",f=ap.has(s)?-1:1,h=i&&d?-1:1,p=Gt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:S}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof S=="number"&&(b=l==="end"?S*-1:S),d?{x:b*h,y:m*f}:{x:m*f,y:b*h}}var Jc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await ip(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Qc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:D=>{let{x:g,y}=D;return{x:g,y}}},...f}=Gt(e,t),h={x:r,y:o},p=await i.detectOverflow(t,f),m=Yt(a),b=na(m),S=h[b],C=h[m],O=(D,g)=>zc(g+p[D==="y"?"top":"left"],g,g-p[D==="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-o,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:o,platform:a,elements:i}=t,{apply:s=()=>{},...l}=Gt(e,t),d=await a.detectOverflow(t,l),f=Et(r),h=Me(r),p=Yt(r)==="y",{width:m,height:b}=o.floating,S,C;f==="top"||f==="bottom"?(S=f,C=h===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(C=f,S=h==="end"?"top":"bottom");let O=b-d.top-d.bottom,A=m-d.left-d.right,D=vt(b-d[S],O),g=vt(m-d[C],A),y=t.middlewareData.shift,x=!y,_=D,I=g;y!=null&&y.enabled.x&&(I=A),y!=null&&y.enabled.y&&(_=O),x&&!h&&(p?I=m-2*Le(d.left,d.right):_=b-2*Le(d.top,d.bottom)),await s({...t,availableWidth:I,availableHeight:_});let H=await a.getDimensions(i.floating);return m!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};function yo(){return typeof window<"u"}function _t(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 Ve(e){var t;return(t=(tl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tl(e){return yo()?e instanceof Node||e instanceof se(e).Node:!1}function Ae(e){return yo()?e instanceof Element||e instanceof se(e).Element:!1}function Ge(e){return yo()?e instanceof HTMLElement||e instanceof se(e).HTMLElement:!1}function el(e){return!yo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof se(e).ShadowRoot}function kr(e){let{overflow:t,overflowX:r,overflowY:o,display:a}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&a!=="inline"&&a!=="contents"}function rl(e){return/^(table|td|th)$/.test(_t(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/,wt=e=>!!e&&e!=="none",sa;function jt(e){let t=Ae(e)?Re(e):e;return wt(t.transform)||wt(t.translate)||wt(t.scale)||wt(t.rotate)||wt(t.perspective)||!go()&&(wt(t.backdropFilter)||wt(t.filter))||sp.test(t.willChange||"")||cp.test(t.contain||"")}function ol(e){let t=it(e);for(;Ge(t)&&!Kt(t);){if(jt(t))return t;if(Tr(t))return null;t=it(t)}return null}function go(){return sa==null&&(sa=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),sa}function Kt(e){return/^(html|body|#document)$/.test(_t(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 it(e){if(_t(e)==="html")return e;let t=e.assignedSlot||e.parentNode||el(e)&&e.host||Ve(e);return el(t)?t.host:t}function nl(e){let t=it(e);return Kt(t)?(e.ownerDocument||e).body:Ge(t)&&kr(t)?t:nl(t)}function mo(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=nl(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=se(a);if(i){let l=bo(s);return t.concat(s,s.visualViewport||[],kr(a)?a:[],l&&r?mo(l):[])}else return t.concat(a,mo(a,[],r))}function bo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sl(e){let t=Re(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=Ge(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:o,l=Rr(r)!==i||Rr(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$: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:o,height:a,$:i}=sl(t),s=(i?Rr(r.width):r.width)/o,l=(i?Rr(r.height):r.height)/a;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!go()||!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,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=cl(e),s=De(1);t&&(o?Ae(o)&&(s=Zt(o)):s=Zt(e));let l=dp(i,r,o)?ll(i):De(0),d=(a.left+l.x)/s.x,f=(a.top+l.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i&&o){let m=se(i),b=Ae(o)?se(o):o,S=m,C=bo(S);for(;C&&b!==S;){let O=Zt(C),A=C.getBoundingClientRect(),D=Re(C),g=A.left+(C.clientLeft+parseFloat(D.paddingLeft))*O.x,y=A.top+(C.clientTop+parseFloat(D.paddingTop))*O.y;d*=O.x,f*=O.y,h*=O.x,p*=O.y,d+=g,f+=y,S=se(C),C=bo(S)}}return Ot({width:h,height:p,x:d,y:f})}function xo(e,t){let r=Ir(e).scrollLeft;return t?t.left+r:Nr(Ve(e)).left+r}function dl(e,t){let r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-xo(e,r),a=r.top+t.scrollTop;return{x:o,y:a}}function up(e){let{elements:t,rect:r,offsetParent:o,strategy:a}=e,i=a==="fixed",s=Ve(o),l=t?Tr(t.floating):!1;if(o===s||l&&i)return r;let d={scrollLeft:0,scrollTop:0},f=De(1),h=De(0),p=Ge(o);if((p||!i)&&((_t(o)!=="body"||kr(s))&&(d=Ir(o)),p)){let b=Nr(o);f=Zt(o),h.x=b.x+o.clientLeft,h.y=b.y+o.clientTop}let m=s&&!p&&!i?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+h.x+m.x,y:r.y*f.y-d.scrollTop*f.y+h.y+m.y}}function fp(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function pp(e){let t=Ir(e),r=e.ownerDocument.body,o=Le(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=Le(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),i=-t.scrollLeft+xo(e),s=-t.scrollTop;return Re(r).direction==="rtl"&&(i+=Le(e.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}var hp=25;function mp(e,t,r){r===void 0&&(r="viewport");let o=r==="layoutViewport",a=se(e),i=Ve(e),s=a.visualViewport,l=i.clientWidth,d=i.clientHeight,f=0,h=0;if(s){let m=!go()||t==="fixed";o?m||(f=-s.offsetLeft,h=-s.offsetTop):(l=s.width,d=s.height,m&&(f=s.offsetLeft,h=s.offsetTop))}if(xo(i)<=0){let m=i.ownerDocument,b=m.body,S=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,O=Math.abs(i.clientWidth-b.clientWidth-C),A=getComputedStyle(i).scrollbarGutter==="stable both-edges"?O/2:O;A<=hp&&(l-=A)}return{width:l,height:d,x:f,y:h}}function yp(e,t){let r=Nr(e,!0,t==="fixed"),o=r.top+e.clientTop,a=r.left+e.clientLeft,i=Zt(e),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:l,x:d,y:f}}function al(e,t,r){let o;if(t==="viewport"||t==="layoutViewport")o=mp(e,r,t);else if(t==="document")o=pp(Ve(e));else if(Ae(t))o=yp(t,r);else{let a=ll(e);o={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Ot(o)}function gp(e,t){let r=t.get(e);if(r)return r;let o=mo(e,[],!1).filter(l=>Ae(l)&&_t(l)!=="body"),a=null,i=Re(e).position==="fixed",s=i?it(e):e;for(;Ae(s)&&!Kt(s);){let l=Re(s),d=jt(s),f=a?a.position:i?"fixed":"";!d&&(f==="fixed"||f==="absolute"&&l.position==="static")?o=o.filter(p=>p!==s):a=l,s=it(s)}return t.set(e,o),o}function bp(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e,s=[...r==="clippingAncestors"?Tr(t)?[]:gp(t,this._c):[].concat(r),o],l=al(t,s[0],a),d=l.top,f=l.right,h=l.bottom,p=l.left;for(let m=1;m<s.length;m++){let b=al(t,s[m],a);d=Le(b.top,d),f=vt(b.right,f),h=vt(b.bottom,h),p=Le(b.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function xp(e){let{width:t,height:r}=sl(e);return{width:t,height:r}}function Sp(e,t,r){let o=Ge(t),a=Ve(t),i=r==="fixed",s=Nr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=De(0);if((o||!i)&&((_t(t)!=="body"||kr(a))&&(l=Ir(t)),o)){let m=Nr(t,!0,i,t);d.x=m.x+t.clientLeft,d.y=m.y+t.clientTop}!o&&a&&(d.x=xo(a));let f=a&&!o&&!i?dl(a,l):De(0),h=s.left+l.scrollLeft-d.x-f.x,p=s.top+l.scrollTop-d.y-f.y;return{x:h,y:p,width:s.width,height:s.height}}function ca(e){return Re(e).position==="static"}function il(e,t){if(!Ge(e)||Re(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ve(e)===r&&(r=r.ownerDocument.body),r}function ul(e,t){let r=se(e);if(Tr(e))return r;if(!Ge(e)){let a=it(e);for(;a&&!Kt(a);){if(Ae(a)&&!ca(a))return a;a=it(a)}return r}let o=il(e,t);for(;o&&rl(o)&&ca(o);)o=il(o,t);return o&&Kt(o)&&ca(o)&&!jt(o)?r:o||ol(e)||r}var vp=async function(e){let t=this.getOffsetParent||ul,r=this.getDimensions,o=await r(e.floating);return{reference:Sp(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ep(e){return Re(e).direction==="rtl"}var qt={convertOffsetParentRelativeRectToViewportRelativeRect:up,getDocumentElement:Ve,getClippingRect:bp,getOffsetParent:ul,getElementRects:vp,getClientRects:fp,getDimensions:xp,getScale:Zt,isElement:Ae,isRTL:Ep};var fl=Jc,la=qc,pl=Qc;var hl=Xc;var da=(e,t,r)=>{let o=new Map,a=r??{},i={...qt,...a.platform,_c:o};return Zc(e,t,{...a,platform:i})};function fa(e){return Op(e)}function ua(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Op(e){for(let t=e;t;t=ua(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ua(e);t;t=ua(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 wp(e,t,r){let o;return typeof r=="object"?o=r:o={placement:r},da(e,t,{strategy:o.strategy,platform:{...qt,getOffsetParent:a=>qt.getOffsetParent(a,fa)},middleware:[pl({crossAxis:!0}),la({allowedPlacements:[o.placement]})]})}async function _p(e,t,r,o,a,i,s){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,da(e,t,{placement:l,strategy:a,platform:{...qt,getOffsetParent:f=>qt.getOffsetParent(f,fa)},middleware:[fl(s??4),la({allowedPlacements:o}),hl({apply({availableHeight:f,availableWidth:h,elements:p}){typeof i=="string"&&(i=`var(${i})`),i?p.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${i})`:p.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?p.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:p.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var ha={};M(ha,{isSlotEmptyOrWithoutContent:()=>Cp});var Cp=e=>e?e.assignedNodes({flatten:!0}).filter(o=>{var a;return o.nodeType===Node.TEXT_NODE?((a=o.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var Sa={};M(Sa,{FtdsBase:()=>xa,toFtdsBase:()=>vl});var ba={};M(ba,{ExportpartsUpdatedEvent:()=>Ct,FtLitElement:()=>ie});var ma={};M(ma,{ScopedRegistryLitElement:()=>Pr});var Pr=class extends ze{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},o=this.renderOptions.creationScope=this.attachShadow(r);return hr(o,t.elementStyles),o}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([r,o])=>this.defineScopedElement(r,o))}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 ga={};M(ga,{shadowQuerySelector:()=>ya,shadowQuerySelectorAll:()=>Ap});function ya(e,t,...r){var o;let a=e.querySelector(t);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function Ap(e,t,...r){let o=[...e.querySelectorAll(t)];for(let a of r)o=o.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return o}var Jt=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},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 ie=class extends Pr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[bl]=new _r(5),this.scheduleExportpartsUpdate=()=>{var t,r,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[xl].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[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(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}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:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=ya(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,o,a,i,s,l;let d=m=>m!=null&&m.trim().length>0,f=t.filter(d).map(m=>m.trim());if(f.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(s=(o=m.getAttribute("part"))===null||o===void 0?void 0:o.split(" "))!==null&&s!==void 0?s:[],S=(l=(a=m.getAttribute("exportparts"))===null||a===void 0?void 0:a.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)h.add(O)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...p].join(", ")}};bl=xl;Jt([T()],ie.prototype,"exportpartsPrefix",void 0);Jt([ot([])],ie.prototype,"exportpartsPrefixes",void 0);Jt([T({reflect:!0})],ie.prototype,"exportparts",void 0);Jt([T()],ie.prototype,"customStylesheet",void 0);Jt([T()],ie.prototype,"elementToFocus",void 0);Jt([ue()],ie.prototype,"useAdoptedStyleSheets",void 0);var Sl=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},vl=pe(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Ar.medium,this.family=Cr.neutral}getDesignSystemBaseClasses(){return{[Jn(this.family)]:!0,[Qn(this.size)]:!0}}}return Sl([T()],t.prototype,"size",void 0),Sl([T()],t.prototype,"family",void 0),t}),xa=class extends vl(ie){};var El={};var Ea={};M(Ea,{highlightHtml:()=>Tp,highlightHtmlColorCssVariable:()=>Ol,highlightHtmlStyles:()=>kp});var At=class e{constructor(t,r=!0,o=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(t,r){let o=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(t,r,o=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(t){let r="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(t,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,o))}catch{o()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,o){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,o):this.getIframeContents(t,r,o):this.observeIframeLoad(t,r,o)}catch{o()}}waitForIframes(t,r){let o=0;this.forEachIframe(t,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(t,r,o,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,o(h)),d()},d)})}createIterator(t,r,o){return document.createNodeIterator(t,r,o,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,o){let a=t.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),o;return r===null?o=t.nextNode():o=t.nextNode()&&t.nextNode(),{prevNode:r,node:o}}checkIframeFilter(t,r,o,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===o&&(i=d,s=l.handled)}),this.compareNodeIframe(t,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(t,r,o,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(t,r,o,a,i){let s=this.createIterator(r,t,a),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),a)}),d.push(f);d.forEach(m=>{o(m)}),this.iframes&&this.handleOpenIframes(l,t,o,a),i()}forEachNode(t,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var 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 o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],o=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,o);l&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(t,r){let o,a,i=!1;return t&&typeof t.start<"u"?(o=parseInt(t.start,10),a=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:a,valid:i}}checkWhitespaceRanges(t,r,o){let a,i=!0,s=o.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:o})})}matchesExclude(t){return At.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,o){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(r),s=i.splitText(o-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(t,r,o,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(o>s.end?s.end:o)-s.start,p=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+m,t.nodes.forEach((b,S)=>{S>=l&&(t.nodes[S].start>0&&S!==l&&(t.nodes[S].start-=h),t.nodes[S].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,p=>o(d[s],p),(p,m)=>{t.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(t,r,o,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,m=>r(m,l,i.value.substring(f,h),d),m=>{o(m,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));r.replaceChild(o,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),i,()=>{o===0&&this.opt.noMatch(t),this.opt.done(o)})}mark(t,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,b)=>this.opt.filter(b,f,o,p),m=>{p++,o++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(o):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(t,r){this.opt=r;let o=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=At.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function va(e){let t=new Lr(e);return this.mark=(r,o)=>(t.mark(r,o),this),this.markRegExp=(r,o)=>(t.markRegExp(r,o),this),this.markRanges=(r,o)=>(t.markRanges(r,o),this),this.unmark=r=>(t.unmark(r),this),this}var Rp=va,Ol=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),kp=q`
5
5
  .highlight-html-match {
6
- background: ${El};
6
+ background: ${Ol};
7
7
  }
8
- `;function Tp(e,t,r){var o,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new Rp(e);if(s.unmark(),t&&t.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let h in r.attributes)f.setAttribute(h,r.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var Ea={};M(Ea,{noTextInputDefaultClearButton:()=>Lp,noTextSelect:()=>Ip,safariEllipsisFix:()=>Pp,wordWrap:()=>Np});var Ip=q`
8
+ `;function Tp(e,t,r){var o,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new Rp(e);if(s.unmark(),t&&t.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let h in r.attributes)f.setAttribute(h,r.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var Oa={};M(Oa,{noTextInputDefaultClearButton:()=>Lp,noTextSelect:()=>Ip,safariEllipsisFix:()=>Pp,wordWrap:()=>Np});var Ip=q`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -44,7 +44,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `;var Ol={};var wa={};M(wa,{ParametrizedLabelResolver:()=>Oa});var Oa=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var ja={};M(ja,{FtCommandQueue:()=>Dr,FtLitElementRedux:()=>_a,FtReduxStore:()=>Ga,FtStateManager:()=>Ya,ReduxWatcher:()=>Wo,clearAllStores:()=>Nh,isFtReduxStore:()=>Qt,redux:()=>Mp,reduxEventListener:()=>Fp,reduxReactive:()=>Dp,watch:()=>Ph,withRedux:()=>wl});var Dp=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},Mp=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:nt,attribute:!1,...t};I(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:(l=>l[o]),store:t.store})}},Fp=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.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(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function 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,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[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;this[st].set(s,l.subscribe(()=>this.updateFromStores())),this[Mr].set(s,[]),Qt(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||l.name===f.store)){let p=m=>this[h](m);l.addEventListener(f.eventName,p),this[Mr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),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,o=Mr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),_a=class extends wl(ie){};function oe(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",_l=Up,Ca=()=>Math.random().toString(36).substring(7).split("").join("."),Bp={INIT:`@@redux/INIT${Ca()}`,REPLACE:`@@redux/REPLACE${Ca()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ca()}`},So=Bp;function vo(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 Aa(e,t,r){if(typeof e!="function")throw new Error(oe(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(Aa)(e,t)}let o=e,a=t,i=new Map,s=i,l=0,d=!1;function f(){s===i&&(s=new Map,i.forEach((O,C)=>{s.set(C,O)}))}function h(){if(d)throw new Error(oe(3));return a}function p(O){if(typeof O!="function")throw new Error(oe(4));if(d)throw new Error(oe(5));let C=!0;f();let D=l++;return s.set(D,O),function(){if(C){if(d)throw new Error(oe(6));C=!1,f(),s.delete(D),i=null}}}function m(O){if(!vo(O))throw new Error(oe(7));if(typeof O.type>"u")throw new Error(oe(8));if(typeof O.type!="string")throw new Error(oe(17));if(d)throw new Error(oe(9));try{d=!0,a=o(a,O)}finally{d=!1}return(i=s).forEach(D=>{D()}),O}function b(O){if(typeof O!="function")throw new Error(oe(10));o=O,m({type:So.REPLACE})}function S(){let O=p;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(oe(11));function D(){let g=C;g.next&&g.next(h())}return D(),{unsubscribe:O(D)}},[_l](){return this}}}return m({type:So.INIT}),{dispatch:m,subscribe:p,getState:h,replaceReducer:b,[_l]:S}}function Wp(e){Object.keys(e).forEach(t=>{let r=e[t];if(typeof r(void 0,{type:So.INIT})>"u")throw new Error(oe(12));if(typeof r(void 0,{type:So.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Cl(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 o=Object.keys(r),a,i;try{Wp(r)}catch(s){i=s}return function(l={},d){if(i)throw i;let f=!1,h={};for(let p=0;p<o.length;p++){let m=o[p],b=r[m],S=l[m],_=b(S,d);if(typeof _>"u"){let O=d&&d.type;throw new Error(oe(14))}h[m]=_,f=f||_!==S}return f=f||o.length!==Object.keys(l).length,f?h:l}}function Fr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...o)=>t(r(...o)))}function Al(...e){return t=>(r,o)=>{let a=t(r,o),i=()=>{throw new Error(oe(15))},s={getState:a.getState,dispatch:(d,...f)=>i(d,...f)},l=e.map(d=>d(s));return i=Fr(...l)(a.dispatch),{...a,dispatch:i}}}function Rl(e){return vo(e)&&"type"in e&&typeof e.type=="string"}var Fl=Symbol.for("immer-nothing"),kl=Symbol.for("immer-draftable"),ne=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,_o="constructor",Io="prototype",Ia="configurable",Co="enumerable",Oo="writable",Ur="value",Fe=e=>!!e&&!!e[ne];function me(e){return e?Ul(e)||Po(e)||!!e[kl]||!!e[_o]?.[kl]||Lo(e)||Do(e):!1}var Hp=he[Io][_o].toString(),Tl=new WeakMap;function Ul(e){if(!e||!Ba(e))return!1;let t=er(e);if(t===null||t===he[Io])return!0;let r=he.hasOwnProperty.call(t,_o)&&t[_o];if(r===Object)return!0;if(!Xt(r))return!1;let o=Tl.get(r);return o===void 0&&(o=Function.toString.call(r),Tl.set(r,o)),o===Hp}function No(e,t,r=!0){Hr(e)===0?(r?Reflect.ownKeys(e):he.keys(e)).forEach(a=>{t(a,e[a],e)}):e.forEach((o,a)=>t(a,o,e))}function Hr(e){let t=e[ne];return t?t.type_:Po(e)?1:Lo(e)?2:Do(e)?3:0}var Ra=(e,t,r=Hr(e))=>r===2?e.has(t):he[Io].hasOwnProperty.call(e,t),Na=(e,t,r=Hr(e))=>r===2?e.get(t):e[t],Ao=(e,t,r,o=Hr(e))=>{o===2?e.set(t,r):o===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 Po=Array.isArray,Lo=e=>e instanceof Map,Do=e=>e instanceof Set,Ba=e=>typeof e=="object",Xt=e=>typeof e=="function",ka=e=>typeof e=="boolean";function zp(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ge=e=>e.copy_||e.base_;var Wa=e=>e.modified_?e.copy_:e.base_;function Pa(e,t){if(Lo(e))return new Map(e);if(Do(e))return new Set(e);if(Po(e))return Array[Io].slice.call(e);let r=Ul(e);if(t===!0||t==="class_only"&&!r){let o=he.getOwnPropertyDescriptors(e);delete o[ne];let a=Reflect.ownKeys(o);for(let i=0;i<a.length;i++){let s=a[i],l=o[s];l[Oo]===!1&&(l[Oo]=!0,l[Ia]=!0),(l.get||l.set)&&(o[s]={[Ia]:!0,[Oo]:!0,[Co]:l[Co],[Ur]:e[s]})}return he.create(er(e),o)}else{let o=er(e);if(o!==null&&r)return{...e};let a=he.create(o);return he.assign(a,e)}}function Ha(e,t=!1){return Mo(e)||Fe(e)||!me(e)||(Hr(e)>1&&he.defineProperties(e,{set:Eo,add:Eo,clear:Eo,delete:Eo}),he.freeze(e),t&&No(e,(r,o)=>{Ha(o,!0)},!1)),e}function Vp(){ke(2)}var Eo={[Ur]:Vp};function Mo(e){return e===null||!Ba(e)?!0:he.isFrozen(e)}var Ro="MapSet",La="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(Ro)?kt(Ro):void 0,arrayMethodsPlugin_:Nl(Il)?kt(Il):void 0});function Pl(e,t){t&&(e.patchPlugin_=kt(La),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Da(e){Ma(e),e.drafts_.forEach(Yp),e.drafts_=null}function Ma(e){e===Br&&(Br=e.parent_)}var Ll=e=>Br=Gp(Br,e);function Yp(e){let t=e[ne];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[ne].modified_&&(Da(t),ke(4)),me(e)&&(e=Ml(t,e));let{patchPlugin_:a}=t;a&&a.generateReplacementPatches_(r[ne].base_,e,t)}else e=Ml(t,r);return jp(t,e,!0),Da(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Fl?e:void 0}function Ml(e,t){if(Mo(t))return t;let r=t[ne];if(!r)return ko(t,e.handledSet_,e);if(!Fo(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:o}=r;if(o)for(;o.length>0;)o.pop()(e);zl(r,e)}return r.copy_}function jp(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Ha(t,r)}function Hl(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Fo=(e,t)=>e.scope_===t,Kp=[];function $l(e,t,r,o){let a=Ge(e),i=e.type_;if(o!==void 0&&Na(a,o,i)===t){Ao(a,o,r,i);return}if(!e.draftLocations_){let l=e.draftLocations_=new Map;No(a,(d,f)=>{if(Fe(f)){let h=l.get(f)||[];h.push(d),l.set(f,h)}})}let s=e.draftLocations_.get(t)??Kp;for(let l of s)Ao(a,l,r,i)}function Zp(e,t,r){e.callbacks_.push(function(a){let i=t;if(!i||!Fo(i,a))return;a.mapSetPlugin_?.fixSetContents(i);let s=Wa(i);$l(e,i.draft_??i,s,r),zl(i,a)})}function zl(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:o}=t;if(o){let a=o.getPath(e);a&&o.generatePatches_(e,a,t)}Hl(e)}}function qp(e,t,r){let{scope_:o}=e;if(Fe(r)){let a=r[ne];Fo(a,o)&&a.callbacks_.push(function(){wo(e);let s=Wa(a);$l(e,r,s,t)})}else me(r)&&e.callbacks_.push(function(){let i=Ge(e);e.type_===3?i.has(r)&&ko(r,o.handledSet_,o):Na(i,t,e.type_)===r&&o.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&ko(Na(e.copy_,t,e.type_),o.handledSet_,o)})}function ko(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Fe(e)||t.has(e)||!me(e)||Mo(e)||(t.add(e),No(e,(o,a)=>{if(Fe(a)){let i=a[ne];if(Fo(i,r)){let s=Wa(i);Ao(e,o,s,e.type_),Hl(i)}}else me(a)&&ko(a,t,r)})),e}function Jp(e,t){let r=Po(e),o={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},a=o,i=To;r&&(a=[o],i=Wr);let{revoke:s,proxy:l}=Proxy.revocable(a,i);return o.draft_=l,o.revoke_=s,[l,o]}var To={get(e,t){if(t===ne)return e;let r=e.scope_.arrayMethodsPlugin_,o=e.type_===1&&typeof t=="string";if(o&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);let a=Ge(e);if(!Ra(a,t,e.type_))return Xp(e,a,t);let i=a[t];if(e.finalized_||!me(i)||o&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&zp(t))return i;if(i===Ta(e.base_,t)||Qp(e,t,i)){wo(e);let s=e.type_===1?+t:t,l=Ua(e.scope_,i,e,s);return e.copy_[s]=l}return i},has(e,t){return t in Ge(e)},ownKeys(e){return Reflect.ownKeys(Ge(e))},set(e,t,r){let o=Vl(Ge(e),t);if(o?.set)return o.set.call(e.draft_,r),!0;if(!e.modified_){let a=Ta(Ge(e),t),i=a?.[ne];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if($p(r,a)&&(r!==void 0||Ra(e.base_,t,e.type_)))return!0;wo(e),Fa(e)}return e.copy_[t]===r&&(r!==void 0||Ra(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 wo(e),Ta(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Fa(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let r=Ge(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{[Oo]:!0,[Ia]:e.type_!==1||t!=="length",[Co]:o[Co],[Ur]:r[t]}},defineProperty(){ke(11)},getPrototypeOf(e){return er(e.base_)},setPrototypeOf(){ke(12)}},Wr={};for(let e in To){let t=To[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 To.set.call(this,e[0],t,r,e[0])};function Ta(e,t){let r=e[ne];return(r?Ge(r):e)[t]}function Qp(e,t,r){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!me(r)||r[ne]?!1:e.baseRefs_.has(r)}function Xp(e,t,r){let o=Vl(t,r);return o?Ur in o?o[Ur]:o.get?.call(e.draft_):void 0}function Vl(e,t){if(!(t in e))return;let r=er(e);for(;r;){let o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=er(r)}}function Fa(e){e.modified_||(e.modified_=!0,e.parent_&&Fa(e.parent_))}function wo(e){e.copy_||(e.assigned_=new Map,e.copy_=Pa(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var eh=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,r,o)=>{if(Xt(t)&&!Xt(r)){let i=r;r=t;let s=this;return function(d=i,...f){return s.produce(d,h=>r.call(this,h,...f))}}Xt(r)||ke(6),o!==void 0&&!Xt(o)&&ke(7);let a;if(me(t)){let i=Ll(this),s=Ua(i,t,void 0),l=!0;try{a=r(s),l=!1}finally{l?Da(i):Ma(i)}return Pl(i,o),Dl(a,i)}else if(!t||!Ba(t)){if(a=r(t),a===void 0&&(a=t),a===Fl&&(a=void 0),this.autoFreeze_&&Ha(a,!0),o){let i=[],s=[];kt(La).generateReplacementPatches_(t,a,{patches_:i,inversePatches_:s}),o(i,s)}return a}else ke(1,t)},this.produceWithPatches=(t,r)=>{if(Xt(t))return(s,...l)=>this.produceWithPatches(s,d=>t(d,...l));let o,a;return[this.produce(t,r,(s,l)=>{o=s,a=l}),o,a]},ka(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),ka(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),ka(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){me(e)||ke(8),Fe(e)&&(e=Gl(e));let t=Ll(this),r=Ua(t,e,void 0);return r[ne].isManual_=!0,Ma(t),r}finishDraft(e,t){let r=e&&e[ne];(!r||!r.isManual_)&&ke(9);let{scope_:o}=r;return Pl(o,t),Dl(void 0,o)}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 a=t[r];if(a.path.length===0&&a.op==="replace"){e=a.value;break}}r>-1&&(t=t.slice(r+1));let o=kt(La).applyPatches_;return Fe(e)?o(e,t):this.produce(e,a=>o(a,t))}};function Ua(e,t,r,o){let[a,i]=Lo(t)?kt(Ro).proxyMap_(t,r):Do(t)?kt(Ro).proxySet_(t,r):Jp(t,r);return(r?.scope_??Wl()).drafts_.push(a),i.callbacks_=r?.callbacks_??[],i.key_=o,r&&o!==void 0?Zp(r,i,o):i.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(i);let{patchPlugin_:f}=d;i.modified_&&f&&f.generatePatches_(i,[],d)}),a}function Gl(e){return Fe(e)||ke(10,e),Yl(e)}function Yl(e){if(!me(e)||Mo(e))return e;let t=e[ne],r,o=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Pa(e,t.scope_.immer_.useStrictShallowCopy_),o=t.scope_.immer_.shouldUseStrictIteration()}else r=Pa(e,!0);return No(r,(a,i)=>{Ao(r,a,Yl(i))},o),t&&(t.finalized_=!1),r}var th=globalThis.Iterator,yw=typeof th?.from=="function";var rh=new eh,$a=rh.produce;function jl(e){return({dispatch:r,getState:o})=>a=>i=>typeof i=="function"?i(r,o,e):a(i)}var Kl=jl(),Zl=jl;var oh=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)},Ow=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}},nh=e=>e&&typeof e.match=="function";function ct(e,t){function r(...o){if(t){let a=t(...o);if(!a)throw new Error(Ye(0));return{type:e,payload:a.payload,..."meta"in a&&{meta:a.meta},..."error"in a&&{error:a.error}}}return{type:e,payload:o[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=o=>Rl(o)&&o.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)?$a(e,()=>{}):e}function Uo(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function ah(e){return typeof e=="boolean"}var ih=()=>function(t){let{thunk:r=!0,immutableCheck:o=!0,serializableCheck:a=!0,actionCreatorCheck:i=!0}=t??{},s=new ed;return r&&(ah(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 o=!1,a=()=>{o||(o=!0,cancelAnimationFrame(i),clearTimeout(s),r())},i=e(a),s=setTimeout(a,t)},lh=(e={type:"raf"})=>t=>(...r)=>{let o=t(...r),a=!0,i=!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,i&&(i=!1,l.forEach(h=>h()))};return Object.assign({},o,{subscribe(h){let p=()=>a&&h(),m=o.subscribe(p);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return a=!h?.meta?.[sh],i=!a,i&&(s||(s=!0,d(f))),o.dispatch(h)}finally{a=!0}}})},dh=e=>function(r){let{autoBatch:o=!0}=r??{},a=new ed(e);return o&&a.push(lh(typeof o=="object"?o:void 0)),a};function td(e){let t=ih(),{reducer:r=void 0,middleware:o,devTools:a=!0,duplicateMiddlewareCheck:i=!0,preloadedState:s=void 0,enhancers:l=void 0}=e||{},d;if(typeof r=="function")d=r;else if(vo(r))d=Cl(r);else throw new Error(Ye(1));let f;typeof o=="function"?f=o(t):f=t();let h=Fr;a&&(h=oh({trace:!1,...typeof a=="object"&&a}));let p=Al(...f),m=dh(p),b=typeof l=="function"?l(m):m(),S=h(...b);return Aa(d,s,S)}function rd(e){let t={},r=[],o,a={addCase(i,s){let l=typeof i=="string"?i:i.type;if(!l)throw new Error(Ye(28));if(l in t)throw new Error(Ye(29));return t[l]=s,a},addAsyncThunk(i,s){return s.pending&&(t[i.pending.type]=s.pending),s.rejected&&(t[i.rejected.type]=s.rejected),s.fulfilled&&(t[i.fulfilled.type]=s.fulfilled),s.settled&&r.push({matcher:i.settled,reducer:s.settled}),a},addMatcher(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase(i){return o=i,a}};return e(a),[t,r,o]}function uh(e){return typeof e=="function"}function fh(e,t){let[r,o,a]=rd(t),i;if(uh(e))i=()=>ql(e());else{let l=ql(e);i=()=>l}function s(l=i(),d){let f=[r[d.type],...o.filter(({matcher:h})=>h(d)).map(({reducer:h})=>h)];return f.filter(h=>!!h).length===0&&(f=[a]),f.reduce((h,p)=>{if(p)if(Fe(h)){let b=p(h,d);return b===void 0?h:b}else{if(me(h))return $a(h,m=>p(m,d));{let m=p(h,d);if(m===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}}return h},l)}return s.getInitialState=i,s}var ph=(e,t)=>nh(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"],za=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},Ql=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},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,o){let a=ct(t+"/fulfilled",(d,f,h,p)=>({payload:d,meta:{...p||{},arg:h,requestId:f,requestStatus:"fulfilled"}})),i=ct(t+"/pending",(d,f,h)=>({payload:void 0,meta:{...h||{},arg:f,requestId:d,requestStatus:"pending"}})),s=ct(t+"/rejected",(d,f,h,p,m)=>({payload:p,error:(o&&o.serializeError||bh)(d||"Rejected"),meta:{...m||{},arg:h,requestId:f,rejectedWithValue:!!p,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:f}={}){return(h,p,m)=>{let b=o?.idGenerator?o.idGenerator(d):yh(),S=new AbortController,_,O;function C(y){O=y,S.abort()}f&&(f.aborted?C(Xl):f.addEventListener("abort",()=>C(Xl),{once:!0}));let D=(async function(){let y;try{let x=o?.condition?.(d,{getState:p,extra:m});if(vh(x)&&(x=await x),x===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let A=new Promise((k,U)=>{_=()=>{U({name:"AbortError",message:O||"Aborted"})},S.signal.addEventListener("abort",_,{once:!0})});h(i(b,d,o?.getPendingMeta?.({requestId:b,arg:d},{getState:p,extra:m}))),y=await Promise.race([A,Promise.resolve(r(d,{dispatch:h,getState:p,extra:m,requestId:b,signal:S.signal,abort:C,rejectWithValue:((k,U)=>new za(k,U)),fulfillWithValue:((k,U)=>new Ql(k,U))})).then(k=>{if(k instanceof za)throw k;return k instanceof Ql?a(k.payload,b,d,k.meta):a(k,b,d)})])}catch(x){y=x instanceof za?s(null,b,d,x.payload,x.meta):s(x,b,d)}finally{_&&S.signal.removeEventListener("abort",_)}return o&&!o.dispatchConditionRejection&&s.match(y)&&y.meta.condition||h(y),y})();return Object.assign(D,{abort:C,requestId:b,arg:d,unwrap(){return D.then(Sh)}})}}return Object.assign(l,{pending:i,rejected:s,fulfilled:a,settled:hh(s,a),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 od=Symbol.for("rtk-slice-createasyncthunk"),_w={[od]:xh};function Eh(e,t){return`${e}/${t}`}function Oh({creators:e}={}){let t=e?.asyncThunk?.[od];return function(o){let{name:a,reducerPath:i=a}=o;if(!a)throw new Error(Ye(11));typeof process<"u";let s=(typeof o.reducers=="function"?o.reducers(_h()):o.reducers)||{},l=Object.keys(s),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(Ye(12));if(x in d.sliceCaseReducersByType)throw new Error(Ye(13));return d.sliceCaseReducersByType[x]=g,f},addMatcher(y,g){return d.sliceMatchers.push({matcher:y,reducer:g}),f},exposeAction(y,g){return d.actionCreators[y]=g,f},exposeCaseReducer(y,g){return d.sliceCaseReducersByName[y]=g,f}};l.forEach(y=>{let g=s[y],x={reducerName:y,type:Eh(a,y),createNotation:typeof o.reducers=="function"};Ah(g)?kh(x,g,f,t):Ch(x,g,f)});function h(){let[y={},g=[],x=void 0]=typeof o.extraReducers=="function"?rd(o.extraReducers):[o.extraReducers],A={...y,...d.sliceCaseReducersByType};return fh(o.initialState,k=>{for(let U in A)k.addCase(U,A[U]);for(let U of d.sliceMatchers)k.addMatcher(U.matcher,U.reducer);for(let U of g)k.addMatcher(U.matcher,U.reducer);x&&k.addDefaultCase(x)})}let p=y=>y,m=new Map,b=new WeakMap,S;function _(y,g){return S||(S=h()),S(y,g)}function O(){return S||(S=h()),S.getInitialState()}function C(y,g=!1){function x(k){let U=k[y];return typeof U>"u"&&g&&(U=Uo(b,x,O)),U}function A(k=p){let U=Uo(m,g,()=>new WeakMap);return Uo(U,k,()=>{let j={};for(let[T,B]of Object.entries(o.selectors??{}))j[T]=wh(B,k,()=>Uo(b,k,O),g);return j})}return{reducerPath:y,getSelectors:A,get selectors(){return A(x)},selectSlice:x}}let D={name:a,reducer:_,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:O,...C(i),injectInto(y,{reducerPath:g,...x}={}){let A=g??i;return y.inject({reducerPath:A,reducer:_},x),{...D,...C(A,!0)}}};return D}}function wh(e,t,r,o){function a(i,...s){let l=t(i);return typeof l>"u"&&o&&(l=r()),e(l,...s)}return a.unwrapped=e,a}var nd=Oh();function _h(){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},o,a){let i,s;if("reducer"in o){if(r&&!Rh(o))throw new Error(Ye(17));i=o.reducer,s=o.prepare}else i=o;a.addCase(e,i).exposeCaseReducer(t,i).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,o,a){if(!a)throw new Error(Ye(18));let{payloadCreator:i,fulfilled:s,pending:l,rejected:d,settled:f,options:h}=r,p=a(e,i,h);o.exposeAction(t,p),s&&o.addCase(p.fulfilled,s),l&&o.addCase(p.pending,l),d&&o.addCase(p.rejected,d),f&&o.addMatcher(p.settled,f),o.exposeCaseReducer(t,{fulfilled:s||Bo,pending:l||Bo,rejected:d||Bo,settled:f||Bo})}function Bo(){}var ad="listener",id="completed",sd="cancelled",Cw=`task-${sd}`,Aw=`task-${id}`,Rw=`${ad}-${sd}`,kw=`${ad}-${id}`;var{assign:cd}=Object;var Va="listenerMiddleware";var Th=cd(ct(`${Va}/add`),{withTypes:()=>Th}),Tw=ct(`${Va}/removeAll`),Ih=cd(ct(`${Va}/remove`),{withTypes:()=>Ih});function Ye(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 Ga=class e extends xt{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(Qt(i))return i;if(a==null)return;let s=nd({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=td({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Ht(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Dr,this.injectInto=(i,s)=>this.reduxSlice.injectInto(i,s),this.selectSlice=i=>this.reduxSlice.selectSlice(i);let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{let p=d,m=this.getState()[p];bt(m,h)||this.setState({[p]:a(h)})}}}),this.eventBus=o??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 Wo=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);nt(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Ph(e,t,r){return new Wo(e,t,r).watch()}var Ya=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 o of r)this.getOrCreateRequestConsumers(o).add(t).size==1&&this.onNewNeededRequest(o)}unregisterComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var qa={};M(qa,{scrollHelper:()=>Lh});var Ka,Ho=new Map,Za=class{lock(t,r){if(r){let o=Ho.get(r);if(o==null||o===t)return Ho.set(r,t),r}}release(t,r){r&&Ho.get(r)===t&&Ho.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of Nn(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,l=gt(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Ka=window.FluidTopicsScrollHelper)!==null&&Ka!==void 0?Ka:new Za;var Lh=window.FluidTopicsScrollHelper;var Qa={};M(Qa,{toFtFormComponent:()=>Dh});var Ja=Symbol("elementInternals"),Dh=pe(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Ja].form}constructor(...o){super(o),this[Ja]=this.attachInternals()}setFormValue(o){this[Ja].setFormValue(o)}}return t});var ei={};M(ei,{DateFormatter:()=>Xa});var Xa=class{static format(t,r,o,a,i){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(o,a,!!i)):this.getIntlDateTime(t,r,o,a,!!i)}static getMomentDateFormat(t,r,o){return o?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,o,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${l} ${d}`:l}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ri={};M(ri,{ALL_KEYS_VALUE:()=>ti,SameWindowStorageEvent:()=>tr});var ti="__all__",tr=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ti}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new tr(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new tr(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new tr(ti))}});var ni={};M(ni,{FocusMainContentEvent:()=>oi});var oi=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 wl={};var _a={};M(_a,{ParametrizedLabelResolver:()=>wa});var wa=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var Ka={};M(Ka,{FtCommandQueue:()=>Dr,FtLitElementRedux:()=>Ca,FtReduxStore:()=>Ya,FtStateManager:()=>ja,ReduxWatcher:()=>Ho,clearAllStores:()=>Nh,isFtReduxStore:()=>Qt,redux:()=>Mp,reduxEventListener:()=>Fp,reduxReactive:()=>Dp,watch:()=>Ph,withRedux:()=>_l});var Dp=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},Mp=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:nt,attribute:!1,...t};T(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:(l=>l[o]),store:t.store})}},Fp=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.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(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Qt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Mr=Symbol("internalReduxEventsUnsubscribers"),st=Symbol("internalStoresUnsubscribers"),Rt=Symbol("internalStores"),_l=pe(Symbol("withRedux"),function(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[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;this[st].set(s,l.subscribe(()=>this.updateFromStores())),this[Mr].set(s,[]),Qt(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||l.name===f.store)){let p=m=>this[h](m);l.addEventListener(f.eventName,p),this[Mr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),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,o=Mr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Ca=class extends _l(ie){};function oe(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,Aa=()=>Math.random().toString(36).substring(7).split("").join("."),Bp={INIT:`@@redux/INIT${Aa()}`,REPLACE:`@@redux/REPLACE${Aa()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Aa()}`},So=Bp;function vo(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 Ra(e,t,r){if(typeof e!="function")throw new Error(oe(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(Ra)(e,t)}let o=e,a=t,i=new Map,s=i,l=0,d=!1;function f(){s===i&&(s=new Map,i.forEach((O,A)=>{s.set(A,O)}))}function h(){if(d)throw new Error(oe(3));return a}function p(O){if(typeof O!="function")throw new Error(oe(4));if(d)throw new Error(oe(5));let A=!0;f();let D=l++;return s.set(D,O),function(){if(A){if(d)throw new Error(oe(6));A=!1,f(),s.delete(D),i=null}}}function m(O){if(!vo(O))throw new Error(oe(7));if(typeof O.type>"u")throw new Error(oe(8));if(typeof O.type!="string")throw new Error(oe(17));if(d)throw new Error(oe(9));try{d=!0,a=o(a,O)}finally{d=!1}return(i=s).forEach(D=>{D()}),O}function b(O){if(typeof O!="function")throw new Error(oe(10));o=O,m({type:So.REPLACE})}function S(){let O=p;return{subscribe(A){if(typeof A!="object"||A===null)throw new Error(oe(11));function D(){let y=A;y.next&&y.next(h())}return D(),{unsubscribe:O(D)}},[Cl](){return this}}}return m({type:So.INIT}),{dispatch:m,subscribe:p,getState:h,replaceReducer:b,[Cl]:S}}function Wp(e){Object.keys(e).forEach(t=>{let r=e[t];if(typeof r(void 0,{type:So.INIT})>"u")throw new Error(oe(12));if(typeof r(void 0,{type:So.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function ka(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 o=Object.keys(r),a,i;try{Wp(r)}catch(s){i=s}return function(l={},d){if(i)throw i;let f=!1,h={};for(let p=0;p<o.length;p++){let m=o[p],b=r[m],S=l[m],C=b(S,d);if(typeof C>"u"){let O=d&&d.type;throw new Error(oe(14))}h[m]=C,f=f||C!==S}return f=f||o.length!==Object.keys(l).length,f?h:l}}function Fr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...o)=>t(r(...o)))}function Al(...e){return t=>(r,o)=>{let a=t(r,o),i=()=>{throw new Error(oe(15))},s={getState:a.getState,dispatch:(d,...f)=>i(d,...f)},l=e.map(d=>d(s));return i=Fr(...l)(a.dispatch),{...a,dispatch:i}}}function Rl(e){return vo(e)&&"type"in e&&typeof e.type=="string"}var Fl=Symbol.for("immer-nothing"),kl=Symbol.for("immer-draftable"),ne=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,_o="constructor",Io="prototype",Pa="configurable",Co="enumerable",Oo="writable",Ur="value",Fe=e=>!!e&&!!e[ne];function me(e){return e?Ul(e)||Po(e)||!!e[kl]||!!e[_o]?.[kl]||Lo(e)||Do(e):!1}var Hp=he[Io][_o].toString(),Tl=new WeakMap;function Ul(e){if(!e||!Ha(e))return!1;let t=er(e);if(t===null||t===he[Io])return!0;let r=he.hasOwnProperty.call(t,_o)&&t[_o];if(r===Object)return!0;if(!Xt(r))return!1;let o=Tl.get(r);return o===void 0&&(o=Function.toString.call(r),Tl.set(r,o)),o===Hp}function No(e,t,r=!0){Hr(e)===0?(r?Reflect.ownKeys(e):he.keys(e)).forEach(a=>{t(a,e[a],e)}):e.forEach((o,a)=>t(a,o,e))}function Hr(e){let t=e[ne];return t?t.type_:Po(e)?1:Lo(e)?2:Do(e)?3:0}var Ta=(e,t,r=Hr(e))=>r===2?e.has(t):he[Io].hasOwnProperty.call(e,t),La=(e,t,r=Hr(e))=>r===2?e.get(t):e[t],Ao=(e,t,r,o=Hr(e))=>{o===2?e.set(t,r):o===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 Po=Array.isArray,Lo=e=>e instanceof Map,Do=e=>e instanceof Set,Ha=e=>typeof e=="object",Xt=e=>typeof e=="function",Ia=e=>typeof e=="boolean";function zp(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ye=e=>e.copy_||e.base_;var $a=e=>e.modified_?e.copy_:e.base_;function Da(e,t){if(Lo(e))return new Map(e);if(Do(e))return new Set(e);if(Po(e))return Array[Io].slice.call(e);let r=Ul(e);if(t===!0||t==="class_only"&&!r){let o=he.getOwnPropertyDescriptors(e);delete o[ne];let a=Reflect.ownKeys(o);for(let i=0;i<a.length;i++){let s=a[i],l=o[s];l[Oo]===!1&&(l[Oo]=!0,l[Pa]=!0),(l.get||l.set)&&(o[s]={[Pa]:!0,[Oo]:!0,[Co]:l[Co],[Ur]:e[s]})}return he.create(er(e),o)}else{let o=er(e);if(o!==null&&r)return{...e};let a=he.create(o);return he.assign(a,e)}}function Mo(e,t=!1){return Fo(e)||Fe(e)||!me(e)||(Hr(e)>1&&he.defineProperties(e,{set:Eo,add:Eo,clear:Eo,delete:Eo}),he.freeze(e),t&&No(e,(r,o)=>{Mo(o,!0)},!1)),e}function Vp(){ke(2)}var Eo={[Ur]:Vp};function Fo(e){return e===null||!Ha(e)?!0:he.isFrozen(e)}var Ro="MapSet",Ma="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(Ro)?kt(Ro):void 0,arrayMethodsPlugin_:Nl(Il)?kt(Il):void 0});function Pl(e,t){t&&(e.patchPlugin_=kt(Ma),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Fa(e){Ua(e),e.drafts_.forEach(Yp),e.drafts_=null}function Ua(e){e===Br&&(Br=e.parent_)}var Ll=e=>Br=Gp(Br,e);function Yp(e){let t=e[ne];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[ne].modified_&&(Fa(t),ke(4)),me(e)&&(e=Ml(t,e));let{patchPlugin_:a}=t;a&&a.generateReplacementPatches_(r[ne].base_,e,t)}else e=Ml(t,r);return jp(t,e,!0),Fa(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Fl?e:void 0}function Ml(e,t){if(Fo(t))return t;let r=t[ne];if(!r)return ko(t,e.handledSet_,e);if(!Uo(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:o}=r;if(o)for(;o.length>0;)o.pop()(e);zl(r,e)}return r.copy_}function jp(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Mo(t,r)}function Hl(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Uo=(e,t)=>e.scope_===t,Kp=[];function $l(e,t,r,o){let a=Ye(e),i=e.type_;if(o!==void 0&&La(a,o,i)===t){Ao(a,o,r,i);return}if(!e.draftLocations_){let l=e.draftLocations_=new Map;No(a,(d,f)=>{if(Fe(f)){let h=l.get(f)||[];h.push(d),l.set(f,h)}})}let s=e.draftLocations_.get(t)??Kp;for(let l of s)Ao(a,l,r,i)}function Zp(e,t,r){e.callbacks_.push(function(a){let i=t;if(!i||!Uo(i,a))return;a.mapSetPlugin_?.fixSetContents(i);let s=$a(i);$l(e,i.draft_??i,s,r),zl(i,a)})}function zl(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:o}=t;if(o){let a=o.getPath(e);a&&o.generatePatches_(e,a,t)}Hl(e)}}function qp(e,t,r){let{scope_:o}=e;if(Fe(r)){let a=r[ne];Uo(a,o)&&a.callbacks_.push(function(){wo(e);let s=$a(a);$l(e,r,s,t)})}else me(r)&&e.callbacks_.push(function(){let i=Ye(e);e.type_===3?i.has(r)&&ko(r,o.handledSet_,o):La(i,t,e.type_)===r&&o.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&ko(La(e.copy_,t,e.type_),o.handledSet_,o)})}function ko(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Fe(e)||t.has(e)||!me(e)||Fo(e)||(t.add(e),No(e,(o,a)=>{if(Fe(a)){let i=a[ne];if(Uo(i,r)){let s=$a(i);Ao(e,o,s,e.type_),Hl(i)}}else me(a)&&ko(a,t,r)})),e}function Jp(e,t){let r=Po(e),o={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},a=o,i=To;r&&(a=[o],i=Wr);let{revoke:s,proxy:l}=Proxy.revocable(a,i);return o.draft_=l,o.revoke_=s,[l,o]}var To={get(e,t){if(t===ne)return e;let r=e.scope_.arrayMethodsPlugin_,o=e.type_===1&&typeof t=="string";if(o&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);let a=Ye(e);if(!Ta(a,t,e.type_))return Xp(e,a,t);let i=a[t];if(e.finalized_||!me(i)||o&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&zp(t))return i;if(i===Na(e.base_,t)||Qp(e,t,i)){wo(e);let s=e.type_===1?+t:t,l=Wa(e.scope_,i,e,s);return e.copy_[s]=l}return i},has(e,t){return t in Ye(e)},ownKeys(e){return Reflect.ownKeys(Ye(e))},set(e,t,r){let o=Vl(Ye(e),t);if(o?.set)return o.set.call(e.draft_,r),!0;if(!e.modified_){let a=Na(Ye(e),t),i=a?.[ne];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_.delete(t),!0;if($p(r,a)&&(r!==void 0||Ta(e.base_,t,e.type_)))return!0;wo(e),Ba(e)}return e.copy_[t]===r&&(r!==void 0||Ta(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 wo(e),Na(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Ba(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let r=Ye(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{[Oo]:!0,[Pa]:e.type_!==1||t!=="length",[Co]:o[Co],[Ur]:r[t]}},defineProperty(){ke(11)},getPrototypeOf(e){return er(e.base_)},setPrototypeOf(){ke(12)}},Wr={};for(let e in To){let t=To[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 To.set.call(this,e[0],t,r,e[0])};function Na(e,t){let r=e[ne];return(r?Ye(r):e)[t]}function Qp(e,t,r){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!me(r)||r[ne]?!1:e.baseRefs_.has(r)}function Xp(e,t,r){let o=Vl(t,r);return o?Ur in o?o[Ur]:o.get?.call(e.draft_):void 0}function Vl(e,t){if(!(t in e))return;let r=er(e);for(;r;){let o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=er(r)}}function Ba(e){e.modified_||(e.modified_=!0,e.parent_&&Ba(e.parent_))}function wo(e){e.copy_||(e.assigned_=new Map,e.copy_=Da(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var eh=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,r,o)=>{if(Xt(t)&&!Xt(r)){let i=r;r=t;let s=this;return function(d=i,...f){return s.produce(d,h=>r.call(this,h,...f))}}Xt(r)||ke(6),o!==void 0&&!Xt(o)&&ke(7);let a;if(me(t)){let i=Ll(this),s=Wa(i,t,void 0),l=!0;try{a=r(s),l=!1}finally{l?Fa(i):Ua(i)}return Pl(i,o),Dl(a,i)}else if(!t||!Ha(t)){if(a=r(t),a===void 0&&(a=t),a===Fl&&(a=void 0),this.autoFreeze_&&Mo(a,!0),o){let i=[],s=[];kt(Ma).generateReplacementPatches_(t,a,{patches_:i,inversePatches_:s}),o(i,s)}return a}else ke(1,t)},this.produceWithPatches=(t,r)=>{if(Xt(t))return(s,...l)=>this.produceWithPatches(s,d=>t(d,...l));let o,a;return[this.produce(t,r,(s,l)=>{o=s,a=l}),o,a]},Ia(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Ia(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Ia(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){me(e)||ke(8),Fe(e)&&(e=Gl(e));let t=Ll(this),r=Wa(t,e,void 0);return r[ne].isManual_=!0,Ua(t),r}finishDraft(e,t){let r=e&&e[ne];(!r||!r.isManual_)&&ke(9);let{scope_:o}=r;return Pl(o,t),Dl(void 0,o)}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 a=t[r];if(a.path.length===0&&a.op==="replace"){e=a.value;break}}r>-1&&(t=t.slice(r+1));let o=kt(Ma).applyPatches_;return Fe(e)?o(e,t):this.produce(e,a=>o(a,t))}};function Wa(e,t,r,o){let[a,i]=Lo(t)?kt(Ro).proxyMap_(t,r):Do(t)?kt(Ro).proxySet_(t,r):Jp(t,r);return(r?.scope_??Wl()).drafts_.push(a),i.callbacks_=r?.callbacks_??[],i.key_=o,r&&o!==void 0?Zp(r,i,o):i.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(i);let{patchPlugin_:f}=d;i.modified_&&f&&f.generatePatches_(i,[],d)}),a}function Gl(e){return Fe(e)||ke(10,e),Yl(e)}function Yl(e){if(!me(e)||Fo(e))return e;let t=e[ne],r,o=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Da(e,t.scope_.immer_.useStrictShallowCopy_),o=t.scope_.immer_.shouldUseStrictIteration()}else r=Da(e,!0);return No(r,(a,i)=>{Ao(r,a,Yl(i))},o),t&&(t.finalized_=!1),r}var th=globalThis.Iterator,yw=typeof th?.from=="function";var rh=new eh,za=rh.produce;function jl(e){return({dispatch:r,getState:o})=>a=>i=>typeof i=="function"?i(r,o,e):a(i)}var Kl=jl(),Zl=jl;var oh=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 nh=e=>e&&typeof e.match=="function";function ct(e,t){function r(...o){if(t){let a=t(...o);if(!a)throw new Error(Ue(0));return{type:e,payload:a.payload,..."meta"in a&&{meta:a.meta},..."error"in a&&{error:a.error}}}return{type:e,payload:o[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=o=>Rl(o)&&o.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)?za(e,()=>{}):e}function Bo(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function ah(e){return typeof e=="boolean"}var ih=()=>function(t){let{thunk:r=!0,immutableCheck:o=!0,serializableCheck:a=!0,actionCreatorCheck:i=!0}=t??{},s=new ed;return r&&(ah(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 o=!1,a,i,s=()=>{o||(o=!0,cancelAnimationFrame(a),clearTimeout(i),r())};a=e(s),i=setTimeout(s,t)},lh=(e={type:"raf"})=>t=>(...r)=>{let o=t(...r),a=!0,i=!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,i&&(i=!1,l.forEach(h=>h()))};return Object.assign({},o,{subscribe(h){let p=()=>a&&h(),m=o.subscribe(p);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return a=!h?.meta?.[sh],i=!a,i&&(s||(s=!0,d(f))),o.dispatch(h)}finally{a=!0}}})},dh=e=>function(r){let{autoBatch:o=!0}=r??{},a=new ed(e);return o&&a.push(lh(typeof o=="object"?o:void 0)),a};function td(e){let t=ih(),{reducer:r=void 0,middleware:o,devTools:a=!0,duplicateMiddlewareCheck:i=!0,preloadedState:s=void 0,enhancers:l=void 0}=e||{},d;if(typeof r=="function")d=r;else if(vo(r))d=ka(r);else throw new Error(Ue(1));let f;typeof o=="function"?f=o(t):f=t();let h=Fr;a&&(h=oh({trace:!1,...typeof a=="object"&&a}));let p=Al(...f),m=dh(p),b=typeof l=="function"?l(m):m(),S=h(...b);return Ra(d,s,S)}function rd(e){let t={},r=[],o,a={addCase(i,s){let l=typeof i=="string"?i:i.type;if(!l)throw new Error(Ue(28));if(l in t)throw new Error(Ue(29));return t[l]=s,a},addAsyncThunk(i,s){return s.pending&&(t[i.pending.type]=s.pending),s.rejected&&(t[i.rejected.type]=s.rejected),s.fulfilled&&(t[i.fulfilled.type]=s.fulfilled),s.settled&&r.push({matcher:i.settled,reducer:s.settled}),a},addMatcher(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase(i){return o=i,a}};return e(a),[t,r,o]}function uh(e){return typeof e=="function"}function fh(e,t){let[r,o,a]=rd(t),i;if(uh(e))i=()=>ql(e());else{let l=ql(e);i=()=>l}function s(l=i(),d){let f=[r[d.type],...o.filter(({matcher:h})=>h(d)).map(({reducer:h})=>h)];return f.filter(h=>!!h).length===0&&(f=[a]),f.reduce((h,p)=>{if(p)if(Fe(h)){let m=p(h,d);return m===void 0?h:m}else{if(me(h))return za(h,m=>p(m,d));{let m=p(h,d);if(m===void 0){if(h===null)return h;throw new Error(Ue(9))}return m}}return h},l)}return s.getInitialState=i,s}var ph=(e,t)=>nh(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"],Va=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,o){let a=ct(t+"/fulfilled",(d,f,h,p)=>({payload:d,meta:{...p||{},arg:h,requestId:f,requestStatus:"fulfilled"}})),i=ct(t+"/pending",(d,f,h)=>({payload:void 0,meta:{...h||{},arg:f,requestId:d,requestStatus:"pending"}})),s=ct(t+"/rejected",(d,f,h,p,m)=>({payload:p,error:(o&&o.serializeError||bh)(d||"Rejected"),meta:{...m||{},arg:h,requestId:f,rejectedWithValue:p!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:f}={}){return(h,p,m)=>{let b=o?.idGenerator?o.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 D=(async function(){let g;try{let y=o?.condition?.(d,{getState:p,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((_,I)=>{C=()=>{I({name:"AbortError",message:O||"Aborted"})},S.signal.addEventListener("abort",C,{once:!0})});h(i(b,d,o?.getPendingMeta?.({requestId:b,arg:d},{getState:p,extra:m}))),g=await Promise.race([x,Promise.resolve(r(d,{dispatch:h,getState:p,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:((_,I)=>new Va(_,I)),fulfillWithValue:((_,I)=>new Ql(_,I))})).then(_=>{if(_ instanceof Va)throw _;return _ instanceof Ql?a(_.payload,b,d,_.meta):a(_,b,d)})])}catch(y){g=y instanceof Va?s(null,b,d,y.payload,y.meta):s(y,b,d)}finally{C&&S.signal.removeEventListener("abort",C)}return o&&!o.dispatchConditionRejection&&s.match(g)&&g.meta.condition||h(g),g})();return Object.assign(D,{abort:A,requestId:b,arg:d,unwrap(){return D.then(Sh)}})}}return Object.assign(l,{pending:i,rejected:s,fulfilled:a,settled:hh(s,a),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 od=Symbol.for("rtk-slice-createasyncthunk"),ww={[od]:xh};function Eh(e,t){return`${e}/${t}`}function Oh({creators:e}={}){let t=e?.asyncThunk?.[od];return function(o){let{name:a,reducerPath:i=a}=o;if(!a)throw new Error(Ue(11));typeof process<"u";let s=(typeof o.reducers=="function"?o.reducers(_h()):o.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(a,g),createNotation:typeof o.reducers=="function"};Ah(y)?kh(x,y,f,t):Ch(x,y,f)});function h(){let[g={},y=[],x=void 0]=typeof o.extraReducers=="function"?rd(o.extraReducers):[o.extraReducers],_={...g,...d.sliceCaseReducersByType};return fh(o.initialState,I=>{for(let H in _)I.addCase(H,_[H]);for(let H of d.sliceMatchers)I.addMatcher(H.matcher,H.reducer);for(let H of y)I.addMatcher(H.matcher,H.reducer);x&&I.addDefaultCase(x)})}let p=g=>g,m=new Map,b=new WeakMap,S;function C(g,y){return S||(S=h()),S(g,y)}function O(){return S||(S=h()),S.getInitialState()}function A(g,y=!1){function x(I){let H=I[g];return typeof H>"u"&&y&&(H=Bo(b,x,O)),H}function _(I=p){return Bo(Bo(m,y,()=>new WeakMap),I,()=>{let H={};for(let[j,k]of Object.entries(o.selectors??{}))H[j]=wh(k,I,()=>Bo(b,I,O),y);return H})}return{reducerPath:g,getSelectors:_,get selectors(){return _(x)},selectSlice:x}}let D={name:a,reducer:C,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:O,...A(i),injectInto(g,{reducerPath:y,...x}={}){let _=y??i;return g.inject({reducerPath:_,reducer:C},x),{...D,...A(_,!0)}}};return D}}function wh(e,t,r,o){function a(i,...s){let l=t(i);return typeof l>"u"&&o&&(l=r()),e(l,...s)}return a.unwrapped=e,a}var nd=Oh();function _h(){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},o,a){let i,s;if("reducer"in o){if(r&&!Rh(o))throw new Error(Ue(17));i=o.reducer,s=o.prepare}else i=o;a.addCase(e,i).exposeCaseReducer(t,i).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,o,a){if(!a)throw new Error(Ue(18));let{payloadCreator:i,fulfilled:s,pending:l,rejected:d,settled:f,options:h}=r,p=a(e,i,h);o.exposeAction(t,p),s&&o.addCase(p.fulfilled,s),l&&o.addCase(p.pending,l),d&&o.addCase(p.rejected,d),f&&o.addMatcher(p.settled,f),o.exposeCaseReducer(t,{fulfilled:s||Wo,pending:l||Wo,rejected:d||Wo,settled:f||Wo})}function Wo(){}var ad="listener",id="completed",sd="cancelled",_w=`task-${sd}`,Cw=`task-${id}`,Aw=`${ad}-${sd}`,Rw=`${ad}-${id}`;var{assign:cd}=Object;var Ga="listenerMiddleware";var Th=cd(ct(`${Ga}/add`),{withTypes:()=>Th}),kw=ct(`${Ga}/removeAll`),Ih=cd(ct(`${Ga}/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 Ya=class e extends xt{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(Qt(i))return i;if(a==null)return;let s=nd({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=td({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Ht(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Dr,this.injectInto=(i,s)=>this.reduxSlice.injectInto(i,s),this.selectSlice=i=>this.reduxSlice.selectSlice(i);let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{let p=d,m=this.getState()[p];bt(m,h)||this.setState({[p]:a(h)})}}}),this.eventBus=o??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 Ho=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);nt(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Ph(e,t,r){return new Ho(e,t,r).watch()}var ja=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 o of r)this.getOrCreateRequestConsumers(o).add(t).size==1&&this.onNewNeededRequest(o)}unregisterComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Ja={};M(Ja,{scrollHelper:()=>Lh});var Za,$o=new Map,qa=class{lock(t,r){if(r){let o=$o.get(r);if(o==null||o===t)return $o.set(r,t),r}}release(t,r){r&&$o.get(r)===t&&$o.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of Pn(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,l=gt(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Za=window.FluidTopicsScrollHelper)!==null&&Za!==void 0?Za:new qa;var Lh=window.FluidTopicsScrollHelper;var Xa={};M(Xa,{toFtFormComponent:()=>Dh});var Qa=Symbol("elementInternals"),Dh=pe(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Qa].form}constructor(...o){super(o),this[Qa]=this.attachInternals()}setFormValue(o){this[Qa].setFormValue(o)}}return t});var ti={};M(ti,{DateFormatter:()=>ei});var ei=class{static format(t,r,o,a,i){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(o,a,!!i)):this.getIntlDateTime(t,r,o,a,!!i)}static getMomentDateFormat(t,r,o){return o?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,o,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${l} ${d}`:l}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var oi={};M(oi,{ALL_KEYS_VALUE:()=>ri,SameWindowStorageEvent:()=>tr});var ri="__all__",tr=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ri}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new tr(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new tr(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new tr(ri))}});var ai={};M(ai,{FocusMainContentEvent:()=>ni});var ni=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`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,7 +68,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var ai={};M(ai,{withAriaNotification:()=>Bh});var Uh={checkVisibility:!0},Bh=pe(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(o,a){let{checkVisibility:i}={...Uh,...a};setTimeout(()=>{(!i||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Or({type:"aria",message:o})))},20)}}return t});var ii={};M(ii,{withConditionalVisibility:()=>Wh});var ud=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};function Wh(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(o,a){if(o){let i=document.createElement("style");i.classList.add("conditional-visibility-style"),i.innerHTML=a,this.shadowRoot.append(i)}}hideIfNecessary(){let o=!(this.forceVisible||this.isVisible);this.calculateStyles(o,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(o){super.willUpdate(o),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(a=>a.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 ci={};M(ci,{FormController:()=>si});function Hh(e){let t={};for(let r of Object.keys(e))t[r]=e[r].initial;return t}var si=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 o={...this.data};o[t]=r,this.data=o,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 o,a;let i=(a=(o=this.config[t]).validator)===null||a===void 0?void 0:a.call(o,this.value(t),this.data,r);i!==void 0&&this.errors.set(t,i)}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,o,a;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(i){let s=Hn(i)?i:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(o=t.onInvalid)===null||o===void 0||o.call(t);return}(a=t.onFailure)===null||a===void 0||a.call(t,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var di={};M(di,{MetadataValueLocalizer:()=>li});var li=class{constructor(t){this.contentLocales=t}localize(t){var r,o;return t?.key!=="ft:locale"?t:{...t,displayValue:(r=this.findLocaleValue(t))!==null&&r!==void 0?r:t.displayValue,displayTooltipValue:(o=this.findLocaleValue(t))!==null&&o!==void 0?o:t.displayTooltipValue}}findLocaleValue(t){var r;return(r=this.contentLocales.find(o=>o.lang===t.value))===null||r===void 0?void 0:r.label}};function ui(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,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},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 fi=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}};var m_=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,...ui(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=ui(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new fi(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return tt`
71
+ `;var ii={};M(ii,{withAriaNotification:()=>Bh});var Uh={checkVisibility:!0},Bh=pe(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(o,a){let{checkVisibility:i}={...Uh,...a};setTimeout(()=>{(!i||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Or({type:"aria",message:o})))},20)}}return t});var si={};M(si,{withConditionalVisibility:()=>Wh});var ud=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};function Wh(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(o,a){if(o){let i=document.createElement("style");i.classList.add("conditional-visibility-style"),i.innerHTML=a,this.shadowRoot.append(i)}}hideIfNecessary(){let o=!(this.forceVisible||this.isVisible);this.calculateStyles(o,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(o){super.willUpdate(o),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(a=>a.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return ud([T({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),ud([ue()],t.prototype,"isVisible",void 0),t}var li={};M(li,{FormController:()=>ci});function Hh(e){let t={};for(let r of Object.keys(e))t[r]=e[r].initial;return t}var ci=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 o={...this.data};o[t]=r,this.data=o,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 o,a;let i=(a=(o=this.config[t]).validator)===null||a===void 0?void 0:a.call(o,this.value(t),this.data,r);i!==void 0&&this.errors.set(t,i)}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,o,a;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(i){let s=$n(i)?i:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(o=t.onInvalid)===null||o===void 0||o.call(t);return}(a=t.onFailure)===null||a===void 0||a.call(t,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var ui={};M(ui,{MetadataValueLocalizer:()=>di});var di=class{constructor(t){this.contentLocales=t}localize(t){var r,o;return t?.key!=="ft:locale"?t:{...t,displayValue:(r=this.findLocaleValue(t))!==null&&r!==void 0?r:t.displayValue,displayTooltipValue:(o=this.findLocaleValue(t))!==null&&o!==void 0?o:t.displayTooltipValue}}findLocaleValue(t){var r;return(r=this.contentLocales.find(o=>o.lang===t.value))===null||r===void 0?void 0:r.label}};function fi(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,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},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 pi=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}};var h_=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,...fi(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=fi(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new pi(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
74
  ${uo(this.errorMessages,o=>tt`
@@ -81,18 +81,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
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 zr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(t,!1),zr(o,t);return!0},$o=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 zh(e){this._$AN!==void 0?($o(this),this._$AM=e,pd(this)):this._$AM=e}function Vh(e,t=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(o))for(let i=r;i<o.length;i++)zr(o[i],!1),$o(o[i]);else o!=null&&(zr(o,!1),$o(o));else zr(this,e)}var Gh=e=>{e.type==Pe.CHILD&&(e._$AP??=Vh,e._$AQ??=zh)},rr=class extends Se{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,o){super._$AT(t,r,o),pd(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(zr(this,t),$o(this))}setValue(t){if(Ss(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 pi=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 o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,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,o;this.isElementTrappable(t)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===t&&((o=this.lastTrap)===null||o===void 0?void 0:o.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,r,o,a;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(o=this.firstTrap)===null||o===void 0||o.remove(),(a=this.lastTrap)===null||a===void 0||a.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let o=0;o<r.length;o++){let a=r[o];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusFirstDescendant(a)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let o=r.length-1;o>=0;o--){let a=r[o];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusLastDescendant(a)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof xe&&await t.updateComplete}isInsideElement(t,r){for(let o=t;o;o=o.parentNode){if(o===r)return!0;o instanceof ShadowRoot?o=o.host:o.assignedSlot&&(o=o.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}},H_=fe(pi);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},hi=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,o,a]){return this.lastArgs=[r,o,a],this.render(r,o,a)}render(t,r,o){let a=this.resolveThreshold(t),i=o??(()=>G);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Yh[t]}},G_=fe(hi);var mi,yi,gi,bi,jh=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((gi=(yi=(mi=window.safari)===null||mi===void 0?void 0:mi.pushNotification)===null||yi===void 0?void 0:yi.toString())!==null&&gi!==void 0?gi:"")==="[object SafariRemoteNotification]",Kh="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(bi=window.ftGlobals)!==null&&bi!==void 0?bi:{lit:vn,litDecorators:On,litRepeat:wn,litClassMap:_n,litStyleMap:Cn,litUnsafeHTML:An,wcUtils:{...Rn,...Bn,...Tn,...Kn,...ei,...Zn,...In,...Xn,...Fn,...fa,...ni,...ld,...qa,...pa,...Qn,...xa,...Qa,...ga,...ai,...ii,...vl,...Ln,...va,...di,...ea,...Ea,...dd,...Ol,...wa,...ja,...ri,...ha,...ya,...$n,...Gn,...ci,isSafari:jh,isTouchScreen:Kh,setVariable:Vt}};var wd;function E(){return wd.apply(null,arguments)}function Zh(e){wd=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 Ii(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 _d(e,t){var r=[],o,a=e.length;for(o=0;o<a;++o)r.push(t(e[o],o));return r}function Ue(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 Be(e,t,r,o){return qd(e,t,r,o,!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 Oi;Array.prototype.some?Oi=Array.prototype.some:Oi=function(e){var t=Object(this),r=t.length>>>0,o;for(o=0;o<r;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1};function Ni(e){var t=null,r=!1,o=e._d&&!isNaN(e._d.getTime());if(o&&(t=P(e),r=Oi.call(t.parsedDateParts,function(a){return a!=null}),o=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&&(o=o&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=o;else return o;return e._isValid}function Jr(e){var t=Be(NaN);return e!=null?Ue(P(t),e):P(t).userInvalidated=!0,t}var md=E.momentProperties=[],xi=!1;function Pi(e,t){var r,o,a,i=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),i>0)for(r=0;r<i;r++)o=md[r],a=t[o],ce(a)||(e[o]=a);return e}function Qr(e){Pi(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),xi===!1&&(xi=!0,E.updateOffset(this),xi=!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 we(e,t){var r=!0;return Ue(function(){if(E.deprecationHandler!=null&&E.deprecationHandler(null,e),r){var o=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?lt.error:this.warningMessages.length?lt.warning:lt.default}}return re([T()],t.prototype,"warningRules",void 0),re([T()],t.prototype,"errorRules",void 0),re([T()],t.prototype,"validateOn",void 0),re([T({type:Boolean})],t.prototype,"validateAtRender",void 0),re([T()],t.prototype,"label",void 0),re([T({type:Boolean})],t.prototype,"hideLabel",void 0),re([T()],t.prototype,"name",void 0),re([T({type:Boolean})],t.prototype,"disabled",void 0),re([T()],t.prototype,"helperText",void 0),re([T()],t.prototype,"forceStatus",void 0),re([T({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 zr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(t,!1),zr(o,t);return!0},zo=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 zh(e){this._$AN!==void 0?(zo(this),this._$AM=e,pd(this)):this._$AM=e}function Vh(e,t=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(o))for(let i=r;i<o.length;i++)zr(o[i],!1),zo(o[i]);else o!=null&&(zr(o,!1),zo(o));else zr(this,e)}var Gh=e=>{e.type==Pe.CHILD&&(e._$AP??=Vh,e._$AQ??=zh)},rr=class extends Se{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,o){super._$AT(t,r,o),pd(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(zr(this,t),zo(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 hi=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 o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,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,o;this.isElementTrappable(t)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===t&&((o=this.lastTrap)===null||o===void 0?void 0:o.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,r,o,a;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(o=this.firstTrap)===null||o===void 0||o.remove(),(a=this.lastTrap)===null||a===void 0||a.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let o=0;o<r.length;o++){let a=r[o];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusFirstDescendant(a)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let o=r.length-1;o>=0;o--){let a=r[o];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusLastDescendant(a)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof xe&&await t.updateComplete}isInsideElement(t,r){for(let o=t;o;o=o.parentNode){if(o===r)return!0;o instanceof ShadowRoot?o=o.host:o.assignedSlot&&(o=o.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(hi);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},mi=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,o,a]){return this.lastArgs=[r,o,a],this.render(r,o,a)}render(t,r,o){let a=this.resolveThreshold(t),i=o??(()=>G);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Yh[t]}},V_=fe(mi);var yi,gi,bi,xi,jh=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((bi=(gi=(yi=window.safari)===null||yi===void 0?void 0:yi.pushNotification)===null||gi===void 0?void 0:gi.toString())!==null&&bi!==void 0?bi:"")==="[object SafariRemoteNotification]",Kh="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xi=window.ftGlobals)!==null&&xi!==void 0?xi:{lit:En,litDecorators:wn,litRepeat:_n,litClassMap:Cn,litStyleMap:An,litUnsafeHTML:Rn,wcUtils:{...kn,...Wn,...In,...Zn,...ti,...qn,...Nn,...ea,...Un,...pa,...ai,...ld,...Ja,...ha,...Xn,...Sa,...Xa,...ba,...ii,...si,...El,...Dn,...Ea,...ui,...ta,...Oa,...dd,...wl,..._a,...Ka,...oi,...ma,...ga,...zn,...Yn,...li,isSafari:jh,isTouchScreen:Kh,setVariable:Vt}};var wd;function E(){return wd.apply(null,arguments)}function Zh(e){wd=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 Ni(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 _d(e,t){var r=[],o,a=e.length;for(o=0;o<a;++o)r.push(t(e[o],o));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,o){return qd(e,t,r,o,!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 wi;Array.prototype.some?wi=Array.prototype.some:wi=function(e){var t=Object(this),r=t.length>>>0,o;for(o=0;o<r;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1};function Pi(e){var t=null,r=!1,o=e._d&&!isNaN(e._d.getTime());if(o&&(t=P(e),r=wi.call(t.parsedDateParts,function(a){return a!=null}),o=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&&(o=o&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=o;else return o;return e._isValid}function Jr(e){var t=We(NaN);return e!=null?Be(P(t),e):P(t).userInvalidated=!0,t}var md=E.momentProperties=[],Si=!1;function Li(e,t){var r,o,a,i=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),i>0)for(r=0;r<i;r++)o=md[r],a=t[o],ce(a)||(e[o]=a);return e}function Qr(e){Li(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Si===!1&&(Si=!0,E.updateOffset(this),Si=!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 we(e,t){var r=!0;return Be(function(){if(E.deprecationHandler!=null&&E.deprecationHandler(null,e),r){var o=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
85
85
  [`+i+"] ";for(s in arguments[0])F(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}Cd(e+`
86
86
  Arguments: `+Array.prototype.slice.call(o).join("")+`
87
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 We(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 _e(e){return typeof e=="string"?gd[e]||gd[e.toLowerCase()]:void 0}function Li(e){var t={},r,o;for(o in e)F(e,o)&&(r=_e(o),r&&(t[r]=e[o]));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(o,a){return o.priority-a.priority}),t}function Oe(e,t,r){var o=""+Math.abs(e),a=t-o.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var Di=/(\[[^\[]*\])|(\\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,zo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Si={},ar={};function R(e,t,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),e&&(ar[e]=a),t&&(ar[t[0]]=function(){return Oe(a.apply(this,arguments),t[1],t[2])}),r&&(ar[r]=function(){return this.localeData().ordinal(a.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(Di),r,o;for(r=0,o=t.length;r<o;r++)ar[t[r]]?t[r]=ar[t[r]]:t[r]=Xh(t[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=We(t[s])?t[s].call(a,e):t[s];return i}}function Go(e,t){if(!e.isValid())return e.localeData().invalidDate();t=Rd(t,e.localeData());var r="$"+t;return F(Si,r)||(Si[r]=em(t)),Si[r](e)}function Rd(e,t){var r=5;function o(a){return t.longDateFormat(a)||a}for(zo.lastIndex=0;r>=0&&zo.test(e);)e=e.replace(zo,o),zo.lastIndex=0,r-=1;return e}var kd=/\d/,be=/\d\d/,Td=/\d{3}/,Mi=/\d{4}/,Xo=/[+-]?\d{6}/,V=/\d\d?/,Id=/\d\d\d\d?/,Fi=/\d\d\d\d\d\d?/,en=/\d{1,3}/,Ui=/\d{1,4}/,tn=/[+-]?\d{1,6}/,cr=/\d+/,rn=/[+-]?\d+/,tm=/Z|[+-]\d\d:?\d\d/gi,on=/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?/,Bi=/^([1-9]\d|\d)/,Ko;Ko={};function w(e,t,r){Ko[e]=We(t)?t:function(o,a){return o&&r?r:t}}function om(e,t){return F(Ko,e)?Ko[e](t._strict,t._locale):new RegExp(nm(e))}function nm(e){return qe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,o,a,i){return r||o||a||i}))}function qe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ve(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function L(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ve(t)),r}var wi={};function z(e,t){var r,o=t,a;for(typeof e=="string"&&(e=[e]),Qe(t)&&(o=function(i,s){s[t]=L(i)}),a=e.length,r=0;r<a;r++)wi[e[r]]=o}function dr(e,t){z(e,function(r,o,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function am(e,t,r){t!=null&&F(wi,e)&&wi[e](t,r._a,r,e)}function nn(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,im=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");w("Y",rn);w("YY",V,be);w("YYYY",Ui,Mi);w("YYYYY",tn,Xo);w("YYYYYY",tn,Xo);z(["YYYYY","YYYYYY"],Z);z("YYYY",function(e,t){t[Z]=e.length===2?E.parseTwoDigitYear(e):L(e)});z("YY",function(e,t){t[Z]=E.parseTwoDigitYear(e)});z("Y",function(e,t){t[Z]=parseInt(e,10)});function jr(e){return nn(e)?366:365}E.parseTwoDigitYear=function(e){return L(e)+(L(e)>68?1900:2e3)};var Nd=ur("FullYear",!0);function cm(){return nn(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,o=e._isUTC;switch(t){case"Milliseconds":return o?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return o?r.getUTCSeconds():r.getSeconds();case"Minutes":return o?r.getUTCMinutes():r.getMinutes();case"Hours":return o?r.getUTCHours():r.getHours();case"Date":return o?r.getUTCDate():r.getDate();case"Day":return o?r.getUTCDay():r.getDay();case"Month":return o?r.getUTCMonth():r.getMonth();case"FullYear":return o?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Pd(e,t,r){var o,a,i,s,l;if(!(!e.isValid()||isNaN(r))){switch(o=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?o.setUTCMilliseconds(r):o.setMilliseconds(r));case"Seconds":return void(a?o.setUTCSeconds(r):o.setSeconds(r));case"Minutes":return void(a?o.setUTCMinutes(r):o.setMinutes(r));case"Hours":return void(a?o.setUTCHours(r):o.setHours(r));case"Date":return void(a?o.setUTCDate(r):o.setDate(r));case"FullYear":break;default:return}i=r,s=e.month(),l=e.date(),l=l===29&&s===1&&!nn(i)?28:l,a?o.setUTCFullYear(i,s,l):o.setFullYear(i,s,l)}}function lm(e){return e=_e(e),We(this[e])?this[e]():this}function dm(e,t){if(typeof e=="object"){e=Li(e);var r=Qh(e),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](e[r[o].unit])}else if(e=_e(e),We(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 Wi(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=um(t,12);return e+=(t-r)/12,r===1?nn(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)});w("M",V,lr);w("MM",V,be);w("MMM",function(e,t){return t.monthsShortRegex(e)});w("MMMM",function(e,t){return t.monthsRegex(e)});z(["M","MM"],function(e,t){t[ye]=L(e)-1});z(["MMM","MMMM"],function(e,t,r,o){var a=r._locale.monthsParse(e,o,r._strict);a!=null?t[ye]=a: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,o;for(r=0;r<bd.length;r++)o=bd[r],F(t,o)||delete e["_"+o]}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 o,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=Be([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=K.call(this._shortMonthsParse,s),a!==-1?a:null):(a=K.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=K.call(this._shortMonthsParse,s),a!==-1?a:(a=K.call(this._longMonthsParse,s),a!==-1?a:null)):(a=K.call(this._longMonthsParse,s),a!==-1?a:(a=K.call(this._shortMonthsParse,s),a!==-1?a:null))}function xm(e,t,r){var o,a,i;if(this._monthsParseExact)return bm.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(a=Be([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[o]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[o].test(e))return o;if(r&&t==="MMM"&&this._shortMonthsParse[o].test(e))return o;if(!r&&this._monthsParse[o].test(e))return o}}function Md(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=L(t);else if(t=e.localeData().monthsParse(t),!Qe(t))return e}var r=t,o=e.date();return o=o<29?o:Math.min(o,Wi(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,o):e._d.setMonth(r,o),e}function Fd(e){return e!=null?(Md(this,e),E.updateOffset(this,!0),this):Kr(this,"Month")}function Sm(){return Wi(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=[],o=[],a,i,s,l;for(a=0;a<12;a++)i=Be([2e3,a]),s=qe(this.monthsShort(i,"")),l=qe(this.months(i,"")),t.push(s),r.push(l),o.push(l),o.push(s);t.sort(e),r.sort(e),o.sort(e),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}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)});w("d",V);w("e",V);w("E",V);w("eHHmm",Fi);w("dd",function(e,t){return t.weekdaysMinRegex(e)});w("ddd",function(e,t){return t.weekdaysShortRegex(e)});w("dddd",function(e,t){return t.weekdaysRegex(e)});dr(["dd","ddd","dddd"],function(e,t,r,o){var a=r._locale.weekdaysParse(e,o,r._strict);a!=null?t.d=a:P(r).invalidWeekday=e});dr(["d","e","E"],function(e,t,r,o){t[o]=L(e)});dr("eHHmm",function(e,t,r){var o=e.length-4;t.e=L(e.substr(0,o)),r._a[J]=L(e.substr(o,2)),r._a[Ee]=L(e.substr(o+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 wm(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Hi(e,t){return e.slice(t,7).concat(e.slice(0,t))}var _m="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,o;for(r=0;r<xd.length;r++)o=xd[r],F(t,o)||delete e["_"+o]}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?Hi(r,this._week.dow):e?r[e.day()]:r}function Nm(e){return e===!0?Hi(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pm(e){return e===!0?Hi(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Lm(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=Be([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=K.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=K.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=K.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=K.call(this._weekdaysParse,s),a!==-1||(a=K.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=K.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=K.call(this._shortWeekdaysParse,s),a!==-1||(a=K.call(this._weekdaysParse,s),a!==-1)?a:(a=K.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=K.call(this._minWeekdaysParse,s),a!==-1||(a=K.call(this._weekdaysParse,s),a!==-1)?a:(a=K.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Dm(e,t,r){var o,a,i;if(this._weekdaysParseExact)return Lm.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(a=Be([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[o].test(e))return o;if(r&&t==="ddd"&&this._shortWeekdaysParse[o].test(e))return o;if(r&&t==="dd"&&this._minWeekdaysParse[o].test(e))return o;if(!r&&this._weekdaysParse[o].test(e))return o}}function 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=wm(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")||$i.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")||$i.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")||$i.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(F(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=km),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $i(){function e(h,p){return p.length-h.length}var t=[],r=[],o=[],a=[],i,s,l,d,f;for(i=0;i<7;i++)s=Be([2e3,1]).day(i),l=qe(this.weekdaysMin(s,"")),d=qe(this.weekdaysShort(s,"")),f=qe(this.weekdays(s,"")),t.push(l),r.push(d),o.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function $m(e){var t,r;mm(this,e),Tm(this,e);for(r in e)F(e,r)&&(t=e[r],We(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 _i(e,t){var r=Ue({},e),o;for(o in t)F(t,o)&&(Pt(e[o])&&Pt(t[o])?(r[o]={},Ue(r[o],e[o]),Ue(r[o],t[o])):t[o]!=null?r[o]=t[o]:delete r[o]);for(o in e)F(e,o)&&!F(t,o)&&Pt(e[o])&&(r[o]=Ue({},r[o]));return r}function zi(e){e!=null&&this.set(e)}var Ci;Object.keys?Ci=Object.keys:Ci=function(e){var t,r=[];for(t in e)F(e,t)&&r.push(t);return r};var zm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Vm(e,t,r){var o=this._calendar[e]||this._calendar.sameElse;return We(o)?o.call(t,r):o}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()],o=this._longDateFormatCache;return t||!r?t:o&&o[e]&&o[e].formatUpper===r?o[e].format:(t=r.match(Di).map(function(a){return a==="MMMM"||a==="MM"||a==="DD"||a==="dddd"?a.slice(1):a}).join(""),o||(o=this._longDateFormatCache={}),o[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,o){var a=this._relativeTime[r];return We(a)?a(e,t,r,o):a.replace(/%d/i,e)}function Xm(e,t,r,o){return this.postformat(Wd.call(this,e,t,r,o))}function Hd(e,t){var r=this._relativeTime[e>0?"future":"past"];return We(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,o,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,o,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,o,a,i,s),l}function 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 Zo(e,t,r){var o=7+t-r,a=(7+Lt(e,0,o).getUTCDay()-t)%7;return-a+o-1}function $d(e,t,r,o,a){var i=(7+r-o)%7,s=Zo(e,o,a),l=1+7*(t-1)+i+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 zd(e,t,r,o){var a=Zo(e,r,o),i=Math.floor((t-a-1)/7)+1,s,l;return i<1?(l=e-1,s=i+Je(l,r,o)):i>Je(e,r,o)?(s=i-Je(e,r,o),l=e+1):(l=e,s=i),{week:s,year:l}}function Vi(e,t,r){return zd(e.year(),e.dayOfYear(),t,r)}function Sd(e,t,r,o,a){var i=Math.round((Lt(e,t,r)-Lt(e,0,1))/864e5)+1;return zd(e,i,o,a)}function Je(e,t,r){var o=Zo(e,t,r),a=Zo(e+1,t,r);return(jr(e)-o+a)/7}R("w",["ww",2],"wo","week");R("W",["WW",2],"Wo","isoWeek");w("w",V,lr);w("ww",V,be);w("W",V,lr);w("WW",V,be);dr(["w","ww","W","WW"],function(e,t,r,o){t[o.substr(0,1)]=L(e)});function ry(e){return Vi(e,this._week.dow,this._week.doy).week}var oy={dow:0,doy:6};function ny(){return this._week.dow}function ay(){return this._week.doy}function iy(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function sy(e){var t=Vi(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}function Gi(){return this.hours()%12||12}function cy(){return this.hours()||24}R("H",["HH",2],0,"hour");R("h",["hh",2],0,Gi);R("k",["kk",2],0,cy);R("hmm",0,0,function(){return""+Gi.apply(this)+Oe(this.minutes(),2)});R("hmmss",0,0,function(){return""+Gi.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 Vd(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Vd("a",!0);Vd("A",!1);function Gd(e,t){return t._meridiemParse}w("a",Gd);w("A",Gd);w("H",V,Bi);w("h",V,lr);w("k",V,lr);w("HH",V,be);w("hh",V,be);w("kk",V,be);w("hmm",Id);w("hmmss",Fi);w("Hmm",Id);w("Hmmss",Fi);z(["H","HH"],J);z(["k","kk"],function(e,t,r){var o=L(e);t[J]=o===24?0:o});z(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});z(["h","hh"],function(e,t,r){t[J]=L(e),P(r).bigHour=!0});z("hmm",function(e,t,r){var o=e.length-2;t[J]=L(e.substr(0,o)),t[Ee]=L(e.substr(o)),P(r).bigHour=!0});z("hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[J]=L(e.substr(0,o)),t[Ee]=L(e.substr(o,2)),t[Ze]=L(e.substr(a)),P(r).bigHour=!0});z("Hmm",function(e,t,r){var o=e.length-2;t[J]=L(e.substr(0,o)),t[Ee]=L(e.substr(o))});z("Hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[J]=L(e.substr(0,o)),t[Ee]=L(e.substr(o,2)),t[Ze]=L(e.substr(a))});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:zm,longDateFormat:Gm,invalidDate:jm,ordinal:Zm,dayOfMonthOrdinalParse:qm,relativeTime:Qm,months:fm,monthsShort:Ld,week:oy,weekdays:_m,weekdaysMin:Cm,weekdaysShort:Bd,meridiemParse:dy},$={},Vr={},Zr;function py(e,t){var r,o=Math.min(e.length,t.length);for(r=0;r<o;r+=1)if(e[r]!==t[r])return r;return o}function Ai(e){return e&&e.toLowerCase().replace("_","-")}function hy(e){for(var t=0,r,o,a,i;t<e.length;){for(i=Ai(e[t]).split("-"),r=i.length,o=Ai(e[t+1]),o=o?o.split("-"):null;r>0;){if(a=an(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&py(i,o)>=r-1)break;r--}t++}return Zr}function my(e){return typeof e=="string"&&/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(e)}function an(e){var t=null,r,o;if(F($,e))return $[e];if(o=Ai(e),F($,o))return $[o];if(typeof module<"u"&&module&&module.exports&&my(o))try{t=Zr._abbr,r=rs,r("./locale/"+o),ut(t)}catch{$[o]=null}if(F($,o))return $[o]}function ut(e,t){var r;return e&&(ce(t)?r=Xe(e):r=Yi(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 Yi(e,t){if(t!==null){var r,o=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."),o=$[e]._config;else if(t.parentLocale!=null)if($[t.parentLocale]!=null)o=$[t.parentLocale]._config;else if(r=an(t.parentLocale),r!=null)o=r._config;else return Vr[t.parentLocale]||(Vr[t.parentLocale]=[]),Vr[t.parentLocale].push({name:e,config:t}),null;return $[e]=new zi(_i(o,t)),Vr[e]&&Vr[e].forEach(function(a){Yi(a.name,a.config)}),ut(e),$[e]}else return delete $[e],null}function yy(e,t){var r,o=an(e),a=Yd;return o!=null&&(e=o._abbr),t!=null?($[e]!=null&&$[e].parentLocale!=null?$[e].set(_i($[e]._config,t)):(o!=null&&(a=o._config),t=_i(a,t),o==null&&(t.abbr=e),r=new zi(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=an(e),t)return t;e=[e]}return hy(e)}function gy(){return Ci($)}function ji(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]>Wi(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=im),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)?/,Vo=[["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]],vi=[["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,o=e._i,a=by.exec(o)||xy.exec(o),i,s,l,d,f=Vo.length,h=vi.length;if(a){for(P(e).iso=!0,t=0,r=f;t<r;t++)if(Vo[t][1].exec(a[1])){s=Vo[t][0],i=Vo[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(vi[t][1].exec(a[3])){l=(a[2]||" ")+vi[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Sy.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Zi(e)}else e._isValid=!1}function wy(e,t,r,o,a,i){var s=[_y(e),Ld.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function _y(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 o=Bd.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(o!==a)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 o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function Kd(e){var t=Ey.exec(Cy(e._i)),r;if(t){if(r=wy(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=we("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 o=Object.prototype.hasOwnProperty.call(e,"_isDefaultDatePartsForWeek"),a=e._isDefaultDatePartsForWeek;e._isDefaultDatePartsForWeek=!!r;try{return E._getDefaultDateParts(e,t,r)}finally{o?e._isDefaultDatePartsForWeek=a: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 o=r||e._isDefaultDatePartsForWeek,a=o?Y(t):new Date(t);return o?[a.year(),a.month(),a.date()]:e._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()]}E._getDefaultDateParts=Iy;function Ki(e){var t,r,o=[],a,i,s,l,d;if(!e._d){for((e._a[Z]==null||e._a[ye]==null||e._a[le]==null)&&(a=Ty(e),i=vd(e,a)),e._w&&e._a[le]==null&&e._a[ye]==null&&Ny(e,vd(e,a,!0)),e._dayOfYear!=null&&(l=e._a[Z]!=null?e._a[Z]:i[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]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[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,o),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,o,a,i,s,l,d,f,h;r=e._w,r.GG!=null||r.W!=null||r.E!=null?(s=1,l=4,o=Gr(r.GG,e._a[Z],Sd(t[Z],t[ye],t[le],1,4).year),a=Gr(r.W,1),i=Gr(r.E,1),(i<1||i>7)&&(f=!0)):(s=e._locale._week.dow,l=e._locale._week.doy,h=Sd(t[Z],t[ye],t[le],s,l),o=Gr(r.gg,e._a[Z],h.year),a=Gr(r.w,h.week),r.d!=null?(i=r.d,(i<0||i>6)&&(f=!0)):r.e!=null?(i=r.e+s,(r.e<0||r.e>6)&&(f=!0)):i=s),a<1||a>Je(o,s,l)?P(e)._overflowWeeks=!0:f!=null?P(e)._overflowWeekday=!0:(d=$d(o,a,i,s,l),e._a[Z]=d.year,e._dayOfYear=d.dayOfYear)}E.ISO_8601=function(){};E.RFC_2822=function(){};function Zi(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,o,a,i,s,l=t.length,d=0,f,h;for(a=Rd(e._f,e._locale).match(Di)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(t.match(om(i,e))||[])[0],o&&(s=t.substr(0,t.indexOf(o)),s.length>0&&P(e).unusedInput.push(s),t=t.slice(t.indexOf(o)+o.length),d+=o.length),ar[i]?(o?P(e).empty=!1:P(e).unusedTokens.push(i),am(i,o,e)):e._strict&&!o&&P(e).unusedTokens.push(i);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])),Ki(e),ji(e)}function Py(e,t,r){var o;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(o=e.isPM(r),o&&t<12&&(t+=12),!o&&t===12&&(t=0)),t)}function Ly(e){var t,r,o,a,i,s,l=!1,d={},f=e._f.length;if(f===0){P(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,s=!1,t=Pi({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._defaultDatePartsNow=d,t._f=e._f[a],Zi(t),Ni(t)&&(s=!0),i+=P(t).charsLeftOver,i+=P(t).unusedTokens.length*10,P(t).score=i,l?i<o&&(o=i,r=t):(o==null||i<o||s)&&(o=i,r=t,s&&(l=!0));Ue(e,r||t)}function Dy(e){if(!e._d){var t=Li(e._i),r=t.day===void 0?t.date:t.day;e._a=_d([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(o){return o&&parseInt(o,10)}),Ki(e)}}function My(e){var t=new Qr(ji(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(ji(t)):(qr(t)?e._d=t:Te(r)?Ly(e):r?Zi(e):Fy(e),Ni(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=_d(t.slice(0),function(r){return parseInt(r,10)}),Ki(e)):Pt(t)?Dy(e):Qe(t)?e._d=new Date(t):E.createFromInputFallback(e)}function qd(e,t,r,o,a){var i={};return(t===!0||t===!1)&&(o=t,t=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(Pt(e)&&Ii(e)||Te(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=o,My(i)}function Y(e,t,r,o){return qd(e,t,r,o,!1)}var Uy=we("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=we("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,o;if(t.length===1&&Te(t[0])&&(t=t[0]),!t.length)return Y();for(o=0;o<t.length;++o)if(ge(t[o])){r=t[o];break}if(!r)return Jr();for(++o;o<t.length;++o)ge(t[o])&&(!t[o].isValid()||t[o][e](r))&&(r=t[o]);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 zy(e){var t,r=!1,o,a=Yr.length;for(t in e)if(F(e,t)&&!(K.call(Yr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(o=0;o<a;++o)if(e[Yr[o]]){if(r)return!1;parseFloat(e[Yr[o]])!==L(e[Yr[o]])&&(r=!0)}return!0}function Vy(){return this._isValid}function Gy(){return Ie(NaN)}function sn(e){var t=Li(e),r=t.year||0,o=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,h=t.millisecond||0;this._isValid=zy(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=Xe(),this._bubble()}function Yo(e){return e instanceof sn}function Ri(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Yy(e,t,r){var o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<o;s++)L(e[s])!==L(t[s])&&i++;return i+a}function Qd(e,t){R(e,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+Oe(~~(r/60),2)+t+Oe(~~r%60,2)})}Qd("Z",":");Qd("ZZ","");w("Z",on);w("ZZ",on);z(["Z","ZZ"],function(e,t,r){var o=qi(on,e);r._useUTC=!0,r._tzm=o,o===null&&(P(r).invalidOffset=e)});var jy=/([\+\-]|\d\d)/gi;function qi(e,t){var r=(t||"").match(e),o,a,i;return r===null||(o=r[r.length-1]||[],a=(o+"").match(jy)||["-",0,0],i=+(a[1]*60)+L(a[2]),L(a[2])>59||(a[0]==="+"?i>840:i>720))?null:i===0?0:a[0]==="+"?i:-i}function Ji(e,t){var r,o;return t._isUTC?(r=t.clone(),o=(ge(e)||qr(e)?e.valueOf():Y(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),E.updateOffset(r,!1),r):Y(e).local()}function ki(e){return-Math.round(e._d.getTimezoneOffset())}E.updateOffset=function(){};function Ky(e,t,r){var o=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=qi(on,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=ki(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?tu(this,Ie(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,E.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:ki(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(ki(this),"m")),this}function Qy(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=qi(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 Pi(e,this),e=Zd(e),e._a?(t=e._isUTC?Be(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 og(){return this.isValid()?this._isUTC:!1}function Xd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ng=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ag=/^(-|\+)?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,o=null,a,i,s;return Yo(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Qe(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=ng.exec(e))?(a=o[1]==="-"?-1:1,r={y:0,d:L(o[le])*a,h:L(o[J])*a,m:L(o[Ee])*a,s:L(o[Ze])*a,ms:L(Ri(o[Nt]*1e3))*a}):(o=ag.exec(e))?(a=o[1]==="-"?-1:1,r={y:It(o[2],a),M:It(o[3],a),w:It(o[4],a),d:It(o[5],a),h:It(o[6],a),m:It(o[7],a),s:It(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=ig(Y(r.from),Y(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new sn(r),Yo(e)&&F(e,"_locale")&&(i._locale=e._locale),Yo(e)&&F(e,"_isValid")&&(i._isValid=e._isValid),i}Ie.fn=sn.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 ig(e,t){var r;return e.isValid()&&t.isValid()?(t=Ji(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,o){var a,i;return o!==null&&!isNaN(+o)&&(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."),i=r,r=o,o=i),a=Ie(r,o),tu(this,a,e),this}}function tu(e,t,r,o){var a=t._milliseconds,i=Ri(t._days),s=Ri(t._months);e.isValid()&&(o=o??!0,s&&Md(e,Kr(e,"Month")+s*r),i&&Pd(e,"Date",Kr(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),o&&E.updateOffset(e,i||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)&&!Ii(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||F(e,i);return t&&r}function ug(e){var t=Te(e),r=!1;return t&&(r=e.filter(function(o){return!Qe(o)&&ru(e)}).length===0),t&&r}function fg(e){var t=Pt(e)&&!Ii(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||F(e,i);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(),o=Ji(r,this).startOf("day"),a=E.calendarFormat(this,o)||"sameElse",i=t&&(We(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,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=_e(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=_e(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function bg(e,t,r,o){var a=ge(e)?e:Y(e),i=ge(t)?t:Y(t);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function xg(e,t){var r=ge(e)?e:Y(e),o;return this.isValid()&&r.isValid()?(t=_e(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(t).valueOf()<=o&&o<=this.clone().endOf(t).valueOf())):!1}function 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 o,a,i;if(!this.isValid())return NaN;if(o=Ji(e,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,t=_e(t),t){case"year":i=jo(this,o)/12;break;case"month":i=jo(this,o);break;case"quarter":i=jo(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-a)/864e5;break;case"week":i=(this-o-a)/6048e5;break;default:i=this-o}return r?i:ve(i)}function jo(e,t){if(e.date()<t.date())return-jo(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),o=e.clone().add(r,"months"),a,i;return t-o<0?(a=e.clone().add(r-1,"months"),i=(t-o)/(o-a)):(a=e.clone().add(r+1,"months"),i=(t-o)/(a-o)),-(r+i)||0}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 wg(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Go(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):We(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Go(r,"Z")):Go(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _g(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,o,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+o+a+i)}function Cg(e){e||(e=this.isUtc()?E.defaultFormatUtc:E.defaultFormat);var t=Go(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 ou(e){var t;return e===void 0?this._locale._abbr:(t=Xe(e),t!=null&&(this._locale=t),this)}var nu=we("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 au(){return this._locale}var qo=1e3,ir=60*qo,Jo=60*ir,iu=(365*400+97)*24*Jo;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)-iu:new Date(e,t,r).valueOf()}function cu(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-iu:Date.UTC(e,t,r)}function Ig(e){var t,r;if(e=_e(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()*ir),Jo);break;case"minute":t=this._d.valueOf(),t-=sr(t,ir);break;case"second":t=this._d.valueOf(),t-=sr(t,qo);break}return this._d.setTime(t),E.updateOffset(this,!0),this}function Ng(e){var t,r;if(e=_e(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+=Jo-sr(t+(this._isUTC?0:this.utcOffset()*ir),Jo)-1;break;case"minute":t=this._d.valueOf(),t+=ir-sr(t,ir)-1;break;case"second":t=this._d.valueOf(),t+=qo-sr(t,qo)-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 Ni(this)}function Wg(){return Ue({},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");w("N",Qi);w("NN",Qi);w("NNN",Qi);w("NNNN",Xg);w("NNNNN",eb);z(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,o){var a=r._locale.erasParse(e,o,r._strict);a?P(r).era=a:P(r).invalidEra=e});w("y",cr);w("yy",cr);w("yyy",cr);w("yyyy",cr);w("yo",tb);z(["y","yy","yyy","yyyy"],Z);z(["yo"],function(e,t,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Z]=r._locale.eraYearOrdinalParse(e,a):t[Z]=parseInt(e,10)});function zg(e,t){var r,o,a,i=this._eras||Xe("en")._eras;for(r=0,o=i.length;r<o;++r)switch(typeof i[r].since==="string"&&(a=E(i[r].since).startOf("day"),i[r].since=a.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=E(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}return i}function Vg(e,t,r){var o,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),l=i[o].abbr.toUpperCase(),d=i[o].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[o];break;case"NNNN":if(s===e)return i[o];break;case"NNNNN":if(d===e)return i[o];break}else if([s,l,d].indexOf(e)>=0)return i[o]}function 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,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].name;return""}function jg(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].narrow;return""}function Kg(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].abbr;return""}function Zg(){var e,t,r,o,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,o=this.clone().startOf("day").valueOf(),a[e].since<=o&&o<=a[e].until||a[e].until<=o&&o<=a[e].since)return(this.year()-E(a[e].since).year())*r+a[e].offset;return this.year()}function qg(e){return F(this,"_erasNameRegex")||Xi.call(this),e?this._erasNameRegex:this._erasRegex}function Jg(e){return F(this,"_erasAbbrRegex")||Xi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Qg(e){return F(this,"_erasNarrowRegex")||Xi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Qi(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 Xi(){var e=[],t=[],r=[],o=[],a,i,s,l,d,f=this.eras();for(a=0,i=f.length;a<i;++a)s=qe(f[a].name),l=qe(f[a].abbr),d=qe(f[a].narrow),t.push(s),e.push(l),r.push(d),o.push(s),o.push(l),o.push(d);this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}R(0,["gg",2],0,function(){return this.weekYear()%100});R(0,["GG",2],0,function(){return this.isoWeekYear()%100});function cn(e,t){R(0,[e,e.length],0,t)}cn("gggg","weekYear");cn("ggggg","weekYear");cn("GGGG","isoWeekYear");cn("GGGGG","isoWeekYear");w("G",rn);w("g",rn);w("GG",V,be);w("gg",V,be);w("GGGG",Ui,Mi);w("gggg",Ui,Mi);w("GGGGG",tn,Xo);w("ggggg",tn,Xo);dr(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,o){t[o.substr(0,2)]=L(e)});dr(["gg","GG"],function(e,t,r,o){t[o]=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 ob(e){return lu.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function nb(){return Je(this.year(),1,4)}function ab(){return Je(this.isoWeekYear(),1,4)}function ib(){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,o,a){var i;return e==null?Vi(this,o,a).year:(i=Je(e,o,a),t>i&&(t=i),cb.call(this,e,t,r,o,a))}function cb(e,t,r,o,a){var i=$d(e,t,r,o,a),s=Lt(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}R("Q",0,"Qo","quarter");w("Q",kd);z("Q",function(e,t){t[ye]=(L(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");w("D",V,lr);w("DD",V,be);w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});z(["D","DD"],le);z("Do",function(e,t){t[le]=L(e.match(V)[0])});var du=ur("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear");w("DDD",en);w("DDDD",Td);z(["DDD","DDDD"],function(e,t,r){r._dayOfYear=L(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");w("m",V,Bi);w("mm",V,be);z(["m","mm"],Ee);var ub=ur("Minutes",!1);R("s",["ss",2],0,"second");w("s",V,Bi);w("ss",V,be);z(["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});w("S",en,kd);w("SS",en,be);w("SSS",en,Td);var dt,uu;for(dt="SSSS";dt.length<=9;dt+="S")w(dt,cr);function pb(e,t){t[Nt]=L(("0."+e)*1e3)}for(dt="S";dt.length<=9;dt+="S")z(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=nu;v.locale=ou;v.localeData=au;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=wg;v.inspect=_g;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=ob;v.quarter=v.quarters=lb;v.month=Fd;v.daysInMonth=Sm;v.week=v.weeks=iy;v.isoWeek=v.isoWeeks=sy;v.weeksInYear=ib;v.weeksInWeekYear=sb;v.isoWeeksInYear=nb;v.isoWeeksInISOWeekYear=ab;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=og;v.isUtc=Xd;v.isUTC=Xd;v.zoneAbbr=hb;v.zoneName=mb;v.dates=we("dates accessor is deprecated. Use date instead.",du);v.months=we("months accessor is deprecated. Use month instead",Fd);v.years=we("years accessor is deprecated. Use year instead",Nd);v.zone=we("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Zy);v.isDSTShifted=we("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 H=zi.prototype;H.calendar=Vm;H.longDateFormat=Ym;H.invalidDate=Km;H.ordinal=Jm;H.preparse=fu;H.postformat=fu;H.relativeTime=Xm;H.pastFuture=ey;H.set=$m;H.eras=zg;H.erasParse=Vg;H.erasConvertYear=Gg;H.erasAbbrRegex=Jg;H.erasNameRegex=qg;H.erasNarrowRegex=Qg;H.months=ym;H.monthsShort=gm;H.monthsParse=xm;H.monthsRegex=Em;H.monthsShortRegex=vm;H.week=ry;H.firstDayOfYear=ay;H.firstDayOfWeek=ny;H.weekdays=Im;H.weekdaysMin=Pm;H.weekdaysShort=Nm;H.weekdaysParse=Dm;H.weekdaysRegex=Bm;H.weekdaysShortRegex=Wm;H.weekdaysMinRegex=Hm;H.isPM=ly;H.meridiem=fy;function Qo(e,t,r,o){var a=Xe(),i=Be().set(o,t);return a[r](i,e)}function pu(e,t,r){if(Qe(e)&&(t=e,e=void 0),e=e||"",t!=null)return Qo(e,t,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=Qo(e,o,r,"month");return a}function es(e,t,r,o){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 a=Xe(),i=e?a._week.dow:0,s,l=[];if(r!=null)return Qo(t,(r+i)%7,o,"day");for(s=0;s<7;s++)l[s]=Qo(t,(s+i)%7,o,"day");return l}function bb(e,t){return pu(e,t,"months")}function xb(e,t){return pu(e,t,"monthsShort")}function Sb(e,t,r){return es(e,t,r,"weekdays")}function vb(e,t,r){return es(e,t,r,"weekdaysShort")}function Eb(e,t,r){return es(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=L(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});E.lang=we("moment.lang is deprecated. Use moment.locale instead.",ut);E.langData=we("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,o){var a=Ie(t,r);return e._milliseconds+=o*a._milliseconds,e._days+=o*a._days,e._months+=o*a._months,e._bubble()}function wb(e,t){return hu(this,e,t,1)}function _b(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,o=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Od(Ti(r)+t)*864e5,t=0,r=0),o.milliseconds=e%1e3,a=ve(e/1e3),o.seconds=a%60,i=ve(a/60),o.minutes=i%60,s=ve(i/60),o.hours=s%24,t+=ve(s/24),d=ve(mu(t)),r+=d,t-=Od(Ti(d)),l=ve(r/12),r%=12,o.days=t,o.months=r,o.years=l,this}function mu(e){return e*4800/146097}function Ti(e){return e*146097/4800}function Ab(e){if(!this.isValid())return NaN;var t,r,o=this._milliseconds;if(e=_e(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+o/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(Ti(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return t*24+o/36e5;case"minute":return t*1440+o/6e4;case"second":return t*86400+o/1e3;case"millisecond":return Math.floor(t*864e5)+o;default:throw new Error("Unknown unit "+e)}}function 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=_e(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"),zb=Dt("days"),Vb=Dt("months"),Gb=Dt("years");function Yb(){return ve(this.days()/7)}var Ke=Math.round,nr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function jb(e,t,r,o,a){return Wd.call(a,t||1,!!r,e,o)}function Kb(e,t,r,o){var a=Ie(e).abs(),i=Ke(a.as("s")),s=Ke(a.as("m")),l=Ke(a.as("h")),d=Ke(a.as("d")),f=Ke(a.as("M")),h=Ke(a.as("w")),p=Ke(a.as("y")),m=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||l<=1&&["h"]||l<r.h&&["hh",l]||d<=1&&["d"]||d<r.d&&["dd",d];return r.w!=null&&(m=m||h<=1&&["w"]||h<r.w&&["ww",h]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||p<=1&&["y"]||["yy",p],m[2]=t,m[3]=+e>0,m[4]=o,jb.apply(null,m)}function Zb(e){return e===void 0?Ke:typeof e=="function"?(Ke=e,!0):!1}function qb(e,t){return nr[e]===void 0?!1:t===void 0?nr[e]:(nr[e]=t,e==="s"&&(nr.ss=t-1),!0)}function Jb(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=nr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(o=Ue(Ue({},nr),t||{}),t.s!=null&&t.ss==null&&(o.ss=t.s-1)),a=this.localeData(),i=Kb(this,!r,o,a),r&&(i=Hd.call(a,+this,i)),a.postformat(i)}var Ei=Math.abs;function or(e){return(e>0)-(e<0)||+e}function ln(){if(!this.isValid())return this.localeData().invalidDate();var e=Ei(this._milliseconds)/1e3,t=Ei(this._days),r=Ei(this._months),o,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(o=ve(e/60),a=ve(o/60),e%=60,o%=60,i=ve(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=or(this._months)!==or(l)?"-":"",h=or(this._days)!==or(l)?"-":"",p=or(this._milliseconds)!==or(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||o||e?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(e?p+s+"S":"")):"P0D"}var W=sn.prototype;W.isValid=Vy;W.abs=Ob;W.add=wb;W.subtract=_b;W.as=Ab;W.asMilliseconds=yu;W.asSeconds=Rb;W.asMinutes=kb;W.asHours=Tb;W.asDays=Ib;W.asWeeks=Nb;W.asMonths=Pb;W.asQuarters=Lb;W.asYears=Db;W.valueOf=Mb;W._bubble=Cb;W.clone=Fb;W.get=Ub;W.milliseconds=Bb;W.seconds=Wb;W.minutes=Hb;W.hours=$b;W.days=zb;W.weeks=Yb;W.months=Vb;W.years=Gb;W.humanize=Jb;W.toISOString=ln;W.toString=ln;W.toJSON=ln;W.locale=ou;W.localeData=au;W.toIsoString=we("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ln);W.lang=nu;R("X",0,0,"unix");R("x",0,0,"valueOf");w("x",rn);w("X",rm);z("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});z("x",function(e,t,r){r._d=new Date(L(e))});E.version="2.31.0";Zh(Y);E.fn=v;E.min=Wy;E.max=Hy;E.now=$y;E.utc=Be;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=Yo;E.monthsShort=xb;E.weekdaysMin=Eb;E.defineLocale=Yi;E.updateLocale=yy;E.locales=gy;E.weekdaysShort=vb;E.normalizeUnits=_e;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 ae;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(ae||(ae={}));var gu=q`
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 _e(e){return typeof e=="string"?gd[e]||gd[e.toLowerCase()]:void 0}function Di(e){var t={},r,o;for(o in e)F(e,o)&&(r=_e(o),r&&(t[r]=e[o]));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(o,a){return o.priority-a.priority}),t}function Oe(e,t,r){var o=""+Math.abs(e),a=t-o.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var Mi=/(\[[^\[]*\])|(\\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,Vo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,vi={},ar={};function R(e,t,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),e&&(ar[e]=a),t&&(ar[t[0]]=function(){return Oe(a.apply(this,arguments),t[1],t[2])}),r&&(ar[r]=function(){return this.localeData().ordinal(a.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(Mi),r,o;for(r=0,o=t.length;r<o;r++)ar[t[r]]?t[r]=ar[t[r]]:t[r]=Xh(t[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=He(t[s])?t[s].call(a,e):t[s];return i}}function Yo(e,t){if(!e.isValid())return e.localeData().invalidDate();t=Rd(t,e.localeData());var r="$"+t;return F(vi,r)||(vi[r]=em(t)),vi[r](e)}function Rd(e,t){var r=5;function o(a){return t.longDateFormat(a)||a}for(Vo.lastIndex=0;r>=0&&Vo.test(e);)e=e.replace(Vo,o),Vo.lastIndex=0,r-=1;return e}var kd=/\d/,be=/\d\d/,Td=/\d{3}/,Fi=/\d{4}/,en=/[+-]?\d{6}/,V=/\d\d?/,Id=/\d\d\d\d?/,Ui=/\d\d\d\d\d\d?/,tn=/\d{1,3}/,Bi=/\d{1,4}/,rn=/[+-]?\d{1,6}/,cr=/\d+/,on=/[+-]?\d+/,tm=/Z|[+-]\d\d:?\d\d/gi,nn=/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?/,Wi=/^([1-9]\d|\d)/,Zo;Zo={};function w(e,t,r){Zo[e]=He(t)?t:function(o,a){return o&&r?r:t}}function om(e,t){return F(Zo,e)?Zo[e](t._strict,t._locale):new RegExp(nm(e))}function nm(e){return qe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,o,a,i){return r||o||a||i}))}function qe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ve(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function L(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ve(t)),r}var _i={};function z(e,t){var r,o=t,a;for(typeof e=="string"&&(e=[e]),Qe(t)&&(o=function(i,s){s[t]=L(i)}),a=e.length,r=0;r<a;r++)_i[e[r]]=o}function dr(e,t){z(e,function(r,o,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function am(e,t,r){t!=null&&F(_i,e)&&_i[e](t,r._a,r,e)}function an(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,im=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");w("Y",on);w("YY",V,be);w("YYYY",Bi,Fi);w("YYYYY",rn,en);w("YYYYYY",rn,en);z(["YYYYY","YYYYYY"],Z);z("YYYY",function(e,t){t[Z]=e.length===2?E.parseTwoDigitYear(e):L(e)});z("YY",function(e,t){t[Z]=E.parseTwoDigitYear(e)});z("Y",function(e,t){t[Z]=parseInt(e,10)});function jr(e){return an(e)?366:365}E.parseTwoDigitYear=function(e){return L(e)+(L(e)>68?1900:2e3)};var Nd=ur("FullYear",!0);function cm(){return an(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,o=e._isUTC;switch(t){case"Milliseconds":return o?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return o?r.getUTCSeconds():r.getSeconds();case"Minutes":return o?r.getUTCMinutes():r.getMinutes();case"Hours":return o?r.getUTCHours():r.getHours();case"Date":return o?r.getUTCDate():r.getDate();case"Day":return o?r.getUTCDay():r.getDay();case"Month":return o?r.getUTCMonth():r.getMonth();case"FullYear":return o?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Pd(e,t,r){var o,a,i,s,l;if(!(!e.isValid()||isNaN(r))){switch(o=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?o.setUTCMilliseconds(r):o.setMilliseconds(r));case"Seconds":return void(a?o.setUTCSeconds(r):o.setSeconds(r));case"Minutes":return void(a?o.setUTCMinutes(r):o.setMinutes(r));case"Hours":return void(a?o.setUTCHours(r):o.setHours(r));case"Date":return void(a?o.setUTCDate(r):o.setDate(r));case"FullYear":break;default:return}i=r,s=e.month(),l=e.date(),l=l===29&&s===1&&!an(i)?28:l,a?o.setUTCFullYear(i,s,l):o.setFullYear(i,s,l)}}function lm(e){return e=_e(e),He(this[e])?this[e]():this}function dm(e,t){if(typeof e=="object"){e=Di(e);var r=Qh(e),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](e[r[o].unit])}else if(e=_e(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 Hi(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=um(t,12);return e+=(t-r)/12,r===1?an(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)});w("M",V,lr);w("MM",V,be);w("MMM",function(e,t){return t.monthsShortRegex(e)});w("MMMM",function(e,t){return t.monthsRegex(e)});z(["M","MM"],function(e,t){t[ye]=L(e)-1});z(["MMM","MMMM"],function(e,t,r,o){var a=r._locale.monthsParse(e,o,r._strict);a!=null?t[ye]=a: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,o;for(r=0;r<bd.length;r++)o=bd[r],F(t,o)||delete e["_"+o]}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 o,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=We([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=K.call(this._shortMonthsParse,s),a!==-1?a:null):(a=K.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=K.call(this._shortMonthsParse,s),a!==-1?a:(a=K.call(this._longMonthsParse,s),a!==-1?a:null)):(a=K.call(this._longMonthsParse,s),a!==-1?a:(a=K.call(this._shortMonthsParse,s),a!==-1?a:null))}function xm(e,t,r){var o,a,i;if(this._monthsParseExact)return bm.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(a=We([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[o]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[o].test(e))return o;if(r&&t==="MMM"&&this._shortMonthsParse[o].test(e))return o;if(!r&&this._monthsParse[o].test(e))return o}}function Md(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=L(t);else if(t=e.localeData().monthsParse(t),!Qe(t))return e}var r=t,o=e.date();return o=o<29?o:Math.min(o,Hi(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,o):e._d.setMonth(r,o),e}function Fd(e){return e!=null?(Md(this,e),E.updateOffset(this,!0),this):Kr(this,"Month")}function Sm(){return Hi(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=[],o=[],a,i,s,l;for(a=0;a<12;a++)i=We([2e3,a]),s=qe(this.monthsShort(i,"")),l=qe(this.months(i,"")),t.push(s),r.push(l),o.push(l),o.push(s);t.sort(e),r.sort(e),o.sort(e),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}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)});w("d",V);w("e",V);w("E",V);w("eHHmm",Ui);w("dd",function(e,t){return t.weekdaysMinRegex(e)});w("ddd",function(e,t){return t.weekdaysShortRegex(e)});w("dddd",function(e,t){return t.weekdaysRegex(e)});dr(["dd","ddd","dddd"],function(e,t,r,o){var a=r._locale.weekdaysParse(e,o,r._strict);a!=null?t.d=a:P(r).invalidWeekday=e});dr(["d","e","E"],function(e,t,r,o){t[o]=L(e)});dr("eHHmm",function(e,t,r){var o=e.length-4;t.e=L(e.substr(0,o)),r._a[J]=L(e.substr(o,2)),r._a[Ee]=L(e.substr(o+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 wm(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function $i(e,t){return e.slice(t,7).concat(e.slice(0,t))}var _m="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,o;for(r=0;r<xd.length;r++)o=xd[r],F(t,o)||delete e["_"+o]}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?$i(r,this._week.dow):e?r[e.day()]:r}function Nm(e){return e===!0?$i(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pm(e){return e===!0?$i(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Lm(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=We([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=K.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=K.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=K.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=K.call(this._weekdaysParse,s),a!==-1||(a=K.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=K.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=K.call(this._shortWeekdaysParse,s),a!==-1||(a=K.call(this._weekdaysParse,s),a!==-1)?a:(a=K.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=K.call(this._minWeekdaysParse,s),a!==-1||(a=K.call(this._weekdaysParse,s),a!==-1)?a:(a=K.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Dm(e,t,r){var o,a,i;if(this._weekdaysParseExact)return Lm.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(a=We([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[o].test(e))return o;if(r&&t==="ddd"&&this._shortWeekdaysParse[o].test(e))return o;if(r&&t==="dd"&&this._minWeekdaysParse[o].test(e))return o;if(!r&&this._weekdaysParse[o].test(e))return o}}function 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=wm(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")||zi.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")||zi.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")||zi.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(F(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=km),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zi(){function e(h,p){return p.length-h.length}var t=[],r=[],o=[],a=[],i,s,l,d,f;for(i=0;i<7;i++)s=We([2e3,1]).day(i),l=qe(this.weekdaysMin(s,"")),d=qe(this.weekdaysShort(s,"")),f=qe(this.weekdays(s,"")),t.push(l),r.push(d),o.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function $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 Ci(e,t){var r=Be({},e),o;for(o in t)F(t,o)&&(Pt(e[o])&&Pt(t[o])?(r[o]={},Be(r[o],e[o]),Be(r[o],t[o])):t[o]!=null?r[o]=t[o]:delete r[o]);for(o in e)F(e,o)&&!F(t,o)&&Pt(e[o])&&(r[o]=Be({},r[o]));return r}function Vi(e){e!=null&&this.set(e)}var Ai;Object.keys?Ai=Object.keys:Ai=function(e){var t,r=[];for(t in e)F(e,t)&&r.push(t);return r};var zm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Vm(e,t,r){var o=this._calendar[e]||this._calendar.sameElse;return He(o)?o.call(t,r):o}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()],o=this._longDateFormatCache;return t||!r?t:o&&o[e]&&o[e].formatUpper===r?o[e].format:(t=r.match(Mi).map(function(a){return a==="MMMM"||a==="MM"||a==="DD"||a==="dddd"?a.slice(1):a}).join(""),o||(o=this._longDateFormatCache={}),o[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,o){var a=this._relativeTime[r];return He(a)?a(e,t,r,o):a.replace(/%d/i,e)}function Xm(e,t,r,o){return this.postformat(Wd.call(this,e,t,r,o))}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,o,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,o,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,o,a,i,s),l}function 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 qo(e,t,r){var o=7+t-r,a=(7+Lt(e,0,o).getUTCDay()-t)%7;return-a+o-1}function $d(e,t,r,o,a){var i=(7+r-o)%7,s=qo(e,o,a),l=1+7*(t-1)+i+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 zd(e,t,r,o){var a=qo(e,r,o),i=Math.floor((t-a-1)/7)+1,s,l;return i<1?(l=e-1,s=i+Je(l,r,o)):i>Je(e,r,o)?(s=i-Je(e,r,o),l=e+1):(l=e,s=i),{week:s,year:l}}function Gi(e,t,r){return zd(e.year(),e.dayOfYear(),t,r)}function Sd(e,t,r,o,a){var i=Math.round((Lt(e,t,r)-Lt(e,0,1))/864e5)+1;return zd(e,i,o,a)}function Je(e,t,r){var o=qo(e,t,r),a=qo(e+1,t,r);return(jr(e)-o+a)/7}R("w",["ww",2],"wo","week");R("W",["WW",2],"Wo","isoWeek");w("w",V,lr);w("ww",V,be);w("W",V,lr);w("WW",V,be);dr(["w","ww","W","WW"],function(e,t,r,o){t[o.substr(0,1)]=L(e)});function ry(e){return Gi(e,this._week.dow,this._week.doy).week}var oy={dow:0,doy:6};function ny(){return this._week.dow}function ay(){return this._week.doy}function iy(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function sy(e){var t=Gi(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}function Yi(){return this.hours()%12||12}function cy(){return this.hours()||24}R("H",["HH",2],0,"hour");R("h",["hh",2],0,Yi);R("k",["kk",2],0,cy);R("hmm",0,0,function(){return""+Yi.apply(this)+Oe(this.minutes(),2)});R("hmmss",0,0,function(){return""+Yi.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 Vd(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Vd("a",!0);Vd("A",!1);function Gd(e,t){return t._meridiemParse}w("a",Gd);w("A",Gd);w("H",V,Wi);w("h",V,lr);w("k",V,lr);w("HH",V,be);w("hh",V,be);w("kk",V,be);w("hmm",Id);w("hmmss",Ui);w("Hmm",Id);w("Hmmss",Ui);z(["H","HH"],J);z(["k","kk"],function(e,t,r){var o=L(e);t[J]=o===24?0:o});z(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});z(["h","hh"],function(e,t,r){t[J]=L(e),P(r).bigHour=!0});z("hmm",function(e,t,r){var o=e.length-2;t[J]=L(e.substr(0,o)),t[Ee]=L(e.substr(o)),P(r).bigHour=!0});z("hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[J]=L(e.substr(0,o)),t[Ee]=L(e.substr(o,2)),t[Ze]=L(e.substr(a)),P(r).bigHour=!0});z("Hmm",function(e,t,r){var o=e.length-2;t[J]=L(e.substr(0,o)),t[Ee]=L(e.substr(o))});z("Hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[J]=L(e.substr(0,o)),t[Ee]=L(e.substr(o,2)),t[Ze]=L(e.substr(a))});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:zm,longDateFormat:Gm,invalidDate:jm,ordinal:Zm,dayOfMonthOrdinalParse:qm,relativeTime:Qm,months:fm,monthsShort:Ld,week:oy,weekdays:_m,weekdaysMin:Cm,weekdaysShort:Bd,meridiemParse:dy},$={},Vr={},Zr;function py(e,t){var r,o=Math.min(e.length,t.length);for(r=0;r<o;r+=1)if(e[r]!==t[r])return r;return o}function Ri(e){return e&&e.toLowerCase().replace("_","-")}function hy(e){for(var t=0,r,o,a,i;t<e.length;){for(i=Ri(e[t]).split("-"),r=i.length,o=Ri(e[t+1]),o=o?o.split("-"):null;r>0;){if(a=sn(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&py(i,o)>=r-1)break;r--}t++}return Zr}function my(e){return typeof e=="string"&&/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(e)}function sn(e){var t=null,r,o;if(F($,e))return $[e];if(o=Ri(e),F($,o))return $[o];if(typeof module<"u"&&module&&module.exports&&my(o))try{t=Zr._abbr,r=os,r("./locale/"+o),ut(t)}catch{$[o]=null}if(F($,o))return $[o]}function ut(e,t){var r;return e&&(ce(t)?r=Xe(e):r=ji(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 ji(e,t){if(t!==null){var r,o=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."),o=$[e]._config;else if(t.parentLocale!=null)if($[t.parentLocale]!=null)o=$[t.parentLocale]._config;else if(r=sn(t.parentLocale),r!=null)o=r._config;else return Vr[t.parentLocale]||(Vr[t.parentLocale]=[]),Vr[t.parentLocale].push({name:e,config:t}),null;return $[e]=new Vi(Ci(o,t)),Vr[e]&&Vr[e].forEach(function(a){ji(a.name,a.config)}),ut(e),$[e]}else return delete $[e],null}function yy(e,t){var r,o=sn(e),a=Yd;return o!=null&&(e=o._abbr),t!=null?($[e]!=null&&$[e].parentLocale!=null?$[e].set(Ci($[e]._config,t)):(o!=null&&(a=o._config),t=Ci(a,t),o==null&&(t.abbr=e),r=new Vi(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=sn(e),t)return t;e=[e]}return hy(e)}function gy(){return Ai($)}function Ki(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]>Hi(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=im),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)?/,Go=[["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]],Ei=[["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,o=e._i,a=by.exec(o)||xy.exec(o),i,s,l,d,f=Go.length,h=Ei.length;if(a){for(P(e).iso=!0,t=0,r=f;t<r;t++)if(Go[t][1].exec(a[1])){s=Go[t][0],i=Go[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(Ei[t][1].exec(a[3])){l=(a[2]||" ")+Ei[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Sy.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),qi(e)}else e._isValid=!1}function wy(e,t,r,o,a,i){var s=[_y(e),Ld.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function _y(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 o=Bd.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(o!==a)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 o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function Kd(e){var t=Ey.exec(Cy(e._i)),r;if(t){if(r=wy(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=we("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 o=Object.prototype.hasOwnProperty.call(e,"_isDefaultDatePartsForWeek"),a=e._isDefaultDatePartsForWeek;e._isDefaultDatePartsForWeek=!!r;try{return E._getDefaultDateParts(e,t,r)}finally{o?e._isDefaultDatePartsForWeek=a: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 o=r||e._isDefaultDatePartsForWeek,a=o?Y(t):new Date(t);return o?[a.year(),a.month(),a.date()]:e._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()]}E._getDefaultDateParts=Iy;function Zi(e){var t,r,o=[],a,i,s,l,d;if(!e._d){for((e._a[Z]==null||e._a[ye]==null||e._a[le]==null)&&(a=Ty(e),i=vd(e,a)),e._w&&e._a[le]==null&&e._a[ye]==null&&Ny(e,vd(e,a,!0)),e._dayOfYear!=null&&(l=e._a[Z]!=null?e._a[Z]:i[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]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[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,o),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,o,a,i,s,l,d,f,h;r=e._w,r.GG!=null||r.W!=null||r.E!=null?(s=1,l=4,o=Gr(r.GG,e._a[Z],Sd(t[Z],t[ye],t[le],1,4).year),a=Gr(r.W,1),i=Gr(r.E,1),(i<1||i>7)&&(f=!0)):(s=e._locale._week.dow,l=e._locale._week.doy,h=Sd(t[Z],t[ye],t[le],s,l),o=Gr(r.gg,e._a[Z],h.year),a=Gr(r.w,h.week),r.d!=null?(i=r.d,(i<0||i>6)&&(f=!0)):r.e!=null?(i=r.e+s,(r.e<0||r.e>6)&&(f=!0)):i=s),a<1||a>Je(o,s,l)?P(e)._overflowWeeks=!0:f!=null?P(e)._overflowWeekday=!0:(d=$d(o,a,i,s,l),e._a[Z]=d.year,e._dayOfYear=d.dayOfYear)}E.ISO_8601=function(){};E.RFC_2822=function(){};function qi(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,o,a,i,s,l=t.length,d=0,f,h;for(a=Rd(e._f,e._locale).match(Mi)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(t.match(om(i,e))||[])[0],o&&(s=t.substr(0,t.indexOf(o)),s.length>0&&P(e).unusedInput.push(s),t=t.slice(t.indexOf(o)+o.length),d+=o.length),ar[i]?(o?P(e).empty=!1:P(e).unusedTokens.push(i),am(i,o,e)):e._strict&&!o&&P(e).unusedTokens.push(i);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])),Zi(e),Ki(e)}function Py(e,t,r){var o;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(o=e.isPM(r),o&&t<12&&(t+=12),!o&&t===12&&(t=0)),t)}function Ly(e){var t,r,o,a,i,s,l=!1,d={},f=e._f.length;if(f===0){P(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,s=!1,t=Li({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._defaultDatePartsNow=d,t._f=e._f[a],qi(t),Pi(t)&&(s=!0),i+=P(t).charsLeftOver,i+=P(t).unusedTokens.length*10,P(t).score=i,l?i<o&&(o=i,r=t):(o==null||i<o||s)&&(o=i,r=t,s&&(l=!0));Be(e,r||t)}function Dy(e){if(!e._d){var t=Di(e._i),r=t.day===void 0?t.date:t.day;e._a=_d([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(o){return o&&parseInt(o,10)}),Zi(e)}}function My(e){var t=new Qr(Ki(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(Ki(t)):(qr(t)?e._d=t:Te(r)?Ly(e):r?qi(e):Fy(e),Pi(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=_d(t.slice(0),function(r){return parseInt(r,10)}),Zi(e)):Pt(t)?Dy(e):Qe(t)?e._d=new Date(t):E.createFromInputFallback(e)}function qd(e,t,r,o,a){var i={};return(t===!0||t===!1)&&(o=t,t=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(Pt(e)&&Ni(e)||Te(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=o,My(i)}function Y(e,t,r,o){return qd(e,t,r,o,!1)}var Uy=we("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=we("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,o;if(t.length===1&&Te(t[0])&&(t=t[0]),!t.length)return Y();for(o=0;o<t.length;++o)if(ge(t[o])){r=t[o];break}if(!r)return Jr();for(++o;o<t.length;++o)ge(t[o])&&(!t[o].isValid()||t[o][e](r))&&(r=t[o]);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 zy(e){var t,r=!1,o,a=Yr.length;for(t in e)if(F(e,t)&&!(K.call(Yr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(o=0;o<a;++o)if(e[Yr[o]]){if(r)return!1;parseFloat(e[Yr[o]])!==L(e[Yr[o]])&&(r=!0)}return!0}function Vy(){return this._isValid}function Gy(){return Ie(NaN)}function cn(e){var t=Di(e),r=t.year||0,o=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,h=t.millisecond||0;this._isValid=zy(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=Xe(),this._bubble()}function jo(e){return e instanceof cn}function ki(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Yy(e,t,r){var o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<o;s++)L(e[s])!==L(t[s])&&i++;return i+a}function Qd(e,t){R(e,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+Oe(~~(r/60),2)+t+Oe(~~r%60,2)})}Qd("Z",":");Qd("ZZ","");w("Z",nn);w("ZZ",nn);z(["Z","ZZ"],function(e,t,r){var o=Ji(nn,e);r._useUTC=!0,r._tzm=o,o===null&&(P(r).invalidOffset=e)});var jy=/([\+\-]|\d\d)/gi;function Ji(e,t){var r=(t||"").match(e),o,a,i;return r===null||(o=r[r.length-1]||[],a=(o+"").match(jy)||["-",0,0],i=+(a[1]*60)+L(a[2]),L(a[2])>59||(a[0]==="+"?i>840:i>720))?null:i===0?0:a[0]==="+"?i:-i}function Qi(e,t){var r,o;return t._isUTC?(r=t.clone(),o=(ge(e)||qr(e)?e.valueOf():Y(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),E.updateOffset(r,!1),r):Y(e).local()}function Ti(e){return-Math.round(e._d.getTimezoneOffset())}E.updateOffset=function(){};function Ky(e,t,r){var o=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ji(nn,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=Ti(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?tu(this,Ie(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,E.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:Ti(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(Ti(this),"m")),this}function Qy(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ji(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 Li(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 og(){return this.isValid()?this._isUTC:!1}function Xd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ng=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ag=/^(-|\+)?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,o=null,a,i,s;return jo(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Qe(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=ng.exec(e))?(a=o[1]==="-"?-1:1,r={y:0,d:L(o[le])*a,h:L(o[J])*a,m:L(o[Ee])*a,s:L(o[Ze])*a,ms:L(ki(o[Nt]*1e3))*a}):(o=ag.exec(e))?(a=o[1]==="-"?-1:1,r={y:It(o[2],a),M:It(o[3],a),w:It(o[4],a),d:It(o[5],a),h:It(o[6],a),m:It(o[7],a),s:It(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=ig(Y(r.from),Y(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new cn(r),jo(e)&&F(e,"_locale")&&(i._locale=e._locale),jo(e)&&F(e,"_isValid")&&(i._isValid=e._isValid),i}Ie.fn=cn.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 ig(e,t){var r;return e.isValid()&&t.isValid()?(t=Qi(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,o){var a,i;return o!==null&&!isNaN(+o)&&(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."),i=r,r=o,o=i),a=Ie(r,o),tu(this,a,e),this}}function tu(e,t,r,o){var a=t._milliseconds,i=ki(t._days),s=ki(t._months);e.isValid()&&(o=o??!0,s&&Md(e,Kr(e,"Month")+s*r),i&&Pd(e,"Date",Kr(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),o&&E.updateOffset(e,i||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)&&!Ni(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||F(e,i);return t&&r}function ug(e){var t=Te(e),r=!1;return t&&(r=e.filter(function(o){return!Qe(o)&&ru(e)}).length===0),t&&r}function fg(e){var t=Pt(e)&&!Ni(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||F(e,i);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(),o=Qi(r,this).startOf("day"),a=E.calendarFormat(this,o)||"sameElse",i=t&&(He(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,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=_e(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=_e(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function bg(e,t,r,o){var a=ge(e)?e:Y(e),i=ge(t)?t:Y(t);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function xg(e,t){var r=ge(e)?e:Y(e),o;return this.isValid()&&r.isValid()?(t=_e(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(t).valueOf()<=o&&o<=this.clone().endOf(t).valueOf())):!1}function 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 o,a,i;if(!this.isValid())return NaN;if(o=Qi(e,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,t=_e(t),t){case"year":i=Ko(this,o)/12;break;case"month":i=Ko(this,o);break;case"quarter":i=Ko(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-a)/864e5;break;case"week":i=(this-o-a)/6048e5;break;default:i=this-o}return r?i:ve(i)}function Ko(e,t){if(e.date()<t.date())return-Ko(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),o=e.clone().add(r,"months"),a,i;return t-o<0?(a=e.clone().add(r-1,"months"),i=(t-o)/(o-a)):(a=e.clone().add(r+1,"months"),i=(t-o)/(a-o)),-(r+i)||0}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 wg(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Yo(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",Yo(r,"Z")):Yo(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _g(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,o,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+o+a+i)}function Cg(e){e||(e=this.isUtc()?E.defaultFormatUtc:E.defaultFormat);var t=Yo(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 ou(e){var t;return e===void 0?this._locale._abbr:(t=Xe(e),t!=null&&(this._locale=t),this)}var nu=we("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 au(){return this._locale}var Jo=1e3,ir=60*Jo,Qo=60*ir,iu=(365*400+97)*24*Qo;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)-iu:new Date(e,t,r).valueOf()}function cu(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-iu:Date.UTC(e,t,r)}function Ig(e){var t,r;if(e=_e(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()*ir),Qo);break;case"minute":t=this._d.valueOf(),t-=sr(t,ir);break;case"second":t=this._d.valueOf(),t-=sr(t,Jo);break}return this._d.setTime(t),E.updateOffset(this,!0),this}function Ng(e){var t,r;if(e=_e(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+=Qo-sr(t+(this._isUTC?0:this.utcOffset()*ir),Qo)-1;break;case"minute":t=this._d.valueOf(),t+=ir-sr(t,ir)-1;break;case"second":t=this._d.valueOf(),t+=Jo-sr(t,Jo)-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 Pi(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");w("N",Xi);w("NN",Xi);w("NNN",Xi);w("NNNN",Xg);w("NNNNN",eb);z(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,o){var a=r._locale.erasParse(e,o,r._strict);a?P(r).era=a:P(r).invalidEra=e});w("y",cr);w("yy",cr);w("yyy",cr);w("yyyy",cr);w("yo",tb);z(["y","yy","yyy","yyyy"],Z);z(["yo"],function(e,t,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Z]=r._locale.eraYearOrdinalParse(e,a):t[Z]=parseInt(e,10)});function zg(e,t){var r,o,a,i=this._eras||Xe("en")._eras;for(r=0,o=i.length;r<o;++r)switch(typeof i[r].since==="string"&&(a=E(i[r].since).startOf("day"),i[r].since=a.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=E(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}return i}function Vg(e,t,r){var o,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),l=i[o].abbr.toUpperCase(),d=i[o].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[o];break;case"NNNN":if(s===e)return i[o];break;case"NNNNN":if(d===e)return i[o];break}else if([s,l,d].indexOf(e)>=0)return i[o]}function 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,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].name;return""}function jg(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].narrow;return""}function Kg(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].abbr;return""}function Zg(){var e,t,r,o,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,o=this.clone().startOf("day").valueOf(),a[e].since<=o&&o<=a[e].until||a[e].until<=o&&o<=a[e].since)return(this.year()-E(a[e].since).year())*r+a[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 Xi(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=[],o=[],a,i,s,l,d,f=this.eras();for(a=0,i=f.length;a<i;++a)s=qe(f[a].name),l=qe(f[a].abbr),d=qe(f[a].narrow),t.push(s),e.push(l),r.push(d),o.push(s),o.push(l),o.push(d);this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}R(0,["gg",2],0,function(){return this.weekYear()%100});R(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ln(e,t){R(0,[e,e.length],0,t)}ln("gggg","weekYear");ln("ggggg","weekYear");ln("GGGG","isoWeekYear");ln("GGGGG","isoWeekYear");w("G",on);w("g",on);w("GG",V,be);w("gg",V,be);w("GGGG",Bi,Fi);w("gggg",Bi,Fi);w("GGGGG",rn,en);w("ggggg",rn,en);dr(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,o){t[o.substr(0,2)]=L(e)});dr(["gg","GG"],function(e,t,r,o){t[o]=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 ob(e){return lu.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function nb(){return Je(this.year(),1,4)}function ab(){return Je(this.isoWeekYear(),1,4)}function ib(){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,o,a){var i;return e==null?Gi(this,o,a).year:(i=Je(e,o,a),t>i&&(t=i),cb.call(this,e,t,r,o,a))}function cb(e,t,r,o,a){var i=$d(e,t,r,o,a),s=Lt(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}R("Q",0,"Qo","quarter");w("Q",kd);z("Q",function(e,t){t[ye]=(L(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");w("D",V,lr);w("DD",V,be);w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});z(["D","DD"],le);z("Do",function(e,t){t[le]=L(e.match(V)[0])});var du=ur("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear");w("DDD",tn);w("DDDD",Td);z(["DDD","DDDD"],function(e,t,r){r._dayOfYear=L(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");w("m",V,Wi);w("mm",V,be);z(["m","mm"],Ee);var ub=ur("Minutes",!1);R("s",["ss",2],0,"second");w("s",V,Wi);w("ss",V,be);z(["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});w("S",tn,kd);w("SS",tn,be);w("SSS",tn,Td);var dt,uu;for(dt="SSSS";dt.length<=9;dt+="S")w(dt,cr);function pb(e,t){t[Nt]=L(("0."+e)*1e3)}for(dt="S";dt.length<=9;dt+="S")z(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=nu;v.locale=ou;v.localeData=au;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=wg;v.inspect=_g;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=ob;v.quarter=v.quarters=lb;v.month=Fd;v.daysInMonth=Sm;v.week=v.weeks=iy;v.isoWeek=v.isoWeeks=sy;v.weeksInYear=ib;v.weeksInWeekYear=sb;v.isoWeeksInYear=nb;v.isoWeeksInISOWeekYear=ab;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=og;v.isUtc=Xd;v.isUTC=Xd;v.zoneAbbr=hb;v.zoneName=mb;v.dates=we("dates accessor is deprecated. Use date instead.",du);v.months=we("months accessor is deprecated. Use month instead",Fd);v.years=we("years accessor is deprecated. Use year instead",Nd);v.zone=we("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Zy);v.isDSTShifted=we("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=Vi.prototype;W.calendar=Vm;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=zg;W.erasParse=Vg;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=ay;W.firstDayOfWeek=ny;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 Xo(e,t,r,o){var a=Xe(),i=We().set(o,t);return a[r](i,e)}function pu(e,t,r){if(Qe(e)&&(t=e,e=void 0),e=e||"",t!=null)return Xo(e,t,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=Xo(e,o,r,"month");return a}function ts(e,t,r,o){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 a=Xe(),i=e?a._week.dow:0,s,l=[];if(r!=null)return Xo(t,(r+i)%7,o,"day");for(s=0;s<7;s++)l[s]=Xo(t,(s+i)%7,o,"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=L(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});E.lang=we("moment.lang is deprecated. Use moment.locale instead.",ut);E.langData=we("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,o){var a=Ie(t,r);return e._milliseconds+=o*a._milliseconds,e._days+=o*a._days,e._months+=o*a._months,e._bubble()}function wb(e,t){return hu(this,e,t,1)}function _b(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,o=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Od(Ii(r)+t)*864e5,t=0,r=0),o.milliseconds=e%1e3,a=ve(e/1e3),o.seconds=a%60,i=ve(a/60),o.minutes=i%60,s=ve(i/60),o.hours=s%24,t+=ve(s/24),d=ve(mu(t)),r+=d,t-=Od(Ii(d)),l=ve(r/12),r%=12,o.days=t,o.months=r,o.years=l,this}function mu(e){return e*4800/146097}function Ii(e){return e*146097/4800}function Ab(e){if(!this.isValid())return NaN;var t,r,o=this._milliseconds;if(e=_e(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+o/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(Ii(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return t*24+o/36e5;case"minute":return t*1440+o/6e4;case"second":return t*86400+o/1e3;case"millisecond":return Math.floor(t*864e5)+o;default:throw new Error("Unknown unit "+e)}}function 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=_e(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"),zb=Dt("days"),Vb=Dt("months"),Gb=Dt("years");function Yb(){return ve(this.days()/7)}var Ke=Math.round,nr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function jb(e,t,r,o,a){return Wd.call(a,t||1,!!r,e,o)}function Kb(e,t,r,o){var a=Ie(e).abs(),i=Ke(a.as("s")),s=Ke(a.as("m")),l=Ke(a.as("h")),d=Ke(a.as("d")),f=Ke(a.as("M")),h=Ke(a.as("w")),p=Ke(a.as("y")),m=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||l<=1&&["h"]||l<r.h&&["hh",l]||d<=1&&["d"]||d<r.d&&["dd",d];return r.w!=null&&(m=m||h<=1&&["w"]||h<r.w&&["ww",h]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||p<=1&&["y"]||["yy",p],m[2]=t,m[3]=+e>0,m[4]=o,jb.apply(null,m)}function Zb(e){return e===void 0?Ke:typeof e=="function"?(Ke=e,!0):!1}function qb(e,t){return nr[e]===void 0?!1:t===void 0?nr[e]:(nr[e]=t,e==="s"&&(nr.ss=t-1),!0)}function Jb(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=nr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(o=Be(Be({},nr),t||{}),t.s!=null&&t.ss==null&&(o.ss=t.s-1)),a=this.localeData(),i=Kb(this,!r,o,a),r&&(i=Hd.call(a,+this,i)),a.postformat(i)}var Oi=Math.abs;function or(e){return(e>0)-(e<0)||+e}function dn(){if(!this.isValid())return this.localeData().invalidDate();var e=Oi(this._milliseconds)/1e3,t=Oi(this._days),r=Oi(this._months),o,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(o=ve(e/60),a=ve(o/60),e%=60,o%=60,i=ve(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=or(this._months)!==or(l)?"-":"",h=or(this._days)!==or(l)?"-":"",p=or(this._milliseconds)!==or(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||o||e?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(e?p+s+"S":"")):"P0D"}var U=cn.prototype;U.isValid=Vy;U.abs=Ob;U.add=wb;U.subtract=_b;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=zb;U.weeks=Yb;U.months=Vb;U.years=Gb;U.humanize=Jb;U.toISOString=dn;U.toString=dn;U.toJSON=dn;U.locale=ou;U.localeData=au;U.toIsoString=we("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",dn);U.lang=nu;R("X",0,0,"unix");R("x",0,0,"valueOf");w("x",on);w("X",rm);z("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});z("x",function(e,t,r){r._d=new Date(L(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=jo;E.monthsShort=xb;E.weekdaysMin=Eb;E.defineLocale=ji;E.updateLocale=yy;E.locales=gy;E.weekdaysShort=vb;E.normalizeUnits=_e;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 ae;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(ae||(ae={}));var gu=q`
89
89
  .sessions-chart {
90
90
  height: 100%;
91
91
  width: 100%;
92
92
  }
93
93
  `;var de=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};window.echarts==null&&console.warn("Echarts is not available");var ee=class extends ie{constructor(){super(...arguments),this.xAxisName="date",this.yAxisName="",this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.valueLabels=void 0,this.valueLabelsSingular=void 0,this.barChart=!1,this.period=ae.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 o;(o=this.myChart)===null||o===void 0||o.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===ae.DAY||t.period===ae.WEEK?E.utc(r*1e3).format("DD MMM YYYY"):t.period===ae.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),o=t.map(d=>d.data.value[1]),a,i,s="";switch(this.period){case ae.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,ae.DAY)&&(s=" so far");break}case ae.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,ae.WEEK)&&(s=" so far");break}case ae.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,ae.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<o.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,p=o[d]===1?h:f;l+=`${o[d].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,o=E.utc()){switch(r){case ae.DAY:return t.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case ae.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case ae.MONTH:return t.month()===o.month()&&t.year()===o.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let o=0;o<t;o++)r[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(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([ot(void 0)],ee.prototype,"valueLabels",void 0);de([ot(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([ot([])],ee.prototype,"data",void 0);de([En(".sessions-chart")],ee.prototype,"container",void 0);var bu={"ft-chart":ee};Pn(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 o;(o=this.myChart)===null||o===void 0||o.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===ae.DAY||t.period===ae.WEEK?E.utc(r*1e3).format("DD MMM YYYY"):t.period===ae.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),o=t.map(d=>d.data.value[1]),a,i,s="";switch(this.period){case ae.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,ae.DAY)&&(s=" so far");break}case ae.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,ae.WEEK)&&(s=" so far");break}case ae.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,ae.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<o.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,p=o[d]===1?h:f;l+=`${o[d].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,o=E.utc()){switch(r){case ae.DAY:return t.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case ae.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case ae.MONTH:return t.month()===o.month()&&t.year()===o.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let o=0;o<t;o++)r[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(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([T({type:String})],ee.prototype,"xAxisName",void 0);de([T({type:String})],ee.prototype,"yAxisName",void 0);de([T({type:String})],ee.prototype,"graphColor",void 0);de([T({type:String})],ee.prototype,"hoverColor",void 0);de([T({type:String})],ee.prototype,"tooltipBackgroundColor",void 0);de([T({type:String})],ee.prototype,"tooltipBorderColor",void 0);de([T({type:String})],ee.prototype,"tooltipTextColor",void 0);de([T({type:String})],ee.prototype,"tooltipBorderRadius",void 0);de([ot(void 0)],ee.prototype,"valueLabels",void 0);de([ot(void 0)],ee.prototype,"valueLabelsSingular",void 0);de([T({type:Boolean})],ee.prototype,"barChart",void 0);de([T({type:String})],ee.prototype,"period",void 0);de([ot([])],ee.prototype,"data",void 0);de([On(".sessions-chart")],ee.prototype,"container",void 0);var bu={"ft-chart":ee};Ln(bu);})();
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: