@fluid-topics/ft-analytics-top-documents 2.1.11 → 2.1.14

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 zd=Object.defineProperty;var Wi=(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 F=(e,t)=>{for(var r in t)zd(e,r,{get:t[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,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(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,R=new Set(b.observedAttributes||[]);m(b,R,S);let N={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:R};this._definitionsByTag.set(x,N),this._definitionsByClass.set(b,N);let q=r.call(n,x);q||(q=h(x),t.call(n,x,q)),this===window.customElements&&(s.set(b,N),N.standInClass=q);let W=this._awaitingUpgrade.get(x);if(W){this._awaitingUpgrade.delete(x);for(let P of W)i.delete(P),y(P,N,!0)}let T=this._whenDefinedPromises.get(x);return T!==void 0&&(T.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(R=>S.resolve=R),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let R=this._awaitingUpgrade.get(b);R||this._awaitingUpgrade.set(b,R=new Set),S?R.add(x):R.delete(x)}};let d;window.HTMLElement=function(){let b=d;if(b)return d=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),a.set(b,S),b},window.HTMLElement.prototype=e.prototype;let f=x=>x===document||x instanceof ShadowRoot,p=x=>{let b=x.getRootNode();if(!f(b)){let S=E[E.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),f(b)||(b=l.get(b)?.getRootNode()||document)}return b.customElements},h=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let R=p(S)||window.customElements,N=R._getDefinition(x);return N?y(S,N):i.set(S,R),S}connectedCallback(){let S=a.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=a.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=a.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=a.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=a.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=a.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let R=x.prototype.setAttribute;R&&(x.prototype.setAttribute=function(W,T){let P=W.toLowerCase();if(b.has(P)){let U=this.getAttribute(P);R.call(this,P,T),S.call(this,P,U,T)}else R.call(this,P,T)});let N=x.prototype.removeAttribute;N&&(x.prototype.removeAttribute=function(W){let T=W.toLowerCase();if(b.has(T)){let P=this.getAttribute(T);N.call(this,T),S.call(this,T,P,null)}else N.call(this,T)});let q=x.prototype.toggleAttribute;q&&(x.prototype.toggleAttribute=function(W,T){let P=W.toLowerCase();if(b.has(P)){let U=this.getAttribute(P);q.call(this,P,T);let X=this.getAttribute(P);S.call(this,P,U,X)}else q.call(this,P,T)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),a.set(x,b),d=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(R=>{x.hasAttribute(R)&&b.attributeChangedCallback.call(x,R,null,x.getAttribute(R))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let E=[document],w=(x,b,S=void 0)=>{let R=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){E.push(this);let N=R.apply(S||this,arguments);return N!==void 0&&l.set(N,this),E.pop(),N}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let _=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(R){E.push(this),S.set.call(this,R),E.pop()}})};if(_(Element,"innerHTML"),_(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let T=b.call(this,...W);return x.set(T,this),T},S.forEach(W=>{let T=window.ElementInternals.prototype,P=T[W];T[W]=function(...U){let X=x.get(this);if(a.get(X).formAssociated===!0)return P?.call(this,...U);throw new DOMException(`Failed to execute ${P} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class R extends Array{constructor(T){super(...T),this._elements=T}get value(){return this._elements.find(T=>T.checked===!0)?.value||""}}class N{constructor(T){let P=new Map;T.forEach((U,X)=>{let Xn=U.getAttribute("name"),Bi=P.get(Xn)||[];this[+X]=U,Bi.push(U),P.set(Xn,Bi)}),this.length=T.length,P.forEach((U,X)=>{U&&(U.length===1?this[X]=U[0]:this[X]=new R(U))})}namedItem(T){return this[T]}}let q=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=q.get.call(this,[]),T=[];for(let P of W){let U=a.get(P);(!U||U.formAssociated===!0)&&T.push(P)}return new N(T)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,a)=>{var i;if(n!==null)try{t.bind(window.customElements)(r,n,a)}catch(s){!((i=s.message)===null||i===void 0)&&i.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},a):console.info(r,n,a,s)}}}var lo={};F(lo,{CSSResult:()=>Lt,LitElement:()=>Pe,ReactiveElement:()=>me,_$LE:()=>es,_$LH:()=>io,adoptStyles:()=>gr,css:()=>J,defaultConverter:()=>Dt,getCompatibleStyle:()=>nn,html:()=>re,isServer:()=>pb,mathml:()=>tu,noChange:()=>Q,notEqual:()=>xr,nothing:()=>j,render:()=>so,supportsAdoptingStyleSheets:()=>mr,svg:()=>eu,unsafeCSS:()=>yr});var rn=globalThis,mr=rn.ShadowRoot&&(rn.ShadyCSS===void 0||rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qn=Symbol(),Hi=new WeakMap,Lt=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Qn)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(mr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Hi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Hi.set(r,t))}return t}toString(){return this.cssText}},yr=e=>new Lt(typeof e=="string"?e:e+"",void 0,Qn),J=(e,...t)=>{let r=e.length===1?e[0]:t.reduce(((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[i+1]),e[0]);return new Lt(r,e,Qn)},gr=(e,t)=>{if(mr)e.adoptedStyleSheets=t.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(let r of t){let n=document.createElement("style"),a=rn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}},nn=mr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return yr(r)})(e):e;var{is:Vd,defineProperty:jd,getOwnPropertyDescriptor:Yd,getOwnPropertyNames:Kd,getOwnPropertySymbols:Zd,getPrototypeOf:qd}=Object,on=globalThis,$i=on.trustedTypes,Jd=$i?$i.emptyScript:"",Xd=on.reactiveElementPolyfillSupport,br=(e,t)=>e,Dt={toAttribute(e,t){switch(t){case Boolean:e=e?Jd: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}},xr=(e,t)=>!Vd(e,t),Gi={attribute:!0,type:String,converter:Dt,reflect:!1,useDefault:!1,hasChanged:xr};Symbol.metadata??=Symbol("metadata"),on.litPropertyMetadata??=new WeakMap;var me=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Gi){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,r);a!==void 0&&jd(this.prototype,t,a)}}static getPropertyDescriptor(t,r,n){let{get:a,set:i}=Yd(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Gi}static _$Ei(){if(this.hasOwnProperty(br("elementProperties")))return;let t=qd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(br("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(br("properties"))){let r=this.properties,n=[...Kd(r),...Zd(r)];for(let a of n)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)r.unshift(nn(a))}else t!==void 0&&r.push(nn(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Dt).toAttribute(r,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Dt;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,n){if(t!==void 0){let a=this.constructor,i=this[t];if(n??=a.getPropertyOptions(t),!((n.hasChanged??xr)(i,r)||n.useDefault&&n.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach((n=>n.hostUpdate?.())),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(t){}firstUpdated(t){}};me.elementStyles=[],me.shadowRootOptions={mode:"open"},me[br("elementProperties")]=new Map,me[br("finalized")]=new Map,Xd?.({ReactiveElement:me}),(on.reactiveElementVersions??=[]).push("2.1.0");var to=globalThis,an=to.trustedTypes,zi=an?an.createPolicy("lit-html",{createHTML:e=>e}):void 0,ro="$lit$",He=`lit$${Math.random().toFixed(9).slice(2)}$`,no="?"+He,Qd=`<${no}>`,ft=document,Sr=()=>ft.createComment(""),Or=e=>e===null||typeof e!="object"&&typeof e!="function",oo=Array.isArray,qi=e=>oo(e)||typeof e?.[Symbol.iterator]=="function",eo=`[
2
- \f\r]`,vr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vi=/-->/g,ji=/>/g,dt=RegExp(`>|${eo}(?:([^\\s"'>=/]+)(${eo}*=${eo}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Yi=/'/g,Ki=/"/g,Ji=/^(?:script|style|textarea|title)$/i,ao=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),re=ao(1),eu=ao(2),tu=ao(3),Q=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Zi=new WeakMap,ut=ft.createTreeWalker(ft,129);function Xi(e,t){if(!oo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return zi!==void 0?zi.createHTML(t):t}var Qi=(e,t)=>{let r=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=vr;for(let l=0;l<r;l++){let d=e[l],f,p,h=-1,m=0;for(;m<d.length&&(s.lastIndex=m,p=s.exec(d),p!==null);)m=s.lastIndex,s===vr?p[1]==="!--"?s=Vi:p[1]!==void 0?s=ji:p[2]!==void 0?(Ji.test(p[2])&&(a=RegExp("</"+p[2],"g")),s=dt):p[3]!==void 0&&(s=dt):s===dt?p[0]===">"?(s=a??vr,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,f=p[1],s=p[3]===void 0?dt:p[3]==='"'?Ki:Yi):s===Ki||s===Yi?s=dt:s===Vi||s===ji?s=vr:(s=dt,a=void 0);let g=s===dt&&e[l+1].startsWith("/>")?" ":"";i+=s===vr?d+Qd:h>=0?(n.push(f),d.slice(0,h)+ro+d.slice(h)+He+g):d+He+(h===-2?l:g)}return[Xi(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Er=class e{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,p]=Qi(t,r);if(this.el=e.createElement(f,n),ut.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=ut.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ro)){let m=p[s++],g=a.getAttribute(h).split(He),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:y[2],strings:g,ctor:y[1]==="."?cn:y[1]==="?"?ln:y[1]==="@"?dn:ht}),a.removeAttribute(h)}else h.startsWith(He)&&(d.push({type:6,index:i}),a.removeAttribute(h));if(Ji.test(a.tagName)){let h=a.textContent.split(He),m=h.length-1;if(m>0){a.textContent=an?an.emptyScript:"";for(let g=0;g<m;g++)a.append(h[g],Sr()),ut.nextNode(),d.push({type:2,index:++i});a.append(h[m],Sr())}}}else if(a.nodeType===8)if(a.data===no)d.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(He,h+1))!==-1;)d.push({type:7,index:i}),h+=He.length-1}i++}}static createElement(t,r){let n=ft.createElement("template");return n.innerHTML=t,n}};function pt(e,t,r=e,n){if(t===Q)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Or(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=pt(e,a._$AS(e,t.values),a,n)),t}var sn=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??ft).importNode(r,!0);ut.currentNode=a;let i=ut.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Mt(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new un(i,this,t)),this._$AV.push(f),d=n[++l]}s!==d?.index&&(i=ut.nextNode(),s++)}return ut.currentNode=ft,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Mt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=pt(this,t,r),Or(t)?t===j||t==null||t===""?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==Q&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qi(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==j&&Or(this._$AH)?this._$AA.nextSibling.data=t:this.T(ft.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Er.createElement(Xi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new sn(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=Zi.get(t.strings);return r===void 0&&Zi.set(t.strings,r=new Er(t)),r}k(t){oo(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new e(this.O(Sr()),this.O(Sr()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(t,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=pt(this,t,r,0),s=!Or(t)||t!==this._$AH&&t!==Q,s&&(this._$AH=t);else{let l=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=pt(this,l[n+d],r,d),f===Q&&(f=this._$AH[d]),s||=!Or(f)||f!==this._$AH[d],f===j?t=j:t!==j&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},cn=class extends ht{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===j?void 0:t}},ln=class extends ht{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},dn=class extends ht{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=pt(this,t,r,0)??j)===Q)return;let n=this._$AH,a=t===j&&n!==j||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==j&&(n===j||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},un=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){pt(this,t)}},io={M:ro,P:He,A:no,C:1,L:Qi,R:sn,D:qi,V:pt,I:Mt,H:ht,N:ln,U:dn,B:cn,F:un},ru=to.litHtmlPolyfillSupport;ru?.(Er,Mt),(to.litHtmlVersions??=[]).push("3.3.0");var so=(e,t,r)=>{let n=r?.renderBefore??t,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Mt(t.insertBefore(Sr(),i),i,void 0,r??{})}return a._$AI(e),a};var co=globalThis,Pe=class extends me{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=so(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Q}};Pe._$litElement$=!0,Pe.finalized=!0,co.litElementHydrateSupport?.({LitElement:Pe});var nu=co.litElementPolyfillSupport;nu?.({LitElement:Pe});var es={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(co.litElementVersions??=[]).push("4.2.0");var pb=!1;var uo={};F(uo,{customElement:()=>ou,eventOptions:()=>iu,property:()=>D,query:()=>su,queryAll:()=>lu,queryAssignedElements:()=>uu,queryAssignedNodes:()=>fu,queryAsync:()=>du,standardProperty:()=>ts,state:()=>ie});var ou=e=>(t,r)=>{r!==void 0?r.addInitializer((()=>{customElements.define(e,t)})):customElements.define(e,t)};var au={attribute:!0,type:String,converter:Dt,reflect:!1,hasChanged:xr},ts=(e=au,t,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function D(e){return(t,r)=>typeof r=="object"?ts(e,t,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function ie(e){return D({...e,state:!0,attribute:!1})}function iu(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var Ee=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function su(e,t){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ee(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ee(r,n,{get(){return i(this)}})}}var cu;function lu(e){return(t,r)=>Ee(t,r,{get(){return(this.renderRoot??(cu??=document.createDocumentFragment())).querySelectorAll(e)}})}function du(e){return(t,r)=>Ee(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function uu(e){return(t,r)=>{let{slot:n,selector:a}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ee(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 fu(e){return(t,r)=>{let{slot:n}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ee(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var fo={};F(fo,{repeat:()=>Ut});var Ie={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ue=e=>(...t)=>({_$litDirective$:e,values:t}),ye=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:pu}=io;var ns=e=>e.strings===void 0,rs=()=>document.createComment(""),Ft=(e,t,r)=>{let n=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=n.insertBefore(rs(),a),s=n.insertBefore(rs(),a);r=new pu(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||l){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;n.insertBefore(d,a),d=f}}}return r},Qe=(e,t,r=e)=>(e._$AI(t,r),e),hu={},os=(e,t=hu)=>e._$AH=t,as=e=>e._$AH,fn=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var is=(e,t,r)=>{let n=new Map;for(let a=t;a<=r;a++)n.set(e[a],a);return n},Ut=ue(class extends ye{constructor(e){if(super(e),e.type!==Ie.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let a=[],i=[],s=0;for(let l of e)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,n]){let a=as(e),{values:i,keys:s}=this.dt(t,r,n);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,p,h=0,m=a.length-1,g=0,y=i.length-1;for(;h<=m&&g<=y;)if(a[h]===null)h++;else if(a[m]===null)m--;else if(l[h]===s[g])d[g]=Qe(a[h],i[g]),h++,g++;else if(l[m]===s[y])d[y]=Qe(a[m],i[y]),m--,y--;else if(l[h]===s[y])d[y]=Qe(a[h],i[y]),Ft(e,d[y+1],a[h]),h++,y--;else if(l[m]===s[g])d[g]=Qe(a[m],i[g]),Ft(e,a[h],a[m]),m--,g++;else if(f===void 0&&(f=is(s,g,y),p=is(l,h,m)),f.has(l[h]))if(f.has(l[m])){let v=p.get(s[g]),E=v!==void 0?a[v]:null;if(E===null){let w=Ft(e,a[h]);Qe(w,i[g]),d[g]=w}else d[g]=Qe(E,i[g]),Ft(e,a[h],E),a[v]=null;g++}else fn(a[m]),m--;else fn(a[h]),h++;for(;g<=y;){let v=Ft(e,d[y+1]);Qe(v,i[g]),d[g++]=v}for(;h<=m;){let v=a[h++];v!==null&&fn(v)}return this.ut=s,os(e,d),Q}});var po={};F(po,{classMap:()=>mu});var mu=ue(class extends ye{constructor(e){if(super(e),e.type!==Ie.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((t=>e[t])).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter((n=>n!==""))));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.st)n in t||(r.remove(n),this.st.delete(n));for(let n in t){let a=!!t[n];a===this.st.has(n)||this.nt?.has(n)||(a?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return Q}});var ho={};F(ho,{styleMap:()=>gu});var ss="important",yu=" !"+ss,gu=ue(class extends ye{constructor(e){if(super(e),e.type!==Ie.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce(((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`}),"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let a=t[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(yu);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?ss:""):r[n]=a}}return Q}});var mo={};F(mo,{UnsafeHTMLDirective:()=>Bt,unsafeHTML:()=>bu});var Bt=class extends ye{constructor(t){if(super(t),this.it=j,t.type!==Ie.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===j||t==null)return this._t=void 0,this.it=t;if(t===Q)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:[]}}};Bt.directiveName="unsafeHTML",Bt.resultType=1;var bu=ue(Bt);var Ao={};F(Ao,{CacheRegistry:()=>Co,ClearCacheEvent:()=>Rr});var go={};F(go,{CancelablePromise:()=>pn,CanceledPromiseError:()=>wr,cancelable:()=>yo});var wr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},pn=class extends Promise{constructor(t){super((r,n)=>t(a=>{this.isCanceled?n(new wr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new wr("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},yo=e=>new pn((t,r)=>e.then(t).catch(r));var wo={};F(wo,{FtNotificationEvent:()=>_r,PostResizeEvent:()=>Eo,PreResizeEvent:()=>Oo,WithEventBus:()=>gt,withEventBus:()=>gs});var So={};F(So,{applyMixinOnce:()=>fe,customElements:()=>vo,dateReviver:()=>Eu,deepCopy:()=>Wt,deepEqual:()=>Ar,delay:()=>ds,eventPathContainsMatchingElement:()=>Cu,everyDeep:()=>Ou,flatDeep:()=>fs,forEachDeep:()=>ps,getComposedPathTo:()=>xo,hasChanged:()=>mt,ignoreComposingEvents:()=>Ru,last:()=>Au,minmax:()=>yt,parseDate:()=>ms,randomId:()=>_u,someDeep:()=>hs,unslotText:()=>ys,waitFor:()=>us,waitUntil:()=>Su});var bo={};F(bo,{customElement:()=>Cr,dateProperty:()=>vu,isNumber:()=>ls,jsonProperty:()=>hn,numberProperty:()=>cs,optionalNumberProperty:()=>xu});var Cr=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function hn(e,t){return D({type:Object,converter:{fromAttribute:r=>{if(r==null)return Wt(e);try{return JSON.parse(r)}catch{return Wt(e)}},toAttribute:r=>JSON.stringify(r)},hasChanged:mt,...t??{}})}function xu(e){return cs(e)}function cs(e){return D({type:Object,converter:{fromAttribute:t=>{var r,n;if(t==null)return;let a=(r=e?.min)!==null&&r!==void 0?r:-1/0,i=(n=e?.max)!==null&&n!==void 0?n:1/0;return ls(t)?yt(a,+t,i):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function ls(e){return!isNaN(parseFloat(e))}function vu(e){return D({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let r=new Date(Date.parse(t));if(!isNaN(r.valueOf()))return r},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var ds=e=>new Promise(t=>setTimeout(t,e));async function Su(e,t=10,r=2e4){await us(async()=>await e()||void 0,t,r)}async function us(e,t=10,r=2e4){let n=await e(),a=performance.now(),i=a;for(;n==null&&(!r||i-a<r);)await ds(t),n=await e(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function fs(e,t){return e.flatMap(r=>[r,...fs(t(r),t)])}function ps(e,t,r){let n=(a,i)=>{var s;for(let l=0;l<a.length;l++){let d=a[l];if(!(((s=r(d,l,a,i))!==null&&s!==void 0?s:!0)&&n(t(d),[...i,d])))return!1}return!0};n(e,[])}function hs(e,t,r){let n=!1;return ps(e,t,(a,i,s,l)=>(n=!!r(a,i,s,l),!n)),n}function Ou(e,t,r){return!hs(e,t,(n,a,i,s)=>!r(n,a,i,s))}function Eu(...e){return(t,r)=>e.includes(t)?ms(r):r}function ms(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,a)=>r+n+":"+a),new Date(e)}function wu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Ar(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Ar(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null),i=a(e);if(r=i.length,r!==a(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){let s=i[n];if(!Ar(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Ar(e,t){try{return wu(e,t)}catch{return!1}}function mt(e,t){return!Ar(e,t)}function Cu(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function yt(e,t,r){return Math.min(Math.max(e,t),r)}function Au(e){return e[e.length-1]}function ys(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>ys(t)).join(""):e?.textContent||""}function xo(e){let t=[],r=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Wt(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function _u(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function fe(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let a=t(n);return a[e]=!0,a}}function Ru(){return function(e,t,r){let n=r.value;r.value=function(a,...i){if(a.isComposing||a.keyCode===229){a.stopPropagation();return}return n.apply(this,[a].concat(i))}}}function vo(e){for(let[t,r]of Object.entries(e))Cr(t)(r)}var _r=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Oo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Eo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},gs=fe(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),gt=class extends gs(Object){};var Rr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Co=class extends gt{constructor(){super(...arguments),this.content={}}register(t,r,n=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:n,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let n=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new Rr(n)),n}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new Rr([t])),t}forceClear(t){var r;let n=this.content[t];n&&(this.clearClearTimeout(t),(r=n.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var r,n,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,n=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:n,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,n){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=yo(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,n!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),n)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,n;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Po={};F(Po,{ClusteringHelper:()=>To,formatHierarchicalValues:()=>ko});var Ro={};F(Ro,{accessBreadcrumb:()=>Pu,accessResult:()=>_o,accessResultId:()=>ku,accessResultUrl:()=>Tu});function _o(e){var t,r,n,a;return(a=(n=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&a!==void 0?a:e?.htmlPackagePage}function ku(e){var t,r,n,a,i,s,l,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&r!==void 0?r:(n=e?.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(l=e?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function Tu(e){var t,r,n,a,i,s,l,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.readerUrl)!==null&&r!==void 0?r:(n=e?.topic)===null||n===void 0?void 0:n.readerUrl)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(l=e?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function Pu(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 ko(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var To=class e{constructor(t,r,n,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static findResultWithMetadataValue(t,r,n){return t?.find(a=>{var i;return((i=this.extractResultMetadata({result:a}).find(s=>s.key==r))===null||i===void 0?void 0:i.value)==n})}static extractResultMetadata(t){var r,n;let a=(n=(r=_o(t.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(a,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(a.find(i=>i.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,n){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(l=>{i.push(ko(l)),s.push(ko(l,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,n="No value",a,i){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(h=>e.extractResultMetadata({result:h,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(h=>h??{key:t,label:f,value:void 0,displayValue:n}).filter(h=>h.value!=d?.value).filter((h,m,g)=>g.findIndex(y=>y.value===h.value)===m).map(h=>({result:this.findBestResultForMetadataValue(t,h.value),metadata:h})).sort((h,m)=>this.compareMetadata(h.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,n,a){if(t==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,i);if(f>l&&(l=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var Io={};F(Io,{Debouncer:()=>kr});var kr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mo={};F(Mo,{designSystemVariables:()=>Ir});var Do={};F(Do,{DesignSystemFamily:()=>Tr,DesignSystemSize:()=>Pr,FtCssVariableFactory:()=>o,badge:()=>Vu,banner:()=>zu,button:()=>Lu,card:()=>Du,chart:()=>sf,checkbox:()=>Fu,chip:()=>Hu,chipChoice:()=>Wu,chipGroup:()=>$u,collapsible:()=>of,combobox:()=>rf,dateRangePicker:()=>hf,drawer:()=>Ju,floatingMenu:()=>tf,foundation:()=>c,link:()=>Gu,modal:()=>qu,notice:()=>lf,notification:()=>uf,pageDesigner:()=>cf,pageFooter:()=>Ku,pageHeader:()=>Yu,pageLayout:()=>Zu,popover:()=>nf,radio:()=>Uu,reorderableList:()=>pf,resolveFamilyClass:()=>No,resolveSizeClass:()=>Lo,semantic:()=>u,setVariable:()=>Ht,switch_:()=>af,table:()=>Bu,tabs:()=>Xu,textArea:()=>ef,textInput:()=>Qu,titleBreadcrumb:()=>ju,toggle:()=>df,tooltip:()=>ff,treeList:()=>Mu,typographies:()=>Iu,typographyBody1Medium:()=>Es,typographyBody1Regular:()=>Os,typographyBody1Semibold:()=>ws,typographyBody2Medium:()=>As,typographyBody2MediumUnderline:()=>_s,typographyBody2Regular:()=>Cs,typographyBody2Semibold:()=>Rs,typographyCaption1Medium:()=>ks,typographyCaption1Semibold:()=>Ts,typographyCaption2Bold:()=>Ns,typographyCaption2Medium:()=>Ps,typographyCaption2Semibold:()=>Is,typographyDisplay:()=>bs,typographyTitle1:()=>xs,typographyTitle2:()=>vs,typographyTitle3:()=>Ss,typographyVariants:()=>Nu});var et=e=>typeof e=="string"?yr(e):e,o=class{static create(t,r,n,a){let i=l=>et(l??a),s=J`var(${et(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Ht(s,l??i(a)),s.get=l=>J`var(${et(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,n,a){let i=l=>n.get(l??a),s=J`var(${et(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Ht(s,l??i(a)),s.get=l=>J`var(${et(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,r){let n=i=>t.defaultCssValue(i),a=J`var(${et(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>J`var(${et(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Ht(e,t){return et(`${e.name}: ${t}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},bs={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},xs={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},vs={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ss={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Os={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Es={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},ws={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Cs={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},As={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},_s={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Rs={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},ks={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ts={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ps={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Is={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ns={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Iu={display:bs,"title-1":xs,"title-2":vs,"title-3":Ss,"body-1-regular":Os,"body-1-medium":Es,"body-1-semibold":ws,"body-2-regular":Cs,"body-2-medium":As,"body-2-medium-underline":_s,"body-2-semibold":Rs,"caption-1-medium":ks,"caption-1-semibold":Ts,"caption-2-medium":Ps,"caption-2-semibold":Is,"caption-2-bold":Ns},Nu=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Lu={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Du={borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Mu={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Fu={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Uu={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Bu={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Wu={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Hu={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var $u={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Gu={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var zu={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Vu={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var ju={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Yu={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Ku={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Zu={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var qu={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Ju={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Xu={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Qu={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var ef={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var tf={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var rf={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var nf={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var of={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var af={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var sf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var cf={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var lf={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var df={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var uf={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var ff={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var pf={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var hf={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Tr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Tr||(Tr={}));var Pr;(function(e){e.large="large",e.medium="medium",e.small="small"})(Pr||(Pr={}));function No(e){return`ftds--family-${e}`}function Lo(e){return`ftds--size-${e}`}var Ir={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Fo={};F(Fo,{DynamicImporter:()=>mn,dynamicImporter:()=>mf});var mn=class{async import(t){if(t)return import(t)}},mf=new mn;var qo={};F(qo,{computeOffsetAutoPosition:()=>Bf,computeOffsetPosition:()=>Uf});var Ds=["top","right","bottom","left"],Ls=["start","end"],Bo=Ds.reduce((e,t)=>e.concat(t,t+"-"+Ls[0],t+"-"+Ls[1]),[]),bt=Math.min,ce=Math.max,Nr=Math.round;var we=e=>({x:e,y:e}),yf={left:"right",right:"left",bottom:"top",top:"bottom"};function Wo(e,t,r){return ce(e,bt(t,r))}function $t(e,t){return typeof e=="function"?e(t):e}function tt(e){return e.split("-")[0]}function Ne(e){return e.split("-")[1]}function Ho(e){return e==="x"?"y":"x"}function $o(e){return e==="y"?"height":"width"}function Gt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Go(e){return Ho(Gt(e))}function Ms(e,t,r){r===void 0&&(r=!1);let n=Ne(e),a=Go(e),i=$o(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Uo(s)),[s,Uo(s)]}function Fs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Uo(e){let t=tt(e);return yf[t]+e.slice(t.length)}function gf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Us(e){return typeof e!="number"?gf(e):{top:e,right:e,bottom:e,left:e}}function xt(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Bs(e,t,r){let{reference:n,floating:a}=e,i=Gt(t),s=Go(t),l=$o(s),d=tt(t),f=i==="y",p=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[l]/2-a[l]/2,g;switch(d){case"top":g={x:p,y:n.y-a.height};break;case"bottom":g={x:p,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-a.width,y:h};break;default:g={x:n.x,y:n.y}}switch(Ne(t)){case"start":g[s]-=m*(r&&f?-1:1);break;case"end":g[s]+=m*(r&&f?-1:1);break}return g}async function Ws(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:m=!1,padding:g=0}=$t(t,e),y=Us(g),E=l[m?h==="floating"?"reference":"floating":h],w=xt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(E)))==null||r?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:p,strategy:d})),_=h==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),b=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},S=xt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:_,offsetParent:x,strategy:d}):_);return{top:(w.top-S.top+y.top)/b.y,bottom:(S.bottom-w.bottom+y.bottom)/b.y,left:(w.left-S.left+y.left)/b.x,right:(S.right-w.right+y.right)/b.x}}var bf=50,Hs=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Ws},d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:p,y:h}=Bs(f,n,d),m=n,g=0,y={};for(let v=0;v<i.length;v++){let E=i[v];if(!E)continue;let{name:w,fn:_}=E,{x,y:b,data:S,reset:R}=await _({x:p,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:y,rects:f,platform:l,elements:{reference:e,floating:t}});p=x??p,h=b??h,y[w]={...y[w],...S},R&&g<bf&&(g++,typeof R=="object"&&(R.placement&&(m=R.placement),R.rects&&(f=R.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):R.rects),{x:p,y:h}=Bs(f,m,d)),v=-1)}return{x:p,y:h,placement:m,strategy:a,middlewareData:y}};function xf(e,t,r){return(e?[...r.filter(a=>Ne(a)===e),...r.filter(a=>Ne(a)!==e)]:r.filter(a=>tt(a)===a)).filter(a=>e?Ne(a)===e||(t?Fs(a)!==a:!1):!0)}var $s=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:p=!1,alignment:h,allowedPlacements:m=Bo,autoAlignment:g=!0,...y}=$t(e,t),v=h!==void 0||m===Bo?xf(h||null,g,m):m,E=await d.detectOverflow(t,y),w=((r=s.autoPlacement)==null?void 0:r.index)||0,_=v[w];if(_==null)return{};let x=Ms(_,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==_)return{reset:{placement:v[0]}};let b=[E[tt(_)],E[x[0]],E[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:b}],R=v[w+1];if(R)return{data:{index:w+1,overflows:S},reset:{placement:R}};let N=S.map(T=>{let P=Ne(T.placement);return[T.placement,P&&p?T.overflows.slice(0,2).reduce((U,X)=>U+X,0):T.overflows[0],T.overflows]}).sort((T,P)=>T[1]-P[1]),W=((a=N.filter(T=>T[2].slice(0,Ne(T[0])?2:3).every(P=>P<=0))[0])==null?void 0:a[0])||N[0][0];return W!==l?{data:{index:w+1,overflows:S},reset:{placement:W}}:{}}}};var vf=new Set(["left","top"]);async function Sf(e,t){let{placement:r,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=tt(r),l=Ne(r),d=Gt(r)==="y",f=vf.has(s)?-1:1,p=i&&d?-1:1,h=$t(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof y=="number"&&(g=l==="end"?y*-1:y),d?{x:g*p,y:m*f}:{x:m*f,y:g*p}}var Gs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await Sf(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},zs=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:w=>{let{x:_,y:x}=w;return{x:_,y:x}}},...f}=$t(e,t),p={x:r,y:n},h=await i.detectOverflow(t,f),m=Gt(tt(a)),g=Ho(m),y=p[g],v=p[m];if(s){let w=g==="y"?"top":"left",_=g==="y"?"bottom":"right",x=y+h[w],b=y-h[_];y=Wo(x,y,b)}if(l){let w=m==="y"?"top":"left",_=m==="y"?"bottom":"right",x=v+h[w],b=v-h[_];v=Wo(x,v,b)}let E=d.fn({...t,[g]:y,[m]:v});return{...E,data:{x:E.x-r,y:E.y-n,enabled:{[g]:s,[m]:l}}}}}};var Vs=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;let{placement:a,rects:i,platform:s,elements:l}=t,{apply:d=()=>{},...f}=$t(e,t),p=await s.detectOverflow(t,f),h=tt(a),m=Ne(a),g=Gt(a)==="y",{width:y,height:v}=i.floating,E,w;h==="top"||h==="bottom"?(E=h,w=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(w=h,E=m==="end"?"top":"bottom");let _=v-p.top-p.bottom,x=y-p.left-p.right,b=bt(v-p[E],_),S=bt(y-p[w],x),R=!t.middlewareData.shift,N=b,q=S;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(q=x),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=_),R&&!m){let T=ce(p.left,0),P=ce(p.right,0),U=ce(p.top,0),X=ce(p.bottom,0);g?q=y-2*(T!==0||P!==0?T+P:ce(p.left,p.right)):N=v-2*(U!==0||X!==0?U+X:ce(p.top,p.bottom))}await d({...t,availableWidth:q,availableHeight:N});let W=await s.getDimensions(l.floating);return y!==W.width||v!==W.height?{reset:{rects:!0}}:{}}}};function gn(){return typeof window<"u"}function St(e){return Ys(e)?(e.nodeName||"").toLowerCase():"#document"}function le(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Le(e){var t;return(t=(Ys(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ys(e){return gn()?e instanceof Node||e instanceof le(e).Node:!1}function ge(e){return gn()?e instanceof Element||e instanceof le(e).Element:!1}function De(e){return gn()?e instanceof HTMLElement||e instanceof le(e).HTMLElement:!1}function js(e){return!gn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof le(e).ShadowRoot}function zt(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=be(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function Ks(e){return/^(table|td|th)$/.test(St(e))}function Lr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Of=/transform|translate|scale|rotate|perspective|filter/,Ef=/paint|layout|strict|content/,vt=e=>!!e&&e!=="none",zo;function Vt(e){let t=ge(e)?be(e):e;return vt(t.transform)||vt(t.translate)||vt(t.scale)||vt(t.rotate)||vt(t.perspective)||!bn()&&(vt(t.backdropFilter)||vt(t.filter))||Of.test(t.willChange||"")||Ef.test(t.contain||"")}function Zs(e){let t=$e(e);for(;De(t)&&!Ot(t);){if(Vt(t))return t;if(Lr(t))return null;t=$e(t)}return null}function bn(){return zo==null&&(zo=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),zo}function Ot(e){return/^(html|body|#document)$/.test(St(e))}function be(e){return le(e).getComputedStyle(e)}function Dr(e){return ge(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $e(e){if(St(e)==="html")return e;let t=e.assignedSlot||e.parentNode||js(e)&&e.host||Le(e);return js(t)?t.host:t}function qs(e){let t=$e(e);return Ot(t)?e.ownerDocument?e.ownerDocument.body:e.body:De(t)&&zt(t)?t:qs(t)}function yn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=qs(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=le(a);if(i){let l=xn(s);return t.concat(s,s.visualViewport||[],zt(a)?a:[],l&&r?yn(l):[])}else return t.concat(a,yn(a,[],r))}function xn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ec(e){let t=be(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=De(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,l=Nr(r)!==i||Nr(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function tc(e){return ge(e)?e:e.contextElement}function jt(e){let t=tc(e);if(!De(t))return we(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=ec(t),s=(i?Nr(r.width):r.width)/n,l=(i?Nr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var wf=we(0);function rc(e){let t=le(e);return!bn()||!t.visualViewport?wf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==le(e)?!1:t}function Mr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=tc(e),s=we(1);t&&(n?ge(n)&&(s=jt(n)):s=jt(e));let l=Cf(i,r,n)?rc(i):we(0),d=(a.left+l.x)/s.x,f=(a.top+l.y)/s.y,p=a.width/s.x,h=a.height/s.y;if(i){let m=le(i),g=n&&ge(n)?le(n):n,y=m,v=xn(y);for(;v&&n&&g!==y;){let E=jt(v),w=v.getBoundingClientRect(),_=be(v),x=w.left+(v.clientLeft+parseFloat(_.paddingLeft))*E.x,b=w.top+(v.clientTop+parseFloat(_.paddingTop))*E.y;d*=E.x,f*=E.y,p*=E.x,h*=E.y,d+=x,f+=b,y=le(v),v=xn(y)}}return xt({width:p,height:h,x:d,y:f})}function vn(e,t){let r=Dr(e).scrollLeft;return t?t.left+r:Mr(Le(e)).left+r}function nc(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-vn(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function Af(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=Le(n),l=t?Lr(t.floating):!1;if(n===s||l&&i)return r;let d={scrollLeft:0,scrollTop:0},f=we(1),p=we(0),h=De(n);if((h||!h&&!i)&&((St(n)!=="body"||zt(s))&&(d=Dr(n)),h)){let g=Mr(n);f=jt(n),p.x=g.x+n.clientLeft,p.y=g.y+n.clientTop}let m=s&&!h&&!i?nc(s,d):we(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+p.x+m.x,y:r.y*f.y-d.scrollTop*f.y+p.y+m.y}}function _f(e){return Array.from(e.getClientRects())}function Rf(e){let t=Le(e),r=Dr(e),n=e.ownerDocument.body,a=ce(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=ce(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+vn(e),l=-r.scrollTop;return be(n).direction==="rtl"&&(s+=ce(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var Js=25;function kf(e,t){let r=le(e),n=Le(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let p=bn();(!p||p&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}let f=vn(n);if(f<=0){let p=n.ownerDocument,h=p.body,m=getComputedStyle(h),g=p.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,y=Math.abs(n.clientWidth-h.clientWidth-g);y<=Js&&(i-=y)}else f<=Js&&(i+=f);return{width:i,height:s,x:l,y:d}}function Tf(e,t){let r=Mr(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=De(e)?jt(e):we(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=n*i.y;return{width:s,height:l,x:d,y:f}}function Xs(e,t,r){let n;if(t==="viewport")n=kf(e,r);else if(t==="document")n=Rf(Le(e));else if(ge(t))n=Tf(t,r);else{let a=rc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return xt(n)}function oc(e,t){let r=$e(e);return r===t||!ge(r)||Ot(r)?!1:be(r).position==="fixed"||oc(r,t)}function Pf(e,t){let r=t.get(e);if(r)return r;let n=yn(e,[],!1).filter(l=>ge(l)&&St(l)!=="body"),a=null,i=be(e).position==="fixed",s=i?$e(e):e;for(;ge(s)&&!Ot(s);){let l=be(s),d=Vt(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||zt(s)&&!d&&oc(e,s))?n=n.filter(p=>p!==s):a=l,s=$e(s)}return t.set(e,n),n}function If(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?Lr(t)?[]:Pf(t,this._c):[].concat(r),n],l=Xs(t,s[0],a),d=l.top,f=l.right,p=l.bottom,h=l.left;for(let m=1;m<s.length;m++){let g=Xs(t,s[m],a);d=ce(g.top,d),f=bt(g.right,f),p=bt(g.bottom,p),h=ce(g.left,h)}return{width:f-h,height:p-d,x:h,y:d}}function Nf(e){let{width:t,height:r}=ec(e);return{width:t,height:r}}function Lf(e,t,r){let n=De(t),a=Le(t),i=r==="fixed",s=Mr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=we(0);function f(){d.x=vn(a)}if(n||!n&&!i)if((St(t)!=="body"||zt(a))&&(l=Dr(t)),n){let g=Mr(t,!0,i,t);d.x=g.x+t.clientLeft,d.y=g.y+t.clientTop}else a&&f();i&&!n&&a&&f();let p=a&&!n&&!i?nc(a,l):we(0),h=s.left+l.scrollLeft-d.x-p.x,m=s.top+l.scrollTop-d.y-p.y;return{x:h,y:m,width:s.width,height:s.height}}function Vo(e){return be(e).position==="static"}function Qs(e,t){if(!De(e)||be(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Le(e)===r&&(r=r.ownerDocument.body),r}function ac(e,t){let r=le(e);if(Lr(e))return r;if(!De(e)){let a=$e(e);for(;a&&!Ot(a);){if(ge(a)&&!Vo(a))return a;a=$e(a)}return r}let n=Qs(e,t);for(;n&&Ks(n)&&Vo(n);)n=Qs(n,t);return n&&Ot(n)&&Vo(n)&&!Vt(n)?r:n||Zs(e)||r}var Df=async function(e){let t=this.getOffsetParent||ac,r=this.getDimensions,n=await r(e.floating);return{reference:Lf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Mf(e){return be(e).direction==="rtl"}var Yt={convertOffsetParentRelativeRectToViewportRelativeRect:Af,getDocumentElement:Le,getClippingRect:If,getOffsetParent:ac,getElementRects:Df,getClientRects:_f,getDimensions:Nf,getScale:jt,isElement:ge,isRTL:Mf};var ic=Gs,jo=$s,sc=zs;var cc=Vs;var Yo=(e,t,r)=>{let n=new Map,a={platform:Yt,...r},i={...a.platform,_c:n};return Hs(e,t,{...a,platform:i})};function Zo(e){return Ff(e)}function Ko(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ff(e){for(let t=e;t;t=Ko(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ko(e);t;t=Ko(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||Vt(r)||t.tagName==="BODY"))return t}return null}async function Uf(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},Yo(e,t,{strategy:n.strategy,platform:{...Yt,getOffsetParent:a=>Yt.getOffsetParent(a,Zo)},middleware:[sc({crossAxis:!0}),jo({allowedPlacements:[n.placement]})]})}async function Bf(e,t,r,n,a,i,s){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,Yo(e,t,{placement:l,strategy:a,platform:{...Yt,getOffsetParent:f=>Yt.getOffsetParent(f,Zo)},middleware:[ic(s??4),jo({allowedPlacements:n}),cc({apply({availableHeight:f,availableWidth:p,elements:h}){typeof i=="string"&&(i=`var(${i})`),i?h.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${i})`:h.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,p)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,p)}px`}})]})}var Jo={};F(Jo,{isSlotEmptyOrWithoutContent:()=>Wf});var Wf=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var a;return n.nodeType===Node.TEXT_NODE?((a=n.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var na={};F(na,{FtdsBase:()=>ra,toFtdsBase:()=>mc});var ta={};F(ta,{ExportpartsUpdatedEvent:()=>Et,FtLitElement:()=>se});var Xo={};F(Xo,{ScopedRegistryLitElement:()=>Fr});var Fr=class extends Pe{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return gr(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(t,r){Cr(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 ea={};F(ea,{shadowQuerySelector:()=>Qo,shadowQuerySelectorAll:()=>Hf});function Qo(e,t,...r){var n;let a=e.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Hf(e,t,...r){let n=[...e.querySelectorAll(t)];for(let a of r)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var Kt=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},fc,lc=Symbol("constructorPrototype"),dc=Symbol("constructorName"),pc=Symbol("exportpartsDebouncer"),uc=Symbol("dynamicDependenciesLoaded"),Et=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Et.eventName="exportparts-updated";var se=class extends Fr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[fc]=new kr(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[pc].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[dc]=this.constructor.name,this[lc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[dc]&&Object.setPrototypeOf(this,this[lc])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[uc]||(r[uc]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Et.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Et.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 Et)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=Qo(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,n,a,i,s,l;let d=m=>m!=null&&m.trim().length>0,f=t.filter(d).map(m=>m.trim());if(f.length===0){this.exportparts=void 0;return}let p=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],y=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[],v=[...g,...y].filter(d).map(E=>E.trim());for(let E of v)p.add(E)}if(p.size===0){this.exportparts=void 0;return}let h=[...p.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};fc=pc;Kt([D()],se.prototype,"exportpartsPrefix",void 0);Kt([hn([])],se.prototype,"exportpartsPrefixes",void 0);Kt([D({reflect:!0})],se.prototype,"exportparts",void 0);Kt([D()],se.prototype,"customStylesheet",void 0);Kt([D()],se.prototype,"elementToFocus",void 0);Kt([ie()],se.prototype,"useAdoptedStyleSheets",void 0);var hc=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},mc=fe(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Pr.medium,this.family=Tr.neutral}getDesignSystemBaseClasses(){return{[No(this.family)]:!0,[Lo(this.size)]:!0}}}return hc([D()],t.prototype,"size",void 0),hc([D()],t.prototype,"family",void 0),t}),ra=class extends mc(se){};var yc={};var aa={};F(aa,{highlightHtml:()=>zf,highlightHtmlColorCssVariable:()=>gc,highlightHtmlStyles:()=>Gf});var wt=class e{constructor(t,r=!0,n=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(t,r){let n=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(t,r,n,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,p=>{r(f)&&(l++,n(p)),d()},d)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let a=t.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(t,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(t,r,n,a,i){let s=this.createIterator(r,t,a),l=[],d=[],f,p,h=()=>({prevNode:p,node:f}=this.getIteratorNode(s),f);for(;h();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,p,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,g=>d.push(g),a)}),d.push(f);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,a),i()}forEachNode(t,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Ur=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 wt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,a,i=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),a=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:a,valid:i}}checkWhitespaceRanges(t,r,n){let a,i=!0,s=n.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return wt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(r),s=i.splitText(n-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(t,r,n,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,p=(n>s.end?s.end:n)-s.start,h=t.value.substr(0,s.start),m=t.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,p),t.value=h+m,t.nodes.forEach((g,y)=>{y>=l&&(t.nodes[y].start>0&&y!==l&&(t.nodes[y].start-=p),t.nodes[y].end-=p)}),n-=p,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let p=f.index;if(s!==0)for(let h=1;h<s;h++)p+=f[h].length;d=this.wrapRangeInTextNode(d,p,p+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let h=1;h<s;h++)f+=d[h].length;let p=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,p,h=>n(d[s],h),(h,m)=>{t.lastIndex=m,a(h)})}i()})}wrapRangeFromIndex(t,r,n,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:f,end:p,valid:h}=this.checkWhitespaceRanges(l,s,i.value);h&&this.wrapRangeInMappedTextNode(i,f,p,m=>r(m,l,i.value.substring(f,p),d),m=>{n(m,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let p=new RegExp(this.createRegExp(f),`gm${l}`),h=0;this.log(`Searching with expression "${p}"`),this[a](p,1,(m,g)=>this.opt.filter(g,f,n,h),m=>{h++,n++,this.opt.each(m)},()=>{h===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(n):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(t,r){this.opt=r;let n=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=wt.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function oa(e){let t=new Ur(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var $f=oa,gc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Gf=J`
1
+ "use strict";(()=>{var jd=Object.defineProperty;var Bi=(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 B=(e,t)=>{for(var r in t)jd(e,r,{get:t[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,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(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=b.prototype.attributeChangedCallback,k=new Set(b.observedAttributes||[]);m(b,k,E);let W={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(x,W),this._definitionsByClass.set(b,W);let L=r.call(n,x);L||(L=p(x),t.call(n,x,L)),this===window.customElements&&(s.set(b,W),W.standInClass=L);let D=this._awaitingUpgrade.get(x);if(D){this._awaitingUpgrade.delete(x);for(let I of D)i.delete(I),g(I,W,!0)}let _=this._whenDefinedPromises.get(x);return _!==void 0&&(_.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let E=this._whenDefinedPromises.get(x);return E===void 0&&(E={},E.promise=new Promise(k=>E.resolve=k),this._whenDefinedPromises.set(x,E)),E.promise}_upgradeWhenDefined(x,b,E){let k=this._awaitingUpgrade.get(b);k||this._awaitingUpgrade.set(b,k=new Set),E?k.add(x):k.delete(x)}};let d;window.HTMLElement=function(){let b=d;if(b)return d=void 0,b;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(e,[],E.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),a.set(b,E),b},window.HTMLElement.prototype=e.prototype;let f=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!f(b)){let E=O[O.length-1];if(E instanceof CustomElementRegistry)return E;b=E.getRootNode(),f(b)||(b=l.get(b)?.getRootNode()||document)}return b.customElements},p=x=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let k=h(E)||window.customElements,W=k._getDefinition(x);return W?g(E,W):i.set(E,k),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,E)=>{if(b.size===0||E===void 0)return;let k=x.prototype.setAttribute;k&&(x.prototype.setAttribute=function(D,_){let I=D.toLowerCase();if(b.has(I)){let U=this.getAttribute(I);k.call(this,I,_),E.call(this,I,U,_)}else k.call(this,I,_)});let W=x.prototype.removeAttribute;W&&(x.prototype.removeAttribute=function(D){let _=D.toLowerCase();if(b.has(_)){let I=this.getAttribute(_);W.call(this,_),E.call(this,_,I,null)}else W.call(this,_)});let L=x.prototype.toggleAttribute;L&&(x.prototype.toggleAttribute=function(D,_){let I=D.toLowerCase();if(b.has(I)){let U=this.getAttribute(I);L.call(this,I,_);let ne=this.getAttribute(I);E.call(this,I,U,ne)}else L.call(this,I,_)})},y=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):y(b)},g=(x,b,E=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),a.set(x,b),d=x;try{new b.elementClass}catch{y(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(k=>{x.hasAttribute(k)&&b.attributeChangedCallback.call(x,k,null,x.getAttribute(k))}),E&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let O=[document],w=(x,b,E=void 0)=>{let k=(E?Object.getPrototypeOf(E):x.prototype)[b];x.prototype[b]=function(){O.push(this);let W=k.apply(E||this,arguments);return W!==void 0&&l.set(W,this),O.pop(),W}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let R=(x,b)=>{let E=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...E,set(k){O.push(this),E.set.call(this,k),O.pop()}})};if(R(Element,"innerHTML"),R(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...D){let _=b.call(this,...D);return x.set(_,this),_},E.forEach(D=>{let _=window.ElementInternals.prototype,I=_[D];_[D]=function(...U){let ne=x.get(this);if(a.get(ne).formAssociated===!0)return I?.call(this,...U);throw new DOMException(`Failed to execute ${I} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class W{constructor(_){let I=new Map;_.forEach((U,ne)=>{let Xn=U.getAttribute("name"),Ui=I.get(Xn)||[];this[+ne]=U,Ui.push(U),I.set(Xn,Ui)}),this.length=_.length,I.forEach((U,ne)=>{U&&(U.length===1?this[ne]=U[0]:this[ne]=new k(U))})}namedItem(_){return this[_]}}let L=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let D=L.get.call(this,[]),_=[];for(let I of D){let U=a.get(I);(!U||U.formAssociated===!0)&&_.push(I)}return new W(_)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,a)=>{var i;if(n!==null)try{t.bind(window.customElements)(r,n,a)}catch(s){!((i=s.message)===null||i===void 0)&&i.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},a):console.info(r,n,a,s)}}}var lo={};B(lo,{CSSResult:()=>Lt,LitElement:()=>Te,ReactiveElement:()=>he,_$LE:()=>es,_$LH:()=>io,adoptStyles:()=>gr,css:()=>J,defaultConverter:()=>Dt,getCompatibleStyle:()=>nn,html:()=>te,isServer:()=>mb,mathml:()=>nu,noChange:()=>X,notEqual:()=>xr,nothing:()=>Y,render:()=>so,supportsAdoptingStyleSheets:()=>mr,svg:()=>ru,unsafeCSS:()=>yr});var rn=globalThis,mr=rn.ShadowRoot&&(rn.ShadyCSS===void 0||rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qn=Symbol(),Wi=new WeakMap,Lt=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Qn)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(mr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Wi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Wi.set(r,t))}return t}toString(){return this.cssText}},yr=e=>new Lt(typeof e=="string"?e:e+"",void 0,Qn),J=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[i+1],e[0]);return new Lt(r,e,Qn)},gr=(e,t)=>{if(mr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=rn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}},nn=mr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return yr(r)})(e):e;var{is:Yd,defineProperty:Kd,getOwnPropertyDescriptor:Zd,getOwnPropertyNames:qd,getOwnPropertySymbols:Jd,getPrototypeOf:Xd}=Object,on=globalThis,Hi=on.trustedTypes,Qd=Hi?Hi.emptyScript:"",eu=on.reactiveElementPolyfillSupport,br=(e,t)=>e,Dt={toAttribute(e,t){switch(t){case Boolean:e=e?Qd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},xr=(e,t)=>!Yd(e,t),$i={attribute:!0,type:String,converter:Dt,reflect:!1,useDefault:!1,hasChanged:xr};Symbol.metadata??=Symbol("metadata"),on.litPropertyMetadata??=new WeakMap;var he=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=$i){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,r);a!==void 0&&Kd(this.prototype,t,a)}}static getPropertyDescriptor(t,r,n){let{get:a,set:i}=Zd(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$i}static _$Ei(){if(this.hasOwnProperty(br("elementProperties")))return;let t=Xd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(br("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(br("properties"))){let r=this.properties,n=[...qd(r),...Jd(r)];for(let a of n)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)r.unshift(nn(a))}else t!==void 0&&r.push(nn(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Dt).toAttribute(r,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Dt;this._$Em=a;let l=s.fromAttribute(r,i.type);this[a]=l??this._$Ej?.get(a)??l,this._$Em=null}}requestUpdate(t,r,n,a=!1,i){if(t!==void 0){let s=this.constructor;if(a===!1&&(i=this[t]),n??=s.getPropertyOptions(t),!((n.hasChanged??xr)(i,r)||n.useDefault&&n.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};he.elementStyles=[],he.shadowRootOptions={mode:"open"},he[br("elementProperties")]=new Map,he[br("finalized")]=new Map,eu?.({ReactiveElement:he}),(on.reactiveElementVersions??=[]).push("2.1.2");var to=globalThis,Gi=e=>e,an=to.trustedTypes,zi=an?an.createPolicy("lit-html",{createHTML:e=>e}):void 0,ro="$lit$",He=`lit$${Math.random().toFixed(9).slice(2)}$`,no="?"+He,tu=`<${no}>`,ut=document,Sr=()=>ut.createComment(""),Or=e=>e===null||typeof e!="object"&&typeof e!="function",oo=Array.isArray,qi=e=>oo(e)||typeof e?.[Symbol.iterator]=="function",eo=`[
2
+ \f\r]`,vr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vi=/-->/g,ji=/>/g,lt=RegExp(`>|${eo}(?:([^\\s"'>=/]+)(${eo}*=${eo}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Yi=/'/g,Ki=/"/g,Ji=/^(?:script|style|textarea|title)$/i,ao=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),te=ao(1),ru=ao(2),nu=ao(3),X=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),Zi=new WeakMap,dt=ut.createTreeWalker(ut,129);function Xi(e,t){if(!oo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return zi!==void 0?zi.createHTML(t):t}var Qi=(e,t)=>{let r=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=vr;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===vr?h[1]==="!--"?s=Vi:h[1]!==void 0?s=ji:h[2]!==void 0?(Ji.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=lt):h[3]!==void 0&&(s=lt):s===lt?h[0]===">"?(s=a??vr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?lt:h[3]==='"'?Ki:Yi):s===Ki||s===Yi?s=lt:s===Vi||s===ji?s=vr:(s=lt,a=void 0);let y=s===lt&&e[l+1].startsWith("/>")?" ":"";i+=s===vr?d+tu:p>=0?(n.push(f),d.slice(0,p)+ro+d.slice(p)+He+y):d+He+(p===-2?l:y)}return[Xi(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Er=class e{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=Qi(t,r);if(this.el=e.createElement(f,n),dt.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=dt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(ro)){let m=h[s++],y=a.getAttribute(p).split(He),g=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:g[2],strings:y,ctor:g[1]==="."?cn:g[1]==="?"?ln:g[1]==="@"?dn:pt}),a.removeAttribute(p)}else p.startsWith(He)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(Ji.test(a.tagName)){let p=a.textContent.split(He),m=p.length-1;if(m>0){a.textContent=an?an.emptyScript:"";for(let y=0;y<m;y++)a.append(p[y],Sr()),dt.nextNode(),d.push({type:2,index:++i});a.append(p[m],Sr())}}}else if(a.nodeType===8)if(a.data===no)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 n=ut.createElement("template");return n.innerHTML=t,n}};function ft(e,t,r=e,n){if(t===X)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Or(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=ft(e,a._$AS(e,t.values),a,n)),t}var sn=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??ut).importNode(r,!0);dt.currentNode=a;let i=dt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Mt(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new un(i,this,t)),this._$AV.push(f),d=n[++l]}s!==d?.index&&(i=dt.nextNode(),s++)}return dt.currentNode=ut,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Mt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ft(this,t,r),Or(t)?t===Y||t==null||t===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==X&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qi(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!==Y&&Or(this._$AH)?this._$AA.nextSibling.data=t:this.T(ut.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Er.createElement(Xi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new sn(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=Zi.get(t.strings);return r===void 0&&Zi.set(t.strings,r=new Er(t)),r}k(t){oo(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new e(this.O(Sr()),this.O(Sr()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let n=Gi(t).nextSibling;Gi(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Y}_$AI(t,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=ft(this,t,r,0),s=!Or(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=ft(this,l[n+d],r,d),f===X&&(f=this._$AH[d]),s||=!Or(f)||f!==this._$AH[d],f===Y?t=Y:t!==Y&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},cn=class extends pt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}},ln=class extends pt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Y)}},dn=class extends pt{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=ft(this,t,r,0)??Y)===X)return;let n=this._$AH,a=t===Y&&n!==Y||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==Y&&(n===Y||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},un=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ft(this,t)}},io={M:ro,P:He,A:no,C:1,L:Qi,R:sn,D:qi,V:ft,I:Mt,H:pt,N:ln,U:dn,B:cn,F:un},ou=to.litHtmlPolyfillSupport;ou?.(Er,Mt),(to.litHtmlVersions??=[]).push("3.3.3");var so=(e,t,r)=>{let n=r?.renderBefore??t,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Mt(t.insertBefore(Sr(),i),i,void 0,r??{})}return a._$AI(e),a};var co=globalThis,Te=class extends he{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=so(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return X}};Te._$litElement$=!0,Te.finalized=!0,co.litElementHydrateSupport?.({LitElement:Te});var au=co.litElementPolyfillSupport;au?.({LitElement:Te});var es={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(co.litElementVersions??=[]).push("4.2.2");var mb=!1;var uo={};B(uo,{customElement:()=>iu,eventOptions:()=>cu,property:()=>M,query:()=>lu,queryAll:()=>uu,queryAssignedElements:()=>pu,queryAssignedNodes:()=>hu,queryAsync:()=>fu,standardProperty:()=>ts,state:()=>ie});var iu=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var su={attribute:!0,type:String,converter:Dt,reflect:!1,hasChanged:xr},ts=(e=su,t,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e,!0,l)}}throw Error("Unsupported decorator location: "+n)};function M(e){return(t,r)=>typeof r=="object"?ts(e,t,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function ie(e){return M({...e,state:!0,attribute:!1})}function cu(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var Oe=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function lu(e,t){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Oe(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Oe(r,n,{get(){return i(this)}})}}var du;function uu(e){return(t,r)=>Oe(t,r,{get(){return(this.renderRoot??(du??=document.createDocumentFragment())).querySelectorAll(e)}})}function fu(e){return(t,r)=>Oe(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function pu(e){return(t,r)=>{let{slot:n,selector:a}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Oe(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:n}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Oe(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var fo={};B(fo,{repeat:()=>Ut});var Ie={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},de=e=>(...t)=>({_$litDirective$:e,values:t}),me=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:mu}=io,rs=e=>e;var os=e=>e.strings===void 0,ns=()=>document.createComment(""),Ft=(e,t,r)=>{let n=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=n.insertBefore(ns(),a),s=n.insertBefore(ns(),a);r=new mu(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=rs(d).nextSibling;rs(n).insertBefore(d,a),d=f}}}return r},Qe=(e,t,r=e)=>(e._$AI(t,r),e),yu={},as=(e,t=yu)=>e._$AH=t,is=e=>e._$AH,fn=e=>{e._$AR(),e._$AA.remove()};var ss=(e,t,r)=>{let n=new Map;for(let a=t;a<=r;a++)n.set(e[a],a);return n},Ut=de(class extends me{constructor(e){if(super(e),e.type!==Ie.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let a=[],i=[],s=0;for(let l of e)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,n]){let a=is(e),{values:i,keys:s}=this.dt(t,r,n);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,m=a.length-1,y=0,g=i.length-1;for(;p<=m&&y<=g;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(l[p]===s[y])d[y]=Qe(a[p],i[y]),p++,y++;else if(l[m]===s[g])d[g]=Qe(a[m],i[g]),m--,g--;else if(l[p]===s[g])d[g]=Qe(a[p],i[g]),Ft(e,d[g+1],a[p]),p++,g--;else if(l[m]===s[y])d[y]=Qe(a[m],i[y]),Ft(e,a[p],a[m]),m--,y++;else if(f===void 0&&(f=ss(s,y,g),h=ss(l,p,m)),f.has(l[p]))if(f.has(l[m])){let v=h.get(s[y]),O=v!==void 0?a[v]:null;if(O===null){let w=Ft(e,a[p]);Qe(w,i[y]),d[y]=w}else d[y]=Qe(O,i[y]),Ft(e,a[p],O),a[v]=null;y++}else fn(a[m]),m--;else fn(a[p]),p++;for(;y<=g;){let v=Ft(e,d[g+1]);Qe(v,i[y]),d[y++]=v}for(;p<=m;){let v=a[p++];v!==null&&fn(v)}return this.ut=s,as(e,d),X}});var po={};B(po,{classMap:()=>gu});var gu=de(class extends me{constructor(e){if(super(e),e.type!==Ie.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.st)n in t||(r.remove(n),this.st.delete(n));for(let n in t){let a=!!t[n];a===this.st.has(n)||this.nt?.has(n)||(a?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return X}});var ho={};B(ho,{styleMap:()=>xu});var cs="important",bu=" !"+cs,xu=de(class extends me{constructor(e){if(super(e),e.type!==Ie.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let a=t[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(bu);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?cs:""):r[n]=a}}return X}});var mo={};B(mo,{UnsafeHTMLDirective:()=>Bt,unsafeHTML:()=>vu});var Bt=class extends me{constructor(t){if(super(t),this.it=Y,t.type!==Ie.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Y||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:[]}}};Bt.directiveName="unsafeHTML",Bt.resultType=1;var vu=de(Bt);var Ao={};B(Ao,{CacheRegistry:()=>Co,ClearCacheEvent:()=>Rr});var go={};B(go,{CancelablePromise:()=>pn,CanceledPromiseError:()=>wr,cancelable:()=>yo});var wr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},pn=class extends Promise{constructor(t){super((r,n)=>t(a=>{this.isCanceled?n(new wr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new wr("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},yo=e=>new pn((t,r)=>e.then(t).catch(r));var wo={};B(wo,{FtNotificationEvent:()=>_r,PostResizeEvent:()=>Eo,PreResizeEvent:()=>Oo,WithEventBus:()=>yt,withEventBus:()=>bs});var So={};B(So,{applyMixinOnce:()=>ue,customElements:()=>vo,dateReviver:()=>Cu,deepCopy:()=>Wt,deepEqual:()=>Ar,delay:()=>us,eventPathContainsMatchingElement:()=>_u,everyDeep:()=>wu,flatDeep:()=>ps,forEachDeep:()=>hs,getComposedPathTo:()=>xo,hasChanged:()=>ht,ignoreComposingEvents:()=>Tu,last:()=>Ru,minmax:()=>mt,parseDate:()=>ys,randomId:()=>ku,someDeep:()=>ms,unslotText:()=>gs,waitFor:()=>fs,waitUntil:()=>Eu});var bo={};B(bo,{customElement:()=>Cr,dateProperty:()=>Ou,isNumber:()=>ds,jsonProperty:()=>hn,numberProperty:()=>ls,optionalNumberProperty:()=>Su});var Cr=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function hn(e,t){return M({type:Object,converter:{fromAttribute:r=>{if(r==null)return Wt(e);try{return JSON.parse(r)}catch{return Wt(e)}},toAttribute:r=>JSON.stringify(r)},hasChanged:ht,...t??{}})}function Su(e){return ls(e)}function ls(e){return M({type:Object,converter:{fromAttribute:t=>{var r,n;if(t==null)return;let a=(r=e?.min)!==null&&r!==void 0?r:-1/0,i=(n=e?.max)!==null&&n!==void 0?n:1/0;return ds(t)?mt(a,+t,i):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function ds(e){return!isNaN(parseFloat(e))}function Ou(e){return M({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let r=new Date(Date.parse(t));if(!isNaN(r.valueOf()))return r},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var us=e=>new Promise(t=>setTimeout(t,e));async function Eu(e,t=10,r=2e4){await fs(async()=>await e()||void 0,t,r)}async function fs(e,t=10,r=2e4){let n=await e(),a=performance.now(),i=a;for(;n==null&&(!r||i-a<r);)await us(t),n=await e(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ps(e,t){return e.flatMap(r=>[r,...ps(t(r),t)])}function hs(e,t,r){let n=(a,i)=>{var s;for(let l=0;l<a.length;l++){let d=a[l];if(!(((s=r(d,l,a,i))!==null&&s!==void 0?s:!0)&&n(t(d),[...i,d])))return!1}return!0};n(e,[])}function ms(e,t,r){let n=!1;return hs(e,t,(a,i,s,l)=>(n=!!r(a,i,s,l),!n)),n}function wu(e,t,r){return!ms(e,t,(n,a,i,s)=>!r(n,a,i,s))}function Cu(...e){return(t,r)=>e.includes(t)?ys(r):r}function ys(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,a)=>r+n+":"+a),new Date(e)}function Au(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Ar(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Ar(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null),i=a(e);if(r=i.length,r!==a(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){let s=i[n];if(!Ar(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Ar(e,t){try{return Au(e,t)}catch{return!1}}function ht(e,t){return!Ar(e,t)}function _u(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function mt(e,t,r){return Math.min(Math.max(e,t),r)}function Ru(e){return e[e.length-1]}function gs(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>gs(t)).join(""):e?.textContent||""}function xo(e){let t=[],r=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Wt(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function ku(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function ue(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let a=t(n);return a[e]=!0,a}}function Tu(){return function(e,t,r){let n=r.value;r.value=function(a,...i){if(a.isComposing||a.keyCode===229){a.stopPropagation();return}return n.apply(this,[a].concat(i))}}}function vo(e){for(let[t,r]of Object.entries(e))Cr(t)(r)}var _r=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Oo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Eo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},bs=ue(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),yt=class extends bs(Object){};var Rr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Co=class extends yt{constructor(){super(...arguments),this.content={}}register(t,r,n=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:n,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let n=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new Rr(n)),n}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new Rr([t])),t}forceClear(t){var r;let n=this.content[t];n&&(this.clearClearTimeout(t),(r=n.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var r,n,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,n=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:n,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,n){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=yo(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,n!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),n)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,n;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Io={};B(Io,{ClusteringHelper:()=>To,formatHierarchicalValues:()=>ko});var Ro={};B(Ro,{accessBreadcrumb:()=>Nu,accessResult:()=>_o,accessResultId:()=>Iu,accessResultUrl:()=>Pu});function _o(e){var t,r,n,a;return(a=(n=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&a!==void 0?a:e?.htmlPackagePage}function Iu(e){var t,r,n,a,i,s,l,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&r!==void 0?r:(n=e?.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(l=e?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function Pu(e){var t,r,n,a,i,s,l,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.readerUrl)!==null&&r!==void 0?r:(n=e?.topic)===null||n===void 0?void 0:n.readerUrl)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(l=e?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function Nu(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 ko(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var To=class e{constructor(t,r,n,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static findResultWithMetadataValue(t,r,n){return t?.find(a=>{var i;return((i=this.extractResultMetadata({result:a}).find(s=>s.key==r))===null||i===void 0?void 0:i.value)==n})}static extractResultMetadata(t){var r,n;let a=(n=(r=_o(t.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(a,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(a.find(i=>i.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,n){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(l=>{i.push(ko(l)),s.push(ko(l,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,n="No value",a,i){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:n}).filter(p=>p.value!=d?.value).filter((p,m,y)=>y.findIndex(g=>g.value===p.value)===m).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,m)=>this.compareMetadata(p.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,n,a){if(t==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,i);if(f>l&&(l=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var Po={};B(Po,{Debouncer:()=>kr});var kr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mo={};B(Mo,{designSystemVariables:()=>Pr});var Do={};B(Do,{DesignSystemFamily:()=>Tr,DesignSystemSize:()=>Ir,FtCssVariableFactory:()=>o,badge:()=>Yu,banner:()=>ju,button:()=>Mu,card:()=>Fu,chart:()=>lf,checkbox:()=>Bu,chip:()=>Gu,chipChoice:()=>$u,chipGroup:()=>zu,collapsible:()=>sf,combobox:()=>of,dateRangePicker:()=>yf,drawer:()=>Qu,floatingMenu:()=>nf,foundation:()=>c,link:()=>Vu,modal:()=>Xu,notice:()=>uf,notification:()=>pf,pageDesigner:()=>df,pageFooter:()=>qu,pageHeader:()=>Zu,pageLayout:()=>Ju,popover:()=>af,radio:()=>Wu,reorderableList:()=>mf,resolveFamilyClass:()=>No,resolveSizeClass:()=>Lo,semantic:()=>u,setVariable:()=>Ht,switch_:()=>cf,table:()=>Hu,tabs:()=>ef,textArea:()=>rf,textInput:()=>tf,titleBreadcrumb:()=>Ku,toggle:()=>ff,tooltip:()=>hf,treeList:()=>Uu,typographies:()=>Lu,typographyBody1Medium:()=>ws,typographyBody1Regular:()=>Es,typographyBody1Semibold:()=>Cs,typographyBody2Medium:()=>_s,typographyBody2MediumUnderline:()=>Rs,typographyBody2Regular:()=>As,typographyBody2Semibold:()=>ks,typographyCaption1Medium:()=>Ts,typographyCaption1Semibold:()=>Is,typographyCaption2Bold:()=>Ls,typographyCaption2Medium:()=>Ps,typographyCaption2Semibold:()=>Ns,typographyDisplay:()=>xs,typographyTitle1:()=>vs,typographyTitle2:()=>Ss,typographyTitle3:()=>Os,typographyVariants:()=>Du});var et=e=>typeof e=="string"?yr(e):e,o=class{static create(t,r,n,a){let i=l=>et(l??a),s=J`var(${et(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Ht(s,l??i(a)),s.get=l=>J`var(${et(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,n,a){let i=l=>n.get(l??a),s=J`var(${et(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Ht(s,l??i(a)),s.get=l=>J`var(${et(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,r){let n=i=>t.defaultCssValue(i),a=J`var(${et(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>J`var(${et(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Ht(e,t){return et(`${e.name}: ${t}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},xs={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},vs={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ss={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Os={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Es={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},ws={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Cs={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},As={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},_s={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Rs={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},ks={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ts={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Is={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ps={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ns={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ls={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Lu={display:xs,"title-1":vs,"title-2":Ss,"title-3":Os,"body-1-regular":Es,"body-1-medium":ws,"body-1-semibold":Cs,"body-2-regular":As,"body-2-medium":_s,"body-2-medium-underline":Rs,"body-2-semibold":ks,"caption-1-medium":Ts,"caption-1-semibold":Is,"caption-2-medium":Ps,"caption-2-semibold":Ns,"caption-2-bold":Ls},Du=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Mu={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Fu={borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Uu={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Bu={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Wu={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Hu={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var $u={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Gu={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var zu={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Vu={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var ju={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Yu={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Ku={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Zu={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var qu={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Ju={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Xu={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Qu={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var ef={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var tf={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var rf={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var nf={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var of={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var af={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var sf={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var cf={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var lf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var df={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var uf={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var ff={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var pf={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var hf={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var mf={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var yf={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Tr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Tr||(Tr={}));var Ir;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ir||(Ir={}));function No(e){return`ftds--family-${e}`}function Lo(e){return`ftds--size-${e}`}var Pr={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Fo={};B(Fo,{DynamicImporter:()=>mn,dynamicImporter:()=>gf});var mn=class{async import(t){if(t)return import(t)}},gf=new mn;var Zo={};B(Zo,{computeOffsetAutoPosition:()=>Hf,computeOffsetPosition:()=>Wf});var Ms=["top","right","bottom","left"],Ds=["start","end"],Bo=Ms.reduce((e,t)=>e.concat(t,t+"-"+Ds[0],t+"-"+Ds[1]),[]),gt=Math.min,Pe=Math.max,Nr=Math.round;var Ee=e=>({x:e,y:e}),bf={left:"right",right:"left",bottom:"top",top:"bottom"};function Fs(e,t,r){return Pe(e,gt(t,r))}function $t(e,t){return typeof e=="function"?e(t):e}function bt(e){return e.split("-")[0]}function Ne(e){return e.split("-")[1]}function Wo(e){return e==="x"?"y":"x"}function Ho(e){return e==="y"?"height":"width"}function Gt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function $o(e){return Wo(Gt(e))}function Us(e,t,r){r===void 0&&(r=!1);let n=Ne(e),a=$o(e),i=Ho(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Uo(s)),[s,Uo(s)]}function Bs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Uo(e){let t=bt(e);return bf[t]+e.slice(t.length)}function xf(e){var t,r,n,a;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(n=e.bottom)!=null?n:0,left:(a=e.left)!=null?a:0}}function Ws(e){return typeof e!="number"?xf(e):{top:e,right:e,bottom:e,left:e}}function xt(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Hs(e,t,r){let{reference:n,floating:a}=e,i=Gt(t),s=$o(t),l=Ho(s),d=bt(t),f=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,m=n[l]/2-a[l]/2,y;switch(d){case"top":y={x:h,y:n.y-a.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:p};break;case"left":y={x:n.x-a.width,y:p};break;default:y={x:n.x,y:n.y}}let g=Ne(t);return g&&(y[s]+=m*(g==="end"?1:-1)*(r&&f?-1:1)),y}async function $s(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:y=0}=$t(t,e),g=Ws(y),O=l[m?p==="floating"?"reference":"floating":p],w=xt(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})),R=p==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),b=await(i.isElement==null?void 0:i.isElement(x))&&await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1},E=xt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:R,offsetParent:x,strategy:d}):R);return{top:(w.top-E.top+g.top)/b.y,bottom:(E.bottom-w.bottom+g.bottom)/b.y,left:(w.left-E.left+g.left)/b.x,right:(E.right-w.right+g.right)/b.x}}var vf=50,Gs=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:$s},d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=Hs(f,n,d),m=n,y=0,g={};for(let v=0;v<i.length;v++){let O=i[v];if(!O)continue;let{name:w,fn:R}=O,{x,y:b,data:E,reset:k}=await R({x:h,y:p,initialPlacement:n,placement:m,strategy:a,middlewareData:g,rects:f,platform:l,elements:{reference:e,floating:t}});h=x??h,p=b??p,g[w]={...g[w],...E},k&&y<vf&&(y++,typeof k=="object"&&(k.placement&&(m=k.placement),k.rects&&(f=k.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):k.rects),{x:h,y:p}=Hs(f,m,d)),v=-1)}return{x:h,y:p,placement:m,strategy:a,middlewareData:g}};function Sf(e,t,r){return(e?[...r.filter(a=>Ne(a)===e),...r.filter(a=>Ne(a)!==e)]:r.filter(a=>bt(a)===a)).filter(a=>e?Ne(a)===e||(t?Bs(a)!==a:!1):!0)}var zs=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:m=Bo,autoAlignment:y=!0,...g}=$t(e,t),v=p!==void 0||m===Bo?Sf(p||null,y,m):m,O=((r=s.autoPlacement)==null?void 0:r.index)||0,w=v[O];if(w==null)return{};if(l!==w)return{reset:{placement:v[0]}};let R=await d.detectOverflow(t,g),x=Us(w,i,await(d.isRTL==null?void 0:d.isRTL(f.floating))),b=[R[bt(w)],R[x[0]],R[x[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:b}],k=v[O+1];if(k)return{data:{index:O+1,overflows:E},reset:{placement:k}};let W=E.map(_=>{let I=Ne(_.placement);return[_.placement,I&&h?_.overflows.slice(0,2).reduce((U,ne)=>U+ne,0):_.overflows[0],_.overflows]}).sort((_,I)=>_[1]-I[1]),D=((a=W.filter(_=>_[2].slice(0,Ne(_[0])?2:3).every(I=>I<=0))[0])==null?void 0:a[0])||W[0][0];return D!==l?{data:{index:O+1,overflows:E},reset:{placement:D}}:{}}}};var Of=new Set(["left","top"]);async function Ef(e,t){let{placement:r,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=bt(r),l=Ne(r),d=Gt(r)==="y",f=Of.has(s)?-1:1,h=i&&d?-1:1,p=$t(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(y=l==="end"?g*-1:g),d?{x:y*h,y:m*f}:{x:m*f,y:y*h}}var Vs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await Ef(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},js=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:R=>{let{x,y:b}=R;return{x,y:b}}},...f}=$t(e,t),h={x:r,y:n},p=await i.detectOverflow(t,f),m=Gt(a),y=Wo(m),g=h[y],v=h[m],O=(R,x)=>Fs(x+p[R==="y"?"top":"left"],x,x-p[R==="y"?"bottom":"right"]);s&&(g=O(y,g)),l&&(v=O(m,v));let w=d.fn({...t,[y]:g,[m]:v});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[y]:s,[m]:l}}}}}};var Ys=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:n,platform:a,elements:i}=t,{apply:s=()=>{},...l}=$t(e,t),d=await a.detectOverflow(t,l),f=bt(r),h=Ne(r),p=Gt(r)==="y",{width:m,height:y}=n.floating,g,v;f==="top"||f==="bottom"?(g=f,v=h===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(v=f,g=h==="end"?"top":"bottom");let O=y-d.top-d.bottom,w=m-d.left-d.right,R=gt(y-d[g],O),x=gt(m-d[v],w),b=t.middlewareData.shift,E=!b,k=R,W=x;b!=null&&b.enabled.x&&(W=w),b!=null&&b.enabled.y&&(k=O),E&&!h&&(p?W=m-2*Pe(d.left,d.right):k=y-2*Pe(d.top,d.bottom)),await s({...t,availableWidth:W,availableHeight:k});let L=await a.getDimensions(i.floating);return m!==L.width||y!==L.height?{reset:{rects:!0}}:{}}}};function gn(){return typeof window<"u"}function St(e){return Zs(e)?(e.nodeName||"").toLowerCase():"#document"}function ce(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Le(e){var t;return(t=(Zs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zs(e){return gn()?e instanceof Node||e instanceof ce(e).Node:!1}function ye(e){return gn()?e instanceof Element||e instanceof ce(e).Element:!1}function De(e){return gn()?e instanceof HTMLElement||e instanceof ce(e).HTMLElement:!1}function Ks(e){return!gn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ce(e).ShadowRoot}function zt(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=ge(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function qs(e){return/^(table|td|th)$/.test(St(e))}function Lr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var wf=/transform|translate|scale|rotate|perspective|filter/,Cf=/paint|layout|strict|content/,vt=e=>!!e&&e!=="none",Go;function Vt(e){let t=ye(e)?ge(e):e;return vt(t.transform)||vt(t.translate)||vt(t.scale)||vt(t.rotate)||vt(t.perspective)||!bn()&&(vt(t.backdropFilter)||vt(t.filter))||wf.test(t.willChange||"")||Cf.test(t.contain||"")}function Js(e){let t=$e(e);for(;De(t)&&!Ot(t);){if(Vt(t))return t;if(Lr(t))return null;t=$e(t)}return null}function bn(){return Go==null&&(Go=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Go}function Ot(e){return/^(html|body|#document)$/.test(St(e))}function ge(e){return ce(e).getComputedStyle(e)}function Dr(e){return ye(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $e(e){if(St(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ks(e)&&e.host||Le(e);return Ks(t)?t.host:t}function Xs(e){let t=$e(e);return Ot(t)?(e.ownerDocument||e).body:De(t)&&zt(t)?t:Xs(t)}function yn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=Xs(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=ce(a);if(i){let l=xn(s);return t.concat(s,s.visualViewport||[],zt(a)?a:[],l&&r?yn(l):[])}else return t.concat(a,yn(a,[],r))}function xn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rc(e){let t=ge(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=De(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,l=Nr(r)!==i||Nr(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function nc(e){return ye(e)?e:e.contextElement}function jt(e){let t=nc(e);if(!De(t))return Ee(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=rc(t),s=(i?Nr(r.width):r.width)/n,l=(i?Nr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Af=Ee(0);function oc(e){let t=ce(e);return!bn()||!t.visualViewport?Af:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _f(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ce(e)?!1:t}function Mr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=nc(e),s=Ee(1);t&&(n?ye(n)&&(s=jt(n)):s=jt(e));let l=_f(i,r,n)?oc(i):Ee(0),d=(a.left+l.x)/s.x,f=(a.top+l.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let m=ce(i),y=n&&ye(n)?ce(n):n,g=m,v=xn(g);for(;v&&n&&y!==g;){let O=jt(v),w=v.getBoundingClientRect(),R=ge(v),x=w.left+(v.clientLeft+parseFloat(R.paddingLeft))*O.x,b=w.top+(v.clientTop+parseFloat(R.paddingTop))*O.y;d*=O.x,f*=O.y,h*=O.x,p*=O.y,d+=x,f+=b,g=ce(v),v=xn(g)}}return xt({width:h,height:p,x:d,y:f})}function vn(e,t){let r=Dr(e).scrollLeft;return t?t.left+r:Mr(Le(e)).left+r}function ac(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-vn(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function Rf(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=Le(n),l=t?Lr(t.floating):!1;if(n===s||l&&i)return r;let d={scrollLeft:0,scrollTop:0},f=Ee(1),h=Ee(0),p=De(n);if((p||!p&&!i)&&((St(n)!=="body"||zt(s))&&(d=Dr(n)),p)){let y=Mr(n);f=jt(n),h.x=y.x+n.clientLeft,h.y=y.y+n.clientTop}let m=s&&!p&&!i?ac(s,d):Ee(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 kf(e){return Array.from(e.getClientRects())}function Tf(e){let t=Le(e),r=Dr(e),n=e.ownerDocument.body,a=Pe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Pe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+vn(e),l=-r.scrollTop;return ge(n).direction==="rtl"&&(s+=Pe(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var Qs=25;function If(e,t){let r=ce(e),n=Le(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let h=bn();(!h||h&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}let f=vn(n);if(f<=0){let h=n.ownerDocument,p=h.body,m=getComputedStyle(p),y=h.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(n.clientWidth-p.clientWidth-y);g<=Qs&&(i-=g)}else f<=Qs&&(i+=f);return{width:i,height:s,x:l,y:d}}function Pf(e,t){let r=Mr(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=De(e)?jt(e):Ee(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=n*i.y;return{width:s,height:l,x:d,y:f}}function ec(e,t,r){let n;if(t==="viewport")n=If(e,r);else if(t==="document")n=Tf(Le(e));else if(ye(t))n=Pf(t,r);else{let a=oc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return xt(n)}function ic(e,t){let r=$e(e);return r===t||!ye(r)||Ot(r)?!1:ge(r).position==="fixed"||ic(r,t)}function Nf(e,t){let r=t.get(e);if(r)return r;let n=yn(e,[],!1).filter(l=>ye(l)&&St(l)!=="body"),a=null,i=ge(e).position==="fixed",s=i?$e(e):e;for(;ye(s)&&!Ot(s);){let l=ge(s),d=Vt(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||zt(s)&&!d&&ic(e,s))?n=n.filter(h=>h!==s):a=l,s=$e(s)}return t.set(e,n),n}function Lf(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?Lr(t)?[]:Nf(t,this._c):[].concat(r),n],l=ec(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 y=ec(t,s[m],a);d=Pe(y.top,d),f=gt(y.right,f),h=gt(y.bottom,h),p=Pe(y.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function Df(e){let{width:t,height:r}=rc(e);return{width:t,height:r}}function Mf(e,t,r){let n=De(t),a=Le(t),i=r==="fixed",s=Mr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=Ee(0);function f(){d.x=vn(a)}if(n||!n&&!i)if((St(t)!=="body"||zt(a))&&(l=Dr(t)),n){let y=Mr(t,!0,i,t);d.x=y.x+t.clientLeft,d.y=y.y+t.clientTop}else a&&f();i&&!n&&a&&f();let h=a&&!n&&!i?ac(a,l):Ee(0),p=s.left+l.scrollLeft-d.x-h.x,m=s.top+l.scrollTop-d.y-h.y;return{x:p,y:m,width:s.width,height:s.height}}function zo(e){return ge(e).position==="static"}function tc(e,t){if(!De(e)||ge(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Le(e)===r&&(r=r.ownerDocument.body),r}function sc(e,t){let r=ce(e);if(Lr(e))return r;if(!De(e)){let a=$e(e);for(;a&&!Ot(a);){if(ye(a)&&!zo(a))return a;a=$e(a)}return r}let n=tc(e,t);for(;n&&qs(n)&&zo(n);)n=tc(n,t);return n&&Ot(n)&&zo(n)&&!Vt(n)?r:n||Js(e)||r}var Ff=async function(e){let t=this.getOffsetParent||sc,r=this.getDimensions,n=await r(e.floating);return{reference:Mf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Uf(e){return ge(e).direction==="rtl"}var Yt={convertOffsetParentRelativeRectToViewportRelativeRect:Rf,getDocumentElement:Le,getClippingRect:Lf,getOffsetParent:sc,getElementRects:Ff,getClientRects:kf,getDimensions:Df,getScale:jt,isElement:ye,isRTL:Uf};var cc=Vs,Vo=zs,lc=js;var dc=Ys;var jo=(e,t,r)=>{let n=new Map,a={platform:Yt,...r},i={...a.platform,_c:n};return Gs(e,t,{...a,platform:i})};function Ko(e){return Bf(e)}function Yo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Bf(e){for(let t=e;t;t=Yo(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Yo(e);t;t=Yo(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||Vt(r)||t.tagName==="BODY"))return t}return null}async function Wf(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},jo(e,t,{strategy:n.strategy,platform:{...Yt,getOffsetParent:a=>Yt.getOffsetParent(a,Ko)},middleware:[lc({crossAxis:!0}),Vo({allowedPlacements:[n.placement]})]})}async function Hf(e,t,r,n,a,i,s){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,jo(e,t,{placement:l,strategy:a,platform:{...Yt,getOffsetParent:f=>Yt.getOffsetParent(f,Ko)},middleware:[cc(s??4),Vo({allowedPlacements:n}),dc({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 qo={};B(qo,{isSlotEmptyOrWithoutContent:()=>$f});var $f=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var a;return n.nodeType===Node.TEXT_NODE?((a=n.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var ra={};B(ra,{FtdsBase:()=>ta,toFtdsBase:()=>gc});var ea={};B(ea,{ExportpartsUpdatedEvent:()=>Et,FtLitElement:()=>se});var Jo={};B(Jo,{ScopedRegistryLitElement:()=>Fr});var Fr=class extends Te{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return gr(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(t,r){Cr(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 Qo={};B(Qo,{shadowQuerySelector:()=>Xo,shadowQuerySelectorAll:()=>Gf});function Xo(e,t,...r){var n;let a=e.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Gf(e,t,...r){let n=[...e.querySelectorAll(t)];for(let a of r)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var Kt=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},hc,uc=Symbol("constructorPrototype"),fc=Symbol("constructorName"),mc=Symbol("exportpartsDebouncer"),pc=Symbol("dynamicDependenciesLoaded"),Et=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Et.eventName="exportparts-updated";var se=class extends Fr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[hc]=new kr(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[mc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[fc]=this.constructor.name,this[uc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[fc]&&Object.setPrototypeOf(this,this[uc])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[pc]||(r[pc]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Et.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Et.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 Et)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=Xo(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,n,a,i,s,l;let d=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(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[],v=[...y,...g].filter(d).map(O=>O.trim());for(let O of v)h.add(O)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(m=>f.map(y=>`${m}:${y}--${m}`));this.exportparts=[...this.part,...p].join(", ")}};hc=mc;Kt([M()],se.prototype,"exportpartsPrefix",void 0);Kt([hn([])],se.prototype,"exportpartsPrefixes",void 0);Kt([M({reflect:!0})],se.prototype,"exportparts",void 0);Kt([M()],se.prototype,"customStylesheet",void 0);Kt([M()],se.prototype,"elementToFocus",void 0);Kt([ie()],se.prototype,"useAdoptedStyleSheets",void 0);var yc=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},gc=ue(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Ir.medium,this.family=Tr.neutral}getDesignSystemBaseClasses(){return{[No(this.family)]:!0,[Lo(this.size)]:!0}}}return yc([M()],t.prototype,"size",void 0),yc([M()],t.prototype,"family",void 0),t}),ta=class extends gc(se){};var bc={};var oa={};B(oa,{highlightHtml:()=>jf,highlightHtmlColorCssVariable:()=>xc,highlightHtmlStyles:()=>Vf});var wt=class e{constructor(t,r=!0,n=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(t,r){let n=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(t,r,n,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,n(h)),d()},d)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let a=t.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(t,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(t,r,n,a,i){let s=this.createIterator(r,t,a),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,y=>d.push(y),a)}),d.push(f);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,a),i()}forEachNode(t,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Ur=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 wt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,a,i=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),a=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:a,valid:i}}checkWhitespaceRanges(t,r,n){let a,i=!0,s=n.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return wt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(r),s=i.splitText(n-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(t,r,n,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(n>s.end?s.end:n)-s.start,p=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+m,t.nodes.forEach((y,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,p=>n(d[s],p),(p,m)=>{t.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(t,r,n,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,m=>r(m,l,i.value.substring(f,h),d),m=>{n(m,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,y)=>this.opt.filter(y,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(n):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(t,r){this.opt=r;let n=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=wt.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function na(e){let t=new Ur(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var zf=na,xc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Vf=J`
5
5
  .highlight-html-match {
6
- background: ${gc};
6
+ background: ${xc};
7
7
  }
8
- `;function zf(e,t,r){var n,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new $f(e);if(s.unmark(),t&&t.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=(f=>{for(let p in r.attributes)f.setAttribute(p,r.attributes[p])})),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((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 ia={};F(ia,{noTextInputDefaultClearButton:()=>Kf,noTextSelect:()=>Vf,safariEllipsisFix:()=>Yf,wordWrap:()=>jf});var Vf=J`
8
+ `;function jf(e,t,r){var n,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new zf(e);if(s.unmark(),t&&t.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=(f=>{for(let h in r.attributes)f.setAttribute(h,r.attributes[h])})),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var aa={};B(aa,{noTextInputDefaultClearButton:()=>qf,noTextSelect:()=>Yf,safariEllipsisFix:()=>Zf,wordWrap:()=>Kf});var Yf=J`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -14,7 +14,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,jf=J`
17
+ `,Kf=J`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,Yf=J`
29
+ `,Zf=J`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -37,14 +37,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
37
37
  display: inline-block;
38
38
  width: 0;
39
39
  }
40
- `,Kf=J`
40
+ `,qf=J`
41
41
  input::-webkit-search-cancel-button,
42
42
  input::-webkit-search-decoration,
43
43
  input::-webkit-search-results-button,
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `;var bc={};var ca={};F(ca,{ParametrizedLabelResolver:()=>sa});var sa=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,a;t=this.resolvePluralKey(t,r);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let n=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Da={};F(Da,{FtCommandQueue:()=>Br,FtLitElementRedux:()=>la,FtReduxStore:()=>Na,FtStateManager:()=>La,ReduxWatcher:()=>An,clearAllStores:()=>Lp,isFtReduxStore:()=>Zt,redux:()=>qf,reduxEventListener:()=>Jf,reduxReactive:()=>Zf,watch:()=>Dp,withRedux:()=>xc});var Zf=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},qf=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:mt,attribute:!1,...t};D(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:(l=>l[n]),store:t.store})}},Jf=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var Br=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Zt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Wr=Symbol("internalReduxEventsUnsubscribers"),rt=Symbol("internalStoresUnsubscribers"),Ct=Symbol("internalStores"),xc=fe(Symbol("withRedux"),function(e){var t,r,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Ct].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ct].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Ct].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Ct].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Ct].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Ct].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[rt].has(s.store):this[rt].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[rt].set(s,l.subscribe(()=>this.updateFromStores())),this[Wr].set(s,[]),Zt(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,p)=>{if(typeof this[p]=="function"&&(!f.store||l.name===f.store)){let h=m=>this[p](m);l.addEventListener(f.eventName,h),this[Wr].get(s).push(()=>l.removeEventListener(f.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[rt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[rt].has(s)&&this[rt].get(s)(),this[rt].delete(s),(l=this[Wr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Wr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=rt,r=Ct,n=Wr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),la=class extends xc(se){};function xe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ge(e){return!!e&&!!e[Y]}function Ce(e){var t;return!!e&&((function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ap})(e)||Array.isArray(e)||!!e[Ac]||!!(!((t=e.constructor)===null||t===void 0)&&t[Ac])||ba(e)||xa(e))}function At(e,t,r){r===void 0&&(r=!1),Xt(e)===0?(r?Object.keys:Jt)(e).forEach((function(n){r&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,a){return t(a,n,e)}))}function Xt(e){var t=e[Y];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ba(e)?2:xa(e)?3:0}function qt(e,t){return Xt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Xf(e,t){return Xt(e)===2?e.get(t):e[t]}function _c(e,t,r){var n=Xt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Rc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ba(e){return np&&e instanceof Map}function xa(e){return op&&e instanceof Set}function nt(e){return e.o||e.t}function va(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Pc(e);delete t[Y];for(var r=Jt(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Sa(e,t){return t===void 0&&(t=!1),Oa(e)||Ge(e)||!Ce(e)||(Xt(e)>1&&(e.set=e.add=e.clear=e.delete=Qf),Object.freeze(e),t&&At(e,(function(r,n){return Sa(n,!0)}),!0)),e}function Qf(){xe(2)}function Oa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Me(e){var t=ga[e];return t||xe(18,e),t}function ep(e,t){ga[e]||(ga[e]=t)}function ha(){return $r}function da(e,t){t&&(Me("Patches"),e.u=[],e.s=[],e.v=t)}function Sn(e){ma(e),e.p.forEach(tp),e.p=null}function ma(e){e===$r&&($r=e.l)}function vc(e){return $r={p:[],l:$r,h:e,m:!0,_:0}}function tp(e){var t=e[Y];t.i===0||t.i===1?t.j():t.g=!0}function ua(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Me("ES5").S(t,e,n),n?(r[Y].P&&(Sn(t),xe(4)),Ce(e)&&(e=On(t,e),t.l||En(t,e)),t.u&&Me("Patches").M(r[Y].t,e,t.u,t.s)):e=On(t,r,[]),Sn(t),t.u&&t.v(t.u,t.s),e!==Tc?e:void 0}function On(e,t,r){if(Oa(t))return t;var n=t[Y];if(!n)return At(t,(function(l,d){return Sc(e,n,t,l,d,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return En(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=va(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),At(i,(function(l,d){return Sc(e,n,a,l,d,r,s)})),En(e,a,!1),r&&e.u&&Me("Patches").N(n,r,e.u,e.s)}return n.o}function Sc(e,t,r,n,a,i,s){if(Ge(a)){var l=On(e,a,i&&t&&t.i!==3&&!qt(t.R,n)?i.concat(n):void 0);if(_c(r,n,l),!Ge(l))return;e.m=!1}else s&&r.add(a);if(Ce(a)&&!Oa(a)){if(!e.h.D&&e._<1)return;On(e,a),t&&t.A.l||En(e,a)}}function En(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Sa(t,r)}function fa(e,t){var r=e[Y];return(r?nt(r):e)[t]}function Oc(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ot(e){e.P||(e.P=!0,e.l&&ot(e.l))}function pa(e){e.o||(e.o=va(e.t))}function ya(e,t,r){var n=ba(t)?Me("MapSet").F(t,r):xa(t)?Me("MapSet").T(t,r):e.O?(function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:ha(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,f=Gr;s&&(d=[l],f=Hr);var p=Proxy.revocable(d,f),h=p.revoke,m=p.proxy;return l.k=m,l.j=h,m})(t,r):Me("ES5").J(t,r);return(r?r.A:ha()).p.push(n),n}function rp(e){return Ge(e)||xe(22,e),(function t(r){if(!Ce(r))return r;var n,a=r[Y],i=Xt(r);if(a){if(!a.P&&(a.i<4||!Me("ES5").K(a)))return a.t;a.I=!0,n=Ec(r,i),a.I=!1}else n=Ec(r,i);return At(n,(function(s,l){a&&Xf(a.t,s)===l||_c(n,s,t(l))})),i===3?new Set(n):n})(e)}function Ec(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return va(e)}function kc(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[Y];return Gr.get(f,s)},set:function(f){var p=this[Y];Gr.set(p,s,f)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Y];if(!d.P)switch(d.i){case 5:n(d)&&ot(d);break;case 4:r(d)&&ot(d)}}}function r(s){for(var l=s.t,d=s.k,f=Jt(d),p=f.length-1;p>=0;p--){var h=f[p];if(h!==Y){var m=l[h];if(m===void 0&&!qt(l,h))return!0;var g=d[h],y=g&&g[Y];if(y?y.t!==m:!Rc(g,m))return!0}}var v=!!l[Y];return f.length!==Jt(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&xe(3,JSON.stringify(nt(s)))}var i={};ep("ES5",{J:function(s,l){var d=Array.isArray(s),f=(function(h,m){if(h){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,e(y,!0));return g}var v=Pc(m);delete v[Y];for(var E=Jt(v),w=0;w<E.length;w++){var _=E[w];v[_]=e(_,h||!!v[_].enumerable)}return Object.create(Object.getPrototypeOf(m),v)})(d,s),p={i:d?5:4,A:l?l.A:ha(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Y,{value:p,writable:!0}),f},S:function(s,l,d){d?Ge(l)&&l[Y].A===s&&t(s.p):(s.u&&(function f(p){if(p&&typeof p=="object"){var h=p[Y];if(h){var m=h.t,g=h.k,y=h.R,v=h.i;if(v===4)At(g,(function(b){b!==Y&&(m[b]!==void 0||qt(m,b)?y[b]||f(g[b]):(y[b]=!0,ot(h)))})),At(m,(function(b){g[b]!==void 0||qt(g,b)||(y[b]=!1,ot(h))}));else if(v===5){if(n(h)&&(ot(h),y.length=!0),g.length<m.length)for(var E=g.length;E<m.length;E++)y[E]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var _=Math.min(g.length,m.length),x=0;x<_;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&f(g[x])}}}})(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var wc,$r,Ea=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",np=typeof Map<"u",op=typeof Set<"u",Cc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Tc=Ea?Symbol.for("immer-nothing"):((wc={})["immer-nothing"]=!0,wc),Ac=Ea?Symbol.for("immer-draftable"):"__$immer_draftable",Y=Ea?Symbol.for("immer-state"):"__$immer_state";var ap=""+Object.prototype.constructor,Jt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Pc=Object.getOwnPropertyDescriptors||function(e){var t={};return Jt(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},ga={},Gr={get:function(e,t){if(t===Y)return e;var r=nt(e);if(!qt(r,t))return(function(a,i,s){var l,d=Oc(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0})(e,r,t);var n=r[t];return e.I||!Ce(n)?n:n===fa(e.t,t)?(pa(e),e.o[t]=ya(e.A.h,n,e)):n},has:function(e,t){return t in nt(e)},ownKeys:function(e){return Reflect.ownKeys(nt(e))},set:function(e,t,r){var n=Oc(nt(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=fa(nt(e),t),i=a?.[Y];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Rc(r,a)&&(r!==void 0||qt(e.t,t)))return!0;pa(e),ot(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return fa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,pa(e),ot(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=nt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){xe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){xe(12)}},Hr={};At(Gr,(function(e,t){Hr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Hr.deleteProperty=function(e,t){return Hr.set.call(this,e,t,void 0)},Hr.set=function(e,t,r){return Gr.set.call(this,e[0],t,r,e[0])};var ip=(function(){function e(r){var n=this;this.O=Cc,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(v){var E=this;v===void 0&&(v=l);for(var w=arguments.length,_=Array(w>1?w-1:0),x=1;x<w;x++)_[x-1]=arguments[x];return d.produce(v,(function(b){var S;return(S=i).call.apply(S,[E,b].concat(_))}))}}var f;if(typeof i!="function"&&xe(6),s!==void 0&&typeof s!="function"&&xe(7),Ce(a)){var p=vc(n),h=ya(n,a,void 0),m=!0;try{f=i(h),m=!1}finally{m?Sn(p):ma(p)}return typeof Promise<"u"&&f instanceof Promise?f.then((function(v){return da(p,s),ua(v,p)}),(function(v){throw Sn(p),v})):(da(p,s),ua(f,p))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Tc&&(f=void 0),n.D&&Sa(f,!0),s){var g=[],y=[];Me("Patches").M(a,f,g,y),s(g,y)}return f}xe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var p=arguments.length,h=Array(p>1?p-1:0),m=1;m<p;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,(function(g){return a.apply(void 0,[g].concat(h))}))};var s,l,d=n.produce(a,i,(function(f,p){s=f,l=p}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(f){return[f,s,l]})):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Ce(r)||xe(8),Ge(r)&&(r=rp(r));var n=vc(this),a=ya(this,r,void 0);return a[Y].C=!0,ma(n),a},t.finishDraft=function(r,n){var a=r&&r[Y],i=a.A;return da(i,n),ua(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Cc&&xe(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Me("Patches").$;return Ge(r)?s(r,n):this.produce(r,(function(l){return s(l,n)}))},e})(),pe=new ip,sp=pe.produce,WO=pe.produceWithPatches.bind(pe),HO=pe.setAutoFreeze.bind(pe),$O=pe.setUseProxies.bind(pe),GO=pe.applyPatches.bind(pe),zO=pe.createDraft.bind(pe),VO=pe.finishDraft.bind(pe),wn=sp;function _t(e){"@babel/helpers - typeof";return _t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_t(e)}function Ic(e,t){if(_t(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(_t(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nc(e){var t=Ic(e,"string");return _t(t)=="symbol"?t:t+""}function Lc(e,t,r){return(t=Nc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function wa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dc(Object(r),!0).forEach(function(n){Lc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}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 Mc=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Ca=function(){return Math.random().toString(36).substring(7).split("").join(".")},Cn={INIT:"@@redux/INIT"+Ca(),REPLACE:"@@redux/REPLACE"+Ca(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ca()}};function cp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Aa(e,t,r){var n;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)}if(typeof e!="function")throw new Error(oe(2));var a=e,i=t,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function p(){if(d)throw new Error(oe(3));return i}function h(v){if(typeof v!="function")throw new Error(oe(4));if(d)throw new Error(oe(5));var E=!0;return f(),l.push(v),function(){if(E){if(d)throw new Error(oe(6));E=!1,f();var _=l.indexOf(v);l.splice(_,1),s=null}}}function m(v){if(!cp(v))throw new Error(oe(7));if(typeof v.type>"u")throw new Error(oe(8));if(d)throw new Error(oe(9));try{d=!0,i=a(i,v)}finally{d=!1}for(var E=s=l,w=0;w<E.length;w++){var _=E[w];_()}return v}function g(v){if(typeof v!="function")throw new Error(oe(10));a=v,m({type:Cn.REPLACE})}function y(){var v,E=h;return v={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(oe(11));function x(){_.next&&_.next(p())}x();var b=E(x);return{unsubscribe:b}}},v[Mc]=function(){return this},v}return m({type:Cn.INIT}),n={dispatch:m,subscribe:h,getState:p,replaceReducer:g},n[Mc]=y,n}function lp(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Cn.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Cn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Fc(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{lp(r)}catch(d){l=d}return function(f,p){if(f===void 0&&(f={}),l)throw l;if(0)var h;for(var m=!1,g={},y=0;y<i.length;y++){var v=i[y],E=r[v],w=f[v],_=E(w,p);if(typeof _>"u"){var x=p&&p.type;throw new Error(oe(14))}g[v]=_,m=m||_!==w}return m=m||i.length!==Object.keys(f).length,m?g:f}}function Qt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Uc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(oe(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=Qt.apply(void 0,l)(a.dispatch),wa(wa({},a),{},{dispatch:i})}}}function Bc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Wc=Bc();Wc.withExtraArgument=Bc;var _a=Wc;var Vc=(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),dp=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(p){return d([f,p])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(p){f=[6,p],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},er=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},up=Object.defineProperty,fp=Object.defineProperties,pp=Object.getOwnPropertyDescriptors,Hc=Object.getOwnPropertySymbols,hp=Object.prototype.hasOwnProperty,mp=Object.prototype.propertyIsEnumerable,$c=function(e,t,r){return t in e?up(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},at=function(e,t){for(var r in t||(t={}))hp.call(t,r)&&$c(e,r,t[r]);if(Hc)for(var n=0,a=Hc(t);n<a.length;n++){var r=a[n];mp.call(t,r)&&$c(e,r,t[r])}return e},Ra=function(e,t){return fp(e,pp(t))},yp=function(e,t,r){return new Promise(function(n,a){var i=function(d){try{l(r.next(d))}catch(f){a(f)}},s=function(d){try{l(r.throw(d))}catch(f){a(f)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(e,t)).next())})};var gp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qt:Qt.apply(null,arguments)},lE=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function bp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}function it(e,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return at(at({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}var xp=(function(e){Vc(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,er([void 0],r[0].concat(this)))):new(t.bind.apply(t,er([void 0],r.concat(this))))},t})(Array),vp=(function(e){Vc(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,er([void 0],r[0].concat(this)))):new(t.bind.apply(t,er([void 0],r.concat(this))))},t})(Array);function Pa(e){return Ce(e)?wn(e,function(){}):e}function Sp(e){return typeof e=="boolean"}function Op(){return function(t){return Ep(t)}}function Ep(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=e.actionCreatorCheck,d=l===void 0?!0:l,f=new xp;if(r&&(Sp(r)?f.push(_a):f.push(_a.withExtraArgument(r.extraArgument))),0){if(a)var p;if(s)var h;if(d)var m}return f}var ka=!0;function jc(e){var t=Op(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,p=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,g;if(typeof a=="function")g=a;else if(bp(a))g=Fc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(t),!ka&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ka&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Uc.apply(void 0,y),E=Qt;d&&(E=gp(at({trace:!ka},typeof d=="object"&&d)));var w=new vp(v),_=w;Array.isArray(m)?_=er([v],m):typeof m=="function"&&(_=m(w));var x=E.apply(void 0,_);return Aa(g,p,x)}function Yc(e){var t={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(!l)throw new Error("`builder.addCase` cannot be called with an empty action type");if(l in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,r,n]}function wp(e){return typeof e=="function"}function Cp(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?Yc(t):[t,r,n],i=a[0],s=a[1],l=a[2],d;if(wp(e))d=function(){return Pa(e())};else{var f=Pa(e);d=function(){return f}}function p(h,m){h===void 0&&(h=d());var g=er([i[m.type]],s.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[l]),g.reduce(function(y,v){if(v)if(Ge(y)){var E=y,w=v(E,m);return w===void 0?y:w}else{if(Ce(y))return wn(y,function(_){return v(_,m)});var w=v(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},h)}return p.getInitialState=d,p}function Ap(e,t){return e+"/"+t}function Kc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:Pa(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(p){var h=n[p],m=Ap(t,p),g,y;"reducer"in h?(g=h.reducer,y=h.prepare):g=h,i[p]=g,s[m]=g,l[p]=y?it(m,y):it(m)});function d(){var p=typeof e.extraReducers=="function"?Yc(e.extraReducers):[e.extraReducers],h=p[0],m=h===void 0?{}:h,g=p[1],y=g===void 0?[]:g,v=p[2],E=v===void 0?void 0:v,w=at(at({},m),s);return Cp(r,function(_){for(var x in w)_.addCase(x,w[x]);for(var b=0,S=y;b<S.length;b++){var R=S[b];_.addMatcher(R.matcher,R.reducer)}E&&_.addDefaultCase(E)})}var f;return{name:t,reducer:function(p,h){return f||(f=d()),f(p,h)},actions:l,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var _p="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Rp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=_p[Math.random()*64|0];return t},kp=["name","message","stack","code"],Ta=(function(){function e(t,r){this.payload=t,this.meta=r}return e})(),Gc=(function(){function e(t,r){this.payload=t,this.meta=r}return e})(),Tp=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=kp;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},pE=(function(){function e(t,r,n){var a=it(t+"/fulfilled",function(p,h,m,g){return{payload:p,meta:Ra(at({},g||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),i=it(t+"/pending",function(p,h,m){return{payload:void 0,meta:Ra(at({},m||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=it(t+"/rejected",function(p,h,m,g,y){return{payload:g,error:(n&&n.serializeError||Tp)(p||"Rejected"),meta:Ra(at({},y||{}),{arg:m,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:(function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p})();function f(p){return function(h,m,g){var y=n?.idGenerator?n.idGenerator(p):Rp(),v=new d,E,w=!1;function _(b){E=b,v.abort()}var x=(function(){return yp(this,null,function(){var b,S,R,N,q,W,T;return dp(this,function(P){switch(P.label){case 0:return P.trys.push([0,4,,5]),N=(b=n?.condition)==null?void 0:b.call(n,p,{getState:m,extra:g}),Ip(N)?[4,N]:[3,2];case 1:N=P.sent(),P.label=2;case 2:if(N===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,q=new Promise(function(U,X){return v.signal.addEventListener("abort",function(){return X({name:"AbortError",message:E||"Aborted"})})}),h(i(y,p,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:p},{getState:m,extra:g}))),[4,Promise.race([q,Promise.resolve(r(p,{dispatch:h,getState:m,extra:g,requestId:y,signal:v.signal,abort:_,rejectWithValue:function(U,X){return new Ta(U,X)},fulfillWithValue:function(U,X){return new Gc(U,X)}})).then(function(U){if(U instanceof Ta)throw U;return U instanceof Gc?a(U.payload,y,p,U.meta):a(U,y,p)})])];case 3:return R=P.sent(),[3,5];case 4:return W=P.sent(),R=W instanceof Ta?s(null,y,p,W.payload,W.meta):s(W,y,p),[3,5];case 5:return T=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,T||h(R),[2,R]}})})})();return Object.assign(x,{abort:_,requestId:y,arg:p,unwrap:function(){return x.then(Pp)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function Pp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ip(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Zc="listener",qc="completed",Jc="cancelled",hE="task-"+Jc,mE="task-"+qc,yE=Zc+"-"+Jc,gE=Zc+"-"+qc;var Ia="listenerMiddleware";var bE=it(Ia+"/add"),xE=it(Ia+"/removeAll"),vE=it(Ia+"/remove");var zc,SE=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(zc||(zc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Np=function(e){return function(t){setTimeout(t,e)}},OE=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Np(10);kc();window.ftReduxStores||(window.ftReduxStores={});var Na=class e extends gt{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Zt(i))return i;if(a==null)return;let s=Kc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=jc({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let p=Wt(s.getInitialState());for(let h of f.keeping)p[h]=(d??p)[h];return p}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Br;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?(...p)=>{let h=f(...p.map(a));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[d]:a(p)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Lp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Zt(t)&&t.clear()}var An=class{constructor(t,r,n){this.store=t,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);mt(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 Dp(e,t,r){return new An(e,t,r).watch()}var La=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Ua={};F(Ua,{scrollHelper:()=>Mp});var Ma,_n=new Map,Fa=class{lock(t,r){if(r){let n=_n.get(r);if(n==null||n===t)return _n.set(r,t),r}}release(t,r){r&&_n.get(r)===t&&_n.delete(r)}findFirstScrollableParent(t){var r;let n,a;for(let i of xo(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var n,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=yt(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Ma=window.FluidTopicsScrollHelper)!==null&&Ma!==void 0?Ma:new Fa;var Mp=window.FluidTopicsScrollHelper;var Wa={};F(Wa,{SearchPlaceConverter:()=>Rn,SearchPlaceQueryParams:()=>L,isSearchPlaceQueryParams:()=>Ul,serializeRequest:()=>Up});var Xc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Xc||(Xc={}));var Qc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Qc||(Qc={}));var el;(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"})(el||(el={}));var tl;(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"})(tl||(tl={}));var rl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(rl||(rl={}));var nl;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(nl||(nl={}));var ol;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(ol||(ol={}));var al;(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"})(al||(al={}));var il;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(il||(il={}));var sl;(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"})(sl||(sl={}));var cl;(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"})(cl||(cl={}));var ll;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ll||(ll={}));var dl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(dl||(dl={}));var ul;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ul||(ul={}));var fl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(fl||(fl={}));var pl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(pl||(pl={}));var tr;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(tr||(tr={}));var hl;(function(e){e.ASC="ASC",e.DESC="DESC"})(hl||(hl={}));var ml;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ml||(ml={}));var Ba;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ba||(Ba={}));var wl=e=>Object.keys(Ba).includes(e);var yl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(yl||(yl={}));var gl;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(gl||(gl={}));var bl;(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"})(bl||(bl={}));var rr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(rr||(rr={}));var Cl=e=>Object.keys(rr).includes(e);var xl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(xl||(xl={}));var vl;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(vl||(vl={}));var Sl;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Sl||(Sl={}));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 Ol;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ol||(Ol={}));var El;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(El||(El={}));var Al;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Al||(Al={}));var _l;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(_l||(_l={}));var Rl;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(Rl||(Rl={}));var kl;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(kl||(kl={}));var Tl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Tl||(Tl={}));var Pl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Pl||(Pl={}));var Il;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Il||(Il={}));var Nl;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(Nl||(Nl={}));var Ll;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Ll||(Ll={}));var Dl;(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"})(Dl||(Dl={}));var Ml;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Ml||(Ml={}));var ZE={[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 Fp(e){return`"${e}"`}function Fl(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Up(e,t){return new Rn(e).serialize(t)}var L;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(L||(L={}));var Bp=new Set(Object.values(L));function Ul(e){return Bp.has(e)}var Rn=class{constructor(t,r=20,n=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var n,a,i,s,l,d,f,p,h,m,g;let y=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&y.append(L.LOCALE,t.contentLocale):y.append(L.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&y.append(L.QUERY,t.query);let v=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(b=>b.valueFilter&&!b.valueFilter.negative))!==null&&i!==void 0?i:[];if(v.length>0){let b=v.map(S=>{var R,N;let q=((N=(R=S.valueFilter)===null||R===void 0?void 0:R.values)!==null&&N!==void 0?N:[]).map(W=>this.escapeFilters(W)).map(W=>Fp(Fl(W))).join("_");return`${S.key}~${q}`}).join("*");y.append(L.VALUE_FILTERS,b)}let E=(l=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(b=>b.dateFilter))!==null&&l!==void 0?l:[];if(E.length>0){let b=E.map(S=>{var R;return`${S.key}~${(R=S.dateFilter)===null||R===void 0?void 0:R.type.toLowerCase()}`}).join("*");y.append(L.DATE_FILTERS,b)}let w=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(b=>b.rangeFilter))!==null&&f!==void 0?f:[];if(w.length>0){let b=w.map(S=>{var R,N;return`${S.key}~${(R=S.rangeFilter)===null||R===void 0?void 0:R.from}_${(N=S.rangeFilter)===null||N===void 0?void 0:N.to}`}).join("*");y.append(L.RANGE_FILTERS,b)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&y.append(L.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&y.append(L.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&y.append(L.SORT,t.sortId),!((p=t.paging)===null||p===void 0)&&p.perPage&&((m=(h=t.paging)===null||h===void 0?void 0:h.perPage)!==null&&m!==void 0?m:this.defaultPerPage)!=this.defaultPerPage&&y.append(L.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&y.append(L.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let _=(g=t.otherQueryParams)!==null&&g!==void 0?g:{};for(let b in _)y.append(b,_[b]);let x=new Array;return y.forEach((b,S)=>{x.push(this.encodeQueryString(S)+"="+this.encodeQueryString(b))}),encodeURI(x.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let n=t.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(t){var r,n,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let d=new URLSearchParams(t),f=d.get(L.LOCALE)==="all"?void 0:d.get(L.LOCALE),p=((r=d.get(L.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(n=d.get(L.SORT))===null||n===void 0?void 0:n.toLowerCase(),m=(a=d.get(L.SCOPE))!==null&&a!==void 0?a:"default",g=+((i=d.get(L.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),y=d.get(L.KEYWORD_MATCH),v=y?y.toUpperCase()===tr.MANDATORY?tr.MANDATORY:tr.OPTIONAL:void 0,E={};for(let w of d.keys())Ul(w)||(E[w]=d.get(w));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(L.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:wl(p)?p:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:yt(1,isNaN(g)?this.defaultPerPage:g,1e3)},keywordMatch:v,otherQueryParams:E}}parseCompatFilters(t){var r,n,a,i,s,l;let d=[];return t.has(L.FILTERS)&&(d=this.parseValueFilters((r=t.get(L.FILTERS))!==null&&r!==void 0?r:"")),(n=t.has(L.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(L.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(L.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(L.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(L.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Fl).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:rr[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(r,n);return t}superEscapeFilters(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(a,r);return t}parseLegacyPeriodFilter(t){if(Cl(t))return[{key:"ft:lastEdition",dateFilter:{type:rr[t]}}];if(t.startsWith("CUSTOM_")){let[r,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}static clearSearchParamsInUrl(t){let r=new URL(t);return[L.LOCALE,L.FILTERS,L.VALUE_FILTERS,L.DATE_FILTERS,L.RANGE_FILTERS].forEach(a=>{r.searchParams.delete(a)}),r.toString()}static updateLocaleParamInUrl(t,r){let n=new URL(t);return n.searchParams.delete(L.LOCALE),r!==void 0&&n.searchParams.append(L.LOCALE,r),n.toString()}};var $a={};F($a,{toFtFormComponent:()=>Wp});var Ha=Symbol("elementInternals"),Wp=fe(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Ha].form}constructor(...n){super(n),this[Ha]=this.attachInternals()}setFormValue(n){this[Ha].setFormValue(n)}}return t});var za={};F(za,{DateFormatter:()=>Ga});var Ga=class{static format(t,r,n,a,i){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,a,!!i)):this.getIntlDateTime(t,r,n,a,!!i)}static getMomentDateFormat(t,r,n){return n?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${l} ${d}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ja={};F(ja,{ALL_KEYS_VALUE:()=>Va,SameWindowStorageEvent:()=>nr});var Va="__all__",nr=class extends CustomEvent{constructor(t,r,n){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==Va}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new nr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new nr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new nr(Va))}});var Ka={};F(Ka,{FocusMainContentEvent:()=>Ya});var Ya=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Bl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Hp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function $p(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Hp);document.addEventListener("click",$p);var Wl=J`
47
+ `;var vc={};var sa={};B(sa,{ParametrizedLabelResolver:()=>ia});var ia=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,a;t=this.resolvePluralKey(t,r);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let n=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var La={};B(La,{FtCommandQueue:()=>Br,FtLitElementRedux:()=>ca,FtReduxStore:()=>Pa,FtStateManager:()=>Na,ReduxWatcher:()=>An,clearAllStores:()=>Mp,isFtReduxStore:()=>Zt,redux:()=>Xf,reduxEventListener:()=>Qf,reduxReactive:()=>Jf,watch:()=>Fp,withRedux:()=>Sc});var Jf=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},Xf=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:ht,attribute:!1,...t};M(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:(l=>l[n]),store:t.store})}},Qf=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var Br=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Zt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Wr=Symbol("internalReduxEventsUnsubscribers"),tt=Symbol("internalStoresUnsubscribers"),Ct=Symbol("internalStores"),Sc=ue(Symbol("withRedux"),function(e){var t,r,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Ct].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ct].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Ct].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Ct].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Ct].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Ct].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[tt].has(s.store):this[tt].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[tt].set(s,l.subscribe(()=>this.updateFromStores())),this[Wr].set(s,[]),Zt(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[Wr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[tt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[tt].has(s)&&this[tt].get(s)(),this[tt].delete(s),(l=this[Wr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Wr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=tt,r=Ct,n=Wr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),ca=class extends Sc(se){};function be(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ge(e){return!!e&&!!e[K]}function we(e){var t;return!!e&&((function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===sp})(e)||Array.isArray(e)||!!e[Rc]||!!(!((t=e.constructor)===null||t===void 0)&&t[Rc])||ga(e)||ba(e))}function At(e,t,r){r===void 0&&(r=!1),Xt(e)===0?(r?Object.keys:Jt)(e).forEach((function(n){r&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,a){return t(a,n,e)}))}function Xt(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ga(e)?2:ba(e)?3:0}function qt(e,t){return Xt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ep(e,t){return Xt(e)===2?e.get(t):e[t]}function kc(e,t,r){var n=Xt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Tc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ga(e){return ap&&e instanceof Map}function ba(e){return ip&&e instanceof Set}function rt(e){return e.o||e.t}function xa(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Nc(e);delete t[K];for(var r=Jt(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function va(e,t){return t===void 0&&(t=!1),Sa(e)||Ge(e)||!we(e)||(Xt(e)>1&&(e.set=e.add=e.clear=e.delete=tp),Object.freeze(e),t&&At(e,(function(r,n){return va(n,!0)}),!0)),e}function tp(){be(2)}function Sa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Me(e){var t=ya[e];return t||be(18,e),t}function rp(e,t){ya[e]||(ya[e]=t)}function pa(){return $r}function la(e,t){t&&(Me("Patches"),e.u=[],e.s=[],e.v=t)}function Sn(e){ha(e),e.p.forEach(np),e.p=null}function ha(e){e===$r&&($r=e.l)}function Oc(e){return $r={p:[],l:$r,h:e,m:!0,_:0}}function np(e){var t=e[K];t.i===0||t.i===1?t.j():t.g=!0}function da(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Me("ES5").S(t,e,n),n?(r[K].P&&(Sn(t),be(4)),we(e)&&(e=On(t,e),t.l||En(t,e)),t.u&&Me("Patches").M(r[K].t,e,t.u,t.s)):e=On(t,r,[]),Sn(t),t.u&&t.v(t.u,t.s),e!==Pc?e:void 0}function On(e,t,r){if(Sa(t))return t;var n=t[K];if(!n)return At(t,(function(l,d){return Ec(e,n,t,l,d,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return En(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=xa(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),At(i,(function(l,d){return Ec(e,n,a,l,d,r,s)})),En(e,a,!1),r&&e.u&&Me("Patches").N(n,r,e.u,e.s)}return n.o}function Ec(e,t,r,n,a,i,s){if(Ge(a)){var l=On(e,a,i&&t&&t.i!==3&&!qt(t.R,n)?i.concat(n):void 0);if(kc(r,n,l),!Ge(l))return;e.m=!1}else s&&r.add(a);if(we(a)&&!Sa(a)){if(!e.h.D&&e._<1)return;On(e,a),t&&t.A.l||En(e,a)}}function En(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&va(t,r)}function ua(e,t){var r=e[K];return(r?rt(r):e)[t]}function wc(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function nt(e){e.P||(e.P=!0,e.l&&nt(e.l))}function fa(e){e.o||(e.o=xa(e.t))}function ma(e,t,r){var n=ga(t)?Me("MapSet").F(t,r):ba(t)?Me("MapSet").T(t,r):e.O?(function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:pa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,f=Gr;s&&(d=[l],f=Hr);var h=Proxy.revocable(d,f),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m})(t,r):Me("ES5").J(t,r);return(r?r.A:pa()).p.push(n),n}function op(e){return Ge(e)||be(22,e),(function t(r){if(!we(r))return r;var n,a=r[K],i=Xt(r);if(a){if(!a.P&&(a.i<4||!Me("ES5").K(a)))return a.t;a.I=!0,n=Cc(r,i),a.I=!1}else n=Cc(r,i);return At(n,(function(s,l){a&&ep(a.t,s)===l||kc(n,s,t(l))})),i===3?new Set(n):n})(e)}function Cc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return xa(e)}function Ic(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[K];return Gr.get(f,s)},set:function(f){var h=this[K];Gr.set(h,s,f)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][K];if(!d.P)switch(d.i){case 5:n(d)&&nt(d);break;case 4:r(d)&&nt(d)}}}function r(s){for(var l=s.t,d=s.k,f=Jt(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==K){var m=l[p];if(m===void 0&&!qt(l,p))return!0;var y=d[p],g=y&&y[K];if(g?g.t!==m:!Tc(y,m))return!0}}var v=!!l[K];return f.length!==Jt(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&be(3,JSON.stringify(rt(s)))}var i={};rp("ES5",{J:function(s,l){var d=Array.isArray(s),f=(function(p,m){if(p){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var v=Nc(m);delete v[K];for(var O=Jt(v),w=0;w<O.length;w++){var R=O[w];v[R]=e(R,p||!!v[R].enumerable)}return Object.create(Object.getPrototypeOf(m),v)})(d,s),h={i:d?5:4,A:l?l.A:pa(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,K,{value:h,writable:!0}),f},S:function(s,l,d){d?Ge(l)&&l[K].A===s&&t(s.p):(s.u&&(function f(h){if(h&&typeof h=="object"){var p=h[K];if(p){var m=p.t,y=p.k,g=p.R,v=p.i;if(v===4)At(y,(function(b){b!==K&&(m[b]!==void 0||qt(m,b)?g[b]||f(y[b]):(g[b]=!0,nt(p)))})),At(m,(function(b){y[b]!==void 0||qt(y,b)||(g[b]=!1,nt(p))}));else if(v===5){if(n(p)&&(nt(p),g.length=!0),y.length<m.length)for(var O=y.length;O<m.length;O++)g[O]=!1;else for(var w=m.length;w<y.length;w++)g[w]=!0;for(var R=Math.min(y.length,m.length),x=0;x<R;x++)y.hasOwnProperty(x)||(g[x]=!0),g[x]===void 0&&f(y[x])}}}})(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Ac,$r,Oa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ap=typeof Map<"u",ip=typeof Set<"u",_c=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Pc=Oa?Symbol.for("immer-nothing"):((Ac={})["immer-nothing"]=!0,Ac),Rc=Oa?Symbol.for("immer-draftable"):"__$immer_draftable",K=Oa?Symbol.for("immer-state"):"__$immer_state";var sp=""+Object.prototype.constructor,Jt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Nc=Object.getOwnPropertyDescriptors||function(e){var t={};return Jt(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},ya={},Gr={get:function(e,t){if(t===K)return e;var r=rt(e);if(!qt(r,t))return(function(a,i,s){var l,d=wc(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0})(e,r,t);var n=r[t];return e.I||!we(n)?n:n===ua(e.t,t)?(fa(e),e.o[t]=ma(e.A.h,n,e)):n},has:function(e,t){return t in rt(e)},ownKeys:function(e){return Reflect.ownKeys(rt(e))},set:function(e,t,r){var n=wc(rt(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=ua(rt(e),t),i=a?.[K];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Tc(r,a)&&(r!==void 0||qt(e.t,t)))return!0;fa(e),nt(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return ua(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,fa(e),nt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=rt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){be(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){be(12)}},Hr={};At(Gr,(function(e,t){Hr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Hr.deleteProperty=function(e,t){return Hr.set.call(this,e,t,void 0)},Hr.set=function(e,t,r){return Gr.set.call(this,e[0],t,r,e[0])};var cp=(function(){function e(r){var n=this;this.O=_c,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(v){var O=this;v===void 0&&(v=l);for(var w=arguments.length,R=Array(w>1?w-1:0),x=1;x<w;x++)R[x-1]=arguments[x];return d.produce(v,(function(b){var E;return(E=i).call.apply(E,[O,b].concat(R))}))}}var f;if(typeof i!="function"&&be(6),s!==void 0&&typeof s!="function"&&be(7),we(a)){var h=Oc(n),p=ma(n,a,void 0),m=!0;try{f=i(p),m=!1}finally{m?Sn(h):ha(h)}return typeof Promise<"u"&&f instanceof Promise?f.then((function(v){return la(h,s),da(v,h)}),(function(v){throw Sn(h),v})):(la(h,s),da(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Pc&&(f=void 0),n.D&&va(f,!0),s){var y=[],g=[];Me("Patches").M(a,f,y,g),s(y,g)}return f}be(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,(function(y){return a.apply(void 0,[y].concat(p))}))};var s,l,d=n.produce(a,i,(function(f,h){s=f,l=h}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(f){return[f,s,l]})):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){we(r)||be(8),Ge(r)&&(r=op(r));var n=Oc(this),a=ma(this,r,void 0);return a[K].C=!0,ha(n),a},t.finishDraft=function(r,n){var a=r&&r[K],i=a.A;return la(i,n),da(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!_c&&be(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Me("Patches").$;return Ge(r)?s(r,n):this.produce(r,(function(l){return s(l,n)}))},e})(),fe=new cp,lp=fe.produce,$O=fe.produceWithPatches.bind(fe),GO=fe.setAutoFreeze.bind(fe),zO=fe.setUseProxies.bind(fe),VO=fe.applyPatches.bind(fe),jO=fe.createDraft.bind(fe),YO=fe.finishDraft.bind(fe),wn=lp;function _t(e){"@babel/helpers - typeof";return _t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_t(e)}function Lc(e,t){if(_t(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(_t(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dc(e){var t=Lc(e,"string");return _t(t)=="symbol"?t:t+""}function Mc(e,t,r){return(t=Dc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ea(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Fc(Object(r),!0).forEach(function(n){Mc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}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 Uc=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),wa=function(){return Math.random().toString(36).substring(7).split("").join(".")},Cn={INIT:"@@redux/INIT"+wa(),REPLACE:"@@redux/REPLACE"+wa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+wa()}};function dp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ca(e,t,r){var n;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(Ca)(e,t)}if(typeof e!="function")throw new Error(oe(2));var a=e,i=t,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(oe(3));return i}function p(v){if(typeof v!="function")throw new Error(oe(4));if(d)throw new Error(oe(5));var O=!0;return f(),l.push(v),function(){if(O){if(d)throw new Error(oe(6));O=!1,f();var R=l.indexOf(v);l.splice(R,1),s=null}}}function m(v){if(!dp(v))throw new Error(oe(7));if(typeof v.type>"u")throw new Error(oe(8));if(d)throw new Error(oe(9));try{d=!0,i=a(i,v)}finally{d=!1}for(var O=s=l,w=0;w<O.length;w++){var R=O[w];R()}return v}function y(v){if(typeof v!="function")throw new Error(oe(10));a=v,m({type:Cn.REPLACE})}function g(){var v,O=p;return v={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(oe(11));function x(){R.next&&R.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[Uc]=function(){return this},v}return m({type:Cn.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:y},n[Uc]=g,n}function up(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Cn.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Cn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Bc(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{up(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var m=!1,y={},g=0;g<i.length;g++){var v=i[g],O=r[v],w=f[v],R=O(w,h);if(typeof R>"u"){var x=h&&h.type;throw new Error(oe(14))}y[v]=R,m=m||R!==w}return m=m||i.length!==Object.keys(f).length,m?y:f}}function Qt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Wc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(oe(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=Qt.apply(void 0,l)(a.dispatch),Ea(Ea({},a),{},{dispatch:i})}}}function Hc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var $c=Hc();$c.withExtraArgument=Hc;var Aa=$c;var Yc=(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),fp=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},er=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},pp=Object.defineProperty,hp=Object.defineProperties,mp=Object.getOwnPropertyDescriptors,Gc=Object.getOwnPropertySymbols,yp=Object.prototype.hasOwnProperty,gp=Object.prototype.propertyIsEnumerable,zc=function(e,t,r){return t in e?pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},ot=function(e,t){for(var r in t||(t={}))yp.call(t,r)&&zc(e,r,t[r]);if(Gc)for(var n=0,a=Gc(t);n<a.length;n++){var r=a[n];gp.call(t,r)&&zc(e,r,t[r])}return e},_a=function(e,t){return hp(e,mp(t))},bp=function(e,t,r){return new Promise(function(n,a){var i=function(d){try{l(r.next(d))}catch(f){a(f)}},s=function(d){try{l(r.throw(d))}catch(f){a(f)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(e,t)).next())})};var xp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qt:Qt.apply(null,arguments)},uE=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function vp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}function at(e,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ot(ot({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}var Sp=(function(e){Yc(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,er([void 0],r[0].concat(this)))):new(t.bind.apply(t,er([void 0],r.concat(this))))},t})(Array),Op=(function(e){Yc(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,er([void 0],r[0].concat(this)))):new(t.bind.apply(t,er([void 0],r.concat(this))))},t})(Array);function Ta(e){return we(e)?wn(e,function(){}):e}function Ep(e){return typeof e=="boolean"}function wp(){return function(t){return Cp(t)}}function Cp(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=e.actionCreatorCheck,d=l===void 0?!0:l,f=new Sp;if(r&&(Ep(r)?f.push(Aa):f.push(Aa.withExtraArgument(r.extraArgument))),0){if(a)var h;if(s)var p;if(d)var m}return f}var Ra=!0;function Kc(e){var t=wp(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,m=p===void 0?void 0:p,y;if(typeof a=="function")y=a;else if(vp(a))y=Bc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(t),!Ra&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ra&&g.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Wc.apply(void 0,g),O=Qt;d&&(O=xp(ot({trace:!Ra},typeof d=="object"&&d)));var w=new Op(v),R=w;Array.isArray(m)?R=er([v],m):typeof m=="function"&&(R=m(w));var x=O.apply(void 0,R);return Ca(y,h,x)}function Zc(e){var t={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(!l)throw new Error("`builder.addCase` cannot be called with an empty action type");if(l in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,r,n]}function Ap(e){return typeof e=="function"}function _p(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?Zc(t):[t,r,n],i=a[0],s=a[1],l=a[2],d;if(Ap(e))d=function(){return Ta(e())};else{var f=Ta(e);d=function(){return f}}function h(p,m){p===void 0&&(p=d());var y=er([i[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return y.filter(function(g){return!!g}).length===0&&(y=[l]),y.reduce(function(g,v){if(v)if(Ge(g)){var O=g,w=v(O,m);return w===void 0?g:w}else{if(we(g))return wn(g,function(R){return v(R,m)});var w=v(g,m);if(w===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return g},p)}return h.getInitialState=d,h}function Rp(e,t){return e+"/"+t}function qc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:Ta(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var p=n[h],m=Rp(t,h),y,g;"reducer"in p?(y=p.reducer,g=p.prepare):y=p,i[h]=y,s[m]=y,l[h]=g?at(m,g):at(m)});function d(){var h=typeof e.extraReducers=="function"?Zc(e.extraReducers):[e.extraReducers],p=h[0],m=p===void 0?{}:p,y=h[1],g=y===void 0?[]:y,v=h[2],O=v===void 0?void 0:v,w=ot(ot({},m),s);return _p(r,function(R){for(var x in w)R.addCase(x,w[x]);for(var b=0,E=g;b<E.length;b++){var k=E[b];R.addMatcher(k.matcher,k.reducer)}O&&R.addDefaultCase(O)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:l,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var kp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=kp[Math.random()*64|0];return t},Ip=["name","message","stack","code"],ka=(function(){function e(t,r){this.payload=t,this.meta=r}return e})(),Vc=(function(){function e(t,r){this.payload=t,this.meta=r}return e})(),Pp=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=Ip;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},mE=(function(){function e(t,r,n){var a=at(t+"/fulfilled",function(h,p,m,y){return{payload:h,meta:_a(ot({},y||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=at(t+"/pending",function(h,p,m){return{payload:void 0,meta:_a(ot({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=at(t+"/rejected",function(h,p,m,y,g){return{payload:y,error:(n&&n.serializeError||Pp)(h||"Rejected"),meta:_a(ot({},g||{}),{arg:m,requestId:p,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:(function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h})();function f(h){return function(p,m,y){var g=n?.idGenerator?n.idGenerator(h):Tp(),v=new d,O,w=!1;function R(b){O=b,v.abort()}var x=(function(){return bp(this,null,function(){var b,E,k,W,L,D,_;return fp(this,function(I){switch(I.label){case 0:return I.trys.push([0,4,,5]),W=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:y}),Lp(W)?[4,W]:[3,2];case 1:W=I.sent(),I.label=2;case 2:if(W===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,L=new Promise(function(U,ne){return v.signal.addEventListener("abort",function(){return ne({name:"AbortError",message:O||"Aborted"})})}),p(i(g,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:g,arg:h},{getState:m,extra:y}))),[4,Promise.race([L,Promise.resolve(r(h,{dispatch:p,getState:m,extra:y,requestId:g,signal:v.signal,abort:R,rejectWithValue:function(U,ne){return new ka(U,ne)},fulfillWithValue:function(U,ne){return new Vc(U,ne)}})).then(function(U){if(U instanceof ka)throw U;return U instanceof Vc?a(U.payload,g,h,U.meta):a(U,g,h)})])];case 3:return k=I.sent(),[3,5];case 4:return D=I.sent(),k=D instanceof ka?s(null,g,h,D.payload,D.meta):s(D,g,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match(k)&&k.meta.condition,_||p(k),[2,k]}})})})();return Object.assign(x,{abort:R,requestId:g,arg:h,unwrap:function(){return x.then(Np)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function Np(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Lp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Jc="listener",Xc="completed",Qc="cancelled",yE="task-"+Qc,gE="task-"+Xc,bE=Jc+"-"+Qc,xE=Jc+"-"+Xc;var Ia="listenerMiddleware";var vE=at(Ia+"/add"),SE=at(Ia+"/removeAll"),OE=at(Ia+"/remove");var jc,EE=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(jc||(jc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Dp=function(e){return function(t){setTimeout(t,e)}},wE=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Dp(10);Ic();window.ftReduxStores||(window.ftReduxStores={});var Pa=class e extends yt{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Zt(i))return i;if(a==null)return;let s=qc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Kc({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Wt(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Br;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Mp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Zt(t)&&t.clear()}var An=class{constructor(t,r,n){this.store=t,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);ht(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 Fp(e,t,r){return new An(e,t,r).watch()}var Na=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Fa={};B(Fa,{scrollHelper:()=>Up});var Da,_n=new Map,Ma=class{lock(t,r){if(r){let n=_n.get(r);if(n==null||n===t)return _n.set(r,t),r}}release(t,r){r&&_n.get(r)===t&&_n.delete(r)}findFirstScrollableParent(t){var r;let n,a;for(let i of xo(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var n,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=mt(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Da=window.FluidTopicsScrollHelper)!==null&&Da!==void 0?Da:new Ma;var Up=window.FluidTopicsScrollHelper;var Ba={};B(Ba,{SearchPlaceConverter:()=>Rn,SearchPlaceQueryParams:()=>N,isSearchPlaceQueryParams:()=>Wl,serializeRequest:()=>Wp});var el;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(el||(el={}));var tl;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(tl||(tl={}));var rl;(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"})(rl||(rl={}));var nl;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(nl||(nl={}));var ol;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ol||(ol={}));var al;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(al||(al={}));var il;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(il||(il={}));var sl;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.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"})(sl||(sl={}));var cl;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(cl||(cl={}));var ll;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(ll||(ll={}));var dl;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(dl||(dl={}));var ul;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ul||(ul={}));var fl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(fl||(fl={}));var pl;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(pl||(pl={}));var hl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(hl||(hl={}));var ml;(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"})(ml||(ml={}));var tr;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(tr||(tr={}));var yl;(function(e){e.ASC="ASC",e.DESC="DESC"})(yl||(yl={}));var gl;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(gl||(gl={}));var Ua;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ua||(Ua={}));var Al=e=>Object.keys(Ua).includes(e);var bl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(bl||(bl={}));var xl;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(xl||(xl={}));var vl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(vl||(vl={}));var rr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(rr||(rr={}));var _l=e=>Object.keys(rr).includes(e);var Sl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Sl||(Sl={}));var Ol;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ol||(Ol={}));var El;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(El||(El={}));var ee;(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"})(ee||(ee={}));var wl;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(wl||(wl={}));var Cl;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Cl||(Cl={}));var Rl;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Rl||(Rl={}));var kl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(kl||(kl={}));var Tl;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(Tl||(Tl={}));var Il;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Il||(Il={}));var Pl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Pl||(Pl={}));var Nl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Nl||(Nl={}));var Ll;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Ll||(Ll={}));var Dl;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(Dl||(Dl={}));var Ml;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Ml||(Ml={}));var Fl;(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"})(Fl||(Fl={}));var Ul;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Ul||(Ul={}));var JE={[ee.PERSONAL_BOOK_SHARE_USER]:[ee.PERSONAL_BOOK_USER],[ee.HTML_EXPORT_USER]:[ee.PERSONAL_BOOK_USER],[ee.PDF_EXPORT_USER]:[ee.PERSONAL_BOOK_USER],[ee.KHUB_ADMIN]:[ee.CONTENT_PUBLISHER],[ee.ADMIN]:[ee.KHUB_ADMIN,ee.USERS_ADMIN,ee.PORTAL_ADMIN,ee.BEHAVIOR_DATA_USER],[ee.GENERATIVE_AI_EXPORT_USER]:[ee.GENERATIVE_AI_USER]};function Bp(e){return`"${e}"`}function Bl(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Wp(e,t){return new Rn(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 Hp=new Set(Object.values(N));function Wl(e){return Hp.has(e)}var Rn=class{constructor(t,r=20,n=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var n,a,i,s,l,d,f,h,p,m,y,g,v;let O=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&O.append(N.LOCALE,t.contentLocale):O.append(N.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&O.append(N.QUERY,t.query);let w=L=>{var D,_;let I=((_=(D=L.valueFilter)===null||D===void 0?void 0:D.values)!==null&&_!==void 0?_:[]).map(U=>this.escapeFilters(U)).map(U=>Bp(Bl(U))).join("_");return`${L.key}~${I}`},R=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(L=>L.valueFilter&&!L.valueFilter.negative))!==null&&i!==void 0?i:[];R.length>0&&O.append(N.VALUE_FILTERS,R.map(w).join("*"));let x=(l=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(L=>L.valueFilter&&L.valueFilter.negative))!==null&&l!==void 0?l:[];x.length>0&&O.append(N.NEGATIVE_VALUE_FILTERS,x.map(w).join("*"));let b=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(L=>L.dateFilter))!==null&&f!==void 0?f:[];if(b.length>0){let L=b.map(D=>{var _;return`${D.key}~${(_=D.dateFilter)===null||_===void 0?void 0:_.type.toLowerCase()}`}).join("*");O.append(N.DATE_FILTERS,L)}let E=(p=(h=t.metadataFilters)===null||h===void 0?void 0:h.filter(L=>L.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let L=E.map(D=>{var _,I;return`${D.key}~${(_=D.rangeFilter)===null||_===void 0?void 0:_.from}_${(I=D.rangeFilter)===null||I===void 0?void 0:I.to}`}).join("*");O.append(N.RANGE_FILTERS,L)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&O.append(N.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&O.append(N.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&O.append(N.SORT,t.sortId),!((m=t.paging)===null||m===void 0)&&m.perPage&&((g=(y=t.paging)===null||y===void 0?void 0:y.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&O.append(N.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&O.append(N.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let k=(v=t.otherQueryParams)!==null&&v!==void 0?v:{};for(let L in k)O.append(L,k[L]);let W=new Array;return O.forEach((L,D)=>{W.push(this.encodeQueryString(D)+"="+this.encodeQueryString(L))}),encodeURI(W.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let n=t.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(t){var r,n,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let d=new URLSearchParams(t),f=d.get(N.LOCALE)==="all"?void 0:d.get(N.LOCALE),h=((r=d.get(N.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(n=d.get(N.SORT))===null||n===void 0?void 0:n.toLowerCase(),m=(a=d.get(N.SCOPE))!==null&&a!==void 0?a:"default",y=+((i=d.get(N.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),g=d.get(N.KEYWORD_MATCH),v=g?g.toUpperCase()===tr.MANDATORY?tr.MANDATORY:tr.OPTIONAL:void 0,O={};for(let w of d.keys())Wl(w)||(O[w]=d.get(w));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:Al(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:mt(1,isNaN(y)?this.defaultPerPage:y,1e3)},keywordMatch:v,otherQueryParams:O}}parseCompatFilters(t){var r,n,a,i,s,l,d;let f=[];return t.has(N.FILTERS)&&(f=this.parseValueFilters((r=t.get(N.FILTERS))!==null&&r!==void 0?r:"")),(n=t.has(N.PERIOD))!==null&&n!==void 0&&n&&(f=[...f,...this.parseLegacyPeriodFilter(((a=t.get(N.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...f,...this.parseValueFilters((i=t.get(N.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.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:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t,r=!1){return t.length===0?[]:this.splitUnknownFilter(t).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Bl).map(a=>this.unescapeFilterValue(a)),negative:r}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:rr[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(r,n);return t}superEscapeFilters(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(a,r);return t}parseLegacyPeriodFilter(t){if(_l(t))return[{key:"ft:lastEdition",dateFilter:{type:rr[t]}}];if(t.startsWith("CUSTOM_")){let[r,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}static clearSearchParamsInUrl(t){let r=new URL(t);return[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 n=new URL(t);return n.searchParams.delete(N.LOCALE),r!==void 0&&n.searchParams.append(N.LOCALE,r),n.toString()}};var Ha={};B(Ha,{toFtFormComponent:()=>$p});var Wa=Symbol("elementInternals"),$p=ue(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Wa].form}constructor(...n){super(n),this[Wa]=this.attachInternals()}setFormValue(n){this[Wa].setFormValue(n)}}return t});var Ga={};B(Ga,{DateFormatter:()=>$a});var $a=class{static format(t,r,n,a,i){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,a,!!i)):this.getIntlDateTime(t,r,n,a,!!i)}static getMomentDateFormat(t,r,n){return n?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${l} ${d}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var Va={};B(Va,{ALL_KEYS_VALUE:()=>za,SameWindowStorageEvent:()=>nr});var za="__all__",nr=class extends CustomEvent{constructor(t,r,n){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==za}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new nr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new nr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new nr(za))}});var Ya={};B(Ya,{FocusMainContentEvent:()=>ja});var ja=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Hl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Gp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function zp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Gp);document.addEventListener("click",zp);var $l=J`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,23 +68,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var Za={};F(Za,{withAriaNotification:()=>zp});var Gp={checkVisibility:!0},zp=fe(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,a){let{checkVisibility:i}={...Gp,...a};setTimeout(()=>{(!i||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new _r({type:"aria",message:n})))},20)}}return t});var qa={};F(qa,{withConditionalVisibility:()=>Vp});var Hl=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};function Vp(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,a){if(n){let i=document.createElement("style");i.classList.add("conditional-visibility-style"),i.innerHTML=a,this.shadowRoot.append(i)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(a=>a.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Hl([D({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),Hl([ie()],t.prototype,"isVisible",void 0),t}function Ja(e,t){return t.map(r=>r(e)).filter(r=>r!==!0).map(r=>r)}function $l(e,t,r){return e?t(e):r?.(e)}var ne=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Rt;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(Rt||(Rt={}));var kt;(function(e){e.default="default",e.warning="warning",e.error="error"})(kt||(kt={}));var Xa=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}},Ew=fe(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Rt.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=kt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Rt.blur||this.validateOn===Rt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==kt.default&&this.validateOn===Rt.blurWithStatusResolutionOnInput||this.validateOn===Rt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=Ja(this.value,[...this.errorRules,...this.additionalErrorRules]),this.warningMessages=Ja(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Xa(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return re`
71
+ `;var Ka={};B(Ka,{withAriaNotification:()=>jp});var Vp={checkVisibility:!0},jp=ue(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,a){let{checkVisibility:i}={...Vp,...a};setTimeout(()=>{(!i||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new _r({type:"aria",message:n})))},20)}}return t});var Za={};B(Za,{withConditionalVisibility:()=>Yp});var Gl=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};function Yp(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,a){if(n){let i=document.createElement("style");i.classList.add("conditional-visibility-style"),i.innerHTML=a,this.shadowRoot.append(i)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(a=>a.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Gl([M({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),Gl([ie()],t.prototype,"isVisible",void 0),t}function qa(e,t){return t.map(r=>r(e)).filter(r=>r!==!0).map(r=>r)}function zl(e,t,r){return e?t(e):r?.(e)}var re=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Rt;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(Rt||(Rt={}));var kt;(function(e){e.default="default",e.warning="warning",e.error="error"})(kt||(kt={}));var Ja=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}},Cw=ue(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Rt.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=kt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Rt.blur||this.validateOn===Rt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==kt.default&&this.validateOn===Rt.blurWithStatusResolutionOnInput||this.validateOn===Rt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=qa(this.value,[...this.errorRules,...this.additionalErrorRules]),this.warningMessages=qa(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Ja(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return te`
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
- ${Ut(this.errorMessages,n=>re`
74
+ ${Ut(this.errorMessages,n=>te`
75
75
  <li>${n}</li>
76
76
  `)}
77
- ${Ut(this.warningMessages,n=>re`
77
+ ${Ut(this.warningMessages,n=>te`
78
78
  <li>${n}</li>
79
79
  `)}
80
- ${$l(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>re`
80
+ ${zl(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>te`
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?kt.error:this.warningMessages.length?kt.warning:kt.default}}return ne([D()],t.prototype,"warningRules",void 0),ne([D()],t.prototype,"errorRules",void 0),ne([D()],t.prototype,"validateOn",void 0),ne([D({type:Boolean})],t.prototype,"validateAtRender",void 0),ne([D()],t.prototype,"label",void 0),ne([D({type:Boolean})],t.prototype,"hideLabel",void 0),ne([D()],t.prototype,"name",void 0),ne([D({type:Boolean})],t.prototype,"disabled",void 0),ne([D()],t.prototype,"helperText",void 0),ne([D()],t.prototype,"forceStatus",void 0),ne([D({reflect:!0})],t.prototype,"value",void 0),ne([ie()],t.prototype,"errorMessages",void 0),ne([ie()],t.prototype,"warningMessages",void 0),ne([ie()],t.prototype,"status",void 0),ne([ie()],t.prototype,"focused",void 0),ne([ie()],t.prototype,"additionalWarningRules",void 0),ne([ie()],t.prototype,"additionalErrorRules",void 0),t});var zr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(t,!1),zr(n,t);return!0},kn=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},Gl=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),Kp(t)}};function jp(e){this._$AN!==void 0?(kn(this),this._$AM=e,Gl(this)):this._$AM=e}function Yp(e,t=!1,r=0){let n=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(n))for(let i=r;i<n.length;i++)zr(n[i],!1),kn(n[i]);else n!=null&&(zr(n,!1),kn(n));else zr(this,e)}var Kp=e=>{e.type==Ie.CHILD&&(e._$AP??=Yp,e._$AQ??=jp)},or=class extends ye{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),Gl(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(zr(this,t),kn(this))}setValue(t){if(ns(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Qa=class extends or{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Q}update(t){return this.part=t,this.ensureFocusTrap(t.element),Q}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var r,n;this.isElementTrappable(t)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,r,n,a;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(a=this.lastTrap)===null||a===void 0||a.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=0;n<r.length;n++){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusFirstDescendant(a)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=r.length-1;n>=0;n--){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusLastDescendant(a)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof me&&await t.updateComplete}isInsideElement(t,r){for(let n=t;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},Hw=ue(Qa);var zl;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(zl||(zl={}));var Zp={sm:640,md:768,lg:1024,xl:1280},ei=class extends or{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,n,a]){return this.lastArgs=[r,n,a],this.render(r,n,a)}render(t,r,n){let a=this.resolveThreshold(t),i=n??(()=>j);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Zp[t]}},Vw=ue(ei);var ti,ri,ni,oi,qp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ni=(ri=(ti=window.safari)===null||ti===void 0?void 0:ti.pushNotification)===null||ri===void 0?void 0:ri.toString())!==null&&ni!==void 0?ni:"")==="[object SafariRemoteNotification]",Jp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(oi=window.ftGlobals)!==null&&oi!==void 0?oi:{lit:lo,litDecorators:uo,litRepeat:fo,litClassMap:po,litStyleMap:ho,litUnsafeHTML:mo,wcUtils:{...Ao,...go,...Po,...za,...Io,...bo,...Mo,...wo,...qo,...Ka,...Bl,...Ua,...Jo,...Do,...na,...$a,...ta,...Za,...qa,...yc,...So,...aa,...Fo,...ia,...Wl,...bc,...ca,...Da,...ja,...Xo,...ea,...Wa,...Ro,isSafari:qp,isTouchScreen:Jp,setVariable:Ht}};var Jl;function C(){return Jl.apply(null,arguments)}function Xp(e){Jl=e}function _e(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function It(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function H(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function yi(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(H(e,t))return!1;return!0}function de(e){return e===void 0}function qe(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Xr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Xl(e,t){var r=[],n,a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function st(e,t){for(var r in t)H(t,r)&&(e[r]=t[r]);return H(t,"toString")&&(e.toString=t.toString),H(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Be(e,t,r,n){return Sd(e,t,r,n,!0).utc()}function Qp(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function I(e){return e._pf==null&&(e._pf=Qp()),e._pf}var li;Array.prototype.some?li=Array.prototype.some:li=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function gi(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=I(e),r=li.call(t.parsedDateParts,function(a){return a!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function Wn(e){var t=Be(NaN);return e!=null?st(I(t),e):I(t).userInvalidated=!0,t}var Vl=C.momentProperties=[],ai=!1;function bi(e,t){var r,n,a,i=Vl.length;if(de(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),de(t._i)||(e._i=t._i),de(t._f)||(e._f=t._f),de(t._l)||(e._l=t._l),de(t._strict)||(e._strict=t._strict),de(t._tzm)||(e._tzm=t._tzm),de(t._isUTC)||(e._isUTC=t._isUTC),de(t._offset)||(e._offset=t._offset),de(t._pf)||(e._pf=I(t)),de(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)n=Vl[r],a=t[n],de(a)||(e[n]=a);return e}function Qr(e){bi(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ai===!1&&(ai=!0,C.updateOffset(this),ai=!1)}function Re(e){return e instanceof Qr||e!=null&&e._isAMomentObject!=null}function Ql(e){C.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Se(e,t){var r=!0;return st(function(){if(C.deprecationHandler!=null&&C.deprecationHandler(null,e),r){var n=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
85
- [`+i+"] ";for(s in arguments[0])H(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}Ql(e+`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?kt.error:this.warningMessages.length?kt.warning:kt.default}}return re([M()],t.prototype,"warningRules",void 0),re([M()],t.prototype,"errorRules",void 0),re([M()],t.prototype,"validateOn",void 0),re([M({type:Boolean})],t.prototype,"validateAtRender",void 0),re([M()],t.prototype,"label",void 0),re([M({type:Boolean})],t.prototype,"hideLabel",void 0),re([M()],t.prototype,"name",void 0),re([M({type:Boolean})],t.prototype,"disabled",void 0),re([M()],t.prototype,"helperText",void 0),re([M()],t.prototype,"forceStatus",void 0),re([M({reflect:!0})],t.prototype,"value",void 0),re([ie()],t.prototype,"errorMessages",void 0),re([ie()],t.prototype,"warningMessages",void 0),re([ie()],t.prototype,"status",void 0),re([ie()],t.prototype,"focused",void 0),re([ie()],t.prototype,"additionalWarningRules",void 0),re([ie()],t.prototype,"additionalErrorRules",void 0),t});var zr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(t,!1),zr(n,t);return!0},kn=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},Vl=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),qp(t)}};function Kp(e){this._$AN!==void 0?(kn(this),this._$AM=e,Vl(this)):this._$AM=e}function Zp(e,t=!1,r=0){let n=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(n))for(let i=r;i<n.length;i++)zr(n[i],!1),kn(n[i]);else n!=null&&(zr(n,!1),kn(n));else zr(this,e)}var qp=e=>{e.type==Ie.CHILD&&(e._$AP??=Zp,e._$AQ??=Kp)},or=class extends me{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),Vl(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(zr(this,t),kn(this))}setValue(t){if(os(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 Xa=class extends or{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return X}update(t){return this.part=t,this.ensureFocusTrap(t.element),X}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var r,n;this.isElementTrappable(t)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,r,n,a;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(a=this.lastTrap)===null||a===void 0||a.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=0;n<r.length;n++){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusFirstDescendant(a)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=r.length-1;n>=0;n--){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusLastDescendant(a)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof he&&await t.updateComplete}isInsideElement(t,r){for(let n=t;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},Gw=de(Xa);var jl;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(jl||(jl={}));var Jp={sm:640,md:768,lg:1024,xl:1280},Qa=class extends or{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,n,a]){return this.lastArgs=[r,n,a],this.render(r,n,a)}render(t,r,n){let a=this.resolveThreshold(t),i=n??(()=>Y);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Jp[t]}},Yw=de(Qa);var ei,ti,ri,ni,Xp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ri=(ti=(ei=window.safari)===null||ei===void 0?void 0:ei.pushNotification)===null||ti===void 0?void 0:ti.toString())!==null&&ri!==void 0?ri:"")==="[object SafariRemoteNotification]",Qp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ni=window.ftGlobals)!==null&&ni!==void 0?ni:{lit:lo,litDecorators:uo,litRepeat:fo,litClassMap:po,litStyleMap:ho,litUnsafeHTML:mo,wcUtils:{...Ao,...go,...Io,...Ga,...Po,...bo,...Mo,...wo,...Zo,...Ya,...Hl,...Fa,...qo,...Do,...ra,...Ha,...ea,...Ka,...Za,...bc,...So,...oa,...Fo,...aa,...$l,...vc,...sa,...La,...Va,...Jo,...Qo,...Ba,...Ro,isSafari:Xp,isTouchScreen:Qp,setVariable:Ht}};var Ql;function C(){return Ql.apply(null,arguments)}function eh(e){Ql=e}function Ae(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 $(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function mi(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if($(e,t))return!1;return!0}function le(e){return e===void 0}function qe(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Xr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function ed(e,t){var r=[],n,a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function it(e,t){for(var r in t)$(t,r)&&(e[r]=t[r]);return $(t,"toString")&&(e.toString=t.toString),$(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Be(e,t,r,n){return Ed(e,t,r,n,!0).utc()}function th(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function P(e){return e._pf==null&&(e._pf=th()),e._pf}var ci;Array.prototype.some?ci=Array.prototype.some:ci=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function yi(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=P(e),r=ci.call(t.parsedDateParts,function(a){return a!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function Wn(e){var t=Be(NaN);return e!=null?it(P(t),e):P(t).userInvalidated=!0,t}var Yl=C.momentProperties=[],oi=!1;function gi(e,t){var r,n,a,i=Yl.length;if(le(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),le(t._i)||(e._i=t._i),le(t._f)||(e._f=t._f),le(t._l)||(e._l=t._l),le(t._strict)||(e._strict=t._strict),le(t._tzm)||(e._tzm=t._tzm),le(t._isUTC)||(e._isUTC=t._isUTC),le(t._offset)||(e._offset=t._offset),le(t._pf)||(e._pf=P(t)),le(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)n=Yl[r],a=t[n],le(a)||(e[n]=a);return e}function Qr(e){gi(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),oi===!1&&(oi=!0,C.updateOffset(this),oi=!1)}function _e(e){return e instanceof Qr||e!=null&&e._isAMomentObject!=null}function td(e){C.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function ve(e,t){var r=!0;return it(function(){if(C.deprecationHandler!=null&&C.deprecationHandler(null,e),r){var n=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
85
+ [`+i+"] ";for(s in arguments[0])$(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}td(e+`
86
86
  Arguments: `+Array.prototype.slice.call(n).join("")+`
87
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var jl={};function ed(e,t){C.deprecationHandler!=null&&C.deprecationHandler(e,t),jl[e]||(Ql(t),jl[e]=!0)}C.suppressDeprecationWarnings=!1;C.deprecationHandler=null;function We(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function eh(e){var t,r;for(r in e)H(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 di(e,t){var r=st({},e),n;for(n in t)H(t,n)&&(It(e[n])&&It(t[n])?(r[n]={},st(r[n],e[n]),st(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)H(e,n)&&!H(t,n)&&It(e[n])&&(r[n]=st({},r[n]));return r}function xi(e){e!=null&&this.set(e)}var ui;Object.keys?ui=Object.keys:ui=function(e){var t,r=[];for(t in e)H(e,t)&&r.push(t);return r};var th={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function rh(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return We(n)?n.call(t,r):n}function Ue(e,t,r){var n=""+Math.abs(e),a=t-n.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var vi=/(\[[^\[]*\])|(\\)?([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,Tn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ii={},cr={};function k(e,t,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),e&&(cr[e]=a),t&&(cr[t[0]]=function(){return Ue(a.apply(this,arguments),t[1],t[2])}),r&&(cr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function nh(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function oh(e){var t=e.match(vi),r,n;for(r=0,n=t.length;r<n;r++)cr[t[r]]?t[r]=cr[t[r]]:t[r]=nh(t[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=We(t[s])?t[s].call(a,e):t[s];return i}}function In(e,t){return e.isValid()?(t=td(t,e.localeData()),ii[t]=ii[t]||oh(t),ii[t](e)):e.localeData().invalidDate()}function td(e,t){var r=5;function n(a){return t.longDateFormat(a)||a}for(Tn.lastIndex=0;r>=0&&Tn.test(e);)e=e.replace(Tn,n),Tn.lastIndex=0,r-=1;return e}var ah={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 ih(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(vi).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var sh="Invalid date";function ch(){return this._invalidDate}var lh="%d",dh=/\d{1,2}/;function uh(e){return this._ordinal.replace("%d",e)}var fh={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 ph(e,t,r,n){var a=this._relativeTime[r];return We(a)?a(e,t,r,n):a.replace(/%d/i,e)}function hh(e,t){var r=this._relativeTime[e>0?"future":"past"];return We(r)?r(t):r.replace(/%s/i,t)}var Yl={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 Oe(e){return typeof e=="string"?Yl[e]||Yl[e.toLowerCase()]:void 0}function Si(e){var t={},r,n;for(n in e)H(e,n)&&(r=Oe(n),r&&(t[r]=e[n]));return t}var mh={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 yh(e){var t=[],r;for(r in e)H(e,r)&&t.push({unit:r,priority:mh[r]});return t.sort(function(n,a){return n.priority-a.priority}),t}var rd=/\d/,he=/\d\d/,nd=/\d{3}/,Oi=/\d{4}/,Hn=/[+-]?\d{6}/,V=/\d\d?/,od=/\d\d\d\d?/,ad=/\d\d\d\d\d\d?/,$n=/\d{1,3}/,Ei=/\d{1,4}/,Gn=/[+-]?\d{1,6}/,ur=/\d+/,zn=/[+-]?\d+/,gh=/Z|[+-]\d\d:?\d\d/gi,Vn=/Z|[+-]\d\d(?::?\d\d)?/gi,bh=/[+-]?\d+(\.\d{1,3})?/,en=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,fr=/^[1-9]\d?/,wi=/^([1-9]\d|\d)/,Dn;Dn={};function A(e,t,r){Dn[e]=We(t)?t:function(n,a){return n&&r?r:t}}function xh(e,t){return H(Dn,e)?Dn[e](t._strict,t._locale):new RegExp(vh(e))}function vh(e){return Ke(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,a,i){return r||n||a||i}))}function Ke(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ve(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ve(t)),r}var fi={};function G(e,t){var r,n=t,a;for(typeof e=="string"&&(e=[e]),qe(t)&&(n=function(i,s){s[t]=M(i)}),a=e.length,r=0;r<a;r++)fi[e[r]]=n}function tn(e,t){G(e,function(r,n,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function Sh(e,t,r){t!=null&&H(fi,e)&&fi[e](t,r._a,r,e)}function jn(e){return e%4===0&&e%100!==0||e%400===0}var ae=0,je=1,Fe=2,ee=3,Ae=4,Ye=5,Pt=6,Oh=7,Eh=8;k("Y",0,0,function(){var e=this.year();return e<=9999?Ue(e,4):"+"+e});k(0,["YY",2],0,function(){return this.year()%100});k(0,["YYYY",4],0,"year");k(0,["YYYYY",5],0,"year");k(0,["YYYYYY",6,!0],0,"year");A("Y",zn);A("YY",V,he);A("YYYY",Ei,Oi);A("YYYYY",Gn,Hn);A("YYYYYY",Gn,Hn);G(["YYYYY","YYYYYY"],ae);G("YYYY",function(e,t){t[ae]=e.length===2?C.parseTwoDigitYear(e):M(e)});G("YY",function(e,t){t[ae]=C.parseTwoDigitYear(e)});G("Y",function(e,t){t[ae]=parseInt(e,10)});function Yr(e){return jn(e)?366:365}C.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)};var id=pr("FullYear",!0);function wh(){return jn(this.year())}function pr(e,t){return function(r){return r!=null?(sd(this,e,r),C.updateOffset(this,t),this):Kr(this,e)}}function Kr(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function sd(e,t,r){var n,a,i,s,l;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(a?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(a?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(a?n.setUTCHours(r):n.setHours(r));case"Date":return void(a?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}i=r,s=e.month(),l=e.date(),l=l===29&&s===1&&!jn(i)?28:l,a?n.setUTCFullYear(i,s,l):n.setFullYear(i,s,l)}}function Ch(e){return e=Oe(e),We(this[e])?this[e]():this}function Ah(e,t){if(typeof e=="object"){e=Si(e);var r=yh(e),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=Oe(e),We(this[e]))return this[e](t);return this}function _h(e,t){return(e%t+t)%t}var Z;Array.prototype.indexOf?Z=Array.prototype.indexOf:Z=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Ci(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=_h(t,12);return e+=(t-r)/12,r===1?jn(e)?29:28:31-r%7%2}k("M",["MM",2],"Mo",function(){return this.month()+1});k("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});k("MMMM",0,0,function(e){return this.localeData().months(this,e)});A("M",V,fr);A("MM",V,he);A("MMM",function(e,t){return t.monthsShortRegex(e)});A("MMMM",function(e,t){return t.monthsRegex(e)});G(["M","MM"],function(e,t){t[je]=M(e)-1});G(["MMM","MMMM"],function(e,t,r,n){var a=r._locale.monthsParse(e,n,r._strict);a!=null?t[je]=a:I(r).invalidMonth=e});var Rh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),cd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ld=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kh=en,Th=en;function Ph(e,t){return e?_e(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ld).test(t)?"format":"standalone"][e.month()]:_e(this._months)?this._months:this._months.standalone}function Ih(e,t){return e?_e(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ld.test(t)?"format":"standalone"][e.month()]:_e(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Nh(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=Be([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=Z.call(this._shortMonthsParse,s),a!==-1?a:null):(a=Z.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=Z.call(this._shortMonthsParse,s),a!==-1?a:(a=Z.call(this._longMonthsParse,s),a!==-1?a:null)):(a=Z.call(this._longMonthsParse,s),a!==-1?a:(a=Z.call(this._shortMonthsParse,s),a!==-1?a:null))}function Lh(e,t,r){var n,a,i;if(this._monthsParseExact)return Nh.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=Be([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function dd(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=M(t);else if(t=e.localeData().monthsParse(t),!qe(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,Ci(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function ud(e){return e!=null?(dd(this,e),C.updateOffset(this,!0),this):Kr(this,"Month")}function Dh(){return Ci(this.year(),this.month())}function Mh(e){return this._monthsParseExact?(H(this,"_monthsRegex")||fd.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(H(this,"_monthsShortRegex")||(this._monthsShortRegex=kh),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Fh(e){return this._monthsParseExact?(H(this,"_monthsRegex")||fd.call(this),e?this._monthsStrictRegex:this._monthsRegex):(H(this,"_monthsRegex")||(this._monthsRegex=Th),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function fd(){function e(d,f){return f.length-d.length}var t=[],r=[],n=[],a,i,s,l;for(a=0;a<12;a++)i=Be([2e3,a]),s=Ke(this.monthsShort(i,"")),l=Ke(this.months(i,"")),t.push(s),r.push(l),n.push(l),n.push(s);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Uh(e,t,r,n,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,n,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,n,a,i,s),l}function Zr(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 Mn(e,t,r){var n=7+t-r,a=(7+Zr(e,0,n).getUTCDay()-t)%7;return-a+n-1}function pd(e,t,r,n,a){var i=(7+r-n)%7,s=Mn(e,n,a),l=1+7*(t-1)+i+s,d,f;return l<=0?(d=e-1,f=Yr(d)+l):l>Yr(e)?(d=e+1,f=l-Yr(e)):(d=e,f=l),{year:d,dayOfYear:f}}function qr(e,t,r){var n=Mn(e.year(),t,r),a=Math.floor((e.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+Ze(s,t,r)):a>Ze(e.year(),t,r)?(i=a-Ze(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function Ze(e,t,r){var n=Mn(e,t,r),a=Mn(e+1,t,r);return(Yr(e)-n+a)/7}k("w",["ww",2],"wo","week");k("W",["WW",2],"Wo","isoWeek");A("w",V,fr);A("ww",V,he);A("W",V,fr);A("WW",V,he);tn(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=M(e)});function Bh(e){return qr(e,this._week.dow,this._week.doy).week}var Wh={dow:0,doy:6};function Hh(){return this._week.dow}function $h(){return this._week.doy}function Gh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function zh(e){var t=qr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}k("d",0,"do","day");k("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});k("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});k("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});k("e",0,0,"weekday");k("E",0,0,"isoWeekday");A("d",V);A("e",V);A("E",V);A("dd",function(e,t){return t.weekdaysMinRegex(e)});A("ddd",function(e,t){return t.weekdaysShortRegex(e)});A("dddd",function(e,t){return t.weekdaysRegex(e)});tn(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);a!=null?t.d=a:I(r).invalidWeekday=e});tn(["d","e","E"],function(e,t,r,n){t[n]=M(e)});function Vh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function jh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ai(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Yh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),hd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zh=en,qh=en,Jh=en;function Xh(e,t){var r=_e(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ai(r,this._week.dow):e?r[e.day()]:r}function Qh(e){return e===!0?Ai(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function em(e){return e===!0?Ai(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function tm(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=Be([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=Z.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=Z.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=Z.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=Z.call(this._weekdaysParse,s),a!==-1||(a=Z.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=Z.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=Z.call(this._shortWeekdaysParse,s),a!==-1||(a=Z.call(this._weekdaysParse,s),a!==-1)?a:(a=Z.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=Z.call(this._minWeekdaysParse,s),a!==-1||(a=Z.call(this._weekdaysParse,s),a!==-1)?a:(a=Z.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function rm(e,t,r){var n,a,i;if(this._weekdaysParseExact)return tm.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=Be([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function nm(e){if(!this.isValid())return e!=null?this:NaN;var t=Kr(this,"Day");return e!=null?(e=Vh(e,this.localeData()),this.add(e-t,"d")):t}function om(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 am(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=jh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function im(e){return this._weekdaysParseExact?(H(this,"_weekdaysRegex")||_i.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(H(this,"_weekdaysRegex")||(this._weekdaysRegex=Zh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function sm(e){return this._weekdaysParseExact?(H(this,"_weekdaysRegex")||_i.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(H(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function cm(e){return this._weekdaysParseExact?(H(this,"_weekdaysRegex")||_i.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(H(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jh),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function _i(){function e(p,h){return h.length-p.length}var t=[],r=[],n=[],a=[],i,s,l,d,f;for(i=0;i<7;i++)s=Be([2e3,1]).day(i),l=Ke(this.weekdaysMin(s,"")),d=Ke(this.weekdaysShort(s,"")),f=Ke(this.weekdays(s,"")),t.push(l),r.push(d),n.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),n.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ri(){return this.hours()%12||12}function lm(){return this.hours()||24}k("H",["HH",2],0,"hour");k("h",["hh",2],0,Ri);k("k",["kk",2],0,lm);k("hmm",0,0,function(){return""+Ri.apply(this)+Ue(this.minutes(),2)});k("hmmss",0,0,function(){return""+Ri.apply(this)+Ue(this.minutes(),2)+Ue(this.seconds(),2)});k("Hmm",0,0,function(){return""+this.hours()+Ue(this.minutes(),2)});k("Hmmss",0,0,function(){return""+this.hours()+Ue(this.minutes(),2)+Ue(this.seconds(),2)});function md(e,t){k(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}md("a",!0);md("A",!1);function yd(e,t){return t._meridiemParse}A("a",yd);A("A",yd);A("H",V,wi);A("h",V,fr);A("k",V,fr);A("HH",V,he);A("hh",V,he);A("kk",V,he);A("hmm",od);A("hmmss",ad);A("Hmm",od);A("Hmmss",ad);G(["H","HH"],ee);G(["k","kk"],function(e,t,r){var n=M(e);t[ee]=n===24?0:n});G(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});G(["h","hh"],function(e,t,r){t[ee]=M(e),I(r).bigHour=!0});G("hmm",function(e,t,r){var n=e.length-2;t[ee]=M(e.substr(0,n)),t[Ae]=M(e.substr(n)),I(r).bigHour=!0});G("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[ee]=M(e.substr(0,n)),t[Ae]=M(e.substr(n,2)),t[Ye]=M(e.substr(a)),I(r).bigHour=!0});G("Hmm",function(e,t,r){var n=e.length-2;t[ee]=M(e.substr(0,n)),t[Ae]=M(e.substr(n))});G("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[ee]=M(e.substr(0,n)),t[Ae]=M(e.substr(n,2)),t[Ye]=M(e.substr(a))});function dm(e){return(e+"").toLowerCase().charAt(0)==="p"}var um=/[ap]\.?m?\.?/i,fm=pr("Hours",!0);function pm(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var gd={calendar:th,longDateFormat:ah,invalidDate:sh,ordinal:lh,dayOfMonthOrdinalParse:dh,relativeTime:fh,months:Rh,monthsShort:cd,week:Wh,weekdays:Yh,weekdaysMin:Kh,weekdaysShort:hd,meridiemParse:um},K={},Vr={},Jr;function hm(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function Kl(e){return e&&e.toLowerCase().replace("_","-")}function mm(e){for(var t=0,r,n,a,i;t<e.length;){for(i=Kl(e[t]).split("-"),r=i.length,n=Kl(e[t+1]),n=n?n.split("-"):null;r>0;){if(a=Yn(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&hm(i,n)>=r-1)break;r--}t++}return Jr}function ym(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Yn(e){var t=null,r;if(K[e]===void 0&&typeof module<"u"&&module&&module.exports&&ym(e))try{t=Jr._abbr,r=Wi,r("./locale/"+e),lt(t)}catch{K[e]=null}return K[e]}function lt(e,t){var r;return e&&(de(t)?r=Je(e):r=ki(e,t),r?Jr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Jr._abbr}function ki(e,t){if(t!==null){var r,n=gd;if(t.abbr=e,K[e]!=null)ed("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=K[e]._config;else if(t.parentLocale!=null)if(K[t.parentLocale]!=null)n=K[t.parentLocale]._config;else if(r=Yn(t.parentLocale),r!=null)n=r._config;else return Vr[t.parentLocale]||(Vr[t.parentLocale]=[]),Vr[t.parentLocale].push({name:e,config:t}),null;return K[e]=new xi(di(n,t)),Vr[e]&&Vr[e].forEach(function(a){ki(a.name,a.config)}),lt(e),K[e]}else return delete K[e],null}function gm(e,t){if(t!=null){var r,n,a=gd;K[e]!=null&&K[e].parentLocale!=null?K[e].set(di(K[e]._config,t)):(n=Yn(e),n!=null&&(a=n._config),t=di(a,t),n==null&&(t.abbr=e),r=new xi(t),r.parentLocale=K[e],K[e]=r),lt(e)}else K[e]!=null&&(K[e].parentLocale!=null?(K[e]=K[e].parentLocale,e===lt()&&lt(e)):K[e]!=null&&delete K[e]);return K[e]}function Je(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Jr;if(!_e(e)){if(t=Yn(e),t)return t;e=[e]}return mm(e)}function bm(){return ui(K)}function Ti(e){var t,r=e._a;return r&&I(e).overflow===-2&&(t=r[je]<0||r[je]>11?je:r[Fe]<1||r[Fe]>Ci(r[ae],r[je])?Fe:r[ee]<0||r[ee]>24||r[ee]===24&&(r[Ae]!==0||r[Ye]!==0||r[Pt]!==0)?ee:r[Ae]<0||r[Ae]>59?Ae:r[Ye]<0||r[Ye]>59?Ye:r[Pt]<0||r[Pt]>999?Pt:-1,I(e)._overflowDayOfYear&&(t<ae||t>Fe)&&(t=Fe),I(e)._overflowWeeks&&t===-1&&(t=Oh),I(e)._overflowWeekday&&t===-1&&(t=Eh),I(e).overflow=t),e}var xm=/^\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)?)?$/,vm=/^\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)?)?$/,Sm=/Z|[+-]\d\d(?::?\d\d)?/,Pn=[["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]],si=[["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/]],Om=/^\/?Date\((-?\d+)/i,Em=/^(?:(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}))$/,wm={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bd(e){var t,r,n=e._i,a=xm.exec(n)||vm.exec(n),i,s,l,d,f=Pn.length,p=si.length;if(a){for(I(e).iso=!0,t=0,r=f;t<r;t++)if(Pn[t][1].exec(a[1])){s=Pn[t][0],i=Pn[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=p;t<r;t++)if(si[t][1].exec(a[3])){l=(a[2]||" ")+si[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Sm.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Ii(e)}else e._isValid=!1}function Cm(e,t,r,n,a,i){var s=[Am(e),cd.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Am(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function _m(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Rm(e,t,r){if(e){var n=hd.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(n!==a)return I(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function km(e,t,r){if(e)return wm[e];if(t)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function xd(e){var t=Em.exec(_m(e._i)),r;if(t){if(r=Cm(t[4],t[3],t[2],t[5],t[6],t[7]),!Rm(t[1],r,e))return;e._a=r,e._tzm=km(t[8],t[9],t[10]),e._d=Zr.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),I(e).rfc2822=!0}else e._isValid=!1}function Tm(e){var t=Om.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(bd(e),e._isValid===!1)delete e._isValid;else return;if(xd(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:C.createFromInputFallback(e)}C.createFromInputFallback=Se("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 ir(e,t,r){return e??t??r}function Pm(e){var t=new Date(C.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Pi(e){var t,r,n=[],a,i,s;if(!e._d){for(a=Pm(e),e._w&&e._a[Fe]==null&&e._a[je]==null&&Im(e),e._dayOfYear!=null&&(s=ir(e._a[ae],a[ae]),(e._dayOfYear>Yr(s)||e._dayOfYear===0)&&(I(e)._overflowDayOfYear=!0),r=Zr(s,0,e._dayOfYear),e._a[je]=r.getUTCMonth(),e._a[Fe]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ee]===24&&e._a[Ae]===0&&e._a[Ye]===0&&e._a[Pt]===0&&(e._nextDay=!0,e._a[ee]=0),e._d=(e._useUTC?Zr:Uh).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ee]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(I(e).weekdayMismatch=!0)}}function Im(e){var t,r,n,a,i,s,l,d,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=ir(t.GG,e._a[ae],qr(z(),1,4).year),n=ir(t.W,1),a=ir(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,f=qr(z(),i,s),r=ir(t.gg,e._a[ae],f.year),n=ir(t.w,f.week),t.d!=null?(a=t.d,(a<0||a>6)&&(d=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(d=!0)):a=i),n<1||n>Ze(r,i,s)?I(e)._overflowWeeks=!0:d!=null?I(e)._overflowWeekday=!0:(l=pd(r,n,a,i,s),e._a[ae]=l.year,e._dayOfYear=l.dayOfYear)}C.ISO_8601=function(){};C.RFC_2822=function(){};function Ii(e){if(e._f===C.ISO_8601){bd(e);return}if(e._f===C.RFC_2822){xd(e);return}e._a=[],I(e).empty=!0;var t=""+e._i,r,n,a,i,s,l=t.length,d=0,f,p;for(a=td(e._f,e._locale).match(vi)||[],p=a.length,r=0;r<p;r++)i=a[r],n=(t.match(xh(i,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&I(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),d+=n.length),cr[i]?(n?I(e).empty=!1:I(e).unusedTokens.push(i),Sh(i,n,e)):e._strict&&!n&&I(e).unusedTokens.push(i);I(e).charsLeftOver=l-d,t.length>0&&I(e).unusedInput.push(t),e._a[ee]<=12&&I(e).bigHour===!0&&e._a[ee]>0&&(I(e).bigHour=void 0),I(e).parsedDateParts=e._a.slice(0),I(e).meridiem=e._meridiem,e._a[ee]=Nm(e._locale,e._a[ee],e._meridiem),f=I(e).era,f!==null&&(e._a[ae]=e._locale.erasConvertYear(f,e._a[ae])),Pi(e),Ti(e)}function Nm(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Lm(e){var t,r,n,a,i,s,l=!1,d=e._f.length;if(d===0){I(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,t=bi({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Ii(t),gi(t)&&(s=!0),i+=I(t).charsLeftOver,i+=I(t).unusedTokens.length*10,I(t).score=i,l?i<n&&(n=i,r=t):(n==null||i<n||s)&&(n=i,r=t,s&&(l=!0));st(e,r||t)}function Dm(e){if(!e._d){var t=Si(e._i),r=t.day===void 0?t.date:t.day;e._a=Xl([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Pi(e)}}function Mm(e){var t=new Qr(Ti(vd(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function vd(e){var t=e._i,r=e._f;return e._locale=e._locale||Je(e._l),t===null||r===void 0&&t===""?Wn({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Re(t)?new Qr(Ti(t)):(Xr(t)?e._d=t:_e(r)?Lm(e):r?Ii(e):Fm(e),gi(e)||(e._d=null),e))}function Fm(e){var t=e._i;de(t)?e._d=new Date(C.now()):Xr(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Tm(e):_e(t)?(e._a=Xl(t.slice(0),function(r){return parseInt(r,10)}),Pi(e)):It(t)?Dm(e):qe(t)?e._d=new Date(t):C.createFromInputFallback(e)}function Sd(e,t,r,n,a){var i={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(It(e)&&yi(e)||_e(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=n,Mm(i)}function z(e,t,r,n){return Sd(e,t,r,n,!1)}var Um=Se("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=z.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Wn()}),Bm=Se("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=z.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Wn()});function Od(e,t){var r,n;if(t.length===1&&_e(t[0])&&(t=t[0]),!t.length)return z();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Wm(){var e=[].slice.call(arguments,0);return Od("isBefore",e)}function Hm(){var e=[].slice.call(arguments,0);return Od("isAfter",e)}var $m=function(){return Date.now?Date.now():+new Date},jr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Gm(e){var t,r=!1,n,a=jr.length;for(t in e)if(H(e,t)&&!(Z.call(jr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<a;++n)if(e[jr[n]]){if(r)return!1;parseFloat(e[jr[n]])!==M(e[jr[n]])&&(r=!0)}return!0}function zm(){return this._isValid}function Vm(){return ke(NaN)}function Kn(e){var t=Si(e),r=t.year||0,n=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,p=t.millisecond||0;this._isValid=Gm(t),this._milliseconds=+p+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=Je(),this._bubble()}function Nn(e){return e instanceof Kn}function pi(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function jm(e,t,r){var n=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<n;s++)(r&&e[s]!==t[s]||!r&&M(e[s])!==M(t[s]))&&i++;return i+a}function Ed(e,t){k(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Ue(~~(r/60),2)+t+Ue(~~r%60,2)})}Ed("Z",":");Ed("ZZ","");A("Z",Vn);A("ZZ",Vn);G(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ni(Vn,e)});var Ym=/([\+\-]|\d\d)/gi;function Ni(e,t){var r=(t||"").match(e),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(Ym)||["-",0,0],i=+(a[1]*60)+M(a[2]),i===0?0:a[0]==="+"?i:-i)}function Li(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(Re(e)||Xr(e)?e.valueOf():z(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),C.updateOffset(r,!1),r):z(e).local()}function hi(e){return-Math.round(e._d.getTimezoneOffset())}C.updateOffset=function(){};function Km(e,t,r){var n=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ni(Vn,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=hi(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==e&&(!t||this._changeInProgress?Ad(this,ke(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,C.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:hi(this)}function Zm(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function qm(e){return this.utcOffset(0,e)}function Jm(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hi(this),"m")),this}function Xm(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ni(gh,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Qm(e){return this.isValid()?(e=e?z(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ey(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ty(){if(!de(this._isDSTShifted))return this._isDSTShifted;var e={},t;return bi(e,this),e=vd(e),e._a?(t=e._isUTC?Be(e._a):z(e._a),this._isDSTShifted=this.isValid()&&jm(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ry(){return this.isValid()?!this._isUTC:!1}function ny(){return this.isValid()?this._isUTC:!1}function wd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var oy=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ay=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ke(e,t){var r=e,n=null,a,i,s;return Nn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:qe(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=oy.exec(e))?(a=n[1]==="-"?-1:1,r={y:0,d:M(n[Fe])*a,h:M(n[ee])*a,m:M(n[Ae])*a,s:M(n[Ye])*a,ms:M(pi(n[Pt]*1e3))*a}):(n=ay.exec(e))?(a=n[1]==="-"?-1:1,r={y:Tt(n[2],a),M:Tt(n[3],a),w:Tt(n[4],a),d:Tt(n[5],a),h:Tt(n[6],a),m:Tt(n[7],a),s:Tt(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=iy(z(r.from),z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new Kn(r),Nn(e)&&H(e,"_locale")&&(i._locale=e._locale),Nn(e)&&H(e,"_isValid")&&(i._isValid=e._isValid),i}ke.fn=Kn.prototype;ke.invalid=Vm;function Tt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Zl(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 iy(e,t){var r;return e.isValid()&&t.isValid()?(t=Li(t,e),e.isBefore(t)?r=Zl(e,t):(r=Zl(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Cd(e,t){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(ed(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=ke(r,n),Ad(this,a,e),this}}function Ad(e,t,r,n){var a=t._milliseconds,i=pi(t._days),s=pi(t._months);e.isValid()&&(n=n??!0,s&&dd(e,Kr(e,"Month")+s*r),i&&sd(e,"Date",Kr(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),n&&C.updateOffset(e,i||s))}var sy=Cd(1,"add"),cy=Cd(-1,"subtract");function _d(e){return typeof e=="string"||e instanceof String}function ly(e){return Re(e)||Xr(e)||_d(e)||qe(e)||uy(e)||dy(e)||e===null||e===void 0}function dy(e){var t=It(e)&&!yi(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=n.length;for(a=0;a<s;a+=1)i=n[a],r=r||H(e,i);return t&&r}function uy(e){var t=_e(e),r=!1;return t&&(r=e.filter(function(n){return!qe(n)&&_d(e)}).length===0),t&&r}function fy(e){var t=It(e)&&!yi(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||H(e,i);return t&&r}function py(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 hy(e,t){arguments.length===1&&(arguments[0]?ly(arguments[0])?(e=arguments[0],t=void 0):fy(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||z(),n=Li(r,this).startOf("day"),a=C.calendarFormat(this,n)||"sameElse",i=t&&(We(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,z(r)))}function my(){return new Qr(this)}function yy(e,t){var r=Re(e)?e:z(e);return this.isValid()&&r.isValid()?(t=Oe(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function gy(e,t){var r=Re(e)?e:z(e);return this.isValid()&&r.isValid()?(t=Oe(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function by(e,t,r,n){var a=Re(e)?e:z(e),i=Re(t)?t:z(t);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function xy(e,t){var r=Re(e)?e:z(e),n;return this.isValid()&&r.isValid()?(t=Oe(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function vy(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Sy(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Oy(e,t,r){var n,a,i;if(!this.isValid())return NaN;if(n=Li(e,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,t=Oe(t),t){case"year":i=Ln(this,n)/12;break;case"month":i=Ln(this,n);break;case"quarter":i=Ln(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:ve(i)}function Ln(e,t){if(e.date()<t.date())return-Ln(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),a,i;return t-n<0?(a=e.clone().add(r-1,"months"),i=(t-n)/(n-a)):(a=e.clone().add(r+1,"months"),i=(t-n)/(a-n)),-(r+i)||0}C.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";C.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ey(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function wy(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?In(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",In(r,"Z")):In(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Cy(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+a+i)}function Ay(e){e||(e=this.isUtc()?C.defaultFormatUtc:C.defaultFormat);var t=In(this,e);return this.localeData().postformat(t)}function _y(e,t){return this.isValid()&&(Re(e)&&e.isValid()||z(e).isValid())?ke({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ry(e){return this.from(z(),e)}function ky(e,t){return this.isValid()&&(Re(e)&&e.isValid()||z(e).isValid())?ke({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ty(e){return this.to(z(),e)}function Rd(e){var t;return e===void 0?this._locale._abbr:(t=Je(e),t!=null&&(this._locale=t),this)}var kd=Se("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 Td(){return this._locale}var Fn=1e3,lr=60*Fn,Un=60*lr,Pd=(365*400+97)*24*Un;function dr(e,t){return(e%t+t)%t}function Id(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Pd:new Date(e,t,r).valueOf()}function Nd(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Pd:Date.UTC(e,t,r)}function Py(e){var t,r;if(e=Oe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Nd:Id,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-=dr(t+(this._isUTC?0:this.utcOffset()*lr),Un);break;case"minute":t=this._d.valueOf(),t-=dr(t,lr);break;case"second":t=this._d.valueOf(),t-=dr(t,Fn);break}return this._d.setTime(t),C.updateOffset(this,!0),this}function Iy(e){var t,r;if(e=Oe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Nd:Id,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+=Un-dr(t+(this._isUTC?0:this.utcOffset()*lr),Un)-1;break;case"minute":t=this._d.valueOf(),t+=lr-dr(t,lr)-1;break;case"second":t=this._d.valueOf(),t+=Fn-dr(t,Fn)-1;break}return this._d.setTime(t),C.updateOffset(this,!0),this}function Ny(){return this._d.valueOf()-(this._offset||0)*6e4}function Ly(){return Math.floor(this.valueOf()/1e3)}function Dy(){return new Date(this.valueOf())}function My(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Fy(){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 Uy(){return this.isValid()?this.toISOString():null}function By(){return gi(this)}function Wy(){return st({},I(this))}function Hy(){return I(this).overflow}function $y(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}k("N",0,0,"eraAbbr");k("NN",0,0,"eraAbbr");k("NNN",0,0,"eraAbbr");k("NNNN",0,0,"eraName");k("NNNNN",0,0,"eraNarrow");k("y",["y",1],"yo","eraYear");k("y",["yy",2],0,"eraYear");k("y",["yyy",3],0,"eraYear");k("y",["yyyy",4],0,"eraYear");A("N",Di);A("NN",Di);A("NNN",Di);A("NNNN",Qy);A("NNNNN",eg);G(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?I(r).era=a:I(r).invalidEra=e});A("y",ur);A("yy",ur);A("yyy",ur);A("yyyy",ur);A("yo",tg);G(["y","yy","yyy","yyyy"],ae);G(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ae]=r._locale.eraYearOrdinalParse(e,a):t[ae]=parseInt(e,10)});function Gy(e,t){var r,n,a,i=this._eras||Je("en")._eras;for(r=0,n=i.length;r<n;++r)switch(typeof i[r].since==="string"&&(a=C(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=C(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}return i}function zy(e,t,r){var n,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),l=i[n].abbr.toUpperCase(),d=i[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[n];break;case"NNNN":if(s===e)return i[n];break;case"NNNNN":if(d===e)return i[n];break}else if([s,l,d].indexOf(e)>=0)return i[n]}function Vy(e,t){var r=e.since<=e.until?1:-1;return t===void 0?C(e.since).year():C(e.since).year()+(t-e.offset)*r}function jy(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function Yy(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function Ky(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function Zy(){var e,t,r,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return(this.year()-C(a[e].since).year())*r+a[e].offset;return this.year()}function qy(e){return H(this,"_erasNameRegex")||Mi.call(this),e?this._erasNameRegex:this._erasRegex}function Jy(e){return H(this,"_erasAbbrRegex")||Mi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Xy(e){return H(this,"_erasNarrowRegex")||Mi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Di(e,t){return t.erasAbbrRegex(e)}function Qy(e,t){return t.erasNameRegex(e)}function eg(e,t){return t.erasNarrowRegex(e)}function tg(e,t){return t._eraYearOrdinalRegex||ur}function Mi(){var e=[],t=[],r=[],n=[],a,i,s,l,d,f=this.eras();for(a=0,i=f.length;a<i;++a)s=Ke(f[a].name),l=Ke(f[a].abbr),d=Ke(f[a].narrow),t.push(s),e.push(l),r.push(d),n.push(s),n.push(l),n.push(d);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}k(0,["gg",2],0,function(){return this.weekYear()%100});k(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Zn(e,t){k(0,[e,e.length],0,t)}Zn("gggg","weekYear");Zn("ggggg","weekYear");Zn("GGGG","isoWeekYear");Zn("GGGGG","isoWeekYear");A("G",zn);A("g",zn);A("GG",V,he);A("gg",V,he);A("GGGG",Ei,Oi);A("gggg",Ei,Oi);A("GGGGG",Gn,Hn);A("ggggg",Gn,Hn);tn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=M(e)});tn(["gg","GG"],function(e,t,r,n){t[n]=C.parseTwoDigitYear(e)});function rg(e){return Ld.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ng(e){return Ld.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function og(){return Ze(this.year(),1,4)}function ag(){return Ze(this.isoWeekYear(),1,4)}function ig(){var e=this.localeData()._week;return Ze(this.year(),e.dow,e.doy)}function sg(){var e=this.localeData()._week;return Ze(this.weekYear(),e.dow,e.doy)}function Ld(e,t,r,n,a){var i;return e==null?qr(this,n,a).year:(i=Ze(e,n,a),t>i&&(t=i),cg.call(this,e,t,r,n,a))}function cg(e,t,r,n,a){var i=pd(e,t,r,n,a),s=Zr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}k("Q",0,"Qo","quarter");A("Q",rd);G("Q",function(e,t){t[je]=(M(e)-1)*3});function lg(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}k("D",["DD",2],"Do","date");A("D",V,fr);A("DD",V,he);A("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});G(["D","DD"],Fe);G("Do",function(e,t){t[Fe]=M(e.match(V)[0])});var Dd=pr("Date",!0);k("DDD",["DDDD",3],"DDDo","dayOfYear");A("DDD",$n);A("DDDD",nd);G(["DDD","DDDD"],function(e,t,r){r._dayOfYear=M(e)});function dg(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}k("m",["mm",2],0,"minute");A("m",V,wi);A("mm",V,he);G(["m","mm"],Ae);var ug=pr("Minutes",!1);k("s",["ss",2],0,"second");A("s",V,wi);A("ss",V,he);G(["s","ss"],Ye);var fg=pr("Seconds",!1);k("S",0,0,function(){return~~(this.millisecond()/100)});k(0,["SS",2],0,function(){return~~(this.millisecond()/10)});k(0,["SSS",3],0,"millisecond");k(0,["SSSS",4],0,function(){return this.millisecond()*10});k(0,["SSSSS",5],0,function(){return this.millisecond()*100});k(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});k(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});k(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});k(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});A("S",$n,rd);A("SS",$n,he);A("SSS",$n,nd);var ct,Md;for(ct="SSSS";ct.length<=9;ct+="S")A(ct,ur);function pg(e,t){t[Pt]=M(("0."+e)*1e3)}for(ct="S";ct.length<=9;ct+="S")G(ct,pg);Md=pr("Milliseconds",!1);k("z",0,0,"zoneAbbr");k("zz",0,0,"zoneName");function hg(){return this._isUTC?"UTC":""}function mg(){return this._isUTC?"Coordinated Universal Time":""}var O=Qr.prototype;O.add=sy;O.calendar=hy;O.clone=my;O.diff=Oy;O.endOf=Iy;O.format=Ay;O.from=_y;O.fromNow=Ry;O.to=ky;O.toNow=Ty;O.get=Ch;O.invalidAt=Hy;O.isAfter=yy;O.isBefore=gy;O.isBetween=by;O.isSame=xy;O.isSameOrAfter=vy;O.isSameOrBefore=Sy;O.isValid=By;O.lang=kd;O.locale=Rd;O.localeData=Td;O.max=Bm;O.min=Um;O.parsingFlags=Wy;O.set=Ah;O.startOf=Py;O.subtract=cy;O.toArray=My;O.toObject=Fy;O.toDate=Dy;O.toISOString=wy;O.inspect=Cy;typeof Symbol<"u"&&Symbol.for!=null&&(O[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});O.toJSON=Uy;O.toString=Ey;O.unix=Ly;O.valueOf=Ny;O.creationData=$y;O.eraName=jy;O.eraNarrow=Yy;O.eraAbbr=Ky;O.eraYear=Zy;O.year=id;O.isLeapYear=wh;O.weekYear=rg;O.isoWeekYear=ng;O.quarter=O.quarters=lg;O.month=ud;O.daysInMonth=Dh;O.week=O.weeks=Gh;O.isoWeek=O.isoWeeks=zh;O.weeksInYear=ig;O.weeksInWeekYear=sg;O.isoWeeksInYear=og;O.isoWeeksInISOWeekYear=ag;O.date=Dd;O.day=O.days=nm;O.weekday=om;O.isoWeekday=am;O.dayOfYear=dg;O.hour=O.hours=fm;O.minute=O.minutes=ug;O.second=O.seconds=fg;O.millisecond=O.milliseconds=Md;O.utcOffset=Km;O.utc=qm;O.local=Jm;O.parseZone=Xm;O.hasAlignedHourOffset=Qm;O.isDST=ey;O.isLocal=ry;O.isUtcOffset=ny;O.isUtc=wd;O.isUTC=wd;O.zoneAbbr=hg;O.zoneName=mg;O.dates=Se("dates accessor is deprecated. Use date instead.",Dd);O.months=Se("months accessor is deprecated. Use month instead",ud);O.years=Se("years accessor is deprecated. Use year instead",id);O.zone=Se("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Zm);O.isDSTShifted=Se("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ty);function yg(e){return z(e*1e3)}function gg(){return z.apply(null,arguments).parseZone()}function Fd(e){return e}var $=xi.prototype;$.calendar=rh;$.longDateFormat=ih;$.invalidDate=ch;$.ordinal=uh;$.preparse=Fd;$.postformat=Fd;$.relativeTime=ph;$.pastFuture=hh;$.set=eh;$.eras=Gy;$.erasParse=zy;$.erasConvertYear=Vy;$.erasAbbrRegex=Jy;$.erasNameRegex=qy;$.erasNarrowRegex=Xy;$.months=Ph;$.monthsShort=Ih;$.monthsParse=Lh;$.monthsRegex=Fh;$.monthsShortRegex=Mh;$.week=Bh;$.firstDayOfYear=$h;$.firstDayOfWeek=Hh;$.weekdays=Xh;$.weekdaysMin=em;$.weekdaysShort=Qh;$.weekdaysParse=rm;$.weekdaysRegex=im;$.weekdaysShortRegex=sm;$.weekdaysMinRegex=cm;$.isPM=dm;$.meridiem=pm;function Bn(e,t,r,n){var a=Je(),i=Be().set(n,t);return a[r](i,e)}function Ud(e,t,r){if(qe(e)&&(t=e,e=void 0),e=e||"",t!=null)return Bn(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=Bn(e,n,r,"month");return a}function Fi(e,t,r,n){typeof e=="boolean"?(qe(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,qe(t)&&(r=t,t=void 0),t=t||"");var a=Je(),i=e?a._week.dow:0,s,l=[];if(r!=null)return Bn(t,(r+i)%7,n,"day");for(s=0;s<7;s++)l[s]=Bn(t,(s+i)%7,n,"day");return l}function bg(e,t){return Ud(e,t,"months")}function xg(e,t){return Ud(e,t,"monthsShort")}function vg(e,t,r){return Fi(e,t,r,"weekdays")}function Sg(e,t,r){return Fi(e,t,r,"weekdaysShort")}function Og(e,t,r){return Fi(e,t,r,"weekdaysMin")}lt("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=M(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});C.lang=Se("moment.lang is deprecated. Use moment.locale instead.",lt);C.langData=Se("moment.langData is deprecated. Use moment.localeData instead.",Je);var ze=Math.abs;function Eg(){var e=this._data;return this._milliseconds=ze(this._milliseconds),this._days=ze(this._days),this._months=ze(this._months),e.milliseconds=ze(e.milliseconds),e.seconds=ze(e.seconds),e.minutes=ze(e.minutes),e.hours=ze(e.hours),e.months=ze(e.months),e.years=ze(e.years),this}function Bd(e,t,r,n){var a=ke(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function wg(e,t){return Bd(this,e,t,1)}function Cg(e,t){return Bd(this,e,t,-1)}function ql(e){return e<0?Math.floor(e):Math.ceil(e)}function Ag(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=ql(mi(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,a=ve(e/1e3),n.seconds=a%60,i=ve(a/60),n.minutes=i%60,s=ve(i/60),n.hours=s%24,t+=ve(s/24),d=ve(Wd(t)),r+=d,t-=ql(mi(d)),l=ve(r/12),r%=12,n.days=t,n.months=r,n.years=l,this}function Wd(e){return e*4800/146097}function mi(e){return e*146097/4800}function _g(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=Oe(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Wd(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(mi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Xe(e){return function(){return this.as(e)}}var Hd=Xe("ms"),Rg=Xe("s"),kg=Xe("m"),Tg=Xe("h"),Pg=Xe("d"),Ig=Xe("w"),Ng=Xe("M"),Lg=Xe("Q"),Dg=Xe("y"),Mg=Hd;function Fg(){return ke(this)}function Ug(e){return e=Oe(e),this.isValid()?this[e+"s"]():NaN}function Nt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bg=Nt("milliseconds"),Wg=Nt("seconds"),Hg=Nt("minutes"),$g=Nt("hours"),Gg=Nt("days"),zg=Nt("months"),Vg=Nt("years");function jg(){return ve(this.days()/7)}var Ve=Math.round,sr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Yg(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}function Kg(e,t,r,n){var a=ke(e).abs(),i=Ve(a.as("s")),s=Ve(a.as("m")),l=Ve(a.as("h")),d=Ve(a.as("d")),f=Ve(a.as("M")),p=Ve(a.as("w")),h=Ve(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||p<=1&&["w"]||p<r.w&&["ww",p]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||h<=1&&["y"]||["yy",h],m[2]=t,m[3]=+e>0,m[4]=n,Yg.apply(null,m)}function Zg(e){return e===void 0?Ve:typeof e=="function"?(Ve=e,!0):!1}function qg(e,t){return sr[e]===void 0?!1:t===void 0?sr[e]:(sr[e]=t,e==="s"&&(sr.ss=t-1),!0)}function Jg(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=sr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},sr,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),a=this.localeData(),i=Kg(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ci=Math.abs;function ar(e){return(e>0)-(e<0)||+e}function qn(){if(!this.isValid())return this.localeData().invalidDate();var e=ci(this._milliseconds)/1e3,t=ci(this._days),r=ci(this._months),n,a,i,s,l=this.asSeconds(),d,f,p,h;return l?(n=ve(e/60),a=ve(n/60),e%=60,n%=60,i=ve(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=ar(this._months)!==ar(l)?"-":"",p=ar(this._days)!==ar(l)?"-":"",h=ar(this._milliseconds)!==ar(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?p+t+"D":"")+(a||n||e?"T":"")+(a?h+a+"H":"")+(n?h+n+"M":"")+(e?h+s+"S":"")):"P0D"}var B=Kn.prototype;B.isValid=zm;B.abs=Eg;B.add=wg;B.subtract=Cg;B.as=_g;B.asMilliseconds=Hd;B.asSeconds=Rg;B.asMinutes=kg;B.asHours=Tg;B.asDays=Pg;B.asWeeks=Ig;B.asMonths=Ng;B.asQuarters=Lg;B.asYears=Dg;B.valueOf=Mg;B._bubble=Ag;B.clone=Fg;B.get=Ug;B.milliseconds=Bg;B.seconds=Wg;B.minutes=Hg;B.hours=$g;B.days=Gg;B.weeks=jg;B.months=zg;B.years=Vg;B.humanize=Jg;B.toISOString=qn;B.toString=qn;B.toJSON=qn;B.locale=Rd;B.localeData=Td;B.toIsoString=Se("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qn);B.lang=kd;k("X",0,0,"unix");k("x",0,0,"valueOf");A("x",zn);A("X",bh);G("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});G("x",function(e,t,r){r._d=new Date(M(e))});C.version="2.30.1";Xp(z);C.fn=O;C.min=Wm;C.max=Hm;C.now=$m;C.utc=Be;C.unix=yg;C.months=bg;C.isDate=Xr;C.locale=lt;C.invalid=Wn;C.duration=ke;C.isMoment=Re;C.weekdays=vg;C.parseZone=gg;C.localeData=Je;C.isDuration=Nn;C.monthsShort=xg;C.weekdaysMin=Og;C.defineLocale=ki;C.updateLocale=gm;C.locales=bm;C.weekdaysShort=Sg;C.normalizeUnits=Oe;C.relativeTimeRounding=Zg;C.relativeTimeThreshold=qg;C.calendarFormat=py;C.prototype=O;C.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 Ui=C;var Jn={contentFont:o.external(Ir.contentFont,"Design system"),colorOnSurfaceHigh:o.external(Ir.colorOnSurfaceHigh,"Design system"),colorOnSurfaceMedium:o.external(Ir.colorOnSurfaceMedium,"Design system")},$d=J`
87
+ `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Kl={};function rd(e,t){C.deprecationHandler!=null&&C.deprecationHandler(e,t),Kl[e]||(td(t),Kl[e]=!0)}C.suppressDeprecationWarnings=!1;C.deprecationHandler=null;function We(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function rh(e){var t,r;for(r in e)$(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 li(e,t){var r=it({},e),n;for(n in t)$(t,n)&&(Pt(e[n])&&Pt(t[n])?(r[n]={},it(r[n],e[n]),it(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)$(e,n)&&!$(t,n)&&Pt(e[n])&&(r[n]=it({},r[n]));return r}function bi(e){e!=null&&this.set(e)}var di;Object.keys?di=Object.keys:di=function(e){var t,r=[];for(t in e)$(e,t)&&r.push(t);return r};var nh={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function oh(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return We(n)?n.call(t,r):n}function Ue(e,t,r){var n=""+Math.abs(e),a=t-n.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var xi=/(\[[^\[]*\])|(\\)?([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,Tn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ai={},cr={};function T(e,t,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),e&&(cr[e]=a),t&&(cr[t[0]]=function(){return Ue(a.apply(this,arguments),t[1],t[2])}),r&&(cr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function ah(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ih(e){var t=e.match(xi),r,n;for(r=0,n=t.length;r<n;r++)cr[t[r]]?t[r]=cr[t[r]]:t[r]=ah(t[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=We(t[s])?t[s].call(a,e):t[s];return i}}function Pn(e,t){return e.isValid()?(t=nd(t,e.localeData()),ai[t]=ai[t]||ih(t),ai[t](e)):e.localeData().invalidDate()}function nd(e,t){var r=5;function n(a){return t.longDateFormat(a)||a}for(Tn.lastIndex=0;r>=0&&Tn.test(e);)e=e.replace(Tn,n),Tn.lastIndex=0,r-=1;return e}var sh={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 ch(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(xi).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var lh="Invalid date";function dh(){return this._invalidDate}var uh="%d",fh=/\d{1,2}/;function ph(e){return this._ordinal.replace("%d",e)}var hh={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 mh(e,t,r,n){var a=this._relativeTime[r];return We(a)?a(e,t,r,n):a.replace(/%d/i,e)}function yh(e,t){var r=this._relativeTime[e>0?"future":"past"];return We(r)?r(t):r.replace(/%s/i,t)}var Zl={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 Se(e){return typeof e=="string"?Zl[e]||Zl[e.toLowerCase()]:void 0}function vi(e){var t={},r,n;for(n in e)$(e,n)&&(r=Se(n),r&&(t[r]=e[n]));return t}var gh={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 bh(e){var t=[],r;for(r in e)$(e,r)&&t.push({unit:r,priority:gh[r]});return t.sort(function(n,a){return n.priority-a.priority}),t}var od=/\d/,pe=/\d\d/,ad=/\d{3}/,Si=/\d{4}/,Hn=/[+-]?\d{6}/,j=/\d\d?/,id=/\d\d\d\d?/,sd=/\d\d\d\d\d\d?/,$n=/\d{1,3}/,Oi=/\d{1,4}/,Gn=/[+-]?\d{1,6}/,ur=/\d+/,zn=/[+-]?\d+/,xh=/Z|[+-]\d\d:?\d\d/gi,Vn=/Z|[+-]\d\d(?::?\d\d)?/gi,vh=/[+-]?\d+(\.\d{1,3})?/,en=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,fr=/^[1-9]\d?/,Ei=/^([1-9]\d|\d)/,Dn;Dn={};function A(e,t,r){Dn[e]=We(t)?t:function(n,a){return n&&r?r:t}}function Sh(e,t){return $(Dn,e)?Dn[e](t._strict,t._locale):new RegExp(Oh(e))}function Oh(e){return Ke(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,a,i){return r||n||a||i}))}function Ke(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function xe(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function F(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=xe(t)),r}var ui={};function z(e,t){var r,n=t,a;for(typeof e=="string"&&(e=[e]),qe(t)&&(n=function(i,s){s[t]=F(i)}),a=e.length,r=0;r<a;r++)ui[e[r]]=n}function tn(e,t){z(e,function(r,n,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function Eh(e,t,r){t!=null&&$(ui,e)&&ui[e](t,r._a,r,e)}function jn(e){return e%4===0&&e%100!==0||e%400===0}var ae=0,je=1,Fe=2,Q=3,Ce=4,Ye=5,It=6,wh=7,Ch=8;T("Y",0,0,function(){var e=this.year();return e<=9999?Ue(e,4):"+"+e});T(0,["YY",2],0,function(){return this.year()%100});T(0,["YYYY",4],0,"year");T(0,["YYYYY",5],0,"year");T(0,["YYYYYY",6,!0],0,"year");A("Y",zn);A("YY",j,pe);A("YYYY",Oi,Si);A("YYYYY",Gn,Hn);A("YYYYYY",Gn,Hn);z(["YYYYY","YYYYYY"],ae);z("YYYY",function(e,t){t[ae]=e.length===2?C.parseTwoDigitYear(e):F(e)});z("YY",function(e,t){t[ae]=C.parseTwoDigitYear(e)});z("Y",function(e,t){t[ae]=parseInt(e,10)});function Yr(e){return jn(e)?366:365}C.parseTwoDigitYear=function(e){return F(e)+(F(e)>68?1900:2e3)};var cd=pr("FullYear",!0);function Ah(){return jn(this.year())}function pr(e,t){return function(r){return r!=null?(ld(this,e,r),C.updateOffset(this,t),this):Kr(this,e)}}function Kr(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function ld(e,t,r){var n,a,i,s,l;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(a?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(a?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(a?n.setUTCHours(r):n.setHours(r));case"Date":return void(a?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}i=r,s=e.month(),l=e.date(),l=l===29&&s===1&&!jn(i)?28:l,a?n.setUTCFullYear(i,s,l):n.setFullYear(i,s,l)}}function _h(e){return e=Se(e),We(this[e])?this[e]():this}function Rh(e,t){if(typeof e=="object"){e=vi(e);var r=bh(e),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=Se(e),We(this[e]))return this[e](t);return this}function kh(e,t){return(e%t+t)%t}var q;Array.prototype.indexOf?q=Array.prototype.indexOf:q=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=kh(t,12);return e+=(t-r)/12,r===1?jn(e)?29:28:31-r%7%2}T("M",["MM",2],"Mo",function(){return this.month()+1});T("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});T("MMMM",0,0,function(e){return this.localeData().months(this,e)});A("M",j,fr);A("MM",j,pe);A("MMM",function(e,t){return t.monthsShortRegex(e)});A("MMMM",function(e,t){return t.monthsRegex(e)});z(["M","MM"],function(e,t){t[je]=F(e)-1});z(["MMM","MMMM"],function(e,t,r,n){var a=r._locale.monthsParse(e,n,r._strict);a!=null?t[je]=a:P(r).invalidMonth=e});var Th="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),dd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ud=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ih=en,Ph=en;function Nh(e,t){return e?Ae(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ud).test(t)?"format":"standalone"][e.month()]:Ae(this._months)?this._months:this._months.standalone}function Lh(e,t){return e?Ae(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ud.test(t)?"format":"standalone"][e.month()]:Ae(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Dh(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=Be([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=q.call(this._shortMonthsParse,s),a!==-1?a:null):(a=q.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=q.call(this._shortMonthsParse,s),a!==-1?a:(a=q.call(this._longMonthsParse,s),a!==-1?a:null)):(a=q.call(this._longMonthsParse,s),a!==-1?a:(a=q.call(this._shortMonthsParse,s),a!==-1?a:null))}function Mh(e,t,r){var n,a,i;if(this._monthsParseExact)return Dh.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=Be([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function fd(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=F(t);else if(t=e.localeData().monthsParse(t),!qe(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,wi(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function pd(e){return e!=null?(fd(this,e),C.updateOffset(this,!0),this):Kr(this,"Month")}function Fh(){return wi(this.year(),this.month())}function Uh(e){return this._monthsParseExact?($(this,"_monthsRegex")||hd.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):($(this,"_monthsShortRegex")||(this._monthsShortRegex=Ih),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Bh(e){return this._monthsParseExact?($(this,"_monthsRegex")||hd.call(this),e?this._monthsStrictRegex:this._monthsRegex):($(this,"_monthsRegex")||(this._monthsRegex=Ph),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function hd(){function e(d,f){return f.length-d.length}var t=[],r=[],n=[],a,i,s,l;for(a=0;a<12;a++)i=Be([2e3,a]),s=Ke(this.monthsShort(i,"")),l=Ke(this.months(i,"")),t.push(s),r.push(l),n.push(l),n.push(s);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Wh(e,t,r,n,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,n,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,n,a,i,s),l}function Zr(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 Mn(e,t,r){var n=7+t-r,a=(7+Zr(e,0,n).getUTCDay()-t)%7;return-a+n-1}function md(e,t,r,n,a){var i=(7+r-n)%7,s=Mn(e,n,a),l=1+7*(t-1)+i+s,d,f;return l<=0?(d=e-1,f=Yr(d)+l):l>Yr(e)?(d=e+1,f=l-Yr(e)):(d=e,f=l),{year:d,dayOfYear:f}}function qr(e,t,r){var n=Mn(e.year(),t,r),a=Math.floor((e.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+Ze(s,t,r)):a>Ze(e.year(),t,r)?(i=a-Ze(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function Ze(e,t,r){var n=Mn(e,t,r),a=Mn(e+1,t,r);return(Yr(e)-n+a)/7}T("w",["ww",2],"wo","week");T("W",["WW",2],"Wo","isoWeek");A("w",j,fr);A("ww",j,pe);A("W",j,fr);A("WW",j,pe);tn(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=F(e)});function Hh(e){return qr(e,this._week.dow,this._week.doy).week}var $h={dow:0,doy:6};function Gh(){return this._week.dow}function zh(){return this._week.doy}function Vh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function jh(e){var t=qr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}T("d",0,"do","day");T("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});T("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});T("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});T("e",0,0,"weekday");T("E",0,0,"isoWeekday");A("d",j);A("e",j);A("E",j);A("dd",function(e,t){return t.weekdaysMinRegex(e)});A("ddd",function(e,t){return t.weekdaysShortRegex(e)});A("dddd",function(e,t){return t.weekdaysRegex(e)});tn(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);a!=null?t.d=a:P(r).invalidWeekday=e});tn(["d","e","E"],function(e,t,r,n){t[n]=F(e)});function Yh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Kh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ci(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Zh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),yd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Jh=en,Xh=en,Qh=en;function em(e,t){var r=Ae(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ci(r,this._week.dow):e?r[e.day()]:r}function tm(e){return e===!0?Ci(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function rm(e){return e===!0?Ci(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function nm(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=Be([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=q.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=q.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=q.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=q.call(this._weekdaysParse,s),a!==-1||(a=q.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=q.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=q.call(this._shortWeekdaysParse,s),a!==-1||(a=q.call(this._weekdaysParse,s),a!==-1)?a:(a=q.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=q.call(this._minWeekdaysParse,s),a!==-1||(a=q.call(this._weekdaysParse,s),a!==-1)?a:(a=q.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function om(e,t,r){var n,a,i;if(this._weekdaysParseExact)return nm.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=Be([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function am(e){if(!this.isValid())return e!=null?this:NaN;var t=Kr(this,"Day");return e!=null?(e=Yh(e,this.localeData()),this.add(e-t,"d")):t}function im(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 sm(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Kh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function cm(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ai.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):($(this,"_weekdaysRegex")||(this._weekdaysRegex=Jh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function lm(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ai.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):($(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function dm(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ai.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):($(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qh),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ai(){function e(h,p){return p.length-h.length}var t=[],r=[],n=[],a=[],i,s,l,d,f;for(i=0;i<7;i++)s=Be([2e3,1]).day(i),l=Ke(this.weekdaysMin(s,"")),d=Ke(this.weekdaysShort(s,"")),f=Ke(this.weekdays(s,"")),t.push(l),r.push(d),n.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),n.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function _i(){return this.hours()%12||12}function um(){return this.hours()||24}T("H",["HH",2],0,"hour");T("h",["hh",2],0,_i);T("k",["kk",2],0,um);T("hmm",0,0,function(){return""+_i.apply(this)+Ue(this.minutes(),2)});T("hmmss",0,0,function(){return""+_i.apply(this)+Ue(this.minutes(),2)+Ue(this.seconds(),2)});T("Hmm",0,0,function(){return""+this.hours()+Ue(this.minutes(),2)});T("Hmmss",0,0,function(){return""+this.hours()+Ue(this.minutes(),2)+Ue(this.seconds(),2)});function gd(e,t){T(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}gd("a",!0);gd("A",!1);function bd(e,t){return t._meridiemParse}A("a",bd);A("A",bd);A("H",j,Ei);A("h",j,fr);A("k",j,fr);A("HH",j,pe);A("hh",j,pe);A("kk",j,pe);A("hmm",id);A("hmmss",sd);A("Hmm",id);A("Hmmss",sd);z(["H","HH"],Q);z(["k","kk"],function(e,t,r){var n=F(e);t[Q]=n===24?0:n});z(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});z(["h","hh"],function(e,t,r){t[Q]=F(e),P(r).bigHour=!0});z("hmm",function(e,t,r){var n=e.length-2;t[Q]=F(e.substr(0,n)),t[Ce]=F(e.substr(n)),P(r).bigHour=!0});z("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[Q]=F(e.substr(0,n)),t[Ce]=F(e.substr(n,2)),t[Ye]=F(e.substr(a)),P(r).bigHour=!0});z("Hmm",function(e,t,r){var n=e.length-2;t[Q]=F(e.substr(0,n)),t[Ce]=F(e.substr(n))});z("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[Q]=F(e.substr(0,n)),t[Ce]=F(e.substr(n,2)),t[Ye]=F(e.substr(a))});function fm(e){return(e+"").toLowerCase().charAt(0)==="p"}var pm=/[ap]\.?m?\.?/i,hm=pr("Hours",!0);function mm(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var xd={calendar:nh,longDateFormat:sh,invalidDate:lh,ordinal:uh,dayOfMonthOrdinalParse:fh,relativeTime:hh,months:Th,monthsShort:dd,week:$h,weekdays:Zh,weekdaysMin:qh,weekdaysShort:yd,meridiemParse:pm},Z={},Vr={},Jr;function ym(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function ql(e){return e&&e.toLowerCase().replace("_","-")}function gm(e){for(var t=0,r,n,a,i;t<e.length;){for(i=ql(e[t]).split("-"),r=i.length,n=ql(e[t+1]),n=n?n.split("-"):null;r>0;){if(a=Yn(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&ym(i,n)>=r-1)break;r--}t++}return Jr}function bm(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Yn(e){var t=null,r;if(Z[e]===void 0&&typeof module<"u"&&module&&module.exports&&bm(e))try{t=Jr._abbr,r=Bi,r("./locale/"+e),ct(t)}catch{Z[e]=null}return Z[e]}function ct(e,t){var r;return e&&(le(t)?r=Je(e):r=Ri(e,t),r?Jr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Jr._abbr}function Ri(e,t){if(t!==null){var r,n=xd;if(t.abbr=e,Z[e]!=null)rd("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Z[e]._config;else if(t.parentLocale!=null)if(Z[t.parentLocale]!=null)n=Z[t.parentLocale]._config;else if(r=Yn(t.parentLocale),r!=null)n=r._config;else return Vr[t.parentLocale]||(Vr[t.parentLocale]=[]),Vr[t.parentLocale].push({name:e,config:t}),null;return Z[e]=new bi(li(n,t)),Vr[e]&&Vr[e].forEach(function(a){Ri(a.name,a.config)}),ct(e),Z[e]}else return delete Z[e],null}function xm(e,t){if(t!=null){var r,n,a=xd;Z[e]!=null&&Z[e].parentLocale!=null?Z[e].set(li(Z[e]._config,t)):(n=Yn(e),n!=null&&(a=n._config),t=li(a,t),n==null&&(t.abbr=e),r=new bi(t),r.parentLocale=Z[e],Z[e]=r),ct(e)}else Z[e]!=null&&(Z[e].parentLocale!=null?(Z[e]=Z[e].parentLocale,e===ct()&&ct(e)):Z[e]!=null&&delete Z[e]);return Z[e]}function Je(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Jr;if(!Ae(e)){if(t=Yn(e),t)return t;e=[e]}return gm(e)}function vm(){return di(Z)}function ki(e){var t,r=e._a;return r&&P(e).overflow===-2&&(t=r[je]<0||r[je]>11?je:r[Fe]<1||r[Fe]>wi(r[ae],r[je])?Fe:r[Q]<0||r[Q]>24||r[Q]===24&&(r[Ce]!==0||r[Ye]!==0||r[It]!==0)?Q:r[Ce]<0||r[Ce]>59?Ce:r[Ye]<0||r[Ye]>59?Ye:r[It]<0||r[It]>999?It:-1,P(e)._overflowDayOfYear&&(t<ae||t>Fe)&&(t=Fe),P(e)._overflowWeeks&&t===-1&&(t=wh),P(e)._overflowWeekday&&t===-1&&(t=Ch),P(e).overflow=t),e}var Sm=/^\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)?)?$/,Om=/^\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)?)?$/,Em=/Z|[+-]\d\d(?::?\d\d)?/,In=[["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]],ii=[["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/]],wm=/^\/?Date\((-?\d+)/i,Cm=/^(?:(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}))$/,Am={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vd(e){var t,r,n=e._i,a=Sm.exec(n)||Om.exec(n),i,s,l,d,f=In.length,h=ii.length;if(a){for(P(e).iso=!0,t=0,r=f;t<r;t++)if(In[t][1].exec(a[1])){s=In[t][0],i=In[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(ii[t][1].exec(a[3])){l=(a[2]||" ")+ii[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Em.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Ii(e)}else e._isValid=!1}function _m(e,t,r,n,a,i){var s=[Rm(e),dd.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Rm(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function km(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Tm(e,t,r){if(e){var n=yd.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(n!==a)return P(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Im(e,t,r){if(e)return Am[e];if(t)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function Sd(e){var t=Cm.exec(km(e._i)),r;if(t){if(r=_m(t[4],t[3],t[2],t[5],t[6],t[7]),!Tm(t[1],r,e))return;e._a=r,e._tzm=Im(t[8],t[9],t[10]),e._d=Zr.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),P(e).rfc2822=!0}else e._isValid=!1}function Pm(e){var t=wm.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(vd(e),e._isValid===!1)delete e._isValid;else return;if(Sd(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:C.createFromInputFallback(e)}C.createFromInputFallback=ve("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 ir(e,t,r){return e??t??r}function Nm(e){var t=new Date(C.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ti(e){var t,r,n=[],a,i,s;if(!e._d){for(a=Nm(e),e._w&&e._a[Fe]==null&&e._a[je]==null&&Lm(e),e._dayOfYear!=null&&(s=ir(e._a[ae],a[ae]),(e._dayOfYear>Yr(s)||e._dayOfYear===0)&&(P(e)._overflowDayOfYear=!0),r=Zr(s,0,e._dayOfYear),e._a[je]=r.getUTCMonth(),e._a[Fe]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Q]===24&&e._a[Ce]===0&&e._a[Ye]===0&&e._a[It]===0&&(e._nextDay=!0,e._a[Q]=0),e._d=(e._useUTC?Zr:Wh).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Q]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(P(e).weekdayMismatch=!0)}}function Lm(e){var t,r,n,a,i,s,l,d,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=ir(t.GG,e._a[ae],qr(V(),1,4).year),n=ir(t.W,1),a=ir(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,f=qr(V(),i,s),r=ir(t.gg,e._a[ae],f.year),n=ir(t.w,f.week),t.d!=null?(a=t.d,(a<0||a>6)&&(d=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(d=!0)):a=i),n<1||n>Ze(r,i,s)?P(e)._overflowWeeks=!0:d!=null?P(e)._overflowWeekday=!0:(l=md(r,n,a,i,s),e._a[ae]=l.year,e._dayOfYear=l.dayOfYear)}C.ISO_8601=function(){};C.RFC_2822=function(){};function Ii(e){if(e._f===C.ISO_8601){vd(e);return}if(e._f===C.RFC_2822){Sd(e);return}e._a=[],P(e).empty=!0;var t=""+e._i,r,n,a,i,s,l=t.length,d=0,f,h;for(a=nd(e._f,e._locale).match(xi)||[],h=a.length,r=0;r<h;r++)i=a[r],n=(t.match(Sh(i,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&P(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),d+=n.length),cr[i]?(n?P(e).empty=!1:P(e).unusedTokens.push(i),Eh(i,n,e)):e._strict&&!n&&P(e).unusedTokens.push(i);P(e).charsLeftOver=l-d,t.length>0&&P(e).unusedInput.push(t),e._a[Q]<=12&&P(e).bigHour===!0&&e._a[Q]>0&&(P(e).bigHour=void 0),P(e).parsedDateParts=e._a.slice(0),P(e).meridiem=e._meridiem,e._a[Q]=Dm(e._locale,e._a[Q],e._meridiem),f=P(e).era,f!==null&&(e._a[ae]=e._locale.erasConvertYear(f,e._a[ae])),Ti(e),ki(e)}function Dm(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Mm(e){var t,r,n,a,i,s,l=!1,d=e._f.length;if(d===0){P(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,t=gi({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Ii(t),yi(t)&&(s=!0),i+=P(t).charsLeftOver,i+=P(t).unusedTokens.length*10,P(t).score=i,l?i<n&&(n=i,r=t):(n==null||i<n||s)&&(n=i,r=t,s&&(l=!0));it(e,r||t)}function Fm(e){if(!e._d){var t=vi(e._i),r=t.day===void 0?t.date:t.day;e._a=ed([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Ti(e)}}function Um(e){var t=new Qr(ki(Od(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Od(e){var t=e._i,r=e._f;return e._locale=e._locale||Je(e._l),t===null||r===void 0&&t===""?Wn({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),_e(t)?new Qr(ki(t)):(Xr(t)?e._d=t:Ae(r)?Mm(e):r?Ii(e):Bm(e),yi(e)||(e._d=null),e))}function Bm(e){var t=e._i;le(t)?e._d=new Date(C.now()):Xr(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Pm(e):Ae(t)?(e._a=ed(t.slice(0),function(r){return parseInt(r,10)}),Ti(e)):Pt(t)?Fm(e):qe(t)?e._d=new Date(t):C.createFromInputFallback(e)}function Ed(e,t,r,n,a){var i={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Pt(e)&&mi(e)||Ae(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=n,Um(i)}function V(e,t,r,n){return Ed(e,t,r,n,!1)}var Wm=ve("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=V.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Wn()}),Hm=ve("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=V.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Wn()});function wd(e,t){var r,n;if(t.length===1&&Ae(t[0])&&(t=t[0]),!t.length)return V();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function $m(){var e=[].slice.call(arguments,0);return wd("isBefore",e)}function Gm(){var e=[].slice.call(arguments,0);return wd("isAfter",e)}var zm=function(){return Date.now?Date.now():+new Date},jr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Vm(e){var t,r=!1,n,a=jr.length;for(t in e)if($(e,t)&&!(q.call(jr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<a;++n)if(e[jr[n]]){if(r)return!1;parseFloat(e[jr[n]])!==F(e[jr[n]])&&(r=!0)}return!0}function jm(){return this._isValid}function Ym(){return Re(NaN)}function Kn(e){var t=vi(e),r=t.year||0,n=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,h=t.millisecond||0;this._isValid=Vm(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=Je(),this._bubble()}function Nn(e){return e instanceof Kn}function fi(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Km(e,t,r){var n=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<n;s++)(r&&e[s]!==t[s]||!r&&F(e[s])!==F(t[s]))&&i++;return i+a}function Cd(e,t){T(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Ue(~~(r/60),2)+t+Ue(~~r%60,2)})}Cd("Z",":");Cd("ZZ","");A("Z",Vn);A("ZZ",Vn);z(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Pi(Vn,e)});var Zm=/([\+\-]|\d\d)/gi;function Pi(e,t){var r=(t||"").match(e),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(Zm)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function Ni(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(_e(e)||Xr(e)?e.valueOf():V(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),C.updateOffset(r,!1),r):V(e).local()}function pi(e){return-Math.round(e._d.getTimezoneOffset())}C.updateOffset=function(){};function qm(e,t,r){var n=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Pi(Vn,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=pi(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==e&&(!t||this._changeInProgress?Rd(this,Re(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,C.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:pi(this)}function Jm(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Xm(e){return this.utcOffset(0,e)}function Qm(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pi(this),"m")),this}function ey(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Pi(xh,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ty(e){return this.isValid()?(e=e?V(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ry(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ny(){if(!le(this._isDSTShifted))return this._isDSTShifted;var e={},t;return gi(e,this),e=Od(e),e._a?(t=e._isUTC?Be(e._a):V(e._a),this._isDSTShifted=this.isValid()&&Km(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function oy(){return this.isValid()?!this._isUTC:!1}function ay(){return this.isValid()?this._isUTC:!1}function Ad(){return this.isValid()?this._isUTC&&this._offset===0:!1}var iy=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,sy=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Re(e,t){var r=e,n=null,a,i,s;return Nn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:qe(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=iy.exec(e))?(a=n[1]==="-"?-1:1,r={y:0,d:F(n[Fe])*a,h:F(n[Q])*a,m:F(n[Ce])*a,s:F(n[Ye])*a,ms:F(fi(n[It]*1e3))*a}):(n=sy.exec(e))?(a=n[1]==="-"?-1:1,r={y:Tt(n[2],a),M:Tt(n[3],a),w:Tt(n[4],a),d:Tt(n[5],a),h:Tt(n[6],a),m:Tt(n[7],a),s:Tt(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=cy(V(r.from),V(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new Kn(r),Nn(e)&&$(e,"_locale")&&(i._locale=e._locale),Nn(e)&&$(e,"_isValid")&&(i._isValid=e._isValid),i}Re.fn=Kn.prototype;Re.invalid=Ym;function Tt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Jl(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 cy(e,t){var r;return e.isValid()&&t.isValid()?(t=Ni(t,e),e.isBefore(t)?r=Jl(e,t):(r=Jl(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function _d(e,t){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(rd(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=Re(r,n),Rd(this,a,e),this}}function Rd(e,t,r,n){var a=t._milliseconds,i=fi(t._days),s=fi(t._months);e.isValid()&&(n=n??!0,s&&fd(e,Kr(e,"Month")+s*r),i&&ld(e,"Date",Kr(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),n&&C.updateOffset(e,i||s))}var ly=_d(1,"add"),dy=_d(-1,"subtract");function kd(e){return typeof e=="string"||e instanceof String}function uy(e){return _e(e)||Xr(e)||kd(e)||qe(e)||py(e)||fy(e)||e===null||e===void 0}function fy(e){var t=Pt(e)&&!mi(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=n.length;for(a=0;a<s;a+=1)i=n[a],r=r||$(e,i);return t&&r}function py(e){var t=Ae(e),r=!1;return t&&(r=e.filter(function(n){return!qe(n)&&kd(e)}).length===0),t&&r}function hy(e){var t=Pt(e)&&!mi(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||$(e,i);return t&&r}function my(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 yy(e,t){arguments.length===1&&(arguments[0]?uy(arguments[0])?(e=arguments[0],t=void 0):hy(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||V(),n=Ni(r,this).startOf("day"),a=C.calendarFormat(this,n)||"sameElse",i=t&&(We(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,V(r)))}function gy(){return new Qr(this)}function by(e,t){var r=_e(e)?e:V(e);return this.isValid()&&r.isValid()?(t=Se(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function xy(e,t){var r=_e(e)?e:V(e);return this.isValid()&&r.isValid()?(t=Se(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function vy(e,t,r,n){var a=_e(e)?e:V(e),i=_e(t)?t:V(t);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Sy(e,t){var r=_e(e)?e:V(e),n;return this.isValid()&&r.isValid()?(t=Se(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Oy(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ey(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function wy(e,t,r){var n,a,i;if(!this.isValid())return NaN;if(n=Ni(e,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,t=Se(t),t){case"year":i=Ln(this,n)/12;break;case"month":i=Ln(this,n);break;case"quarter":i=Ln(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:xe(i)}function Ln(e,t){if(e.date()<t.date())return-Ln(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),a,i;return t-n<0?(a=e.clone().add(r-1,"months"),i=(t-n)/(n-a)):(a=e.clone().add(r+1,"months"),i=(t-n)/(a-n)),-(r+i)||0}C.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";C.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Cy(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ay(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Pn(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",Pn(r,"Z")):Pn(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _y(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+a+i)}function Ry(e){e||(e=this.isUtc()?C.defaultFormatUtc:C.defaultFormat);var t=Pn(this,e);return this.localeData().postformat(t)}function ky(e,t){return this.isValid()&&(_e(e)&&e.isValid()||V(e).isValid())?Re({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ty(e){return this.from(V(),e)}function Iy(e,t){return this.isValid()&&(_e(e)&&e.isValid()||V(e).isValid())?Re({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Py(e){return this.to(V(),e)}function Td(e){var t;return e===void 0?this._locale._abbr:(t=Je(e),t!=null&&(this._locale=t),this)}var Id=ve("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 Pd(){return this._locale}var Fn=1e3,lr=60*Fn,Un=60*lr,Nd=(365*400+97)*24*Un;function dr(e,t){return(e%t+t)%t}function Ld(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Nd:new Date(e,t,r).valueOf()}function Dd(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Nd:Date.UTC(e,t,r)}function Ny(e){var t,r;if(e=Se(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Dd:Ld,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-=dr(t+(this._isUTC?0:this.utcOffset()*lr),Un);break;case"minute":t=this._d.valueOf(),t-=dr(t,lr);break;case"second":t=this._d.valueOf(),t-=dr(t,Fn);break}return this._d.setTime(t),C.updateOffset(this,!0),this}function Ly(e){var t,r;if(e=Se(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Dd:Ld,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+=Un-dr(t+(this._isUTC?0:this.utcOffset()*lr),Un)-1;break;case"minute":t=this._d.valueOf(),t+=lr-dr(t,lr)-1;break;case"second":t=this._d.valueOf(),t+=Fn-dr(t,Fn)-1;break}return this._d.setTime(t),C.updateOffset(this,!0),this}function Dy(){return this._d.valueOf()-(this._offset||0)*6e4}function My(){return Math.floor(this.valueOf()/1e3)}function Fy(){return new Date(this.valueOf())}function Uy(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function By(){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 Wy(){return this.isValid()?this.toISOString():null}function Hy(){return yi(this)}function $y(){return it({},P(this))}function Gy(){return P(this).overflow}function zy(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}T("N",0,0,"eraAbbr");T("NN",0,0,"eraAbbr");T("NNN",0,0,"eraAbbr");T("NNNN",0,0,"eraName");T("NNNNN",0,0,"eraNarrow");T("y",["y",1],"yo","eraYear");T("y",["yy",2],0,"eraYear");T("y",["yyy",3],0,"eraYear");T("y",["yyyy",4],0,"eraYear");A("N",Li);A("NN",Li);A("NNN",Li);A("NNNN",tg);A("NNNNN",rg);z(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?P(r).era=a:P(r).invalidEra=e});A("y",ur);A("yy",ur);A("yyy",ur);A("yyyy",ur);A("yo",ng);z(["y","yy","yyy","yyyy"],ae);z(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ae]=r._locale.eraYearOrdinalParse(e,a):t[ae]=parseInt(e,10)});function Vy(e,t){var r,n,a,i=this._eras||Je("en")._eras;for(r=0,n=i.length;r<n;++r)switch(typeof i[r].since==="string"&&(a=C(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=C(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}return i}function jy(e,t,r){var n,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),l=i[n].abbr.toUpperCase(),d=i[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[n];break;case"NNNN":if(s===e)return i[n];break;case"NNNNN":if(d===e)return i[n];break}else if([s,l,d].indexOf(e)>=0)return i[n]}function Yy(e,t){var r=e.since<=e.until?1:-1;return t===void 0?C(e.since).year():C(e.since).year()+(t-e.offset)*r}function Ky(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function Zy(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function qy(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function Jy(){var e,t,r,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return(this.year()-C(a[e].since).year())*r+a[e].offset;return this.year()}function Xy(e){return $(this,"_erasNameRegex")||Di.call(this),e?this._erasNameRegex:this._erasRegex}function Qy(e){return $(this,"_erasAbbrRegex")||Di.call(this),e?this._erasAbbrRegex:this._erasRegex}function eg(e){return $(this,"_erasNarrowRegex")||Di.call(this),e?this._erasNarrowRegex:this._erasRegex}function Li(e,t){return t.erasAbbrRegex(e)}function tg(e,t){return t.erasNameRegex(e)}function rg(e,t){return t.erasNarrowRegex(e)}function ng(e,t){return t._eraYearOrdinalRegex||ur}function Di(){var e=[],t=[],r=[],n=[],a,i,s,l,d,f=this.eras();for(a=0,i=f.length;a<i;++a)s=Ke(f[a].name),l=Ke(f[a].abbr),d=Ke(f[a].narrow),t.push(s),e.push(l),r.push(d),n.push(s),n.push(l),n.push(d);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}T(0,["gg",2],0,function(){return this.weekYear()%100});T(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Zn(e,t){T(0,[e,e.length],0,t)}Zn("gggg","weekYear");Zn("ggggg","weekYear");Zn("GGGG","isoWeekYear");Zn("GGGGG","isoWeekYear");A("G",zn);A("g",zn);A("GG",j,pe);A("gg",j,pe);A("GGGG",Oi,Si);A("gggg",Oi,Si);A("GGGGG",Gn,Hn);A("ggggg",Gn,Hn);tn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=F(e)});tn(["gg","GG"],function(e,t,r,n){t[n]=C.parseTwoDigitYear(e)});function og(e){return Md.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ag(e){return Md.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ig(){return Ze(this.year(),1,4)}function sg(){return Ze(this.isoWeekYear(),1,4)}function cg(){var e=this.localeData()._week;return Ze(this.year(),e.dow,e.doy)}function lg(){var e=this.localeData()._week;return Ze(this.weekYear(),e.dow,e.doy)}function Md(e,t,r,n,a){var i;return e==null?qr(this,n,a).year:(i=Ze(e,n,a),t>i&&(t=i),dg.call(this,e,t,r,n,a))}function dg(e,t,r,n,a){var i=md(e,t,r,n,a),s=Zr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}T("Q",0,"Qo","quarter");A("Q",od);z("Q",function(e,t){t[je]=(F(e)-1)*3});function ug(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}T("D",["DD",2],"Do","date");A("D",j,fr);A("DD",j,pe);A("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});z(["D","DD"],Fe);z("Do",function(e,t){t[Fe]=F(e.match(j)[0])});var Fd=pr("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear");A("DDD",$n);A("DDDD",ad);z(["DDD","DDDD"],function(e,t,r){r._dayOfYear=F(e)});function fg(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}T("m",["mm",2],0,"minute");A("m",j,Ei);A("mm",j,pe);z(["m","mm"],Ce);var pg=pr("Minutes",!1);T("s",["ss",2],0,"second");A("s",j,Ei);A("ss",j,pe);z(["s","ss"],Ye);var hg=pr("Seconds",!1);T("S",0,0,function(){return~~(this.millisecond()/100)});T(0,["SS",2],0,function(){return~~(this.millisecond()/10)});T(0,["SSS",3],0,"millisecond");T(0,["SSSS",4],0,function(){return this.millisecond()*10});T(0,["SSSSS",5],0,function(){return this.millisecond()*100});T(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});T(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});T(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});T(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});A("S",$n,od);A("SS",$n,pe);A("SSS",$n,ad);var st,Ud;for(st="SSSS";st.length<=9;st+="S")A(st,ur);function mg(e,t){t[It]=F(("0."+e)*1e3)}for(st="S";st.length<=9;st+="S")z(st,mg);Ud=pr("Milliseconds",!1);T("z",0,0,"zoneAbbr");T("zz",0,0,"zoneName");function yg(){return this._isUTC?"UTC":""}function gg(){return this._isUTC?"Coordinated Universal Time":""}var S=Qr.prototype;S.add=ly;S.calendar=yy;S.clone=gy;S.diff=wy;S.endOf=Ly;S.format=Ry;S.from=ky;S.fromNow=Ty;S.to=Iy;S.toNow=Py;S.get=_h;S.invalidAt=Gy;S.isAfter=by;S.isBefore=xy;S.isBetween=vy;S.isSame=Sy;S.isSameOrAfter=Oy;S.isSameOrBefore=Ey;S.isValid=Hy;S.lang=Id;S.locale=Td;S.localeData=Pd;S.max=Hm;S.min=Wm;S.parsingFlags=$y;S.set=Rh;S.startOf=Ny;S.subtract=dy;S.toArray=Uy;S.toObject=By;S.toDate=Fy;S.toISOString=Ay;S.inspect=_y;typeof Symbol<"u"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});S.toJSON=Wy;S.toString=Cy;S.unix=My;S.valueOf=Dy;S.creationData=zy;S.eraName=Ky;S.eraNarrow=Zy;S.eraAbbr=qy;S.eraYear=Jy;S.year=cd;S.isLeapYear=Ah;S.weekYear=og;S.isoWeekYear=ag;S.quarter=S.quarters=ug;S.month=pd;S.daysInMonth=Fh;S.week=S.weeks=Vh;S.isoWeek=S.isoWeeks=jh;S.weeksInYear=cg;S.weeksInWeekYear=lg;S.isoWeeksInYear=ig;S.isoWeeksInISOWeekYear=sg;S.date=Fd;S.day=S.days=am;S.weekday=im;S.isoWeekday=sm;S.dayOfYear=fg;S.hour=S.hours=hm;S.minute=S.minutes=pg;S.second=S.seconds=hg;S.millisecond=S.milliseconds=Ud;S.utcOffset=qm;S.utc=Xm;S.local=Qm;S.parseZone=ey;S.hasAlignedHourOffset=ty;S.isDST=ry;S.isLocal=oy;S.isUtcOffset=ay;S.isUtc=Ad;S.isUTC=Ad;S.zoneAbbr=yg;S.zoneName=gg;S.dates=ve("dates accessor is deprecated. Use date instead.",Fd);S.months=ve("months accessor is deprecated. Use month instead",pd);S.years=ve("years accessor is deprecated. Use year instead",cd);S.zone=ve("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Jm);S.isDSTShifted=ve("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ny);function bg(e){return V(e*1e3)}function xg(){return V.apply(null,arguments).parseZone()}function Bd(e){return e}var G=bi.prototype;G.calendar=oh;G.longDateFormat=ch;G.invalidDate=dh;G.ordinal=ph;G.preparse=Bd;G.postformat=Bd;G.relativeTime=mh;G.pastFuture=yh;G.set=rh;G.eras=Vy;G.erasParse=jy;G.erasConvertYear=Yy;G.erasAbbrRegex=Qy;G.erasNameRegex=Xy;G.erasNarrowRegex=eg;G.months=Nh;G.monthsShort=Lh;G.monthsParse=Mh;G.monthsRegex=Bh;G.monthsShortRegex=Uh;G.week=Hh;G.firstDayOfYear=zh;G.firstDayOfWeek=Gh;G.weekdays=em;G.weekdaysMin=rm;G.weekdaysShort=tm;G.weekdaysParse=om;G.weekdaysRegex=cm;G.weekdaysShortRegex=lm;G.weekdaysMinRegex=dm;G.isPM=fm;G.meridiem=mm;function Bn(e,t,r,n){var a=Je(),i=Be().set(n,t);return a[r](i,e)}function Wd(e,t,r){if(qe(e)&&(t=e,e=void 0),e=e||"",t!=null)return Bn(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=Bn(e,n,r,"month");return a}function Mi(e,t,r,n){typeof e=="boolean"?(qe(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,qe(t)&&(r=t,t=void 0),t=t||"");var a=Je(),i=e?a._week.dow:0,s,l=[];if(r!=null)return Bn(t,(r+i)%7,n,"day");for(s=0;s<7;s++)l[s]=Bn(t,(s+i)%7,n,"day");return l}function vg(e,t){return Wd(e,t,"months")}function Sg(e,t){return Wd(e,t,"monthsShort")}function Og(e,t,r){return Mi(e,t,r,"weekdays")}function Eg(e,t,r){return Mi(e,t,r,"weekdaysShort")}function wg(e,t,r){return Mi(e,t,r,"weekdaysMin")}ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=F(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});C.lang=ve("moment.lang is deprecated. Use moment.locale instead.",ct);C.langData=ve("moment.langData is deprecated. Use moment.localeData instead.",Je);var ze=Math.abs;function Cg(){var e=this._data;return this._milliseconds=ze(this._milliseconds),this._days=ze(this._days),this._months=ze(this._months),e.milliseconds=ze(e.milliseconds),e.seconds=ze(e.seconds),e.minutes=ze(e.minutes),e.hours=ze(e.hours),e.months=ze(e.months),e.years=ze(e.years),this}function Hd(e,t,r,n){var a=Re(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function Ag(e,t){return Hd(this,e,t,1)}function _g(e,t){return Hd(this,e,t,-1)}function Xl(e){return e<0?Math.floor(e):Math.ceil(e)}function Rg(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Xl(hi(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,a=xe(e/1e3),n.seconds=a%60,i=xe(a/60),n.minutes=i%60,s=xe(i/60),n.hours=s%24,t+=xe(s/24),d=xe($d(t)),r+=d,t-=Xl(hi(d)),l=xe(r/12),r%=12,n.days=t,n.months=r,n.years=l,this}function $d(e){return e*4800/146097}function hi(e){return e*146097/4800}function kg(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=Se(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+$d(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(hi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Xe(e){return function(){return this.as(e)}}var Gd=Xe("ms"),Tg=Xe("s"),Ig=Xe("m"),Pg=Xe("h"),Ng=Xe("d"),Lg=Xe("w"),Dg=Xe("M"),Mg=Xe("Q"),Fg=Xe("y"),Ug=Gd;function Bg(){return Re(this)}function Wg(e){return e=Se(e),this.isValid()?this[e+"s"]():NaN}function Nt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Hg=Nt("milliseconds"),$g=Nt("seconds"),Gg=Nt("minutes"),zg=Nt("hours"),Vg=Nt("days"),jg=Nt("months"),Yg=Nt("years");function Kg(){return xe(this.days()/7)}var Ve=Math.round,sr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zg(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}function qg(e,t,r,n){var a=Re(e).abs(),i=Ve(a.as("s")),s=Ve(a.as("m")),l=Ve(a.as("h")),d=Ve(a.as("d")),f=Ve(a.as("M")),h=Ve(a.as("w")),p=Ve(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]=n,Zg.apply(null,m)}function Jg(e){return e===void 0?Ve:typeof e=="function"?(Ve=e,!0):!1}function Xg(e,t){return sr[e]===void 0?!1:t===void 0?sr[e]:(sr[e]=t,e==="s"&&(sr.ss=t-1),!0)}function Qg(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=sr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},sr,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),a=this.localeData(),i=qg(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var si=Math.abs;function ar(e){return(e>0)-(e<0)||+e}function qn(){if(!this.isValid())return this.localeData().invalidDate();var e=si(this._milliseconds)/1e3,t=si(this._days),r=si(this._months),n,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(n=xe(e/60),a=xe(n/60),e%=60,n%=60,i=xe(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=ar(this._months)!==ar(l)?"-":"",h=ar(this._days)!==ar(l)?"-":"",p=ar(this._milliseconds)!==ar(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||n||e?"T":"")+(a?p+a+"H":"")+(n?p+n+"M":"")+(e?p+s+"S":"")):"P0D"}var H=Kn.prototype;H.isValid=jm;H.abs=Cg;H.add=Ag;H.subtract=_g;H.as=kg;H.asMilliseconds=Gd;H.asSeconds=Tg;H.asMinutes=Ig;H.asHours=Pg;H.asDays=Ng;H.asWeeks=Lg;H.asMonths=Dg;H.asQuarters=Mg;H.asYears=Fg;H.valueOf=Ug;H._bubble=Rg;H.clone=Bg;H.get=Wg;H.milliseconds=Hg;H.seconds=$g;H.minutes=Gg;H.hours=zg;H.days=Vg;H.weeks=Kg;H.months=jg;H.years=Yg;H.humanize=Qg;H.toISOString=qn;H.toString=qn;H.toJSON=qn;H.locale=Td;H.localeData=Pd;H.toIsoString=ve("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qn);H.lang=Id;T("X",0,0,"unix");T("x",0,0,"valueOf");A("x",zn);A("X",vh);z("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});z("x",function(e,t,r){r._d=new Date(F(e))});C.version="2.30.1";eh(V);C.fn=S;C.min=$m;C.max=Gm;C.now=zm;C.utc=Be;C.unix=bg;C.months=vg;C.isDate=Xr;C.locale=ct;C.invalid=Wn;C.duration=Re;C.isMoment=_e;C.weekdays=Og;C.parseZone=xg;C.localeData=Je;C.isDuration=Nn;C.monthsShort=Sg;C.weekdaysMin=wg;C.defineLocale=Ri;C.updateLocale=xm;C.locales=vm;C.weekdaysShort=Eg;C.normalizeUnits=Se;C.relativeTimeRounding=Jg;C.relativeTimeThreshold=Xg;C.calendarFormat=my;C.prototype=S;C.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 Fi=C;var Jn={contentFont:o.external(Pr.contentFont,"Design system"),colorOnSurfaceHigh:o.external(Pr.colorOnSurfaceHigh,"Design system"),colorOnSurfaceMedium:o.external(Pr.colorOnSurfaceMedium,"Design system")},zd=J`
88
88
 
89
89
  table {
90
90
  font-family: ${Jn.contentFont};
@@ -110,19 +110,19 @@ Arguments: `+Array.prototype.slice.call(n).join("")+`
110
110
  color: ${Jn.colorOnSurfaceMedium};
111
111
  }
112
112
 
113
- `;var hr=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Te=class e extends se{constructor(){super(...arguments),this.baseUrl="",this.startDate=Ui.utc().startOf("month").add(-3,"months").format("YYYY-MM-DD"),this.endDate=Ui.utc().startOf("month").format("YYYY-MM-DD"),this.documentNumber=10,this.documents=[],this.emptyResults=!1}render(){return this.documents.length===0?this.emptyResults?re`
113
+ `;var hr=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ke=class e extends se{constructor(){super(...arguments),this.baseUrl="",this.startDate=Fi.utc().startOf("month").add(-3,"months").format("YYYY-MM-DD"),this.endDate=Fi.utc().startOf("month").format("YYYY-MM-DD"),this.documentNumber=10,this.documents=[],this.emptyResults=!1}render(){return this.documents.length===0?this.emptyResults?te`
114
114
  <ft-typography variant="body1">No results during this period</ft-typography>
115
- `:re`
115
+ `:te`
116
116
  <div class="loader">
117
117
  <ft-loader></ft-loader>
118
118
  </div>
119
- `:re`
119
+ `:te`
120
120
  <div class="ft-analytics-top-documents">
121
121
  <table>
122
122
  ${Ut(this.documents,t=>this.renderDocument(t))}
123
123
  </table>
124
124
  </div>
125
- `}renderDocument(t){return re`
125
+ `}renderDocument(t){return te`
126
126
  <tr data-title="${t.id}" style="overflow:hidden; width:100%">
127
127
  <td class="document-views">
128
128
  ${t.displayCount.toLocaleString()}
@@ -134,17 +134,17 @@ Arguments: `+Array.prototype.slice.call(n).join("")+`
134
134
  ${t.title}
135
135
  </td>
136
136
  </tr>
137
- `}update(t){super.update(t),t.has("baseUrl")&&this.fetchDocuments().catch(r=>console.error("Cannot fetch documents: ",r))}async fetchDocuments(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/documents/views-top",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,paging:{page:1,perPage:this.documentNumber},startDate:this.startDate})});t.ok?(this.documents=(await t.json()).results,this.documents.length===0&&(this.emptyResults=!0)):console.log((await t.json()).message)}}static getIcon(t){switch(t){case"STRUCTURED_DOCUMENT":return re`
137
+ `}update(t){super.update(t),t.has("baseUrl")&&this.fetchDocuments().catch(r=>console.error("Cannot fetch documents: ",r))}async fetchDocuments(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/documents/views-top",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,paging:{page:1,perPage:this.documentNumber},startDate:this.startDate})});t.ok?(this.documents=(await t.json()).results,this.documents.length===0&&(this.emptyResults=!0)):console.log((await t.json()).message)}}static getIcon(t){switch(t){case"STRUCTURED_DOCUMENT":return te`
138
138
  <ft-icon>BOOK_PLAIN</ft-icon>
139
- `;case"UNSTRUCTURED_DOCUMENT":return re`
139
+ `;case"UNSTRUCTURED_DOCUMENT":return te`
140
140
  <ft-icon>UNSTRUCTURED_DOC</ft-icon>
141
- `;case"SHARED_PERSONAL_BOOK":return re`
141
+ `;case"SHARED_PERSONAL_BOOK":return te`
142
142
  <ft-icon>SHARED_PBK</ft-icon>
143
- `;case"ATTACHMENT":return re`
143
+ `;case"ATTACHMENT":return te`
144
144
  <ft-icon>UNSTRUCTURED_DOC</ft-icon>
145
- `;case"RESOURCE":return re`
145
+ `;case"RESOURCE":return te`
146
146
  <ft-icon>UNSTRUCTURED_DOC</ft-icon>
147
- `;default:return re``}}};Te.styles=$d;hr([D({type:String})],Te.prototype,"baseUrl",void 0);hr([D({type:String})],Te.prototype,"startDate",void 0);hr([D({type:String})],Te.prototype,"endDate",void 0);hr([D({type:String})],Te.prototype,"documentNumber",void 0);hr([ie()],Te.prototype,"documents",void 0);hr([ie()],Te.prototype,"emptyResults",void 0);var Gd={"ft-analytics-top-documents":Te};vo(Gd);})();
147
+ `;default:return te``}}};ke.styles=zd;hr([M({type:String})],ke.prototype,"baseUrl",void 0);hr([M({type:String})],ke.prototype,"startDate",void 0);hr([M({type:String})],ke.prototype,"endDate",void 0);hr([M({type:String})],ke.prototype,"documentNumber",void 0);hr([ie()],ke.prototype,"documents",void 0);hr([ie()],ke.prototype,"emptyResults",void 0);var Vd={"ft-analytics-top-documents":ke};vo(Vd);})();
148
148
  /*! Bundled license information:
149
149
 
150
150
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: