@fluid-topics/ft-analytics-sessions-chart 1.1.117 → 1.1.119
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,14 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?F.substr(1,F.length):F}).forEach(function(F){var B=F.split(":"),D=B.shift().trim();if(D){var Me=B.join(":").trim();try{x.append(D,Me)}catch(gr){console.warn("Response "+gr.message)}}}),x}_.call(w.prototype);function H(m,x){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new p(x.headers),this.url=x.url||"",this._initBody(m)}_.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},H.error=function(){var m=new H(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var j=[301,302,303,307,308];H.redirect=function(m,x){if(j.indexOf(x)===-1)throw new RangeError("Invalid status code");return new H(null,{status:x,headers:{location:m}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,k){this.message=x,this.name=k;var F=Error(x);this.stack=F.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function P(m,x){return new Promise(function(k,F){var B=new w(m,x);if(B.signal&&B.signal.aborted)return F(new r.DOMException("Aborted","AbortError"));var D=new XMLHttpRequest;function Me(){D.abort()}D.onload=function(){var se={statusText:D.statusText,headers:W(D.getAllResponseHeaders()||"")};B.url.indexOf("file://")===0&&(D.status<200||D.status>599)?se.status=200:se.status=D.status,se.url="responseURL"in D?D.responseURL:se.headers.get("X-Request-URL");var Et="response"in D?D.response:D.responseText;setTimeout(function(){k(new H(Et,se))},0)},D.onerror=function(){setTimeout(function(){F(new TypeError("Network request failed"))},0)},D.ontimeout=function(){setTimeout(function(){F(new TypeError("Network request timed out"))},0)},D.onabort=function(){setTimeout(function(){F(new r.DOMException("Aborted","AbortError"))},0)};function gr(se){try{return se===""&&o.location.href?o.location.href:se}catch{return se}}if(D.open(B.method,gr(B.url),!0),B.credentials==="include"?D.withCredentials=!0:B.credentials==="omit"&&(D.withCredentials=!1),"responseType"in D&&(a.blob?D.responseType="blob":a.arrayBuffer&&(D.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||o.Headers&&x.headers instanceof o.Headers)){var Zi=[];Object.getOwnPropertyNames(x.headers).forEach(function(se){Zi.push(l(se)),D.setRequestHeader(se,d(x.headers[se]))}),B.headers.forEach(function(se,Et){Zi.indexOf(Et)===-1&&D.setRequestHeader(Et,se)})}else B.headers.forEach(function(se,Et){D.setRequestHeader(Et,se)});B.signal&&(B.signal.addEventListener("abort",Me),D.onreadystatechange=function(){D.readyState===4&&B.signal.removeEventListener("abort",Me)}),D.send(typeof B._bodyInit>"u"?null:B._bodyInit)})}return P.polyfill=!0,o.fetch||(o.fetch=P,o.Headers=p,o.Request=w,o.Response=H),r.Headers=p,r.Request=w,r.Response=H,r.fetch=P,r}({})})(Qo);Qo.fetch.ponyfill=!0;delete Qo.fetch.polyfill;var cr=Xo.fetch?Xo:Qo;vt=cr.fetch;vt.default=cr.fetch;vt.fetch=cr.fetch;vt.Headers=cr.Headers;vt.Request=cr.Request;vt.Response=cr.Response;Ol.exports=vt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,T=new Set(S.observedAttributes||[]);y(S,T,w);let W={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(v,W),this._definitionsByClass.set(S,W);let H=r.call(o,v);H||(H=p(v),e.call(o,v,H)),this===window.customElements&&(s.set(S,W),W.standInClass=H);let j=this._awaitingUpgrade.get(v);if(j){this._awaitingUpgrade.delete(v);for(let m of j)i.delete(m),b(m,W,!0)}let P=this._whenDefinedPromises.get(v);return P!==void 0&&(P.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){N.push(this),o.upgrade.apply(o,arguments),N.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(v);return w===void 0&&(w={},w.promise=new Promise(T=>w.resolve=T),this._whenDefinedPromises.set(v,w)),w.promise}_upgradeWhenDefined(v,S,w){let T=this._awaitingUpgrade.get(S);T||this._awaitingUpgrade.set(S,T=new Set),w?T.add(v):T.delete(v)}};let l;window.HTMLElement=function(){let S=l;if(S)return l=void 0,S;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),a.set(S,w),S},window.HTMLElement.prototype=t.prototype;let d=v=>v===document||v instanceof ShadowRoot,h=v=>{let S=v.getRootNode();if(!d(S)){let w=N[N.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),d(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},p=v=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let T=h(w)||window.customElements,W=T._getDefinition(v);return W?b(w,W):i.set(w,T),w}connectedCallback(){let w=a.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let w=a.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=a.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=a.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=a.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=a.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},y=(v,S,w)=>{if(S.size===0||w===void 0)return;let T=v.prototype.setAttribute;T&&(v.prototype.setAttribute=function(j,P){let m=j.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);T.call(this,m,P),w.call(this,m,x,P)}else T.call(this,m,P)});let W=v.prototype.removeAttribute;W&&(v.prototype.removeAttribute=function(j){let P=j.toLowerCase();if(S.has(P)){let m=this.getAttribute(P);W.call(this,P),w.call(this,P,m,null)}else W.call(this,P)});let H=v.prototype.toggleAttribute;H&&(v.prototype.toggleAttribute=function(j,P){let m=j.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);H.call(this,m,P);let k=this.getAttribute(m);w.call(this,m,x,k)}else H.call(this,m,P)})},g=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(v,window.HTMLElement):g(S)},b=(v,S,w=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),a.set(v,S),l=v;try{new S.elementClass}catch{g(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(T=>{v.hasAttribute(T)&&S.attributeChangedCallback.call(v,T,null,v.getAttribute(T))}),w&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=O.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let N=[document],C=(v,S,w=void 0)=>{let T=(w?Object.getPrototypeOf(w):v.prototype)[S];v.prototype[S]=function(){N.push(this);let W=T.apply(w||this,arguments);return W!==void 0&&c.set(W,this),N.pop(),W}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let _=(v,S)=>{let w=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...w,set(T){N.push(this),w.set.call(this,T),N.pop()}})};if(_(Element,"innerHTML"),_(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let P=S.call(this,...j);return v.set(P,this),P},w.forEach(j=>{let P=window.ElementInternals.prototype,m=P[j];P[j]=function(...x){let k=v.get(this);if(a.get(k).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class W{constructor(P){let m=new Map;P.forEach((x,k)=>{let F=x.getAttribute("name"),B=m.get(F)||[];this[+k]=x,B.push(x),m.set(F,B)}),this.length=P.length,m.forEach((x,k)=>{x&&(x.length===1?this[k]=x[0]:this[k]=new T(x))})}namedItem(P){return this[P]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=H.get.call(this,[]),P=[];for(let m of j){let x=a.get(m);(!x||x.formAssociated===!0)&&P.push(m)}return new W(P)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,a)=>{if(o!==null)try{e.bind(window.customElements)(r,o,a)}catch(i){console.info(r,o,a,i)}}}var Wn={};V(Wn,{CSSResult:()=>Gt,LitElement:()=>Ke,ReactiveElement:()=>Le,_$LE:()=>vd,_$LH:()=>gd,adoptStyles:()=>Ao,css:()=>re,defaultConverter:()=>No,getCompatibleStyle:()=>_r,html:()=>Ir,isServer:()=>hb,noChange:()=>lt,notEqual:()=>Tn,nothing:()=>oe,render:()=>Un,supportsAdoptingStyleSheets:()=>Er,svg:()=>md,unsafeCSS:()=>Cr});var po=globalThis,yo=po.ShadowRoot&&(po.ShadyCSS===void 0||po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xi=Symbol(),Ji=new WeakMap,ho=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Xi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(yo&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Ji.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Ji.set(r,e))}return e}toString(){return this.cssText}},Qi=t=>new ho(typeof t=="string"?t:t+"",void 0,Xi);var An=(t,e)=>{if(yo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),a=po.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)}},mo=yo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Qi(r)})(t):t;var{is:Ju,defineProperty:Xu,getOwnPropertyDescriptor:Qu,getOwnPropertyNames:ed,getOwnPropertySymbols:td,getPrototypeOf:rd}=Object,go=globalThis,es=go.trustedTypes,od=es?es.emptyScript:"",nd=go.reactiveElementPolyfillSupport,br=(t,e)=>t,xr={toAttribute(t,e){switch(e){case Boolean:t=t?od:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},bo=(t,e)=>!Ju(t,e),ts={attribute:!0,type:String,converter:xr,reflect:!1,hasChanged:bo};Symbol.metadata??=Symbol("metadata"),go.litPropertyMetadata??=new WeakMap;var Ct=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ts){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(e,o,r);a!==void 0&&Xu(this.prototype,e,a)}}static getPropertyDescriptor(e,r,o){let{get:a,set:i}=Qu(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let c=a?.call(this);i.call(this,s),this.requestUpdate(e,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ts}static _$Ei(){if(this.hasOwnProperty(br("elementProperties")))return;let e=rd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(br("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(br("properties"))){let r=this.properties,o=[...ed(r),...td(r)];for(let a of o)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let a of o)r.unshift(mo(a))}else e!==void 0&&r.push(mo(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return An(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:xr).toAttribute(r,o.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let o=this.constructor,a=o._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:xr;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,o,a=!1,i){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??bo)(a?i:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ct.elementStyles=[],Ct.shadowRootOptions={mode:"open"},Ct[br("elementProperties")]=new Map,Ct[br("finalized")]=new Map,nd?.({ReactiveElement:Ct}),(go.reactiveElementVersions??=[]).push("2.0.2");var Rn=globalThis,xo=Rn.trustedTypes,rs=xo?xo.createPolicy("lit-html",{createHTML:t=>t}):void 0,kn="$lit$",Ve=`lit$${(Math.random()+"").slice(9)}$`,Pn="?"+Ve,ad=`<${Pn}>`,Nt=document,vo=()=>Nt.createComment(""),Sr=t=>t===null||typeof t!="object"&&typeof t!="function",cs=Array.isArray,ls=t=>cs(t)||typeof t?.[Symbol.iterator]=="function",Nn=`[
|
|
1
|
+
"use strict";(()=>{var zu=Object.create;var _n=Object.defineProperty;var ju=Object.getOwnPropertyDescriptor;var Vu=Object.getOwnPropertyNames;var Gu=Object.getPrototypeOf,Ku=Object.prototype.hasOwnProperty;var qi=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var Zu=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),V=(t,e)=>{for(var r in e)_n(t,r,{get:e[r],enumerable:!0})},qu=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Vu(e))!Ku.call(t,a)&&a!==r&&_n(t,a,{get:()=>e[a],enumerable:!(o=ju(e,a))||o.enumerable});return t};var Ju=(t,e,r)=>(r=t!=null?zu(Gu(t)):{},qu(e||!t||!t.__esModule?_n(r,"default",{value:t,enumerable:!0}):r,t));var El=Zu((vt,wl)=>{var Xo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Qo=function(){function t(){this.fetch=!1,this.DOMException=Xo.DOMException}return t.prototype=Xo,new t}();(function(t){var e=function(r){var o=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function d(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var x={next:function(){var k=m.shift();return{done:k===void 0,value:k}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function p(m){this.map={},m instanceof p?m.forEach(function(x,k){this.append(k,x)},this):Array.isArray(m)?m.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}p.prototype.append=function(m,x){m=l(m),x=d(x);var k=this.map[m];this.map[m]=k?k+", "+x:x},p.prototype.delete=function(m){delete this.map[l(m)]},p.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},p.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},p.prototype.set=function(m,x){this.map[l(m)]=d(x)},p.prototype.forEach=function(m,x){for(var k in this.map)this.map.hasOwnProperty(k)&&m.call(x,this.map[k],k,this)},p.prototype.keys=function(){var m=[];return this.forEach(function(x,k){m.push(k)}),h(m)},p.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),h(m)},p.prototype.entries=function(){var m=[];return this.forEach(function(x,k){m.push([k,x])}),h(m)},a.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function g(m){return new Promise(function(x,k){m.onload=function(){x(m.result)},m.onerror=function(){k(m.error)}})}function b(m){var x=new FileReader,k=g(x);return x.readAsArrayBuffer(m),k}function O(m){var x=new FileReader,k=g(x),F=/charset=([A-Za-z0-9_-]+)/.exec(m.type),B=F?F[1]:"utf-8";return x.readAsText(m,B),k}function N(m){for(var x=new Uint8Array(m),k=new Array(x.length),F=0;F<x.length;F++)k[F]=String.fromCharCode(x[F]);return k.join("")}function C(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:a.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:a.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():a.arrayBuffer&&a.blob&&i(m)?(this._bodyArrayBuffer=C(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=C(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=y(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(T)}),this.json=function(){return this.text().then(JSON.parse)},this}var v=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(m){var x=m.toUpperCase();return v.indexOf(x)>-1?x:m}function w(m,x){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var k=x.body;if(m instanceof w){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new p(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!k&&m._bodyInit!=null&&(k=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new p(x.headers)),this.method=S(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in o){var D=new AbortController;return D.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var F=/([?&])_=[^&]*/;if(F.test(this.url))this.url=this.url.replace(F,"$1_="+new Date().getTime());else{var B=/\?/;this.url+=(B.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function T(m){var x=new FormData;return m.trim().split("&").forEach(function(k){if(k){var F=k.split("="),B=F.shift().replace(/\+/g," "),D=F.join("=").replace(/\+/g," ");x.append(decodeURIComponent(B),decodeURIComponent(D))}}),x}function W(m){var x=new p,k=m.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(F){return F.indexOf(`
|
|
2
|
+
`)===0?F.substr(1,F.length):F}).forEach(function(F){var B=F.split(":"),D=B.shift().trim();if(D){var Me=B.join(":").trim();try{x.append(D,Me)}catch(gr){console.warn("Response "+gr.message)}}}),x}_.call(w.prototype);function H(m,x){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new p(x.headers),this.url=x.url||"",this._initBody(m)}_.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},H.error=function(){var m=new H(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var j=[301,302,303,307,308];H.redirect=function(m,x){if(j.indexOf(x)===-1)throw new RangeError("Invalid status code");return new H(null,{status:x,headers:{location:m}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,k){this.message=x,this.name=k;var F=Error(x);this.stack=F.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function P(m,x){return new Promise(function(k,F){var B=new w(m,x);if(B.signal&&B.signal.aborted)return F(new r.DOMException("Aborted","AbortError"));var D=new XMLHttpRequest;function Me(){D.abort()}D.onload=function(){var se={statusText:D.statusText,headers:W(D.getAllResponseHeaders()||"")};B.url.indexOf("file://")===0&&(D.status<200||D.status>599)?se.status=200:se.status=D.status,se.url="responseURL"in D?D.responseURL:se.headers.get("X-Request-URL");var Et="response"in D?D.response:D.responseText;setTimeout(function(){k(new H(Et,se))},0)},D.onerror=function(){setTimeout(function(){F(new TypeError("Network request failed"))},0)},D.ontimeout=function(){setTimeout(function(){F(new TypeError("Network request timed out"))},0)},D.onabort=function(){setTimeout(function(){F(new r.DOMException("Aborted","AbortError"))},0)};function gr(se){try{return se===""&&o.location.href?o.location.href:se}catch{return se}}if(D.open(B.method,gr(B.url),!0),B.credentials==="include"?D.withCredentials=!0:B.credentials==="omit"&&(D.withCredentials=!1),"responseType"in D&&(a.blob?D.responseType="blob":a.arrayBuffer&&(D.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||o.Headers&&x.headers instanceof o.Headers)){var Zi=[];Object.getOwnPropertyNames(x.headers).forEach(function(se){Zi.push(l(se)),D.setRequestHeader(se,d(x.headers[se]))}),B.headers.forEach(function(se,Et){Zi.indexOf(Et)===-1&&D.setRequestHeader(Et,se)})}else B.headers.forEach(function(se,Et){D.setRequestHeader(Et,se)});B.signal&&(B.signal.addEventListener("abort",Me),D.onreadystatechange=function(){D.readyState===4&&B.signal.removeEventListener("abort",Me)}),D.send(typeof B._bodyInit>"u"?null:B._bodyInit)})}return P.polyfill=!0,o.fetch||(o.fetch=P,o.Headers=p,o.Request=w,o.Response=H),r.Headers=p,r.Request=w,r.Response=H,r.fetch=P,r}({})})(Qo);Qo.fetch.ponyfill=!0;delete Qo.fetch.polyfill;var cr=Xo.fetch?Xo:Qo;vt=cr.fetch;vt.default=cr.fetch;vt.fetch=cr.fetch;vt.Headers=cr.Headers;vt.Request=cr.Request;vt.Response=cr.Response;wl.exports=vt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,T=new Set(S.observedAttributes||[]);y(S,T,w);let W={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(v,W),this._definitionsByClass.set(S,W);let H=r.call(o,v);H||(H=p(v),e.call(o,v,H)),this===window.customElements&&(s.set(S,W),W.standInClass=H);let j=this._awaitingUpgrade.get(v);if(j){this._awaitingUpgrade.delete(v);for(let m of j)i.delete(m),b(m,W,!0)}let P=this._whenDefinedPromises.get(v);return P!==void 0&&(P.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){N.push(this),o.upgrade.apply(o,arguments),N.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(v);return w===void 0&&(w={},w.promise=new Promise(T=>w.resolve=T),this._whenDefinedPromises.set(v,w)),w.promise}_upgradeWhenDefined(v,S,w){let T=this._awaitingUpgrade.get(S);T||this._awaitingUpgrade.set(S,T=new Set),w?T.add(v):T.delete(v)}};let l;window.HTMLElement=function(){let S=l;if(S)return l=void 0,S;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),a.set(S,w),S},window.HTMLElement.prototype=t.prototype;let d=v=>v===document||v instanceof ShadowRoot,h=v=>{let S=v.getRootNode();if(!d(S)){let w=N[N.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),d(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},p=v=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let T=h(w)||window.customElements,W=T._getDefinition(v);return W?b(w,W):i.set(w,T),w}connectedCallback(){let w=a.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let w=a.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=a.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=a.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=a.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=a.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},y=(v,S,w)=>{if(S.size===0||w===void 0)return;let T=v.prototype.setAttribute;T&&(v.prototype.setAttribute=function(j,P){let m=j.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);T.call(this,m,P),w.call(this,m,x,P)}else T.call(this,m,P)});let W=v.prototype.removeAttribute;W&&(v.prototype.removeAttribute=function(j){let P=j.toLowerCase();if(S.has(P)){let m=this.getAttribute(P);W.call(this,P),w.call(this,P,m,null)}else W.call(this,P)});let H=v.prototype.toggleAttribute;H&&(v.prototype.toggleAttribute=function(j,P){let m=j.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);H.call(this,m,P);let k=this.getAttribute(m);w.call(this,m,x,k)}else H.call(this,m,P)})},g=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(v,window.HTMLElement):g(S)},b=(v,S,w=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),a.set(v,S),l=v;try{new S.elementClass}catch{g(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(T=>{v.hasAttribute(T)&&S.attributeChangedCallback.call(v,T,null,v.getAttribute(T))}),w&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=O.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let N=[document],C=(v,S,w=void 0)=>{let T=(w?Object.getPrototypeOf(w):v.prototype)[S];v.prototype[S]=function(){N.push(this);let W=T.apply(w||this,arguments);return W!==void 0&&c.set(W,this),N.pop(),W}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let _=(v,S)=>{let w=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...w,set(T){N.push(this),w.set.call(this,T),N.pop()}})};if(_(Element,"innerHTML"),_(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let P=S.call(this,...j);return v.set(P,this),P},w.forEach(j=>{let P=window.ElementInternals.prototype,m=P[j];P[j]=function(...x){let k=v.get(this);if(a.get(k).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class W{constructor(P){let m=new Map;P.forEach((x,k)=>{let F=x.getAttribute("name"),B=m.get(F)||[];this[+k]=x,B.push(x),m.set(F,B)}),this.length=P.length,m.forEach((x,k)=>{x&&(x.length===1?this[k]=x[0]:this[k]=new T(x))})}namedItem(P){return this[P]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=H.get.call(this,[]),P=[];for(let m of j){let x=a.get(m);(!x||x.formAssociated===!0)&&P.push(m)}return new W(P)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,a)=>{if(o!==null)try{e.bind(window.customElements)(r,o,a)}catch(i){console.info(r,o,a,i)}}}var Wn={};V(Wn,{CSSResult:()=>Gt,LitElement:()=>Ke,ReactiveElement:()=>Le,_$LE:()=>Sd,_$LH:()=>bd,adoptStyles:()=>Ao,css:()=>re,defaultConverter:()=>No,getCompatibleStyle:()=>_r,html:()=>Ir,isServer:()=>yb,noChange:()=>lt,notEqual:()=>Tn,nothing:()=>oe,render:()=>Un,supportsAdoptingStyleSheets:()=>Er,svg:()=>gd,unsafeCSS:()=>Cr});var po=globalThis,yo=po.ShadowRoot&&(po.ShadyCSS===void 0||po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xi=Symbol(),Ji=new WeakMap,ho=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Xi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(yo&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Ji.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Ji.set(r,e))}return e}toString(){return this.cssText}},Qi=t=>new ho(typeof t=="string"?t:t+"",void 0,Xi);var An=(t,e)=>{if(yo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),a=po.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)}},mo=yo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Qi(r)})(t):t;var{is:Xu,defineProperty:Qu,getOwnPropertyDescriptor:ed,getOwnPropertyNames:td,getOwnPropertySymbols:rd,getPrototypeOf:od}=Object,go=globalThis,es=go.trustedTypes,nd=es?es.emptyScript:"",ad=go.reactiveElementPolyfillSupport,br=(t,e)=>t,xr={toAttribute(t,e){switch(e){case Boolean:t=t?nd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},bo=(t,e)=>!Xu(t,e),ts={attribute:!0,type:String,converter:xr,reflect:!1,hasChanged:bo};Symbol.metadata??=Symbol("metadata"),go.litPropertyMetadata??=new WeakMap;var Ct=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ts){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(e,o,r);a!==void 0&&Qu(this.prototype,e,a)}}static getPropertyDescriptor(e,r,o){let{get:a,set:i}=ed(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let c=a?.call(this);i.call(this,s),this.requestUpdate(e,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ts}static _$Ei(){if(this.hasOwnProperty(br("elementProperties")))return;let e=od(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(br("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(br("properties"))){let r=this.properties,o=[...td(r),...rd(r)];for(let a of o)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let a of o)r.unshift(mo(a))}else e!==void 0&&r.push(mo(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return An(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:xr).toAttribute(r,o.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let o=this.constructor,a=o._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:xr;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,o,a=!1,i){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??bo)(a?i:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ct.elementStyles=[],Ct.shadowRootOptions={mode:"open"},Ct[br("elementProperties")]=new Map,Ct[br("finalized")]=new Map,ad?.({ReactiveElement:Ct}),(go.reactiveElementVersions??=[]).push("2.0.2");var Rn=globalThis,xo=Rn.trustedTypes,rs=xo?xo.createPolicy("lit-html",{createHTML:t=>t}):void 0,kn="$lit$",Ve=`lit$${(Math.random()+"").slice(9)}$`,Pn="?"+Ve,id=`<${Pn}>`,Nt=document,vo=()=>Nt.createComment(""),Sr=t=>t===null||typeof t!="object"&&typeof t!="function",cs=Array.isArray,ls=t=>cs(t)||typeof t?.[Symbol.iterator]=="function",Nn=`[
|
|
3
3
|
\f\r]`,vr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,os=/-->/g,ns=/>/g,_t=RegExp(`>|${Nn}(?:([^\\s"'>=/]+)(${Nn}*=${Nn}*(?:[^
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),as=/'/g,is=/"/g,us=/^(?:script|style|textarea|title)$/i,ds=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),tb=ds(1),rb=ds(2),ge=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),ss=new WeakMap,At=Nt.createTreeWalker(Nt,129);function fs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return rs!==void 0?rs.createHTML(e):e}var ps=(t,e)=>{let r=t.length-1,o=[],a,i=e===2?"<svg>":"",s=vr;for(let c=0;c<r;c++){let l=t[c],d,h,p=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===vr?h[1]==="!--"?s=os:h[1]!==void 0?s=ns:h[2]!==void 0?(us.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=_t):h[3]!==void 0&&(s=_t):s===_t?h[0]===">"?(s=a??vr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?_t:h[3]==='"'?is:as):s===is||s===as?s=_t:s===os||s===ns?s=vr:(s=_t,a=void 0);let g=s===_t&&t[c+1].startsWith("/>")?" ":"";i+=s===vr?l+ad:p>=0?(o.push(d),l.slice(0,p)+kn+l.slice(p)+Ve+g):l+Ve+(p===-2?c:g)}return[fs(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},Or=class t{constructor({strings:e,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=e.length-1,l=this.parts,[d,h]=ps(e,r);if(this.el=t.createElement(d,o),At.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=At.nextNode())!==null&&l.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(kn)){let y=h[s++],g=a.getAttribute(p).split(Ve),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:i,name:b[2],strings:g,ctor:b[1]==="."?Oo:b[1]==="?"?wo:b[1]==="@"?Eo:kt}),a.removeAttribute(p)}else p.startsWith(Ve)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(us.test(a.tagName)){let p=a.textContent.split(Ve),y=p.length-1;if(y>0){a.textContent=xo?xo.emptyScript:"";for(let g=0;g<y;g++)a.append(p[g],vo()),At.nextNode(),l.push({type:2,index:++i});a.append(p[y],vo())}}}else if(a.nodeType===8)if(a.data===Pn)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(Ve,p+1))!==-1;)l.push({type:7,index:i}),p+=Ve.length-1}i++}}static createElement(e,r){let o=Nt.createElement("template");return o.innerHTML=e,o}};function Rt(t,e,r=t,o){if(e===ge)return e;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=Sr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(e=Rt(t,a._$AS(t,e.values),a,o)),e}var So=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,a=(e?.creationScope??Nt).importNode(r,!0);At.currentNode=a;let i=At.nextNode(),s=0,c=0,l=o[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new wr(i,i.nextSibling,this,e):l.type===1?d=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(d=new Co(i,this,e)),this._$AV.push(d),l=o[++c]}s!==l?.index&&(i=At.nextNode(),s++)}return At.currentNode=Nt,a}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},wr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,a){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Rt(this,e,r),Sr(e)?e===Q||e==null||e===""?(this._$AH!==Q&&this._$AR(),this._$AH=Q):e!==this._$AH&&e!==ge&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ls(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Q&&Sr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Nt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Or.createElement(fs(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new So(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=ss.get(e.strings);return r===void 0&&ss.set(e.strings,r=new Or(e)),r}T(e){cs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of e)a===r.length?r.push(o=new t(this.k(vo()),this.k(vo()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,a,i){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Q}_$AI(e,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)e=Rt(this,e,r,0),s=!Sr(e)||e!==this._$AH&&e!==ge,s&&(this._$AH=e);else{let c=e,l,d;for(e=i[0],l=0;l<i.length-1;l++)d=Rt(this,c[o+l],r,l),d===ge&&(d=this._$AH[l]),s||=!Sr(d)||d!==this._$AH[l],d===Q?e=Q:e!==Q&&(e+=(d??"")+i[l+1]),this._$AH[l]=d}s&&!a&&this.O(e)}O(e){e===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Oo=class extends kt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Q?void 0:e}},wo=class extends kt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Q)}},Eo=class extends kt{constructor(e,r,o,a,i){super(e,r,o,a,i),this.type=5}_$AI(e,r=this){if((e=Rt(this,e,r,0)??Q)===ge)return;let o=this._$AH,a=e===Q&&o!==Q||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,i=e!==Q&&(o===Q||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Co=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Rt(this,e)}},hs={j:kn,P:Ve,A:Pn,C:1,M:ps,L:So,R:ls,V:Rt,D:wr,I:kt,H:wo,N:Eo,U:Oo,B:Co},id=Rn.litHtmlPolyfillSupport;id?.(Or,wr),(Rn.litHtmlVersions??=[]).push("3.1.0");var _o=globalThis,Er=_o.ShadowRoot&&(_o.ShadyCSS===void 0||_o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,In=Symbol(),ys=new WeakMap,Gt=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==In)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Er&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=ys.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&ys.set(r,e))}return e}toString(){return this.cssText}},Cr=t=>new Gt(typeof t=="string"?t:t+"",void 0,In),re=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new Gt(r,t,In)},Ao=(t,e)=>{if(Er)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),a=_o.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)}},_r=Er?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Cr(r)})(t):t;var{is:sd,defineProperty:cd,getOwnPropertyDescriptor:ld,getOwnPropertyNames:ud,getOwnPropertySymbols:dd,getPrototypeOf:fd}=Object,Ro=globalThis,ms=Ro.trustedTypes,pd=ms?ms.emptyScript:"",hd=Ro.reactiveElementPolyfillSupport,Ar=(t,e)=>t,No={toAttribute(t,e){switch(e){case Boolean:t=t?pd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Tn=(t,e)=>!sd(t,e),gs={attribute:!0,type:String,converter:No,reflect:!1,hasChanged:Tn};Symbol.metadata??=Symbol("metadata"),Ro.litPropertyMetadata??=new WeakMap;var Le=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=gs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(e,o,r);a!==void 0&&cd(this.prototype,e,a)}}static getPropertyDescriptor(e,r,o){let{get:a,set:i}=ld(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let c=a?.call(this);i.call(this,s),this.requestUpdate(e,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??gs}static _$Ei(){if(this.hasOwnProperty(Ar("elementProperties")))return;let e=fd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ar("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ar("properties"))){let r=this.properties,o=[...ud(r),...dd(r)];for(let a of o)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let a of o)r.unshift(_r(a))}else e!==void 0&&r.push(_r(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ao(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:No).toAttribute(r,o.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let o=this.constructor,a=o._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:No;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,o,a=!1,i){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??Tn)(a?i:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Le.elementStyles=[],Le.shadowRootOptions={mode:"open"},Le[Ar("elementProperties")]=new Map,Le[Ar("finalized")]=new Map,hd?.({ReactiveElement:Le}),(Ro.reactiveElementVersions??=[]).push("2.0.2");var Mn=globalThis,ko=Mn.trustedTypes,bs=ko?ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ln="$lit$",Ge=`lit$${(Math.random()+"").slice(9)}$`,Fn="?"+Ge,yd=`<${Fn}>`,Tt=document,Rr=()=>Tt.createComment(""),kr=t=>t===null||typeof t!="object"&&typeof t!="function",Es=Array.isArray,Cs=t=>Es(t)||typeof t?.[Symbol.iterator]=="function",Dn=`[
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),as=/'/g,is=/"/g,us=/^(?:script|style|textarea|title)$/i,ds=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),rb=ds(1),ob=ds(2),ge=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),ss=new WeakMap,At=Nt.createTreeWalker(Nt,129);function fs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return rs!==void 0?rs.createHTML(e):e}var ps=(t,e)=>{let r=t.length-1,o=[],a,i=e===2?"<svg>":"",s=vr;for(let c=0;c<r;c++){let l=t[c],d,h,p=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===vr?h[1]==="!--"?s=os:h[1]!==void 0?s=ns:h[2]!==void 0?(us.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=_t):h[3]!==void 0&&(s=_t):s===_t?h[0]===">"?(s=a??vr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?_t:h[3]==='"'?is:as):s===is||s===as?s=_t:s===os||s===ns?s=vr:(s=_t,a=void 0);let g=s===_t&&t[c+1].startsWith("/>")?" ":"";i+=s===vr?l+id:p>=0?(o.push(d),l.slice(0,p)+kn+l.slice(p)+Ve+g):l+Ve+(p===-2?c:g)}return[fs(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},Or=class t{constructor({strings:e,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=e.length-1,l=this.parts,[d,h]=ps(e,r);if(this.el=t.createElement(d,o),At.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=At.nextNode())!==null&&l.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(kn)){let y=h[s++],g=a.getAttribute(p).split(Ve),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:i,name:b[2],strings:g,ctor:b[1]==="."?Oo:b[1]==="?"?wo:b[1]==="@"?Eo:kt}),a.removeAttribute(p)}else p.startsWith(Ve)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(us.test(a.tagName)){let p=a.textContent.split(Ve),y=p.length-1;if(y>0){a.textContent=xo?xo.emptyScript:"";for(let g=0;g<y;g++)a.append(p[g],vo()),At.nextNode(),l.push({type:2,index:++i});a.append(p[y],vo())}}}else if(a.nodeType===8)if(a.data===Pn)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(Ve,p+1))!==-1;)l.push({type:7,index:i}),p+=Ve.length-1}i++}}static createElement(e,r){let o=Nt.createElement("template");return o.innerHTML=e,o}};function Rt(t,e,r=t,o){if(e===ge)return e;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=Sr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(e=Rt(t,a._$AS(t,e.values),a,o)),e}var So=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,a=(e?.creationScope??Nt).importNode(r,!0);At.currentNode=a;let i=At.nextNode(),s=0,c=0,l=o[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new wr(i,i.nextSibling,this,e):l.type===1?d=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(d=new Co(i,this,e)),this._$AV.push(d),l=o[++c]}s!==l?.index&&(i=At.nextNode(),s++)}return At.currentNode=Nt,a}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},wr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,a){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Rt(this,e,r),Sr(e)?e===Q||e==null||e===""?(this._$AH!==Q&&this._$AR(),this._$AH=Q):e!==this._$AH&&e!==ge&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ls(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Q&&Sr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Nt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Or.createElement(fs(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new So(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=ss.get(e.strings);return r===void 0&&ss.set(e.strings,r=new Or(e)),r}T(e){cs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of e)a===r.length?r.push(o=new t(this.k(vo()),this.k(vo()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,a,i){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Q}_$AI(e,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)e=Rt(this,e,r,0),s=!Sr(e)||e!==this._$AH&&e!==ge,s&&(this._$AH=e);else{let c=e,l,d;for(e=i[0],l=0;l<i.length-1;l++)d=Rt(this,c[o+l],r,l),d===ge&&(d=this._$AH[l]),s||=!Sr(d)||d!==this._$AH[l],d===Q?e=Q:e!==Q&&(e+=(d??"")+i[l+1]),this._$AH[l]=d}s&&!a&&this.O(e)}O(e){e===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Oo=class extends kt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Q?void 0:e}},wo=class extends kt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Q)}},Eo=class extends kt{constructor(e,r,o,a,i){super(e,r,o,a,i),this.type=5}_$AI(e,r=this){if((e=Rt(this,e,r,0)??Q)===ge)return;let o=this._$AH,a=e===Q&&o!==Q||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,i=e!==Q&&(o===Q||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Co=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Rt(this,e)}},hs={j:kn,P:Ve,A:Pn,C:1,M:ps,L:So,R:ls,V:Rt,D:wr,I:kt,H:wo,N:Eo,U:Oo,B:Co},sd=Rn.litHtmlPolyfillSupport;sd?.(Or,wr),(Rn.litHtmlVersions??=[]).push("3.1.0");var _o=globalThis,Er=_o.ShadowRoot&&(_o.ShadyCSS===void 0||_o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,In=Symbol(),ys=new WeakMap,Gt=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==In)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Er&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=ys.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&ys.set(r,e))}return e}toString(){return this.cssText}},Cr=t=>new Gt(typeof t=="string"?t:t+"",void 0,In),re=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new Gt(r,t,In)},Ao=(t,e)=>{if(Er)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),a=_o.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)}},_r=Er?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Cr(r)})(t):t;var{is:cd,defineProperty:ld,getOwnPropertyDescriptor:ud,getOwnPropertyNames:dd,getOwnPropertySymbols:fd,getPrototypeOf:pd}=Object,Ro=globalThis,ms=Ro.trustedTypes,hd=ms?ms.emptyScript:"",yd=Ro.reactiveElementPolyfillSupport,Ar=(t,e)=>t,No={toAttribute(t,e){switch(e){case Boolean:t=t?hd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Tn=(t,e)=>!cd(t,e),gs={attribute:!0,type:String,converter:No,reflect:!1,hasChanged:Tn};Symbol.metadata??=Symbol("metadata"),Ro.litPropertyMetadata??=new WeakMap;var Le=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=gs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(e,o,r);a!==void 0&&ld(this.prototype,e,a)}}static getPropertyDescriptor(e,r,o){let{get:a,set:i}=ud(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let c=a?.call(this);i.call(this,s),this.requestUpdate(e,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??gs}static _$Ei(){if(this.hasOwnProperty(Ar("elementProperties")))return;let e=pd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ar("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ar("properties"))){let r=this.properties,o=[...dd(r),...fd(r)];for(let a of o)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let a of o)r.unshift(_r(a))}else e!==void 0&&r.push(_r(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ao(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:No).toAttribute(r,o.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let o=this.constructor,a=o._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:No;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,o,a=!1,i){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??Tn)(a?i:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Le.elementStyles=[],Le.shadowRootOptions={mode:"open"},Le[Ar("elementProperties")]=new Map,Le[Ar("finalized")]=new Map,yd?.({ReactiveElement:Le}),(Ro.reactiveElementVersions??=[]).push("2.0.2");var Mn=globalThis,ko=Mn.trustedTypes,bs=ko?ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ln="$lit$",Ge=`lit$${(Math.random()+"").slice(9)}$`,Fn="?"+Ge,md=`<${Fn}>`,Tt=document,Rr=()=>Tt.createComment(""),kr=t=>t===null||typeof t!="object"&&typeof t!="function",Es=Array.isArray,Cs=t=>Es(t)||typeof t?.[Symbol.iterator]=="function",Dn=`[
|
|
5
5
|
\f\r]`,Nr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xs=/-->/g,vs=/>/g,Pt=RegExp(`>|${Dn}(?:([^\\s"'>=/]+)(${Dn}*=${Dn}*(?:[^
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ss=/'/g,Os=/"/g,_s=/^(?:script|style|textarea|title)$/i,As=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ir=As(1),md=As(2),lt=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),ws=new WeakMap,It=Tt.createTreeWalker(Tt,129);function Ns(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return bs!==void 0?bs.createHTML(e):e}var Rs=(t,e)=>{let r=t.length-1,o=[],a,i=e===2?"<svg>":"",s=Nr;for(let c=0;c<r;c++){let l=t[c],d,h,p=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===Nr?h[1]==="!--"?s=xs:h[1]!==void 0?s=vs:h[2]!==void 0?(_s.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Pt):h[3]!==void 0&&(s=Pt):s===Pt?h[0]===">"?(s=a??Nr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Pt:h[3]==='"'?Os:Ss):s===Os||s===Ss?s=Pt:s===xs||s===vs?s=Nr:(s=Pt,a=void 0);let g=s===Pt&&t[c+1].startsWith("/>")?" ":"";i+=s===Nr?l+yd:p>=0?(o.push(d),l.slice(0,p)+Ln+l.slice(p)+Ge+g):l+Ge+(p===-2?c:g)}return[Ns(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},Pr=class t{constructor({strings:e,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=e.length-1,l=this.parts,[d,h]=Rs(e,r);if(this.el=t.createElement(d,o),It.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=It.nextNode())!==null&&l.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Ln)){let y=h[s++],g=a.getAttribute(p).split(Ge),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:i,name:b[2],strings:g,ctor:b[1]==="."?Io:b[1]==="?"?To:b[1]==="@"?Do:Mt}),a.removeAttribute(p)}else p.startsWith(Ge)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(_s.test(a.tagName)){let p=a.textContent.split(Ge),y=p.length-1;if(y>0){a.textContent=ko?ko.emptyScript:"";for(let g=0;g<y;g++)a.append(p[g],Rr()),It.nextNode(),l.push({type:2,index:++i});a.append(p[y],Rr())}}}else if(a.nodeType===8)if(a.data===Fn)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(Ge,p+1))!==-1;)l.push({type:7,index:i}),p+=Ge.length-1}i++}}static createElement(e,r){let o=Tt.createElement("template");return o.innerHTML=e,o}};function Dt(t,e,r=t,o){if(e===lt)return e;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=kr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(e=Dt(t,a._$AS(t,e.values),a,o)),e}var Po=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,a=(e?.creationScope??Tt).importNode(r,!0);It.currentNode=a;let i=It.nextNode(),s=0,c=0,l=o[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Kt(i,i.nextSibling,this,e):l.type===1?d=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(d=new Mo(i,this,e)),this._$AV.push(d),l=o[++c]}s!==l?.index&&(i=It.nextNode(),s++)}return It.currentNode=Tt,a}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Kt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,a){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Dt(this,e,r),kr(e)?e===oe||e==null||e===""?(this._$AH!==oe&&this._$AR(),this._$AH=oe):e!==this._$AH&&e!==lt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Cs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==oe&&kr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Tt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Pr.createElement(Ns(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new Po(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=ws.get(e.strings);return r===void 0&&ws.set(e.strings,r=new Pr(e)),r}T(e){Es(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of e)a===r.length?r.push(o=new t(this.k(Rr()),this.k(Rr()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Mt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,a,i){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=oe}_$AI(e,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)e=Dt(this,e,r,0),s=!kr(e)||e!==this._$AH&&e!==lt,s&&(this._$AH=e);else{let c=e,l,d;for(e=i[0],l=0;l<i.length-1;l++)d=Dt(this,c[o+l],r,l),d===lt&&(d=this._$AH[l]),s||=!kr(d)||d!==this._$AH[l],d===oe?e=oe:e!==oe&&(e+=(d??"")+i[l+1]),this._$AH[l]=d}s&&!a&&this.O(e)}O(e){e===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Io=class extends Mt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===oe?void 0:e}},To=class extends Mt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==oe)}},Do=class extends Mt{constructor(e,r,o,a,i){super(e,r,o,a,i),this.type=5}_$AI(e,r=this){if((e=Dt(this,e,r,0)??oe)===lt)return;let o=this._$AH,a=e===oe&&o!==oe||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,i=e!==oe&&(o===oe||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Mo=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Dt(this,e)}},gd={j:Ln,P:Ge,A:Fn,C:1,M:Rs,L:Po,R:Cs,V:Dt,D:Kt,I:Mt,H:To,N:Do,U:Io,B:Mo},bd=Mn.litHtmlPolyfillSupport;bd?.(Pr,Kt),(Mn.litHtmlVersions??=[]).push("3.1.0");var Un=(t,e,r)=>{let o=r?.renderBefore??e,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Kt(e.insertBefore(Rr(),i),i,void 0,r??{})}return a._$AI(t),a};var Ke=class extends Le{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Un(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return lt}};Ke._$litElement$=!0,Ke.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ke});var xd=globalThis.litElementPolyfillSupport;xd?.({LitElement:Ke});var vd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var hb=!1;var Bn={};V(Bn,{customElement:()=>Sd,eventOptions:()=>wd,property:()=>U,query:()=>$n,queryAll:()=>Cd,queryAssignedElements:()=>Ad,queryAssignedNodes:()=>Nd,queryAsync:()=>_d,standardProperty:()=>ks,state:()=>Tr});var Sd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Od={attribute:!0,type:String,converter:xr,reflect:!1,hasChanged:bo},ks=(t=Od,e,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(o==="setter"){let{name:s}=r;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,t)}}throw Error("Unsupported decorator location: "+o)};function U(t){return(e,r)=>typeof r=="object"?ks(t,e,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...o,wrapped:!0}:o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function Tr(t){return U({...t,state:!0,attribute:!1})}function wd(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Ae=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function $n(t,e){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof o=="object"?r:a??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return Ae(r,o,{get(){let l=s.call(this);return l===void 0&&(l=i(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return Ae(r,o,{get(){return i(this)}})}}var Ed;function Cd(t){return(e,r)=>Ae(e,r,{get(){return(this.renderRoot??(Ed??=document.createDocumentFragment())).querySelectorAll(t)}})}function _d(t){return(e,r)=>Ae(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Ad(t){return(e,r)=>{let{slot:o,selector:a}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Ae(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(l=>l.matches(a))}})}}function Nd(t){return(e,r)=>{let{slot:o}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ae(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Hn={};V(Hn,{repeat:()=>Pd});var ut={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},dt=t=>(...e)=>({_$litDirective$:t,values:e}),Fe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Rd}=hs;var Ps=()=>document.createComment(""),Zt=(t,e,r)=>{let o=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=o.insertBefore(Ps(),a),s=o.insertBefore(Ps(),a);r=new Rd(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let l;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(l=t._$AU)!==s._$AU&&r._$AP(l)}if(i!==a||c){let l=r._$AA;for(;l!==i;){let d=l.nextSibling;o.insertBefore(l,a),l=d}}}return r},ft=(t,e,r=t)=>(t._$AI(e,r),t),kd={},Is=(t,e=kd)=>t._$AH=e,Ts=t=>t._$AH,Lo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var Ds=(t,e,r)=>{let o=new Map;for(let a=e;a<=r;a++)o.set(t[a],a);return o},Pd=dt(class extends Fe{constructor(t){if(super(t),t.type!==ut.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let a=[],i=[],s=0;for(let c of t)a[s]=o?o(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,o]){let a=Ts(t),{values:i,keys:s}=this.ht(e,r,o);if(!Array.isArray(a))return this.dt=s,i;let c=this.dt??=[],l=[],d,h,p=0,y=a.length-1,g=0,b=i.length-1;for(;p<=y&&g<=b;)if(a[p]===null)p++;else if(a[y]===null)y--;else if(c[p]===s[g])l[g]=ft(a[p],i[g]),p++,g++;else if(c[y]===s[b])l[b]=ft(a[y],i[b]),y--,b--;else if(c[p]===s[b])l[b]=ft(a[p],i[b]),Zt(t,l[b+1],a[p]),p++,b--;else if(c[y]===s[g])l[g]=ft(a[y],i[g]),Zt(t,a[p],a[y]),y--,g++;else if(d===void 0&&(d=Ds(s,g,b),h=Ds(c,p,y)),d.has(c[p]))if(d.has(c[y])){let O=h.get(s[g]),N=O!==void 0?a[O]:null;if(N===null){let C=Zt(t,a[p]);ft(C,i[g]),l[g]=C}else l[g]=ft(N,i[g]),Zt(t,a[p],N),a[O]=null;g++}else Lo(a[y]),y--;else Lo(a[p]),p++;for(;g<=b;){let O=Zt(t,l[b+1]);ft(O,i[g]),l[g++]=O}for(;p<=y;){let O=a[p++];O!==null&&Lo(O)}return this.dt=s,Is(t,l),ge}});var Yn={};V(Yn,{classMap:()=>Id});var Id=dt(class extends Fe{constructor(t){if(super(t),t.type!==ut.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.st?.has(o)&&this.it.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.it)o in e||(r.remove(o),this.it.delete(o));for(let o in e){let a=!!e[o];a===this.it.has(o)||this.st?.has(o)||(a?(r.add(o),this.it.add(o)):(r.remove(o),this.it.delete(o)))}return ge}});var zn={};V(zn,{styleMap:()=>Dd});var Ms="important",Td=" !"+Ms,Dd=dt(class extends Fe{constructor(t){if(super(t),t.type!==ut.ATTRIBUTE||t.name!=="style"||t.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(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let o of this.ut)e[o]==null&&(this.ut.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let a=e[o];if(a!=null){this.ut.add(o);let i=typeof a=="string"&&a.endsWith(Td);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?Ms:""):r[o]=a}}return ge}});var jn={};V(jn,{UnsafeHTMLDirective:()=>qt,unsafeHTML:()=>Md});var qt=class extends Fe{constructor(e){if(super(e),this.et=Q,e.type!==ut.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Q||e==null)return this.vt=void 0,this.et=e;if(e===ge)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};qt.directiveName="unsafeHTML",qt.resultType=1;var Md=dt(qt);var Zn={};V(Zn,{CacheRegistry:()=>Kn});var Gn={};V(Gn,{CancelablePromise:()=>Jt,CanceledPromiseError:()=>Dr,cancelable:()=>Vn});var Dr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Jt=class extends Promise{constructor(e){super((r,o)=>e(a=>{this.isCanceled?o(new Dr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Dr("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Vn=t=>new Jt((e,r)=>t.then(e).catch(r));var Kn=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Jt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,o){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Vn(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,o!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),o)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Jn={};V(Jn,{ClusteringHelper:()=>qn});var qn=class t{constructor(e,r,o,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(e,r){var o,a;let i=((a=(o=e?.map)!==null&&o!==void 0?o:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return r==null?t.flattenMetadata(i):t.flattenMetadata(i.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(o=>t.flattenMetadata(o)).filter(o=>o!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let o=[],a=[];return e.hierarchicalValues.forEach(i=>{o.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:o.join(", "),displayValue:a.join(", ")}}else{let o=e.values.join(", ");return{key:e.key,label:e.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(e,r,o="No value"){var a,i;let s=t.extractResultMetadata(this.selectedResult,e),c=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:c,value:void 0,displayValue:o}).filter(d=>d.value!=s?.value).filter((d,h,p)=>p.findIndex(y=>y.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,o,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(r,a,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(l=>{var d;return((d=t.extractResultMetadata(l,e))===null||d===void 0?void 0:d.value)==r}),i=[...t.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,c=-1;for(let l of o){let d=this.countMatchingMetadata(l,i);if(d>c&&(c=d,s=l,d===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Xn={};V(Xn,{Debouncer:()=>Mr});var Mr=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(c){a(c);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 ta={};V(ta,{customElement:()=>Ze,isNumber:()=>$s,jsonProperty:()=>Lt,optionalNumberProperty:()=>Bd});var ea={};V(ea,{dateReviver:()=>Fd,deepEqual:()=>Lr,delay:()=>Ls,eventPathContainsMatchingElement:()=>Wd,flatDeep:()=>Us,hasChanged:()=>Fr,last:()=>$d,minmax:()=>Qn,parseDate:()=>Ws,waitFor:()=>Fs,waitUntil:()=>Ld});var Ls=t=>new Promise(e=>setTimeout(e,t));async function Ld(t,e=10,r=2e4){await Fs(async()=>await t()||void 0,e,r)}async function Fs(t,e=10,r=2e4){let o=await t(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await Ls(e),o=await t(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Us(t,e){return t.flatMap(r=>[r,...Us(e(r),e)])}function Fd(...t){return function(e,r){return t.includes(e)?Ws(r):r}}function Ws(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,a)=>r+o+":"+a),new Date(t)}function Ud(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,o,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Lr(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!Lr(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[o]))return!1;for(o=r;o--!==0;){var i=a[o];if(!Lr(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Lr(t,e){try{return Ud(t,e)}catch{return!1}}function Fr(t,e){return!Lr(t,e)}function Wd(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Qn(t,e,r){return Math.min(Math.max(t,e),r)}function $d(t){return t[t.length-1]}var Ze=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Lt(t,e){let r=()=>JSON.parse(JSON.stringify(t));return U({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:Fr,...e??{}})}function Bd(t){return U({type:Object,converter:{fromAttribute:e=>{if(e!=null)return $s(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function $s(t){return!isNaN(parseFloat(t))}var aa={};V(aa,{designSystemVariables:()=>bf});var na={};V(na,{DesignSystemFamily:()=>Ur,DesignSystemSize:()=>Wr,FtCssVariableFactory:()=>n,badge:()=>Zd,banner:()=>Kd,breadcrumb:()=>qd,button:()=>zd,chart:()=>uf,checkbox:()=>pf,chip:()=>Vd,chipChoice:()=>jd,collapsible:()=>cf,comboboxMultiSelect:()=>af,comboboxSingleSelect:()=>nf,drawer:()=>Qd,floatingMenu:()=>of,foundation:()=>u,link:()=>Gd,modal:()=>Xd,notice:()=>ff,notification:()=>mf,pageDesigner:()=>df,pageHeader:()=>Jd,popover:()=>sf,radio:()=>yf,resolveFamilyClass:()=>ra,resolveSizeClass:()=>oa,semantic:()=>f,setVariable:()=>Fo,switch_:()=>lf,tabs:()=>ef,textArea:()=>rf,textInput:()=>tf,toggle:()=>hf,tooltip:()=>gf,typographies:()=>Hd,typographyBody1Medium:()=>Vs,typographyBody1Regular:()=>js,typographyBody1Semibold:()=>Gs,typographyBody2Medium:()=>Zs,typographyBody2MediumUnderline:()=>qs,typographyBody2Regular:()=>Ks,typographyBody2Semibold:()=>Js,typographyCaption1Bold:()=>ic,typographyCaption1Medium:()=>nc,typographyCaption1Semibold:()=>ac,typographyCaption2Bold:()=>lc,typographyCaption2Medium:()=>sc,typographyCaption2Semibold:()=>cc,typographyCaption3Bold:()=>fc,typographyCaption3Medium:()=>uc,typographyCaption3Semibold:()=>dc,typographyDisplay:()=>Bs,typographyLabel1Bold:()=>ec,typographyLabel1Medium:()=>Xs,typographyLabel1Semibold:()=>Qs,typographyLabel2Bold:()=>oc,typographyLabel2Medium:()=>tc,typographyLabel2Semibold:()=>rc,typographyTitle1:()=>Hs,typographyTitle2:()=>Ys,typographyTitle3:()=>zs,typographyVariants:()=>Yd});var qe=t=>typeof t=="string"?Cr(t):t,n=class{static create(e,r,o,a){let i=c=>qe(c??a),s=re`var(${qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>re`var(${qe(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,o,a){let i=c=>o.get(c??a),s=re`var(${qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>re`var(${qe(e)}, ${i(c)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(e,r){let o=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):qe(i??e.lastResortDefaultValue()),a=re`var(${qe(e.name)}, ${o(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=o,a.get=i=>re`var(${qe(e.name)}, ${o(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function Fo(t,e){return qe(`${t.name}: ${e}`)}var u={colorWhite:n.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:n.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:n.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:n.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:n.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:n.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:n.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:n.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:n.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:n.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:n.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:n.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:n.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:n.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ft-opacity-0","","NUMBER","0"),opacity8:n.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:n.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:n.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:n.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:n.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:n.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:n.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:n.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:n.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:n.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:n.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:n.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Bs={fontFamily:n.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:n.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-display-textCase","","UNKNOWN","none")},Hs={fontFamily:n.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:n.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ys={fontFamily:n.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:n.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},zs={fontFamily:n.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:n.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},js={fontFamily:n.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Vs={fontFamily:n.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Gs={fontFamily:n.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ks={fontFamily:n.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Zs={fontFamily:n.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},qs={fontFamily:n.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:n.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:n.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Js={fontFamily:n.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Xs={fontFamily:n.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Qs={fontFamily:n.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ec={fontFamily:n.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},tc={fontFamily:n.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},rc={fontFamily:n.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},oc={fontFamily:n.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},nc={fontFamily:n.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ac={fontFamily:n.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ic={fontFamily:n.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},sc={fontFamily:n.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},cc={fontFamily:n.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},lc={fontFamily:n.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},uc={fontFamily:n.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},dc={fontFamily:n.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},fc={fontFamily:n.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Hd={display:Bs,"title-1":Hs,"title-2":Ys,"title-3":zs,"body-1-regular":js,"body-1-medium":Vs,"body-1-semibold":Gs,"body-2-regular":Ks,"body-2-medium":Zs,"body-2-medium-underline":qs,"body-2-semibold":Js,"label-1-medium":Xs,"label-1-semibold":Qs,"label-1-bold":ec,"label-2-medium":tc,"label-2-semibold":rc,"label-2-bold":oc,"caption-1-medium":nc,"caption-1-semibold":ac,"caption-1-bold":ic,"caption-2-medium":sc,"caption-2-semibold":cc,"caption-2-bold":lc,"caption-3-medium":uc,"caption-3-semibold":dc,"caption-3-bold":fc},Yd=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:n.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:n.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:n.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:n.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:n.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:n.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:n.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:n.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:n.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:n.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:n.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:n.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:n.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:n.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:n.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:n.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:n.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:n.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
-
Also for action icons.`,u.colorGray200),contentGlobalSubtle:n.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:n.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:n.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:n.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:n.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:n.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:n.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:n.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:n.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:n.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:n.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:n.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:n.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:n.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:n.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80),borderNeutralPrimary:n.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",u.colorGray200)};var zd={largeHeight:n.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:n.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:n.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:n.extend("--ft-button-large-icon-size","",u.iconSize3),largeBorderWidth:n.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ft-button-medium-horizontal-padding","",u.spacing3),mediumGap:n.extend("--ft-button-medium-gap","",u.spacing2),mediumBorderRadius:n.extend("--ft-button-medium-border-radius","",u.borderRadiusS),mediumIconSize:n.extend("--ft-button-medium-icon-size","",u.iconSize2),mediumBorderWidth:n.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ft-button-small-horizontal-padding","",u.spacing2),smallGap:n.extend("--ft-button-small-gap","",u.spacing1),smallBorderRadius:n.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:n.extend("--ft-button-small-icon-size","",u.iconSize1),smallBorderWidth:n.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ft-button-x-small-icon-size","",u.iconSize1),xSmallFocusOutlineOffset:n.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ft-button-round-border-radius","",u.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:n.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ft-button-primary-brand-hover-state-layer-opacity","",u.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ft-button-primary-brand-focus-state-layer-opacity","",u.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ft-button-primary-brand-active-state-layer-opacity","",u.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ft-button-primary-brand-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",u.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",u.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",u.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ft-button-tertiary-brand-disabled-component-opacity","",u.opacity40),tertiaryInfoBackgroundColor:n.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",u.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",u.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ft-button-tertiary-info-active-state-layer-opacity","",u.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ft-button-tertiary-info-disabled-component-opacity","",u.opacity40),tertiarySuccessBackgroundColor:n.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",u.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",u.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ft-button-tertiary-success-active-state-layer-opacity","",u.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ft-button-tertiary-success-disabled-component-opacity","",u.opacity40),tertiaryWarningBackgroundColor:n.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",u.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",u.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",u.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ft-button-tertiary-warning-disabled-component-opacity","",u.opacity40),tertiaryErrorBackgroundColor:n.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",u.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",u.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ft-button-tertiary-error-active-state-layer-opacity","",u.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ft-button-tertiary-error-disabled-component-opacity","",u.opacity40),tertiaryNeutralBackgroundColor:n.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:n.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",u.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",u.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",u.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",u.opacity40),secondaryBrandBackgroundColor:n.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:n.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",u.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",u.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ft-button-secondary-brand-active-state-layer-opacity","",u.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ft-button-secondary-brand-disabled-component-opacity","",u.opacity40),secondaryBrandBorderColor:n.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",u.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",u.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",u.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ft-button-secondary-neutral-disabled-component-opacity","",u.opacity40),secondaryNeutralBackgroundColor:n.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ft-button-secondary-info-hover-state-layer-opacity","",u.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ft-button-secondary-info-focus-state-layer-opacity","",u.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ft-button-secondary-info-active-state-layer-opacity","",u.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ft-button-secondary-info-disabled-component-opacity","",u.opacity40),secondaryInfoBackgroundColor:n.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:n.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:n.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ft-button-secondary-success-hover-state-layer-opacity","",u.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ft-button-secondary-success-focus-state-layer-opacity","",u.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ft-button-secondary-success-active-state-layer-opacity","",u.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ft-button-secondary-success-disabled-component-opacity","",u.opacity40),secondarySuccessBackgroundColor:n.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:n.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:n.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",u.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",u.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ft-button-secondary-warning-active-state-layer-opacity","",u.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ft-button-secondary-warning-disabled-component-opacity","",u.opacity40),secondaryWarningBackgroundColor:n.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:n.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:n.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ft-button-secondary-error-hover-state-layer-opacity","",u.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ft-button-secondary-error-focus-state-layer-opacity","",u.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ft-button-secondary-error-active-state-layer-opacity","",u.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ft-button-secondary-error-disabled-component-opacity","",u.opacity40),secondaryErrorBackgroundColor:n.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:n.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:n.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var jd={neutralOffHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",u.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",u.opacity8),neutralOffFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",u.opacity16),neutralOffBackgroundColor:n.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:n.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",u.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",u.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",u.opacity24),neutralOnFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",u.opacity32),neutralOnBackgroundColor:n.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:n.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:n.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:n.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-choice-large-horizontal-padding","",u.spacing3),largeGap:n.extend("--ft-chip-choice-large-gap","",u.spacing1),largeBorderRadius:n.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ft-chip-choice-large-icon-size","",u.iconSize3),mediumMinHeight:n.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-choice-medium-horizontal-padding","",u.spacing2),mediumGap:n.extend("--ft-chip-choice-medium-gap","",u.spacing1),mediumBorderRadius:n.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ft-chip-choice-medium-icon-size","",u.iconSize2)};var Vd={largeMinHeight:n.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-large-horizontal-padding","",u.spacing3),largeButtonRightPadding:n.extend("--ft-chip-large-button-right-padding","",u.spacing1),largeGap:n.extend("--ft-chip-large-gap","",u.spacing1),largeFocusOutlineOffset:n.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ft-chip-large-icon-size","",u.iconSize3),mediumMinHeight:n.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-medium-horizontal-padding","",u.spacing2),mediumButtonRightPadding:n.extend("--ft-chip-medium-button-right-padding","",u.spacing05),mediumGap:n.extend("--ft-chip-medium-gap","",u.spacing1),mediumFocusOutlineOffset:n.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ft-chip-medium-icon-size","",u.iconSize2),smallMinHeight:n.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ft-chip-small-horizontal-padding","",u.spacing1),smallButtonRightPadding:n.extend("--ft-chip-small-button-right-padding","",u.spacing05),smallGap:n.extend("--ft-chip-small-gap","",u.spacing1),smallFocusOutlineOffset:n.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ft-chip-small-icon-size","",u.iconSize1),neutralBackgroundColor:n.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:n.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:n.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:n.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:n.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:n.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:n.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:n.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:n.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:n.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:n.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:n.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Gd={brandHoverOpacity:n.extend("--ft-link-brand-hover-opacity","",u.opacity80),brandHoverColor:n.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:n.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:n.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:n.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:n.extend("--ft-link-info-hover-opacity","",u.opacity80),infoHoverColor:n.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:n.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:n.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:n.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:n.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:n.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:n.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:n.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:n.extend("--ft-link-neutral-visited-color","",u.colorBrand100)};var Kd={iconSize:n.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:n.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ft-banner-left-padding","",u.spacing6),rightPadding:n.extend("--ft-banner-right-padding","",u.spacing6),verticalPadding:n.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:n.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:n.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:n.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:n.extend("--ft-banner-horizontal-middle-gap","",u.spacing20),infoBackgroundColor:n.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var Zd={horizontalPadding:n.extend("--ft-badge-horizontal-padding","",u.spacing1),verticalPadding:n.extend("--ft-badge-vertical-padding","",u.spacing1),borderRadius:n.extend("--ft-badge-border-radius","",u.borderRadiusPill),color:n.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:n.extend("--ft-badge-background-color","",f.contentActionPrimary)};var qd={horizontalGap:n.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:n.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentColor:n.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:n.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:n.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Jd={horizontalPadding:n.extend("--ft-page-header-horizontal-padding","",u.spacing6),horizontalGap:n.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:n.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:n.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:n.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:n.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:n.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:n.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:n.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:n.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Xd={smallContainerTargetWidth:n.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ft-modal-small-container-margin","",u.spacing6),mediumContainerTargetWidth:n.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ft-modal-medium-container-margin","",u.spacing6),largeContainerTargetWidth:n.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ft-modal-large-container-margin","",u.spacing6),overlayBackgroundColor:n.extend("--ft-modal-overlay-background-color","",u.colorGray700),overlayOpacity:n.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:n.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:n.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:n.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:n.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:n.extend("--ft-modal-body-vertical-gap","",u.spacing6),headerBackgroundColor:n.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:n.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:n.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:n.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:n.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:n.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottomWidth:n.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:n.extend("--ft-modal-border-radius","",u.borderRadiusM)};var Qd={overlayOpacity:n.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:n.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:n.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:n.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:n.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:n.extend("--ft-drawer-body-background-color","",u.colorWhite),headerBackgroundColor:n.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:n.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:n.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ft-drawer-header-horizontal-padding","",u.spacing2),headerBorderWidth:n.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ft-drawer-header-gap","",u.spacing3),buttonsBarBackgroundColor:n.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:n.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing6),buttonsBarVerticalPadding:n.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:n.extend("--ft-drawer-buttons-bar-gap","",u.spacing3),buttonsBarBorderWidth:n.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ft-drawer-overlay-background-color","",u.colorGray700)};var ef={offBorderBottomWidth:n.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offDefaultStateLayerOpacity:n.extend("--ft-tabs-off-default-state-layer-opacity","",u.opacity0),offFocusStateLayerOpacity:n.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offDisabledComponentOpacity:n.extend("--ft-tabs-off-disabled-component-opacity","",u.opacity40),offColor:n.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:n.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),topRightBorderRadius:n.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),withLabelHorizontalPadding:n.extend("--ft-tabs-with-label-horizontal-padding","",u.spacing4),withLabelVerticalPadding:n.extend("--ft-tabs-with-label-vertical-padding","",u.spacing3),horizontalGap:n.extend("--ft-tabs-horizontal-gap","",u.spacing1),verticalGap:n.extend("--ft-tabs-vertical-gap","",u.spacing1),onHoverStateLayerOpacity:n.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity16),onDefaultStateLayerOpacity:n.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:n.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:n.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity24),onColor:n.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ft-tabs-icon-only-horizontal-padding","",u.spacing4),iconOnlyVerticalPadding:n.extend("--ft-tabs-icon-only-vertical-padding","",u.spacing4),alertTopPadding:n.extend("--ft-tabs-alert-top-padding","",u.spacing1),alertRightPadding:n.extend("--ft-tabs-alert-right-padding","",u.spacing05),focusOutlineWidth:n.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var tf={fieldHorizontalPadding:n.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:n.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:n.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:n.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:n.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:n.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:n.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:n.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:n.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:n.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)};var rf={backgroundColor:n.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:n.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:n.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:n.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-area-disabled-component-opacity","",u.opacity40),fieldHorizontalLeftPadding:n.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:n.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:n.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:n.extend("--ft-text-area-border-radius","",u.borderRadiusM)};var of={height:n.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ft-floating-menu-horizontal-padding","",u.spacing4),offIconColor:n.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:n.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:n.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:n.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:n.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ft-floating-menu-focus-state-layer-opacity","",u.opacity8),hoverStateLayerOpacity:n.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:n.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:n.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:n.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:n.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:n.extend("--ft-floating-menu-shadow","",u.shadowElevation02)};var nf={fieldHorizontalPadding:n.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:n.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:n.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:n.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:n.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:n.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:n.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:n.extend("--ft-combobox-single-select-background-color","",u.colorWhite),labelColor:n.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:n.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:n.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:n.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:n.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-single-select-disabled-component-opacity","",u.opacity40)};var af={backgroundColor:n.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:n.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:n.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:n.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:n.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:n.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-multi-select-disabled-component-opacity","",u.opacity40),helperHorizontalPadding:n.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:n.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:n.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:n.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:n.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:n.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:n.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)};var sf={backgroundColor:n.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:n.extend("--ft-popover-vertical-padding","",u.spacing6),titleColor:n.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:n.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:n.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:n.extend("--ft-popover-gap","",u.spacing3),borderRadius:n.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:n.extend("--ft-popover-shadow","",u.shadowElevation02),maxWidth:n.create("--ft-popover-max-width","","SIZE","440px")};var cf={hoverStateLayerOpacity:n.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:n.extend("--ft-collapsible-focus-state-layer-opacity","",u.opacity8),focusOutlineWidth:n.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ft-collapsible-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:n.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:n.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:n.extend("--ft-collapsible-vertical-padding","",u.spacing3),color:n.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:n.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:n.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:n.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:n.extend("--ft-collapsible-icon-size","",u.iconSize3)};var lf={groupHorizontalPadding:n.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:n.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:n.extend("--ft-switch-group-gap","",u.spacing1),groupBackgroundColor:n.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:n.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:n.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ft-switch-label-horizontal-padding","",u.spacing2),labelVerticalPadding:n.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:n.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:n.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:n.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:n.extend("--ft-switch-off-disabled-component-opacity","",u.opacity40),offColor:n.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-switch-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:n.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:n.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:n.extend("--ft-switch-on-disabled-component-opacity","",u.opacity40),onColor:n.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:n.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:n.extend("--ft-switch-icon-vertical-padding","",u.spacing1),focusOutlineWidth:n.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:n.extend("--ft-switch-option-border-radius","",u.borderRadiusS)};var uf={color1Light:n.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:n.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:n.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:n.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:n.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:n.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:n.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:n.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:n.extend("--ft-chart-5-light","",u.colorRed40),color5Base:n.extend("--ft-chart-5-base","",u.colorRed60),color6Light:n.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:n.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:n.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:n.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:n.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:n.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:n.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:n.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:n.extend("--ft-chart-10-light","",u.colorGray50),color10Base:n.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:n.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:n.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:n.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:n.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:n.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:n.extend("--ft-chart-monochrome-60","",u.colorBrand200)};var df={color1IconColor:n.extend("--ft-page-designer-1-icon-color","for area color charts",u.colorCyan0),color1ToolbarColor:n.extend("--ft-page-designer-1-toolbar-color","for area color charts",u.colorCyan0),color2IconColor:n.extend("--ft-page-designer-2-icon-color","for area color charts",u.colorBrand0),color2ToolbarColor:n.extend("--ft-page-designer-2-toolbar-color","for area color charts",u.colorBrand0),color3IconColor:n.extend("--ft-page-designer-3-icon-color","for area color charts",u.colorYellow200),color3ToolbarColor:n.extend("--ft-page-designer-3-toolbar-color","for area color charts",u.colorYellow200),color4IconColor:n.extend("--ft-page-designer-4-icon-color","for area color charts",u.colorUltramarine50),color4ToolbarColor:n.extend("--ft-page-designer-4-toolbar-color","for area color charts",u.colorUltramarine50),color5IconColor:n.extend("--ft-page-designer-5-icon-color","for area color charts",u.colorGreen0),color5ToolbarColor:n.extend("--ft-page-designer-5-toolbar-color","for area color charts",u.colorGreen0),color6IconColor:n.extend("--ft-page-designer-6-icon-color","for area color charts",u.colorOrange0),color6ToolbarColor:n.extend("--ft-page-designer-6-toolbar-color","for area color charts",u.colorOrange0),color7IconColor:n.extend("--ft-page-designer-7-icon-color","for area color charts",u.colorAvocado200),color7ToolbarColor:n.extend("--ft-page-designer-7-toolbar-color","for area color charts",u.colorAvocado200),color8IconColor:n.extend("--ft-page-designer-8-icon-color","for area color charts",u.colorBrown0),color8ToolbarColor:n.extend("--ft-page-designer-8-toolbar-color","for area color charts",u.colorBrown0)};var ff={borderWidth:n.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ft-notice-horizontal-padding","",u.spacing3),verticalPadding:n.extend("--ft-notice-vertical-padding","",u.spacing2),borderRadius:n.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:n.extend("--ft-notice-gap","",u.spacing2),iconSize:n.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:n.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:n.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:n.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:n.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:n.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:n.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:n.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:n.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:n.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:n.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:n.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:n.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var pf={color:n.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:n.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:n.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ft-checkbox-checked-hover-state-layer-opacity","",u.opacity16),checkedFocusStateLayerOpacity:n.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:n.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:n.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:n.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:n.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:n.extend("--ft-checkbox-gap","",u.spacing3)};var hf={offHoverStateLayerOpacity:n.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:n.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:n.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:n.extend("--ft-toggle-off-disabled-component-opacity","",u.opacity40),offBackgroundColor:n.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:n.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-toggle-on-hover-state-layer-opacity","",u.opacity16),onFocusStateLayerOpacity:n.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:n.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:n.extend("--ft-toggle-on-disabled-component-opacity","",u.opacity40),onBackgroundColor:n.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:n.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:n.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:n.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:n.extend("--ft-toggle-gap","",u.spacing3)};var yf={color:n.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:n.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:n.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ft-radio-selected-hover-state-layer-opacity","",u.opacity16),selectedFocusStateLayerOpacity:n.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:n.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:n.extend("--ft-radio-selected-disabled-component-opacity","",u.opacity40),unselectedStateLayerColor:n.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:n.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ft-radio-unselected-hover-state-layer-opacity","",u.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:n.extend("--ft-radio-unselected-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:n.extend("--ft-radio-gap","",u.spacing3)};var mf={iconSize:n.extend("--ft-notification-icon-size","",u.iconSize4),leftPadding:n.extend("--ft-notification-left-padding","",u.spacing5),rightPadding:n.extend("--ft-notification-right-padding","",u.spacing4),verticalPadding:n.extend("--ft-notification-vertical-padding","",u.spacing3),infoBackgroundColor:n.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:n.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:n.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:n.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:n.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:n.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:n.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:n.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:n.extend("--ft-notification-border-radius","",u.borderRadiusPill),borderWidth:n.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:n.extend("--ft-notification-trailing-gap","",u.spacing8)};var gf={horizontalPadding:n.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:n.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:n.extend("--ft-tooltip-border-radius","",u.borderRadiusS),color:n.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:n.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:n.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:n.extend("--ft-tooltip-shadow","",u.shadowElevation02),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ft-tooltip-gap","",u.spacing05)};var Ur;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ur||(Ur={}));var Wr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Wr||(Wr={}));function ra(t){return`ftds--family-${t}`}function oa(t){return`ftds--size-${t}`}var bf={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:n.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:n.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:n.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:n.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:n.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:n.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:n.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:n.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:n.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:n.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var la={};V(la,{FtNotificationEvent:()=>ia,PostResizeEvent:()=>ca,PreResizeEvent:()=>sa});var ia=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},sa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ca=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var wa={};V(wa,{computeFlipOffsetPosition:()=>$f,computeOffsetPosition:()=>Wf});var hc=["top","right","bottom","left"],pc=["start","end"],ua=hc.reduce((t,e)=>t.concat(e,e+"-"+pc[0],e+"-"+pc[1]),[]),Hr=Math.min,pt=Math.max,Yr=Math.round;var Je=t=>({x:t,y:t}),xf={left:"right",right:"left",bottom:"top",top:"bottom"},vf={start:"end",end:"start"};function da(t,e,r){return pt(t,Hr(e,r))}function Xt(t,e){return typeof t=="function"?t(e):t}function Ue(t){return t.split("-")[0]}function We(t){return t.split("-")[1]}function fa(t){return t==="x"?"y":"x"}function pa(t){return t==="y"?"height":"width"}function zr(t){return["top","bottom"].includes(Ue(t))?"y":"x"}function ha(t){return fa(zr(t))}function ya(t,e,r){r===void 0&&(r=!1);let o=We(t),a=ha(t),i=pa(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Br(s)),[s,Br(s)]}function yc(t){let e=Br(t);return[$r(t),e,$r(e)]}function $r(t){return t.replace(/start|end/g,e=>vf[e])}function Sf(t,e,r){let o=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?a:o:e?o:a;case"left":case"right":return e?i:s;default:return[]}}function mc(t,e,r,o){let a=We(t),i=Sf(Ue(t),r==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map($r)))),i}function Br(t){return t.replace(/left|right|bottom|top/g,e=>xf[e])}function Of(t){return{top:0,right:0,bottom:0,left:0,...t}}function gc(t){return typeof t!="number"?Of(t):{top:t,right:t,bottom:t,left:t}}function Ft(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function bc(t,e,r){let{reference:o,floating:a}=t,i=zr(e),s=ha(e),c=pa(s),l=Ue(e),d=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,y=o[c]/2-a[c]/2,g;switch(l){case"top":g={x:h,y:o.y-a.height};break;case"bottom":g={x:h,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:p};break;case"left":g={x:o.x-a.width,y:p};break;default:g={x:o.x,y:o.y}}switch(We(e)){case"start":g[s]-=y*(r&&d?-1:1);break;case"end":g[s]+=y*(r&&d?-1:1);break}return g}var xc=async(t,e,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:p}=bc(d,o,l),y=o,g={},b=0;for(let O=0;O<c.length;O++){let{name:N,fn:C}=c[O],{x:_,y:v,data:S,reset:w}=await C({x:h,y:p,initialPlacement:o,placement:y,strategy:a,middlewareData:g,rects:d,platform:s,elements:{reference:t,floating:e}});if(h=_??h,p=v??p,g={...g,[N]:{...g[N],...S}},w&&b<=50){b++,typeof w=="object"&&(w.placement&&(y=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):w.rects),{x:h,y:p}=bc(d,y,l)),O=-1;continue}}return{x:h,y:p,placement:y,strategy:a,middlewareData:g}};async function Uo(t,e){var r;e===void 0&&(e={});let{x:o,y:a,platform:i,rects:s,elements:c,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=Xt(e,t),b=gc(g),N=c[y?p==="floating"?"reference":"floating":p],C=Ft(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(N)))==null||r?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:l})),_=p==="floating"?{...s.floating,x:o,y:a}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},w=Ft(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:v,strategy:l}):_);return{top:(C.top-w.top+b.top)/S.y,bottom:(w.bottom-C.bottom+b.bottom)/S.y,left:(C.left-w.left+b.left)/S.x,right:(w.right-C.right+b.right)/S.x}}function wf(t,e,r){return(t?[...r.filter(a=>We(a)===t),...r.filter(a=>We(a)!==t)]:r.filter(a=>Ue(a)===a)).filter(a=>t?We(a)===t||(e?$r(a)!==a:!1):!0)}var ma=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,a;let{rects:i,middlewareData:s,placement:c,platform:l,elements:d}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:y=ua,autoAlignment:g=!0,...b}=Xt(t,e),O=p!==void 0||y===ua?wf(p||null,g,y):y,N=await Uo(e,b),C=((r=s.autoPlacement)==null?void 0:r.index)||0,_=O[C];if(_==null)return{};let v=ya(_,i,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==_)return{reset:{placement:O[0]}};let S=[N[Ue(_)],N[v[0]],N[v[1]]],w=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:_,overflows:S}],T=O[C+1];if(T)return{data:{index:C+1,overflows:w},reset:{placement:T}};let W=w.map(P=>{let m=We(P.placement);return[P.placement,m&&h?P.overflows.slice(0,2).reduce((x,k)=>x+k,0):P.overflows[0],P.overflows]}).sort((P,m)=>P[1]-m[1]),j=((a=W.filter(P=>P[2].slice(0,We(P[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||W[0][0];return j!==c?{data:{index:C+1,overflows:w},reset:{placement:j}}:{}}}},ga=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,o;let{placement:a,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:d}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:O=!0,...N}=Xt(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let C=Ue(a),_=Ue(c)===c,v=await(l.isRTL==null?void 0:l.isRTL(d.floating)),S=y||(_||!O?[Br(c)]:yc(c));!y&&b!=="none"&&S.push(...mc(c,O,b,v));let w=[c,...S],T=await Uo(e,N),W=[],H=((o=i.flip)==null?void 0:o.overflows)||[];if(h&&W.push(T[C]),p){let x=ya(a,s,v);W.push(T[x[0]],T[x[1]])}if(H=[...H,{placement:a,overflows:W}],!W.every(x=>x<=0)){var j,P;let x=(((j=i.flip)==null?void 0:j.index)||0)+1,k=w[x];if(k)return{data:{index:x,overflows:H},reset:{placement:k}};let F=(P=H.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:P.placement;if(!F)switch(g){case"bestFit":{var m;let B=(m=H.map(D=>[D.placement,D.overflows.filter(Me=>Me>0).reduce((Me,gr)=>Me+gr,0)]).sort((D,Me)=>D[1]-Me[1])[0])==null?void 0:m[0];B&&(F=B);break}case"initialPlacement":F=c;break}if(a!==F)return{reset:{placement:F}}}return{}}}};async function Ef(t,e){let{placement:r,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Ue(r),c=We(r),l=zr(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&l?-1:1,p=Xt(e,t),{mainAxis:y,crossAxis:g,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return c&&typeof b=="number"&&(g=c==="end"?b*-1:b),l?{x:g*h,y:y*d}:{x:y*d,y:g*h}}var ba=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:a,y:i,placement:s,middlewareData:c}=e,l=await Ef(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:s}}}}},xa=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:C,y:_}=N;return{x:C,y:_}}},...l}=Xt(t,e),d={x:r,y:o},h=await Uo(e,l),p=zr(Ue(a)),y=fa(p),g=d[y],b=d[p];if(i){let N=y==="y"?"top":"left",C=y==="y"?"bottom":"right",_=g+h[N],v=g-h[C];g=da(_,g,v)}if(s){let N=p==="y"?"top":"left",C=p==="y"?"bottom":"right",_=b+h[N],v=b-h[C];b=da(_,b,v)}let O=c.fn({...e,[y]:g,[p]:b});return{...O,data:{x:O.x-r,y:O.y-o}}}}};function Xe(t){return Sc(t)?(t.nodeName||"").toLowerCase():"#document"}function ye(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Qe(t){var e;return(e=(Sc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Sc(t){return t instanceof Node||t instanceof ye(t).Node}function $e(t){return t instanceof Element||t instanceof ye(t).Element}function Ne(t){return t instanceof HTMLElement||t instanceof ye(t).HTMLElement}function vc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ye(t).ShadowRoot}function Qt(t){let{overflow:e,overflowX:r,overflowY:o,display:a}=be(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(a)}function Oc(t){return["table","td","th"].includes(Xe(t))}function $o(t){let e=Bo(),r=be(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function wc(t){let e=Ut(t);for(;Ne(e)&&!jr(e);){if($o(e))return e;e=Ut(e)}return null}function Bo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jr(t){return["html","body","#document"].includes(Xe(t))}function be(t){return ye(t).getComputedStyle(t)}function Vr(t){return $e(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ut(t){if(Xe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||vc(t)&&t.host||Qe(t);return vc(e)?e.host:e}function Ec(t){let e=Ut(t);return jr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ne(e)&&Qt(e)?e:Ec(e)}function Wo(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=Ec(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=ye(a);return i?e.concat(s,s.visualViewport||[],Qt(a)?a:[],s.frameElement&&r?Wo(s.frameElement):[]):e.concat(a,Wo(a,[],r))}function Ac(t){let e=be(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,a=Ne(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:o,c=Yr(r)!==i||Yr(o)!==s;return c&&(r=i,o=s),{width:r,height:o,$:c}}function Nc(t){return $e(t)?t:t.contextElement}function er(t){let e=Nc(t);if(!Ne(e))return Je(1);let r=e.getBoundingClientRect(),{width:o,height:a,$:i}=Ac(e),s=(i?Yr(r.width):r.width)/o,c=(i?Yr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Cf=Je(0);function Rc(t){let e=ye(t);return!Bo()||!e.visualViewport?Cf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function _f(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ye(t)?!1:e}function Gr(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=Nc(t),s=Je(1);e&&(o?$e(o)&&(s=er(o)):s=er(t));let c=_f(i,r,o)?Rc(i):Je(0),l=(a.left+c.x)/s.x,d=(a.top+c.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let y=ye(i),g=o&&$e(o)?ye(o):o,b=y.frameElement;for(;b&&o&&g!==y;){let O=er(b),N=b.getBoundingClientRect(),C=be(b),_=N.left+(b.clientLeft+parseFloat(C.paddingLeft))*O.x,v=N.top+(b.clientTop+parseFloat(C.paddingTop))*O.y;l*=O.x,d*=O.y,h*=O.x,p*=O.y,l+=_,d+=v,b=ye(b).frameElement}}return Ft({width:h,height:p,x:l,y:d})}function Af(t){let{rect:e,offsetParent:r,strategy:o}=t,a=Ne(r),i=Qe(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},c=Je(1),l=Je(0);if((a||!a&&o!=="fixed")&&((Xe(r)!=="body"||Qt(i))&&(s=Vr(r)),Ne(r))){let d=Gr(r);c=er(r),l.x=d.x+r.clientLeft,l.y=d.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function Nf(t){return Array.from(t.getClientRects())}function kc(t){return Gr(Qe(t)).left+Vr(t).scrollLeft}function Rf(t){let e=Qe(t),r=Vr(t),o=t.ownerDocument.body,a=pt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=pt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+kc(t),c=-r.scrollTop;return be(o).direction==="rtl"&&(s+=pt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:c}}function kf(t,e){let r=ye(t),o=Qe(t),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,l=0;if(a){i=a.width,s=a.height;let d=Bo();(!d||d&&e==="fixed")&&(c=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:c,y:l}}function Pf(t,e){let r=Gr(t,!0,e==="fixed"),o=r.top+t.clientTop,a=r.left+t.clientLeft,i=Ne(t)?er(t):Je(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,l=a*i.x,d=o*i.y;return{width:s,height:c,x:l,y:d}}function Cc(t,e,r){let o;if(e==="viewport")o=kf(t,r);else if(e==="document")o=Rf(Qe(t));else if($e(e))o=Pf(e,r);else{let a=Rc(t);o={...e,x:e.x-a.x,y:e.y-a.y}}return Ft(o)}function Pc(t,e){let r=Ut(t);return r===e||!$e(r)||jr(r)?!1:be(r).position==="fixed"||Pc(r,e)}function If(t,e){let r=e.get(t);if(r)return r;let o=Wo(t,[],!1).filter(c=>$e(c)&&Xe(c)!=="body"),a=null,i=be(t).position==="fixed",s=i?Ut(t):t;for(;$e(s)&&!jr(s);){let c=be(s),l=$o(s);!l&&c.position==="fixed"&&(a=null),(i?!l&&!a:!l&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Qt(s)&&!l&&Pc(t,s))?o=o.filter(h=>h!==s):a=c,s=Ut(s)}return e.set(t,o),o}function Tf(t){let{element:e,boundary:r,rootBoundary:o,strategy:a}=t,s=[...r==="clippingAncestors"?If(e,this._c):[].concat(r),o],c=s[0],l=s.reduce((d,h)=>{let p=Cc(e,h,a);return d.top=pt(p.top,d.top),d.right=Hr(p.right,d.right),d.bottom=Hr(p.bottom,d.bottom),d.left=pt(p.left,d.left),d},Cc(e,c,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Df(t){return Ac(t)}function Mf(t,e,r){let o=Ne(e),a=Qe(e),i=r==="fixed",s=Gr(t,!0,i,e),c={scrollLeft:0,scrollTop:0},l=Je(0);if(o||!o&&!i)if((Xe(e)!=="body"||Qt(a))&&(c=Vr(e)),o){let d=Gr(e,!0,i,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else a&&(l.x=kc(a));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function _c(t,e){return!Ne(t)||be(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ic(t,e){let r=ye(t);if(!Ne(t))return r;let o=_c(t,e);for(;o&&Oc(o)&&be(o).position==="static";)o=_c(o,e);return o&&(Xe(o)==="html"||Xe(o)==="body"&&be(o).position==="static"&&!$o(o))?r:o||wc(t)||r}var Lf=async function(t){let{reference:e,floating:r,strategy:o}=t,a=this.getOffsetParent||Ic,i=this.getDimensions;return{reference:Mf(e,await a(r),o),floating:{x:0,y:0,...await i(r)}}};function Ff(t){return be(t).direction==="rtl"}var tr={convertOffsetParentRelativeRectToViewportRelativeRect:Af,getDocumentElement:Qe,getClippingRect:Tf,getOffsetParent:Ic,getElementRects:Lf,getClientRects:Nf,getDimensions:Df,getScale:er,isElement:$e,isRTL:Ff};var va=(t,e,r)=>{let o=new Map,a={platform:tr,...r},i={...a.platform,_c:o};return xc(t,e,{...a,platform:i})};function Oa(t){return Uf(t)}function Sa(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Uf(t){for(let e=t;e;e=Sa(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Sa(t);e;e=Sa(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Wf(t,e,r){return va(t,e,{platform:{...tr,getOffsetParent:o=>tr.getOffsetParent(o,Oa)},middleware:[xa({crossAxis:!0}),ma({allowedPlacements:[r]})]})}async function $f(t,e,r,o,a){return va(t,e,{placement:r,strategy:a,platform:{...tr,getOffsetParent:i=>tr.getOffsetParent(i,Oa)},middleware:[ba(4),ga({fallbackPlacements:o})]})}var Aa={};V(Aa,{FtdsBase:()=>_a,toFtdsBase:()=>$c});var Ca={};V(Ca,{FtLitElement:()=>pe});var Ea={};V(Ea,{ScopedRegistryLitElement:()=>Kr});var Ho=window,Bf=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,CS=Symbol();var Tc=(t,e)=>{Bf?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let o=document.createElement("style"),a=Ho.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)})};var Kr=class extends Ke{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Tc(o,e.elementStyles),o}};var Yo=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Fc,Dc=Symbol("constructorPrototype"),Mc=Symbol("constructorName"),Uc=Symbol("exportpartsDebouncer"),Lc=Symbol("dynamicDependenciesLoaded"),pe=class extends Kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Fc]=new Mr(5),this[Mc]=this.constructor.name,this[Dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mc]&&Object.setPrototypeOf(this,this[Dc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Lc]||(e[Lc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Uc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,o,a,i,s,c;let l=y=>y!=null&&y.trim().length>0,d=e.filter(l).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let g=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...b).filter(l).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(y=>d.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};Fc=Uc;Yo([U()],pe.prototype,"exportpartsPrefix",void 0);Yo([Lt([])],pe.prototype,"exportpartsPrefixes",void 0);Yo([U()],pe.prototype,"customStylesheet",void 0);Yo([Tr()],pe.prototype,"useAdoptedStyleSheets",void 0);var Wc=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};function $c(t){class e extends t{constructor(){super(...arguments),this.size=Wr.medium,this.family=Ur.neutral}getDesignSystemBaseClasses(){return{[ra(this.family)]:!0,[oa(this.size)]:!0}}}return Wc([U()],e.prototype,"size",void 0),Wc([U()],e.prototype,"family",void 0),e}var _a=class extends $c(pe){};var Bc={};var Ra={};V(Ra,{highlightHtml:()=>zf,highlightHtmlColorCssVariable:()=>Hc,highlightHtmlStyles:()=>Yf});var Wt=class t{constructor(e,r=!0,o=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(e,r){let o=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(e,r,o,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let l=()=>{--s<=0&&a(c)};s||l(),i.forEach(d=>{t.matches(d,this.exclude)?l():this.onIframeReady(d,h=>{r(d)&&(c++,o(h)),l()},l)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let a=e.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,a){let i=!1,s=!1;return a.forEach((c,l)=>{c.val===o&&(i=l,s=c.handled)}),this.compareNodeIframe(e,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(e,r,o,a,i){let s=this.createIterator(r,e,a),c=[],l=[],d,h,p=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;p();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,h,y,c),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>l.push(g),a)}),l.push(d);l.forEach(y=>{o(y)}),this.iframes&&this.handleOpenIframes(c,e,o,a),i()}forEachNode(e,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,l):l()})}};var Zr=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new Wt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${o}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,o);c&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,a,i=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),a=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:a,valid:i}}checkWhitespaceRanges(e,r,o){let a,i=!0,s=o.length,c=r-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,a=l+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||a-l<0||l>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(l,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:a,valid:i}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return Wt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(o-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,o,a,i){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>r){if(!a(s.node))return!1;let d=r-s.start,h=(o>s.end?s.end:o)-s.start,p=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),e.value=p+y,e.nodes.forEach((g,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let d;for(;(d=e.exec(l.textContent))!==null&&d[s]!=="";){if(!o(d[s],l))continue;let h=d.index;if(s!==0)for(let p=1;p<s;p++)h+=d[p].length;l=this.wrapRangeInTextNode(l,h,h+d[s].length),a(l.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let p=1;p<s;p++)d+=l[p].length;let h=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,h,p=>o(l[s],p),(p,y)=>{e.lastIndex=y,a(p)})}i()})}wrapRangeFromIndex(e,r,o,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,l)=>{let{start:d,end:h,valid:p}=this.checkWhitespaceRanges(c,s,i.value);p&&this.wrapRangeInMappedTextNode(i,d,h,y=>r(y,c,i.value.substring(d,h),l),y=>{o(y,c)})}),a()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,o),i,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=d=>{let h=new RegExp(this.createRegExp(d),`gm${c}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(y,g)=>this.opt.filter(g,d,o,p),y=>{p++,o++,this.opt.each(y)},()=>{p===0&&this.opt.noMatch(d),i[s-1]===d?this.opt.done(o):l(i[i.indexOf(d)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):l(i[0])}markRanges(e,r){this.opt=r;let o=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,l)=>this.opt.filter(i,s,c,l),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=Wt.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Na(t){let e=new Zr(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var Hf=Na,Hc=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Yf=re`
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ss=/'/g,Os=/"/g,_s=/^(?:script|style|textarea|title)$/i,As=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ir=As(1),gd=As(2),lt=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),ws=new WeakMap,It=Tt.createTreeWalker(Tt,129);function Ns(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return bs!==void 0?bs.createHTML(e):e}var Rs=(t,e)=>{let r=t.length-1,o=[],a,i=e===2?"<svg>":"",s=Nr;for(let c=0;c<r;c++){let l=t[c],d,h,p=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===Nr?h[1]==="!--"?s=xs:h[1]!==void 0?s=vs:h[2]!==void 0?(_s.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Pt):h[3]!==void 0&&(s=Pt):s===Pt?h[0]===">"?(s=a??Nr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Pt:h[3]==='"'?Os:Ss):s===Os||s===Ss?s=Pt:s===xs||s===vs?s=Nr:(s=Pt,a=void 0);let g=s===Pt&&t[c+1].startsWith("/>")?" ":"";i+=s===Nr?l+md:p>=0?(o.push(d),l.slice(0,p)+Ln+l.slice(p)+Ge+g):l+Ge+(p===-2?c:g)}return[Ns(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},Pr=class t{constructor({strings:e,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=e.length-1,l=this.parts,[d,h]=Rs(e,r);if(this.el=t.createElement(d,o),It.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=It.nextNode())!==null&&l.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Ln)){let y=h[s++],g=a.getAttribute(p).split(Ge),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:i,name:b[2],strings:g,ctor:b[1]==="."?Io:b[1]==="?"?To:b[1]==="@"?Do:Mt}),a.removeAttribute(p)}else p.startsWith(Ge)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(_s.test(a.tagName)){let p=a.textContent.split(Ge),y=p.length-1;if(y>0){a.textContent=ko?ko.emptyScript:"";for(let g=0;g<y;g++)a.append(p[g],Rr()),It.nextNode(),l.push({type:2,index:++i});a.append(p[y],Rr())}}}else if(a.nodeType===8)if(a.data===Fn)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(Ge,p+1))!==-1;)l.push({type:7,index:i}),p+=Ge.length-1}i++}}static createElement(e,r){let o=Tt.createElement("template");return o.innerHTML=e,o}};function Dt(t,e,r=t,o){if(e===lt)return e;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=kr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(e=Dt(t,a._$AS(t,e.values),a,o)),e}var Po=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,a=(e?.creationScope??Tt).importNode(r,!0);It.currentNode=a;let i=It.nextNode(),s=0,c=0,l=o[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Kt(i,i.nextSibling,this,e):l.type===1?d=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(d=new Mo(i,this,e)),this._$AV.push(d),l=o[++c]}s!==l?.index&&(i=It.nextNode(),s++)}return It.currentNode=Tt,a}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Kt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,a){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Dt(this,e,r),kr(e)?e===oe||e==null||e===""?(this._$AH!==oe&&this._$AR(),this._$AH=oe):e!==this._$AH&&e!==lt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Cs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==oe&&kr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Tt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Pr.createElement(Ns(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new Po(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=ws.get(e.strings);return r===void 0&&ws.set(e.strings,r=new Pr(e)),r}T(e){Es(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of e)a===r.length?r.push(o=new t(this.k(Rr()),this.k(Rr()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Mt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,a,i){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=oe}_$AI(e,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)e=Dt(this,e,r,0),s=!kr(e)||e!==this._$AH&&e!==lt,s&&(this._$AH=e);else{let c=e,l,d;for(e=i[0],l=0;l<i.length-1;l++)d=Dt(this,c[o+l],r,l),d===lt&&(d=this._$AH[l]),s||=!kr(d)||d!==this._$AH[l],d===oe?e=oe:e!==oe&&(e+=(d??"")+i[l+1]),this._$AH[l]=d}s&&!a&&this.O(e)}O(e){e===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Io=class extends Mt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===oe?void 0:e}},To=class extends Mt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==oe)}},Do=class extends Mt{constructor(e,r,o,a,i){super(e,r,o,a,i),this.type=5}_$AI(e,r=this){if((e=Dt(this,e,r,0)??oe)===lt)return;let o=this._$AH,a=e===oe&&o!==oe||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,i=e!==oe&&(o===oe||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Mo=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Dt(this,e)}},bd={j:Ln,P:Ge,A:Fn,C:1,M:Rs,L:Po,R:Cs,V:Dt,D:Kt,I:Mt,H:To,N:Do,U:Io,B:Mo},xd=Mn.litHtmlPolyfillSupport;xd?.(Pr,Kt),(Mn.litHtmlVersions??=[]).push("3.1.0");var Un=(t,e,r)=>{let o=r?.renderBefore??e,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Kt(e.insertBefore(Rr(),i),i,void 0,r??{})}return a._$AI(t),a};var Ke=class extends Le{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Un(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return lt}};Ke._$litElement$=!0,Ke.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ke});var vd=globalThis.litElementPolyfillSupport;vd?.({LitElement:Ke});var Sd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var yb=!1;var Bn={};V(Bn,{customElement:()=>Od,eventOptions:()=>Ed,property:()=>U,query:()=>$n,queryAll:()=>_d,queryAssignedElements:()=>Nd,queryAssignedNodes:()=>Rd,queryAsync:()=>Ad,standardProperty:()=>ks,state:()=>Tr});var Od=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var wd={attribute:!0,type:String,converter:xr,reflect:!1,hasChanged:bo},ks=(t=wd,e,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(o==="setter"){let{name:s}=r;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,t)}}throw Error("Unsupported decorator location: "+o)};function U(t){return(e,r)=>typeof r=="object"?ks(t,e,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...o,wrapped:!0}:o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function Tr(t){return U({...t,state:!0,attribute:!1})}function Ed(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Ae=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function $n(t,e){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof o=="object"?r:a??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return Ae(r,o,{get(){let l=s.call(this);return l===void 0&&(l=i(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return Ae(r,o,{get(){return i(this)}})}}var Cd;function _d(t){return(e,r)=>Ae(e,r,{get(){return(this.renderRoot??(Cd??=document.createDocumentFragment())).querySelectorAll(t)}})}function Ad(t){return(e,r)=>Ae(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Nd(t){return(e,r)=>{let{slot:o,selector:a}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Ae(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(l=>l.matches(a))}})}}function Rd(t){return(e,r)=>{let{slot:o}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ae(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Hn={};V(Hn,{repeat:()=>Id});var ut={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},dt=t=>(...e)=>({_$litDirective$:t,values:e}),Fe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:kd}=hs;var Ps=()=>document.createComment(""),Zt=(t,e,r)=>{let o=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=o.insertBefore(Ps(),a),s=o.insertBefore(Ps(),a);r=new kd(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let l;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(l=t._$AU)!==s._$AU&&r._$AP(l)}if(i!==a||c){let l=r._$AA;for(;l!==i;){let d=l.nextSibling;o.insertBefore(l,a),l=d}}}return r},ft=(t,e,r=t)=>(t._$AI(e,r),t),Pd={},Is=(t,e=Pd)=>t._$AH=e,Ts=t=>t._$AH,Lo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var Ds=(t,e,r)=>{let o=new Map;for(let a=e;a<=r;a++)o.set(t[a],a);return o},Id=dt(class extends Fe{constructor(t){if(super(t),t.type!==ut.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let a=[],i=[],s=0;for(let c of t)a[s]=o?o(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,o]){let a=Ts(t),{values:i,keys:s}=this.ht(e,r,o);if(!Array.isArray(a))return this.dt=s,i;let c=this.dt??=[],l=[],d,h,p=0,y=a.length-1,g=0,b=i.length-1;for(;p<=y&&g<=b;)if(a[p]===null)p++;else if(a[y]===null)y--;else if(c[p]===s[g])l[g]=ft(a[p],i[g]),p++,g++;else if(c[y]===s[b])l[b]=ft(a[y],i[b]),y--,b--;else if(c[p]===s[b])l[b]=ft(a[p],i[b]),Zt(t,l[b+1],a[p]),p++,b--;else if(c[y]===s[g])l[g]=ft(a[y],i[g]),Zt(t,a[p],a[y]),y--,g++;else if(d===void 0&&(d=Ds(s,g,b),h=Ds(c,p,y)),d.has(c[p]))if(d.has(c[y])){let O=h.get(s[g]),N=O!==void 0?a[O]:null;if(N===null){let C=Zt(t,a[p]);ft(C,i[g]),l[g]=C}else l[g]=ft(N,i[g]),Zt(t,a[p],N),a[O]=null;g++}else Lo(a[y]),y--;else Lo(a[p]),p++;for(;g<=b;){let O=Zt(t,l[b+1]);ft(O,i[g]),l[g++]=O}for(;p<=y;){let O=a[p++];O!==null&&Lo(O)}return this.dt=s,Is(t,l),ge}});var Yn={};V(Yn,{classMap:()=>Td});var Td=dt(class extends Fe{constructor(t){if(super(t),t.type!==ut.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.st?.has(o)&&this.it.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.it)o in e||(r.remove(o),this.it.delete(o));for(let o in e){let a=!!e[o];a===this.it.has(o)||this.st?.has(o)||(a?(r.add(o),this.it.add(o)):(r.remove(o),this.it.delete(o)))}return ge}});var zn={};V(zn,{styleMap:()=>Md});var Ms="important",Dd=" !"+Ms,Md=dt(class extends Fe{constructor(t){if(super(t),t.type!==ut.ATTRIBUTE||t.name!=="style"||t.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(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let o of this.ut)e[o]==null&&(this.ut.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let a=e[o];if(a!=null){this.ut.add(o);let i=typeof a=="string"&&a.endsWith(Dd);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?Ms:""):r[o]=a}}return ge}});var jn={};V(jn,{UnsafeHTMLDirective:()=>qt,unsafeHTML:()=>Ld});var qt=class extends Fe{constructor(e){if(super(e),this.et=Q,e.type!==ut.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Q||e==null)return this.vt=void 0,this.et=e;if(e===ge)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};qt.directiveName="unsafeHTML",qt.resultType=1;var Ld=dt(qt);var Zn={};V(Zn,{CacheRegistry:()=>Kn});var Gn={};V(Gn,{CancelablePromise:()=>Jt,CanceledPromiseError:()=>Dr,cancelable:()=>Vn});var Dr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Jt=class extends Promise{constructor(e){super((r,o)=>e(a=>{this.isCanceled?o(new Dr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Dr("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Vn=t=>new Jt((e,r)=>t.then(e).catch(r));var Kn=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Jt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,o){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Vn(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,o!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),o)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Jn={};V(Jn,{ClusteringHelper:()=>qn});var qn=class t{constructor(e,r,o,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(e,r){var o,a;let i=((a=(o=e?.map)!==null&&o!==void 0?o:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return r==null?t.flattenMetadata(i):t.flattenMetadata(i.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(o=>t.flattenMetadata(o)).filter(o=>o!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let o=[],a=[];return e.hierarchicalValues.forEach(i=>{o.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:o.join(", "),displayValue:a.join(", ")}}else{let o=e.values.join(", ");return{key:e.key,label:e.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(e,r,o="No value"){var a,i;let s=t.extractResultMetadata(this.selectedResult,e),c=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:c,value:void 0,displayValue:o}).filter(d=>d.value!=s?.value).filter((d,h,p)=>p.findIndex(y=>y.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,o,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(r,a,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(l=>{var d;return((d=t.extractResultMetadata(l,e))===null||d===void 0?void 0:d.value)==r}),i=[...t.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,c=-1;for(let l of o){let d=this.countMatchingMetadata(l,i);if(d>c&&(c=d,s=l,d===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Xn={};V(Xn,{Debouncer:()=>Mr});var Mr=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(c){a(c);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 ta={};V(ta,{customElement:()=>Ze,isNumber:()=>Bs,jsonProperty:()=>Lt,optionalNumberProperty:()=>Hd});var ea={};V(ea,{dateReviver:()=>Ud,deepEqual:()=>Lr,delay:()=>Ls,eventPathContainsMatchingElement:()=>$d,flatDeep:()=>Us,hasChanged:()=>Fr,last:()=>Bd,minmax:()=>Qn,parseDate:()=>Ws,unslotText:()=>$s,waitFor:()=>Fs,waitUntil:()=>Fd});var Ls=t=>new Promise(e=>setTimeout(e,t));async function Fd(t,e=10,r=2e4){await Fs(async()=>await t()||void 0,e,r)}async function Fs(t,e=10,r=2e4){let o=await t(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await Ls(e),o=await t(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Us(t,e){return t.flatMap(r=>[r,...Us(e(r),e)])}function Ud(...t){return function(e,r){return t.includes(e)?Ws(r):r}}function Ws(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,a)=>r+o+":"+a),new Date(t)}function Wd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,o,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Lr(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!Lr(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[o]))return!1;for(o=r;o--!==0;){var i=a[o];if(!Lr(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Lr(t,e){try{return Wd(t,e)}catch{return!1}}function Fr(t,e){return!Lr(t,e)}function $d(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Qn(t,e,r){return Math.min(Math.max(t,e),r)}function Bd(t){return t[t.length-1]}function $s(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>$s(e)).join(""):t?.textContent||""}var Ze=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Lt(t,e){let r=()=>JSON.parse(JSON.stringify(t));return U({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:Fr,...e??{}})}function Hd(t){return U({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Bs(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Bs(t){return!isNaN(parseFloat(t))}var aa={};V(aa,{designSystemVariables:()=>xf});var na={};V(na,{DesignSystemFamily:()=>Ur,DesignSystemSize:()=>Wr,FtCssVariableFactory:()=>n,badge:()=>qd,banner:()=>Zd,breadcrumb:()=>Jd,button:()=>jd,chart:()=>df,checkbox:()=>hf,chip:()=>Gd,chipChoice:()=>Vd,collapsible:()=>lf,comboboxMultiSelect:()=>sf,comboboxSingleSelect:()=>af,drawer:()=>ef,floatingMenu:()=>nf,foundation:()=>u,link:()=>Kd,modal:()=>Qd,notice:()=>pf,notification:()=>gf,pageDesigner:()=>ff,pageHeader:()=>Xd,popover:()=>cf,radio:()=>mf,resolveFamilyClass:()=>ra,resolveSizeClass:()=>oa,semantic:()=>f,setVariable:()=>Fo,switch_:()=>uf,tabs:()=>tf,textArea:()=>of,textInput:()=>rf,toggle:()=>yf,tooltip:()=>bf,typographies:()=>Yd,typographyBody1Medium:()=>Gs,typographyBody1Regular:()=>Vs,typographyBody1Semibold:()=>Ks,typographyBody2Medium:()=>qs,typographyBody2MediumUnderline:()=>Js,typographyBody2Regular:()=>Zs,typographyBody2Semibold:()=>Xs,typographyCaption1Bold:()=>sc,typographyCaption1Medium:()=>ac,typographyCaption1Semibold:()=>ic,typographyCaption2Bold:()=>uc,typographyCaption2Medium:()=>cc,typographyCaption2Semibold:()=>lc,typographyCaption3Bold:()=>pc,typographyCaption3Medium:()=>dc,typographyCaption3Semibold:()=>fc,typographyDisplay:()=>Hs,typographyLabel1Bold:()=>tc,typographyLabel1Medium:()=>Qs,typographyLabel1Semibold:()=>ec,typographyLabel2Bold:()=>nc,typographyLabel2Medium:()=>rc,typographyLabel2Semibold:()=>oc,typographyTitle1:()=>Ys,typographyTitle2:()=>zs,typographyTitle3:()=>js,typographyVariants:()=>zd});var qe=t=>typeof t=="string"?Cr(t):t,n=class{static create(e,r,o,a){let i=c=>qe(c??a),s=re`var(${qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>re`var(${qe(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,o,a){let i=c=>o.get(c??a),s=re`var(${qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>re`var(${qe(e)}, ${i(c)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(e,r){let o=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):qe(i??e.lastResortDefaultValue()),a=re`var(${qe(e.name)}, ${o(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=o,a.get=i=>re`var(${qe(e.name)}, ${o(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function Fo(t,e){return qe(`${t.name}: ${e}`)}var u={colorWhite:n.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:n.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:n.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:n.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:n.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:n.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:n.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:n.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:n.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:n.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:n.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:n.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:n.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:n.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ft-opacity-0","","NUMBER","0"),opacity8:n.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:n.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:n.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:n.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:n.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:n.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:n.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:n.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:n.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:n.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:n.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:n.create("--ft-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)")},Hs={fontFamily:n.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:n.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ys={fontFamily:n.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:n.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},zs={fontFamily:n.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:n.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},js={fontFamily:n.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:n.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Vs={fontFamily:n.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Gs={fontFamily:n.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ks={fontFamily:n.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Zs={fontFamily:n.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},qs={fontFamily:n.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Js={fontFamily:n.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:n.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:n.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Xs={fontFamily:n.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Qs={fontFamily:n.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ec={fontFamily:n.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},tc={fontFamily:n.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},rc={fontFamily:n.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},oc={fontFamily:n.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},nc={fontFamily:n.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ac={fontFamily:n.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ic={fontFamily:n.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},sc={fontFamily:n.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},cc={fontFamily:n.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},lc={fontFamily:n.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},uc={fontFamily:n.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},dc={fontFamily:n.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},fc={fontFamily:n.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},pc={fontFamily:n.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Yd={display:Hs,"title-1":Ys,"title-2":zs,"title-3":js,"body-1-regular":Vs,"body-1-medium":Gs,"body-1-semibold":Ks,"body-2-regular":Zs,"body-2-medium":qs,"body-2-medium-underline":Js,"body-2-semibold":Xs,"label-1-medium":Qs,"label-1-semibold":ec,"label-1-bold":tc,"label-2-medium":rc,"label-2-semibold":oc,"label-2-bold":nc,"caption-1-medium":ac,"caption-1-semibold":ic,"caption-1-bold":sc,"caption-2-medium":cc,"caption-2-semibold":lc,"caption-2-bold":uc,"caption-3-medium":dc,"caption-3-semibold":fc,"caption-3-bold":pc},zd=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:n.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:n.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:n.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:n.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:n.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:n.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:n.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:n.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:n.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:n.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:n.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:n.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:n.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:n.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:n.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:n.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:n.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:n.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,u.colorGray200),contentGlobalSubtle:n.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:n.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:n.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:n.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:n.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:n.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:n.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:n.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:n.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:n.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:n.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:n.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:n.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:n.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:n.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80),borderNeutralPrimary:n.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",u.colorGray200)};var jd={largeHeight:n.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:n.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:n.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:n.extend("--ft-button-large-icon-size","",u.iconSize3),largeBorderWidth:n.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ft-button-medium-horizontal-padding","",u.spacing3),mediumGap:n.extend("--ft-button-medium-gap","",u.spacing2),mediumBorderRadius:n.extend("--ft-button-medium-border-radius","",u.borderRadiusS),mediumIconSize:n.extend("--ft-button-medium-icon-size","",u.iconSize2),mediumBorderWidth:n.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ft-button-small-horizontal-padding","",u.spacing2),smallGap:n.extend("--ft-button-small-gap","",u.spacing1),smallBorderRadius:n.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:n.extend("--ft-button-small-icon-size","",u.iconSize1),smallBorderWidth:n.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ft-button-x-small-icon-size","",u.iconSize1),xSmallFocusOutlineOffset:n.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ft-button-round-border-radius","",u.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:n.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ft-button-primary-brand-hover-state-layer-opacity","",u.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ft-button-primary-brand-focus-state-layer-opacity","",u.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ft-button-primary-brand-active-state-layer-opacity","",u.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ft-button-primary-brand-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",u.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",u.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",u.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ft-button-tertiary-brand-disabled-component-opacity","",u.opacity40),tertiaryInfoBackgroundColor:n.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",u.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",u.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ft-button-tertiary-info-active-state-layer-opacity","",u.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ft-button-tertiary-info-disabled-component-opacity","",u.opacity40),tertiarySuccessBackgroundColor:n.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",u.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",u.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ft-button-tertiary-success-active-state-layer-opacity","",u.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ft-button-tertiary-success-disabled-component-opacity","",u.opacity40),tertiaryWarningBackgroundColor:n.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",u.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",u.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",u.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ft-button-tertiary-warning-disabled-component-opacity","",u.opacity40),tertiaryErrorBackgroundColor:n.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",u.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",u.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ft-button-tertiary-error-active-state-layer-opacity","",u.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ft-button-tertiary-error-disabled-component-opacity","",u.opacity40),tertiaryNeutralBackgroundColor:n.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:n.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",u.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",u.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",u.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",u.opacity40),secondaryBrandBackgroundColor:n.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:n.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",u.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",u.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ft-button-secondary-brand-active-state-layer-opacity","",u.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ft-button-secondary-brand-disabled-component-opacity","",u.opacity40),secondaryBrandBorderColor:n.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",u.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",u.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",u.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ft-button-secondary-neutral-disabled-component-opacity","",u.opacity40),secondaryNeutralBackgroundColor:n.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ft-button-secondary-info-hover-state-layer-opacity","",u.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ft-button-secondary-info-focus-state-layer-opacity","",u.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ft-button-secondary-info-active-state-layer-opacity","",u.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ft-button-secondary-info-disabled-component-opacity","",u.opacity40),secondaryInfoBackgroundColor:n.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:n.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:n.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ft-button-secondary-success-hover-state-layer-opacity","",u.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ft-button-secondary-success-focus-state-layer-opacity","",u.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ft-button-secondary-success-active-state-layer-opacity","",u.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ft-button-secondary-success-disabled-component-opacity","",u.opacity40),secondarySuccessBackgroundColor:n.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:n.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:n.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",u.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",u.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ft-button-secondary-warning-active-state-layer-opacity","",u.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ft-button-secondary-warning-disabled-component-opacity","",u.opacity40),secondaryWarningBackgroundColor:n.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:n.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:n.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ft-button-secondary-error-hover-state-layer-opacity","",u.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ft-button-secondary-error-focus-state-layer-opacity","",u.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ft-button-secondary-error-active-state-layer-opacity","",u.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ft-button-secondary-error-disabled-component-opacity","",u.opacity40),secondaryErrorBackgroundColor:n.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:n.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:n.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var Vd={neutralOffHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",u.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",u.opacity8),neutralOffFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",u.opacity16),neutralOffBackgroundColor:n.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:n.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",u.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",u.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",u.opacity24),neutralOnFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",u.opacity32),neutralOnBackgroundColor:n.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:n.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:n.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:n.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-choice-large-horizontal-padding","",u.spacing3),largeGap:n.extend("--ft-chip-choice-large-gap","",u.spacing1),largeBorderRadius:n.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ft-chip-choice-large-icon-size","",u.iconSize3),mediumMinHeight:n.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-choice-medium-horizontal-padding","",u.spacing2),mediumGap:n.extend("--ft-chip-choice-medium-gap","",u.spacing1),mediumBorderRadius:n.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ft-chip-choice-medium-icon-size","",u.iconSize2)};var Gd={largeMinHeight:n.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-large-horizontal-padding","",u.spacing3),largeButtonRightPadding:n.extend("--ft-chip-large-button-right-padding","",u.spacing1),largeGap:n.extend("--ft-chip-large-gap","",u.spacing1),largeFocusOutlineOffset:n.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ft-chip-large-icon-size","",u.iconSize3),mediumMinHeight:n.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-medium-horizontal-padding","",u.spacing2),mediumButtonRightPadding:n.extend("--ft-chip-medium-button-right-padding","",u.spacing05),mediumGap:n.extend("--ft-chip-medium-gap","",u.spacing1),mediumFocusOutlineOffset:n.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ft-chip-medium-icon-size","",u.iconSize2),smallMinHeight:n.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ft-chip-small-horizontal-padding","",u.spacing1),smallButtonRightPadding:n.extend("--ft-chip-small-button-right-padding","",u.spacing05),smallGap:n.extend("--ft-chip-small-gap","",u.spacing1),smallFocusOutlineOffset:n.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ft-chip-small-icon-size","",u.iconSize1),neutralBackgroundColor:n.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:n.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:n.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:n.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:n.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:n.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:n.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:n.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:n.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:n.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:n.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:n.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Kd={brandHoverOpacity:n.extend("--ft-link-brand-hover-opacity","",u.opacity80),brandHoverColor:n.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:n.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:n.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:n.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:n.extend("--ft-link-info-hover-opacity","",u.opacity80),infoHoverColor:n.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:n.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:n.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:n.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:n.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:n.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:n.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:n.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:n.extend("--ft-link-neutral-visited-color","",u.colorBrand100)};var Zd={iconSize:n.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:n.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ft-banner-left-padding","",u.spacing6),rightPadding:n.extend("--ft-banner-right-padding","",u.spacing6),verticalPadding:n.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:n.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:n.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:n.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:n.extend("--ft-banner-horizontal-middle-gap","",u.spacing20),infoBackgroundColor:n.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var qd={horizontalPadding:n.extend("--ft-badge-horizontal-padding","",u.spacing1),verticalPadding:n.extend("--ft-badge-vertical-padding","",u.spacing1),borderRadius:n.extend("--ft-badge-border-radius","",u.borderRadiusPill),color:n.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:n.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Jd={horizontalGap:n.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:n.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentColor:n.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:n.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:n.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Xd={horizontalPadding:n.extend("--ft-page-header-horizontal-padding","",u.spacing6),horizontalGap:n.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:n.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:n.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:n.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:n.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:n.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:n.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:n.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:n.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Qd={smallContainerTargetWidth:n.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ft-modal-small-container-margin","",u.spacing6),mediumContainerTargetWidth:n.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ft-modal-medium-container-margin","",u.spacing6),largeContainerTargetWidth:n.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ft-modal-large-container-margin","",u.spacing6),overlayBackgroundColor:n.extend("--ft-modal-overlay-background-color","",u.colorGray700),overlayOpacity:n.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:n.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:n.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:n.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:n.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:n.extend("--ft-modal-body-vertical-gap","",u.spacing6),headerBackgroundColor:n.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:n.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:n.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:n.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:n.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:n.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottomWidth:n.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:n.extend("--ft-modal-border-radius","",u.borderRadiusM)};var ef={overlayOpacity:n.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:n.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:n.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:n.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:n.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:n.extend("--ft-drawer-body-background-color","",u.colorWhite),headerBackgroundColor:n.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:n.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:n.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ft-drawer-header-horizontal-padding","",u.spacing2),headerBorderWidth:n.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ft-drawer-header-gap","",u.spacing3),buttonsBarBackgroundColor:n.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:n.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing6),buttonsBarVerticalPadding:n.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:n.extend("--ft-drawer-buttons-bar-gap","",u.spacing3),buttonsBarBorderWidth:n.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ft-drawer-overlay-background-color","",u.colorGray700)};var tf={offBorderBottomWidth:n.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offDefaultStateLayerOpacity:n.extend("--ft-tabs-off-default-state-layer-opacity","",u.opacity0),offFocusStateLayerOpacity:n.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offDisabledComponentOpacity:n.extend("--ft-tabs-off-disabled-component-opacity","",u.opacity40),offColor:n.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:n.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),topRightBorderRadius:n.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),withLabelHorizontalPadding:n.extend("--ft-tabs-with-label-horizontal-padding","",u.spacing4),withLabelVerticalPadding:n.extend("--ft-tabs-with-label-vertical-padding","",u.spacing3),horizontalGap:n.extend("--ft-tabs-horizontal-gap","",u.spacing1),verticalGap:n.extend("--ft-tabs-vertical-gap","",u.spacing1),onHoverStateLayerOpacity:n.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity16),onDefaultStateLayerOpacity:n.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:n.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:n.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity24),onColor:n.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ft-tabs-icon-only-horizontal-padding","",u.spacing4),iconOnlyVerticalPadding:n.extend("--ft-tabs-icon-only-vertical-padding","",u.spacing4),alertTopPadding:n.extend("--ft-tabs-alert-top-padding","",u.spacing1),alertRightPadding:n.extend("--ft-tabs-alert-right-padding","",u.spacing05),focusOutlineWidth:n.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var rf={fieldHorizontalPadding:n.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:n.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:n.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:n.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:n.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:n.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:n.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:n.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:n.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:n.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)};var of={backgroundColor:n.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:n.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:n.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:n.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-area-disabled-component-opacity","",u.opacity40),fieldHorizontalLeftPadding:n.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:n.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:n.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:n.extend("--ft-text-area-border-radius","",u.borderRadiusM)};var nf={height:n.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ft-floating-menu-horizontal-padding","",u.spacing4),offIconColor:n.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:n.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:n.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:n.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:n.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ft-floating-menu-focus-state-layer-opacity","",u.opacity8),hoverStateLayerOpacity:n.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:n.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:n.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:n.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:n.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:n.extend("--ft-floating-menu-shadow","",u.shadowElevation02)};var af={fieldHorizontalPadding:n.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:n.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:n.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:n.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:n.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:n.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:n.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:n.extend("--ft-combobox-single-select-background-color","",u.colorWhite),labelColor:n.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:n.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:n.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:n.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:n.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-single-select-disabled-component-opacity","",u.opacity40)};var sf={backgroundColor:n.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:n.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:n.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:n.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:n.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:n.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-multi-select-disabled-component-opacity","",u.opacity40),helperHorizontalPadding:n.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:n.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:n.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:n.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:n.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:n.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:n.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)};var cf={backgroundColor:n.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:n.extend("--ft-popover-vertical-padding","",u.spacing6),titleColor:n.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:n.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:n.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:n.extend("--ft-popover-gap","",u.spacing3),borderRadius:n.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:n.extend("--ft-popover-shadow","",u.shadowElevation02),maxWidth:n.create("--ft-popover-max-width","","SIZE","440px")};var lf={hoverStateLayerOpacity:n.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:n.extend("--ft-collapsible-focus-state-layer-opacity","",u.opacity8),focusOutlineWidth:n.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ft-collapsible-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:n.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:n.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:n.extend("--ft-collapsible-vertical-padding","",u.spacing3),color:n.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:n.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:n.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:n.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:n.extend("--ft-collapsible-icon-size","",u.iconSize3)};var uf={groupHorizontalPadding:n.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:n.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:n.extend("--ft-switch-group-gap","",u.spacing1),groupBackgroundColor:n.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:n.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:n.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ft-switch-label-horizontal-padding","",u.spacing2),labelVerticalPadding:n.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:n.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:n.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:n.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:n.extend("--ft-switch-off-disabled-component-opacity","",u.opacity40),offColor:n.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-switch-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:n.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:n.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:n.extend("--ft-switch-on-disabled-component-opacity","",u.opacity40),onColor:n.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:n.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:n.extend("--ft-switch-icon-vertical-padding","",u.spacing1),focusOutlineWidth:n.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:n.extend("--ft-switch-option-border-radius","",u.borderRadiusS)};var df={color1Light:n.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:n.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:n.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:n.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:n.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:n.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:n.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:n.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:n.extend("--ft-chart-5-light","",u.colorRed40),color5Base:n.extend("--ft-chart-5-base","",u.colorRed60),color6Light:n.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:n.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:n.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:n.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:n.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:n.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:n.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:n.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:n.extend("--ft-chart-10-light","",u.colorGray50),color10Base:n.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:n.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:n.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:n.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:n.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:n.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:n.extend("--ft-chart-monochrome-60","",u.colorBrand200)};var ff={color1IconColor:n.extend("--ft-page-designer-1-icon-color","for area color charts",u.colorCyan0),color1ToolbarColor:n.extend("--ft-page-designer-1-toolbar-color","for area color charts",u.colorCyan0),color2IconColor:n.extend("--ft-page-designer-2-icon-color","for area color charts",u.colorBrand0),color2ToolbarColor:n.extend("--ft-page-designer-2-toolbar-color","for area color charts",u.colorBrand0),color3IconColor:n.extend("--ft-page-designer-3-icon-color","for area color charts",u.colorYellow200),color3ToolbarColor:n.extend("--ft-page-designer-3-toolbar-color","for area color charts",u.colorYellow200),color4IconColor:n.extend("--ft-page-designer-4-icon-color","for area color charts",u.colorUltramarine50),color4ToolbarColor:n.extend("--ft-page-designer-4-toolbar-color","for area color charts",u.colorUltramarine50),color5IconColor:n.extend("--ft-page-designer-5-icon-color","for area color charts",u.colorGreen0),color5ToolbarColor:n.extend("--ft-page-designer-5-toolbar-color","for area color charts",u.colorGreen0),color6IconColor:n.extend("--ft-page-designer-6-icon-color","for area color charts",u.colorOrange0),color6ToolbarColor:n.extend("--ft-page-designer-6-toolbar-color","for area color charts",u.colorOrange0),color7IconColor:n.extend("--ft-page-designer-7-icon-color","for area color charts",u.colorAvocado200),color7ToolbarColor:n.extend("--ft-page-designer-7-toolbar-color","for area color charts",u.colorAvocado200),color8IconColor:n.extend("--ft-page-designer-8-icon-color","for area color charts",u.colorBrown0),color8ToolbarColor:n.extend("--ft-page-designer-8-toolbar-color","for area color charts",u.colorBrown0)};var pf={borderWidth:n.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ft-notice-horizontal-padding","",u.spacing3),verticalPadding:n.extend("--ft-notice-vertical-padding","",u.spacing2),borderRadius:n.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:n.extend("--ft-notice-gap","",u.spacing2),iconSize:n.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:n.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:n.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:n.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:n.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:n.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:n.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:n.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:n.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:n.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:n.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:n.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:n.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var hf={color:n.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:n.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:n.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ft-checkbox-checked-hover-state-layer-opacity","",u.opacity16),checkedFocusStateLayerOpacity:n.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:n.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:n.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:n.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:n.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:n.extend("--ft-checkbox-gap","",u.spacing3)};var yf={offHoverStateLayerOpacity:n.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:n.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:n.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:n.extend("--ft-toggle-off-disabled-component-opacity","",u.opacity40),offBackgroundColor:n.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:n.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-toggle-on-hover-state-layer-opacity","",u.opacity16),onFocusStateLayerOpacity:n.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:n.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:n.extend("--ft-toggle-on-disabled-component-opacity","",u.opacity40),onBackgroundColor:n.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:n.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:n.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:n.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:n.extend("--ft-toggle-gap","",u.spacing3)};var mf={color:n.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:n.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:n.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ft-radio-selected-hover-state-layer-opacity","",u.opacity16),selectedFocusStateLayerOpacity:n.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:n.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:n.extend("--ft-radio-selected-disabled-component-opacity","",u.opacity40),unselectedStateLayerColor:n.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:n.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ft-radio-unselected-hover-state-layer-opacity","",u.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:n.extend("--ft-radio-unselected-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:n.extend("--ft-radio-gap","",u.spacing3)};var gf={iconSize:n.extend("--ft-notification-icon-size","",u.iconSize4),leftPadding:n.extend("--ft-notification-left-padding","",u.spacing5),rightPadding:n.extend("--ft-notification-right-padding","",u.spacing4),verticalPadding:n.extend("--ft-notification-vertical-padding","",u.spacing3),infoBackgroundColor:n.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:n.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:n.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:n.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:n.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:n.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:n.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:n.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:n.extend("--ft-notification-border-radius","",u.borderRadiusPill),borderWidth:n.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:n.extend("--ft-notification-trailing-gap","",u.spacing8)};var bf={horizontalPadding:n.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:n.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:n.extend("--ft-tooltip-border-radius","",u.borderRadiusS),color:n.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:n.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:n.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:n.extend("--ft-tooltip-shadow","",u.shadowElevation02),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ft-tooltip-gap","",u.spacing05)};var Ur;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ur||(Ur={}));var Wr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Wr||(Wr={}));function ra(t){return`ftds--family-${t}`}function oa(t){return`ftds--size-${t}`}var xf={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:n.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:n.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:n.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:n.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:n.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:n.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:n.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:n.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:n.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:n.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var la={};V(la,{FtNotificationEvent:()=>ia,PostResizeEvent:()=>ca,PreResizeEvent:()=>sa});var ia=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},sa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ca=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var wa={};V(wa,{computeFlipOffsetPosition:()=>Bf,computeOffsetPosition:()=>$f});var yc=["top","right","bottom","left"],hc=["start","end"],ua=yc.reduce((t,e)=>t.concat(e,e+"-"+hc[0],e+"-"+hc[1]),[]),Hr=Math.min,pt=Math.max,Yr=Math.round;var Je=t=>({x:t,y:t}),vf={left:"right",right:"left",bottom:"top",top:"bottom"},Sf={start:"end",end:"start"};function da(t,e,r){return pt(t,Hr(e,r))}function Xt(t,e){return typeof t=="function"?t(e):t}function Ue(t){return t.split("-")[0]}function We(t){return t.split("-")[1]}function fa(t){return t==="x"?"y":"x"}function pa(t){return t==="y"?"height":"width"}function zr(t){return["top","bottom"].includes(Ue(t))?"y":"x"}function ha(t){return fa(zr(t))}function ya(t,e,r){r===void 0&&(r=!1);let o=We(t),a=ha(t),i=pa(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Br(s)),[s,Br(s)]}function mc(t){let e=Br(t);return[$r(t),e,$r(e)]}function $r(t){return t.replace(/start|end/g,e=>Sf[e])}function Of(t,e,r){let o=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?a:o:e?o:a;case"left":case"right":return e?i:s;default:return[]}}function gc(t,e,r,o){let a=We(t),i=Of(Ue(t),r==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map($r)))),i}function Br(t){return t.replace(/left|right|bottom|top/g,e=>vf[e])}function wf(t){return{top:0,right:0,bottom:0,left:0,...t}}function bc(t){return typeof t!="number"?wf(t):{top:t,right:t,bottom:t,left:t}}function Ft(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function xc(t,e,r){let{reference:o,floating:a}=t,i=zr(e),s=ha(e),c=pa(s),l=Ue(e),d=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,y=o[c]/2-a[c]/2,g;switch(l){case"top":g={x:h,y:o.y-a.height};break;case"bottom":g={x:h,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:p};break;case"left":g={x:o.x-a.width,y:p};break;default:g={x:o.x,y:o.y}}switch(We(e)){case"start":g[s]-=y*(r&&d?-1:1);break;case"end":g[s]+=y*(r&&d?-1:1);break}return g}var vc=async(t,e,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:p}=xc(d,o,l),y=o,g={},b=0;for(let O=0;O<c.length;O++){let{name:N,fn:C}=c[O],{x:_,y:v,data:S,reset:w}=await C({x:h,y:p,initialPlacement:o,placement:y,strategy:a,middlewareData:g,rects:d,platform:s,elements:{reference:t,floating:e}});if(h=_??h,p=v??p,g={...g,[N]:{...g[N],...S}},w&&b<=50){b++,typeof w=="object"&&(w.placement&&(y=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):w.rects),{x:h,y:p}=xc(d,y,l)),O=-1;continue}}return{x:h,y:p,placement:y,strategy:a,middlewareData:g}};async function Uo(t,e){var r;e===void 0&&(e={});let{x:o,y:a,platform:i,rects:s,elements:c,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=Xt(e,t),b=bc(g),N=c[y?p==="floating"?"reference":"floating":p],C=Ft(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(N)))==null||r?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:l})),_=p==="floating"?{...s.floating,x:o,y:a}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},w=Ft(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:v,strategy:l}):_);return{top:(C.top-w.top+b.top)/S.y,bottom:(w.bottom-C.bottom+b.bottom)/S.y,left:(C.left-w.left+b.left)/S.x,right:(w.right-C.right+b.right)/S.x}}function Ef(t,e,r){return(t?[...r.filter(a=>We(a)===t),...r.filter(a=>We(a)!==t)]:r.filter(a=>Ue(a)===a)).filter(a=>t?We(a)===t||(e?$r(a)!==a:!1):!0)}var ma=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,a;let{rects:i,middlewareData:s,placement:c,platform:l,elements:d}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:y=ua,autoAlignment:g=!0,...b}=Xt(t,e),O=p!==void 0||y===ua?Ef(p||null,g,y):y,N=await Uo(e,b),C=((r=s.autoPlacement)==null?void 0:r.index)||0,_=O[C];if(_==null)return{};let v=ya(_,i,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==_)return{reset:{placement:O[0]}};let S=[N[Ue(_)],N[v[0]],N[v[1]]],w=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:_,overflows:S}],T=O[C+1];if(T)return{data:{index:C+1,overflows:w},reset:{placement:T}};let W=w.map(P=>{let m=We(P.placement);return[P.placement,m&&h?P.overflows.slice(0,2).reduce((x,k)=>x+k,0):P.overflows[0],P.overflows]}).sort((P,m)=>P[1]-m[1]),j=((a=W.filter(P=>P[2].slice(0,We(P[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||W[0][0];return j!==c?{data:{index:C+1,overflows:w},reset:{placement:j}}:{}}}},ga=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,o;let{placement:a,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:d}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:O=!0,...N}=Xt(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let C=Ue(a),_=Ue(c)===c,v=await(l.isRTL==null?void 0:l.isRTL(d.floating)),S=y||(_||!O?[Br(c)]:mc(c));!y&&b!=="none"&&S.push(...gc(c,O,b,v));let w=[c,...S],T=await Uo(e,N),W=[],H=((o=i.flip)==null?void 0:o.overflows)||[];if(h&&W.push(T[C]),p){let x=ya(a,s,v);W.push(T[x[0]],T[x[1]])}if(H=[...H,{placement:a,overflows:W}],!W.every(x=>x<=0)){var j,P;let x=(((j=i.flip)==null?void 0:j.index)||0)+1,k=w[x];if(k)return{data:{index:x,overflows:H},reset:{placement:k}};let F=(P=H.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:P.placement;if(!F)switch(g){case"bestFit":{var m;let B=(m=H.map(D=>[D.placement,D.overflows.filter(Me=>Me>0).reduce((Me,gr)=>Me+gr,0)]).sort((D,Me)=>D[1]-Me[1])[0])==null?void 0:m[0];B&&(F=B);break}case"initialPlacement":F=c;break}if(a!==F)return{reset:{placement:F}}}return{}}}};async function Cf(t,e){let{placement:r,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Ue(r),c=We(r),l=zr(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&l?-1:1,p=Xt(e,t),{mainAxis:y,crossAxis:g,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return c&&typeof b=="number"&&(g=c==="end"?b*-1:b),l?{x:g*h,y:y*d}:{x:y*d,y:g*h}}var ba=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:a,y:i,placement:s,middlewareData:c}=e,l=await Cf(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:s}}}}},xa=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:C,y:_}=N;return{x:C,y:_}}},...l}=Xt(t,e),d={x:r,y:o},h=await Uo(e,l),p=zr(Ue(a)),y=fa(p),g=d[y],b=d[p];if(i){let N=y==="y"?"top":"left",C=y==="y"?"bottom":"right",_=g+h[N],v=g-h[C];g=da(_,g,v)}if(s){let N=p==="y"?"top":"left",C=p==="y"?"bottom":"right",_=b+h[N],v=b-h[C];b=da(_,b,v)}let O=c.fn({...e,[y]:g,[p]:b});return{...O,data:{x:O.x-r,y:O.y-o}}}}};function Xe(t){return Oc(t)?(t.nodeName||"").toLowerCase():"#document"}function ye(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Qe(t){var e;return(e=(Oc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Oc(t){return t instanceof Node||t instanceof ye(t).Node}function $e(t){return t instanceof Element||t instanceof ye(t).Element}function Ne(t){return t instanceof HTMLElement||t instanceof ye(t).HTMLElement}function Sc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ye(t).ShadowRoot}function Qt(t){let{overflow:e,overflowX:r,overflowY:o,display:a}=be(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(a)}function wc(t){return["table","td","th"].includes(Xe(t))}function $o(t){let e=Bo(),r=be(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function Ec(t){let e=Ut(t);for(;Ne(e)&&!jr(e);){if($o(e))return e;e=Ut(e)}return null}function Bo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jr(t){return["html","body","#document"].includes(Xe(t))}function be(t){return ye(t).getComputedStyle(t)}function Vr(t){return $e(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ut(t){if(Xe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Sc(t)&&t.host||Qe(t);return Sc(e)?e.host:e}function Cc(t){let e=Ut(t);return jr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ne(e)&&Qt(e)?e:Cc(e)}function Wo(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=Cc(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=ye(a);return i?e.concat(s,s.visualViewport||[],Qt(a)?a:[],s.frameElement&&r?Wo(s.frameElement):[]):e.concat(a,Wo(a,[],r))}function Nc(t){let e=be(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,a=Ne(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:o,c=Yr(r)!==i||Yr(o)!==s;return c&&(r=i,o=s),{width:r,height:o,$:c}}function Rc(t){return $e(t)?t:t.contextElement}function er(t){let e=Rc(t);if(!Ne(e))return Je(1);let r=e.getBoundingClientRect(),{width:o,height:a,$:i}=Nc(e),s=(i?Yr(r.width):r.width)/o,c=(i?Yr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var _f=Je(0);function kc(t){let e=ye(t);return!Bo()||!e.visualViewport?_f:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Af(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ye(t)?!1:e}function Gr(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=Rc(t),s=Je(1);e&&(o?$e(o)&&(s=er(o)):s=er(t));let c=Af(i,r,o)?kc(i):Je(0),l=(a.left+c.x)/s.x,d=(a.top+c.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let y=ye(i),g=o&&$e(o)?ye(o):o,b=y.frameElement;for(;b&&o&&g!==y;){let O=er(b),N=b.getBoundingClientRect(),C=be(b),_=N.left+(b.clientLeft+parseFloat(C.paddingLeft))*O.x,v=N.top+(b.clientTop+parseFloat(C.paddingTop))*O.y;l*=O.x,d*=O.y,h*=O.x,p*=O.y,l+=_,d+=v,b=ye(b).frameElement}}return Ft({width:h,height:p,x:l,y:d})}function Nf(t){let{rect:e,offsetParent:r,strategy:o}=t,a=Ne(r),i=Qe(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},c=Je(1),l=Je(0);if((a||!a&&o!=="fixed")&&((Xe(r)!=="body"||Qt(i))&&(s=Vr(r)),Ne(r))){let d=Gr(r);c=er(r),l.x=d.x+r.clientLeft,l.y=d.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function Rf(t){return Array.from(t.getClientRects())}function Pc(t){return Gr(Qe(t)).left+Vr(t).scrollLeft}function kf(t){let e=Qe(t),r=Vr(t),o=t.ownerDocument.body,a=pt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=pt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Pc(t),c=-r.scrollTop;return be(o).direction==="rtl"&&(s+=pt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:c}}function Pf(t,e){let r=ye(t),o=Qe(t),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,l=0;if(a){i=a.width,s=a.height;let d=Bo();(!d||d&&e==="fixed")&&(c=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:c,y:l}}function If(t,e){let r=Gr(t,!0,e==="fixed"),o=r.top+t.clientTop,a=r.left+t.clientLeft,i=Ne(t)?er(t):Je(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,l=a*i.x,d=o*i.y;return{width:s,height:c,x:l,y:d}}function _c(t,e,r){let o;if(e==="viewport")o=Pf(t,r);else if(e==="document")o=kf(Qe(t));else if($e(e))o=If(e,r);else{let a=kc(t);o={...e,x:e.x-a.x,y:e.y-a.y}}return Ft(o)}function Ic(t,e){let r=Ut(t);return r===e||!$e(r)||jr(r)?!1:be(r).position==="fixed"||Ic(r,e)}function Tf(t,e){let r=e.get(t);if(r)return r;let o=Wo(t,[],!1).filter(c=>$e(c)&&Xe(c)!=="body"),a=null,i=be(t).position==="fixed",s=i?Ut(t):t;for(;$e(s)&&!jr(s);){let c=be(s),l=$o(s);!l&&c.position==="fixed"&&(a=null),(i?!l&&!a:!l&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Qt(s)&&!l&&Ic(t,s))?o=o.filter(h=>h!==s):a=c,s=Ut(s)}return e.set(t,o),o}function Df(t){let{element:e,boundary:r,rootBoundary:o,strategy:a}=t,s=[...r==="clippingAncestors"?Tf(e,this._c):[].concat(r),o],c=s[0],l=s.reduce((d,h)=>{let p=_c(e,h,a);return d.top=pt(p.top,d.top),d.right=Hr(p.right,d.right),d.bottom=Hr(p.bottom,d.bottom),d.left=pt(p.left,d.left),d},_c(e,c,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Mf(t){return Nc(t)}function Lf(t,e,r){let o=Ne(e),a=Qe(e),i=r==="fixed",s=Gr(t,!0,i,e),c={scrollLeft:0,scrollTop:0},l=Je(0);if(o||!o&&!i)if((Xe(e)!=="body"||Qt(a))&&(c=Vr(e)),o){let d=Gr(e,!0,i,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else a&&(l.x=Pc(a));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Ac(t,e){return!Ne(t)||be(t).position==="fixed"?null:e?e(t):t.offsetParent}function Tc(t,e){let r=ye(t);if(!Ne(t))return r;let o=Ac(t,e);for(;o&&wc(o)&&be(o).position==="static";)o=Ac(o,e);return o&&(Xe(o)==="html"||Xe(o)==="body"&&be(o).position==="static"&&!$o(o))?r:o||Ec(t)||r}var Ff=async function(t){let{reference:e,floating:r,strategy:o}=t,a=this.getOffsetParent||Tc,i=this.getDimensions;return{reference:Lf(e,await a(r),o),floating:{x:0,y:0,...await i(r)}}};function Uf(t){return be(t).direction==="rtl"}var tr={convertOffsetParentRelativeRectToViewportRelativeRect:Nf,getDocumentElement:Qe,getClippingRect:Df,getOffsetParent:Tc,getElementRects:Ff,getClientRects:Rf,getDimensions:Mf,getScale:er,isElement:$e,isRTL:Uf};var va=(t,e,r)=>{let o=new Map,a={platform:tr,...r},i={...a.platform,_c:o};return vc(t,e,{...a,platform:i})};function Oa(t){return Wf(t)}function Sa(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Wf(t){for(let e=t;e;e=Sa(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Sa(t);e;e=Sa(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function $f(t,e,r){return va(t,e,{platform:{...tr,getOffsetParent:o=>tr.getOffsetParent(o,Oa)},middleware:[xa({crossAxis:!0}),ma({allowedPlacements:[r]})]})}async function Bf(t,e,r,o,a){return va(t,e,{placement:r,strategy:a,platform:{...tr,getOffsetParent:i=>tr.getOffsetParent(i,Oa)},middleware:[ba(4),ga({fallbackPlacements:o})]})}var Aa={};V(Aa,{FtdsBase:()=>_a,toFtdsBase:()=>Bc});var Ca={};V(Ca,{FtLitElement:()=>pe});var Ea={};V(Ea,{ScopedRegistryLitElement:()=>Kr});var Ho=window,Hf=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_S=Symbol();var Dc=(t,e)=>{Hf?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let o=document.createElement("style"),a=Ho.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)})};var Kr=class extends Ke{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Dc(o,e.elementStyles),o}};var Yo=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Uc,Mc=Symbol("constructorPrototype"),Lc=Symbol("constructorName"),Wc=Symbol("exportpartsDebouncer"),Fc=Symbol("dynamicDependenciesLoaded"),pe=class extends Kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Uc]=new Mr(5),this[Lc]=this.constructor.name,this[Mc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lc]&&Object.setPrototypeOf(this,this[Mc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Fc]||(e[Fc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Wc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,o,a,i,s,c;let l=y=>y!=null&&y.trim().length>0,d=e.filter(l).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let g=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...b).filter(l).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(y=>d.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};Uc=Wc;Yo([U()],pe.prototype,"exportpartsPrefix",void 0);Yo([Lt([])],pe.prototype,"exportpartsPrefixes",void 0);Yo([U()],pe.prototype,"customStylesheet",void 0);Yo([Tr()],pe.prototype,"useAdoptedStyleSheets",void 0);var $c=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};function Bc(t){class e extends t{constructor(){super(...arguments),this.size=Wr.medium,this.family=Ur.neutral}getDesignSystemBaseClasses(){return{[ra(this.family)]:!0,[oa(this.size)]:!0}}}return $c([U()],e.prototype,"size",void 0),$c([U()],e.prototype,"family",void 0),e}var _a=class extends Bc(pe){};var Hc={};var Ra={};V(Ra,{highlightHtml:()=>jf,highlightHtmlColorCssVariable:()=>Yc,highlightHtmlStyles:()=>zf});var Wt=class t{constructor(e,r=!0,o=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(e,r){let o=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(e,r,o,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let l=()=>{--s<=0&&a(c)};s||l(),i.forEach(d=>{t.matches(d,this.exclude)?l():this.onIframeReady(d,h=>{r(d)&&(c++,o(h)),l()},l)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let a=e.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,a){let i=!1,s=!1;return a.forEach((c,l)=>{c.val===o&&(i=l,s=c.handled)}),this.compareNodeIframe(e,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(e,r,o,a,i){let s=this.createIterator(r,e,a),c=[],l=[],d,h,p=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;p();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,h,y,c),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>l.push(g),a)}),l.push(d);l.forEach(y=>{o(y)}),this.iframes&&this.handleOpenIframes(c,e,o,a),i()}forEachNode(e,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,l):l()})}};var Zr=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new Wt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${o}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,o);c&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,a,i=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),a=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:a,valid:i}}checkWhitespaceRanges(e,r,o){let a,i=!0,s=o.length,c=r-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,a=l+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||a-l<0||l>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(l,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:a,valid:i}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return Wt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(o-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,o,a,i){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>r){if(!a(s.node))return!1;let d=r-s.start,h=(o>s.end?s.end:o)-s.start,p=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),e.value=p+y,e.nodes.forEach((g,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let d;for(;(d=e.exec(l.textContent))!==null&&d[s]!=="";){if(!o(d[s],l))continue;let h=d.index;if(s!==0)for(let p=1;p<s;p++)h+=d[p].length;l=this.wrapRangeInTextNode(l,h,h+d[s].length),a(l.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let p=1;p<s;p++)d+=l[p].length;let h=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,h,p=>o(l[s],p),(p,y)=>{e.lastIndex=y,a(p)})}i()})}wrapRangeFromIndex(e,r,o,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,l)=>{let{start:d,end:h,valid:p}=this.checkWhitespaceRanges(c,s,i.value);p&&this.wrapRangeInMappedTextNode(i,d,h,y=>r(y,c,i.value.substring(d,h),l),y=>{o(y,c)})}),a()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,o),i,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=d=>{let h=new RegExp(this.createRegExp(d),`gm${c}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(y,g)=>this.opt.filter(g,d,o,p),y=>{p++,o++,this.opt.each(y)},()=>{p===0&&this.opt.noMatch(d),i[s-1]===d?this.opt.done(o):l(i[i.indexOf(d)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):l(i[0])}markRanges(e,r){this.opt=r;let o=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,l)=>this.opt.filter(i,s,c,l),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=Wt.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Na(t){let e=new Zr(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var Yf=Na,Yc=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),zf=re`
|
|
8
8
|
.highlight-html-match {
|
|
9
|
-
background: ${
|
|
9
|
+
background: ${Yc};
|
|
10
10
|
}
|
|
11
|
-
`;function
|
|
11
|
+
`;function jf(t,e,r){var o,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Yf(t);if(s.unmark(),e&&e.trim()){let c={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match"};r?.attributes!=null&&(c.each=d=>{for(let h in r.attributes)d.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(d=>s.mark(d.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var ka={};V(ka,{noTextInputDefaultClearButton:()=>Zf,noTextSelect:()=>Vf,safariEllipsisFix:()=>Kf,wordWrap:()=>Gf});var Vf=re`
|
|
12
12
|
.ft-no-text-select {
|
|
13
13
|
-webkit-touch-callout: none;
|
|
14
14
|
-webkit-user-select: none;
|
|
@@ -17,7 +17,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:n.extend("--ft-conte
|
|
|
17
17
|
-ms-user-select: none;
|
|
18
18
|
user-select: none;
|
|
19
19
|
}
|
|
20
|
-
`,
|
|
20
|
+
`,Gf=re`
|
|
21
21
|
.ft-word-wrap {
|
|
22
22
|
white-space: normal;
|
|
23
23
|
word-wrap: break-word;
|
|
@@ -29,7 +29,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:n.extend("--ft-conte
|
|
|
29
29
|
-webkit-hyphens: auto;
|
|
30
30
|
hyphens: auto
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,Kf=re`
|
|
33
33
|
.ft-safari-ellipsis-fix {
|
|
34
34
|
margin-right: 0;
|
|
35
35
|
|
|
@@ -40,24 +40,24 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:n.extend("--ft-conte
|
|
|
40
40
|
display: inline-block;
|
|
41
41
|
width: 0;
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,Zf=re`
|
|
44
44
|
input::-webkit-search-cancel-button,
|
|
45
45
|
input::-webkit-search-decoration,
|
|
46
46
|
input::-webkit-search-results-button,
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var Yc={};var Ia={};V(Ia,{ParametrizedLabelResolver:()=>Pa});var Pa=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,a;e=this.resolvePluralKey(e,r);let i=(a=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let a=`${String(e)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var ai={};V(ai,{FtCommandQueue:()=>qr,FtLitElementRedux:()=>rr,FtReduxStore:()=>ni,clearAllStores:()=>Dp,isFtReduxStore:()=>$t,redux:()=>qf,reduxEventListener:()=>Jf,reduxReactive:()=>Zf});var Zf=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},qf=t=>{let e=t??{};return(r,o)=>{var a;let i={hasChanged:Fr,attribute:!1,...e};U(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=e.selector)!==null&&a!==void 0?a:c=>c[o],store:e.store})}},Jf=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var qr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(o=>o.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}};function $t(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var zc,jc,Vc,zo=Symbol("internalReduxEventsUnsubscribers"),ht=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),rr=class extends pe{constructor(){super(...arguments),this[zc]=new Map,this[jc]=new Map,this[Vc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Bt].get(e)}addStore(e,r){var o;r=(o=r??($t(e)?e.name:void 0))!==null&&o!==void 0?o:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Bt].delete(r)}setupStore(e,r){this[Bt].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let o=this.constructor.getPropertyOptions(r);if(!o?.attribute||!this.hasAttribute(typeof o?.attribute=="string"?o.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[ht].has(e.store):this[ht].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var o;this[ht].set(e,r.subscribe(()=>this.updateFromStores())),$t(r)&&r.eventBus&&((o=this.reduxConstructor.reduxEventListeners)===null||o===void 0||o.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=c=>this[i](c);r.eventBus.addEventListener(a.eventName,s),this[zo].push(()=>r.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ht].forEach((e,r)=>this.unsubscribeFromStore(r)),this[zo].forEach(e=>e()),this[zo]=[]}unsubscribeFromStore(e){this[ht].has(e)&&this[ht].get(e)(),this[ht].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};zc=ht,jc=Bt,Vc=zo;rr.reduxProperties=new Map;rr.reduxReactiveProperties=new Set;rr.reduxEventListeners=new Map;function Oe(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function et(t){return!!t&&!!t[J]}function Re(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ap}(t)||Array.isArray(t)||!!t[Qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[Qc])||Ba(t)||Ha(t))}function Ht(t,e,r){r===void 0&&(r=!1),ar(t)===0?(r?Object.keys:nr)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,a){return e(a,o,t)})}function ar(t){var e=t[J];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ba(t)?2:Ha(t)?3:0}function or(t,e){return ar(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Xf(t,e){return ar(t)===2?t.get(e):t[e]}function el(t,e,r){var o=ar(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function tl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ba(t){return op&&t instanceof Map}function Ha(t){return np&&t instanceof Set}function yt(t){return t.o||t.t}function Ya(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=nl(t);delete e[J];for(var r=nr(e),o=0;o<r.length;o++){var a=r[o],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function za(t,e){return e===void 0&&(e=!1),ja(t)||et(t)||!Re(t)||(ar(t)>1&&(t.set=t.add=t.clear=t.delete=Qf),Object.freeze(t),e&&Ht(t,function(r,o){return za(o,!0)},!0)),t}function Qf(){Oe(2)}function ja(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Be(t){var e=$a[t];return e||Oe(18,t),e}function ep(t,e){$a[t]||($a[t]=e)}function Fa(){return Xr}function Ta(t,e){e&&(Be("Patches"),t.u=[],t.s=[],t.v=e)}function jo(t){Ua(t),t.p.forEach(tp),t.p=null}function Ua(t){t===Xr&&(Xr=t.l)}function Gc(t){return Xr={p:[],l:Xr,h:t,m:!0,_:0}}function tp(t){var e=t[J];e.i===0||e.i===1?e.j():e.g=!0}function Da(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||Be("ES5").S(e,t,o),o?(r[J].P&&(jo(e),Oe(4)),Re(t)&&(t=Vo(e,t),e.l||Go(e,t)),e.u&&Be("Patches").M(r[J].t,t,e.u,e.s)):t=Vo(e,r,[]),jo(e),e.u&&e.v(e.u,e.s),t!==ol?t:void 0}function Vo(t,e,r){if(ja(e))return e;var o=e[J];if(!o)return Ht(e,function(c,l){return Kc(t,o,e,c,l,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Go(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Ya(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),Ht(i,function(c,l){return Kc(t,o,a,c,l,r,s)}),Go(t,a,!1),r&&t.u&&Be("Patches").N(o,r,t.u,t.s)}return o.o}function Kc(t,e,r,o,a,i,s){if(et(a)){var c=Vo(t,a,i&&e&&e.i!==3&&!or(e.R,o)?i.concat(o):void 0);if(el(r,o,c),!et(c))return;t.m=!1}else s&&r.add(a);if(Re(a)&&!ja(a)){if(!t.h.D&&t._<1)return;Vo(t,a),e&&e.A.l||Go(t,a)}}function Go(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&za(e,r)}function Ma(t,e){var r=t[J];return(r?yt(r):t)[e]}function Zc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function mt(t){t.P||(t.P=!0,t.l&&mt(t.l))}function La(t){t.o||(t.o=Ya(t.t))}function Wa(t,e,r){var o=Ba(e)?Be("MapSet").F(e,r):Ha(e)?Be("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Fa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},l=c,d=Qr;s&&(l=[c],d=Jr);var h=Proxy.revocable(l,d),p=h.revoke,y=h.proxy;return c.k=y,c.j=p,y}(e,r):Be("ES5").J(e,r);return(r?r.A:Fa()).p.push(o),o}function rp(t){return et(t)||Oe(22,t),function e(r){if(!Re(r))return r;var o,a=r[J],i=ar(r);if(a){if(!a.P&&(a.i<4||!Be("ES5").K(a)))return a.t;a.I=!0,o=qc(r,i),a.I=!1}else o=qc(r,i);return Ht(o,function(s,c){a&&Xf(a.t,s)===c||el(o,s,e(c))}),i===3?new Set(o):o}(t)}function qc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ya(t)}function rl(){function t(s,c){var l=i[s];return l?l.enumerable=c:i[s]=l={configurable:!0,enumerable:c,get:function(){var d=this[J];return Qr.get(d,s)},set:function(d){var h=this[J];Qr.set(h,s,d)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][J];if(!l.P)switch(l.i){case 5:o(l)&&mt(l);break;case 4:r(l)&&mt(l)}}}function r(s){for(var c=s.t,l=s.k,d=nr(l),h=d.length-1;h>=0;h--){var p=d[h];if(p!==J){var y=c[p];if(y===void 0&&!or(c,p))return!0;var g=l[p],b=g&&g[J];if(b?b.t!==y:!tl(g,y))return!0}}var O=!!c[J];return d.length!==nr(c).length+(O?0:1)}function o(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function a(s){s.g&&Oe(3,JSON.stringify(yt(s)))}var i={};ep("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(p,y){if(p){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,t(b,!0));return g}var O=nl(y);delete O[J];for(var N=nr(O),C=0;C<N.length;C++){var _=N[C];O[_]=t(_,p||!!O[_].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(l,s),h={i:l?5:4,A:c?c.A:Fa(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,J,{value:h,writable:!0}),d},S:function(s,c,l){l?et(c)&&c[J].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var p=h[J];if(p){var y=p.t,g=p.k,b=p.R,O=p.i;if(O===4)Ht(g,function(S){S!==J&&(y[S]!==void 0||or(y,S)?b[S]||d(g[S]):(b[S]=!0,mt(p)))}),Ht(y,function(S){g[S]!==void 0||or(g,S)||(b[S]=!1,mt(p))});else if(O===5){if(o(p)&&(mt(p),b.length=!0),g.length<y.length)for(var N=g.length;N<y.length;N++)b[N]=!1;else for(var C=y.length;C<g.length;C++)b[C]=!0;for(var _=Math.min(g.length,y.length),v=0;v<_;v++)g.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&d(g[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Jc,Xr,Va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",op=typeof Map<"u",np=typeof Set<"u",Xc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ol=Va?Symbol.for("immer-nothing"):((Jc={})["immer-nothing"]=!0,Jc),Qc=Va?Symbol.for("immer-draftable"):"__$immer_draftable",J=Va?Symbol.for("immer-state"):"__$immer_state";var ap=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,nl=Object.getOwnPropertyDescriptors||function(t){var e={};return nr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},$a={},Qr={get:function(t,e){if(e===J)return t;var r=yt(t);if(!or(r,e))return function(a,i,s){var c,l=Zc(i,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(a.k):void 0}(t,r,e);var o=r[e];return t.I||!Re(o)?o:o===Ma(t.t,e)?(La(t),t.o[e]=Wa(t.A.h,o,t)):o},has:function(t,e){return e in yt(t)},ownKeys:function(t){return Reflect.ownKeys(yt(t))},set:function(t,e,r){var o=Zc(yt(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var a=Ma(yt(t),e),i=a?.[J];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(tl(r,a)&&(r!==void 0||or(t.t,e)))return!0;La(t),mt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ma(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,La(t),mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=yt(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Oe(12)}},Jr={};Ht(Qr,function(t,e){Jr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Jr.deleteProperty=function(t,e){return Jr.set.call(this,t,e,void 0)},Jr.set=function(t,e,r){return Qr.set.call(this,t[0],e,r,t[0])};var ip=function(){function t(r){var o=this;this.O=Xc,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var l=o;return function(O){var N=this;O===void 0&&(O=c);for(var C=arguments.length,_=Array(C>1?C-1:0),v=1;v<C;v++)_[v-1]=arguments[v];return l.produce(O,function(S){var w;return(w=i).call.apply(w,[N,S].concat(_))})}}var d;if(typeof i!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Re(a)){var h=Gc(o),p=Wa(o,a,void 0),y=!0;try{d=i(p),y=!1}finally{y?jo(h):Ua(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return Ta(h,s),Da(O,h)},function(O){throw jo(h),O}):(Ta(h,s),Da(d,h))}if(!a||typeof a!="object"){if((d=i(a))===void 0&&(d=a),d===ol&&(d=void 0),o.D&&za(d,!0),s){var g=[],b=[];Be("Patches").M(a,d,g,b),s(g,b)}return d}Oe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(d){for(var h=arguments.length,p=Array(h>1?h-1:0),y=1;y<h;y++)p[y-1]=arguments[y];return o.produceWithPatches(d,function(g){return a.apply(void 0,[g].concat(p))})};var s,c,l=o.produce(a,i,function(d,h){s=d,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,c]}):[l,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Re(r)||Oe(8),et(r)&&(r=rp(r));var o=Gc(this),a=Wa(this,r,void 0);return a[J].C=!0,Ua(o),a},e.finishDraft=function(r,o){var a=r&&r[J],i=a.A;return Ta(i,o),Da(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Xc&&Oe(20),this.O=r},e.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=Be("Patches").$;return et(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},t}(),xe=new ip,sp=xe.produce,QS=xe.produceWithPatches.bind(xe),eO=xe.setAutoFreeze.bind(xe),tO=xe.setUseProxies.bind(xe),rO=xe.applyPatches.bind(xe),oO=xe.createDraft.bind(xe),nO=xe.finishDraft.bind(xe),Ko=sp;function gt(t){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(t)}function Ga(t,e){if(gt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(gt(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ka(t){var e=Ga(t,"string");return gt(e)==="symbol"?e:String(e)}function Za(t,e,r){return e=Ka(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function al(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,o)}return r}function Zo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?al(Object(r),!0).forEach(function(o){Za(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):al(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var il=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),qa=function(){return Math.random().toString(36).substring(7).split("").join(".")},qo={INIT:"@@redux/INIT"+qa(),REPLACE:"@@redux/REPLACE"+qa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qa()}};function cp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ja(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(le(1));return r(Ja)(t,e)}if(typeof t!="function")throw new Error(le(2));var a=t,i=e,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(le(3));return i}function p(O){if(typeof O!="function")throw new Error(le(4));if(l)throw new Error(le(5));var N=!0;return d(),c.push(O),function(){if(N){if(l)throw new Error(le(6));N=!1,d();var _=c.indexOf(O);c.splice(_,1),s=null}}}function y(O){if(!cp(O))throw new Error(le(7));if(typeof O.type>"u")throw new Error(le(8));if(l)throw new Error(le(9));try{l=!0,i=a(i,O)}finally{l=!1}for(var N=s=c,C=0;C<N.length;C++){var _=N[C];_()}return O}function g(O){if(typeof O!="function")throw new Error(le(10));a=O,y({type:qo.REPLACE})}function b(){var O,N=p;return O={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(le(11));function v(){_.next&&_.next(h())}v();var S=N(v);return{unsubscribe:S}}},O[il]=function(){return this},O}return y({type:qo.INIT}),o={dispatch:y,subscribe:p,getState:h,replaceReducer:g},o[il]=b,o}function lp(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:qo.INIT});if(typeof o>"u")throw new Error(le(12));if(typeof r(void 0,{type:qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function sl(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var a=e[o];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{lp(r)}catch(l){c=l}return function(d,h){if(d===void 0&&(d={}),c)throw c;if(0)var p;for(var y=!1,g={},b=0;b<i.length;b++){var O=i[b],N=r[O],C=d[O],_=N(C,h);if(typeof _>"u"){var v=h&&h.type;throw new Error(le(14))}g[O]=_,y=y||_!==C}return y=y||i.length!==Object.keys(d).length,y?g:d}}function ir(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function cl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(le(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return i=ir.apply(void 0,c)(a.dispatch),Zo(Zo({},a),{},{dispatch:i})}}}function ll(t){var e=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var ul=ll();ul.withExtraArgument=ll;var Xa=ul;var yl=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),up=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return l([d,h])}}function l(d){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=d[0]&2?a.return:d[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,d[1])).done)return i;switch(a=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,a=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(h){d=[6,h],a=0}finally{o=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},sr=function(t,e){for(var r=0,o=e.length,a=t.length;r<o;r++,a++)t[a]=e[r];return t},dp=Object.defineProperty,fp=Object.defineProperties,pp=Object.getOwnPropertyDescriptors,dl=Object.getOwnPropertySymbols,hp=Object.prototype.hasOwnProperty,yp=Object.prototype.propertyIsEnumerable,fl=function(t,e,r){return e in t?dp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},bt=function(t,e){for(var r in e||(e={}))hp.call(e,r)&&fl(t,r,e[r]);if(dl)for(var o=0,a=dl(e);o<a.length;o++){var r=a[o];yp.call(e,r)&&fl(t,r,e[r])}return t},Qa=function(t,e){return fp(t,pp(e))},mp=function(t,e,r){return new Promise(function(o,a){var i=function(l){try{c(r.next(l))}catch(d){a(d)}},s=function(l){try{c(r.throw(l))}catch(d){a(d)}},c=function(l){return l.done?o(l.value):Promise.resolve(l.value).then(i,s)};c((r=r.apply(t,e)).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"?ir:ir.apply(null,arguments)},OO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function bp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var xp=function(t){yl(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,sr([void 0],r[0].concat(this)))):new(e.bind.apply(e,sr([void 0],r.concat(this))))},e}(Array),vp=function(t){yl(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,sr([void 0],r[0].concat(this)))):new(e.bind.apply(e,sr([void 0],r.concat(this))))},e}(Array);function ri(t){return Re(t)?Ko(t,function(){}):t}function Sp(t){return typeof t=="boolean"}function Op(){return function(e){return wp(e)}}function wp(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,a=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,c=new xp;if(r&&(Sp(r)?c.push(Xa):c.push(Xa.withExtraArgument(r.extraArgument))),0){if(a)var l;if(s)var d}return c}var ei=!0;function ml(t){var e=Op(),r=t||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,c=r.devTools,l=c===void 0?!0:c,d=r.preloadedState,h=d===void 0?void 0:d,p=r.enhancers,y=p===void 0?void 0:p,g;if(typeof a=="function")g=a;else if(bp(a))g=sl(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 b=s;if(typeof b=="function"&&(b=b(e),!ei&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ei&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=cl.apply(void 0,b),N=ir;l&&(N=gp(bt({trace:!ei},typeof l=="object"&&l)));var C=new vp(O),_=C;Array.isArray(y)?_=sr([O],y):typeof y=="function"&&(_=y(C));var v=N.apply(void 0,_);return Ja(g,h,v)}function xt(t,e){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return bt(bt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function gl(t){var e={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return t(a),[e,r,o]}function Ep(t){return typeof t=="function"}function Cp(t,e,r,o){r===void 0&&(r=[]);var a=typeof e=="function"?gl(e):[e,r,o],i=a[0],s=a[1],c=a[2],l;if(Ep(t))l=function(){return ri(t())};else{var d=ri(t);l=function(){return d}}function h(p,y){p===void 0&&(p=l());var g=sr([i[y.type]],s.filter(function(b){var O=b.matcher;return O(y)}).map(function(b){var O=b.reducer;return O}));return g.filter(function(b){return!!b}).length===0&&(g=[c]),g.reduce(function(b,O){if(O)if(et(b)){var N=b,C=O(N,y);return C===void 0?b:C}else{if(Re(b))return Ko(b,function(_){return O(_,y)});var C=O(b,y);if(C===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return b},p)}return h.getInitialState=l,h}function _p(t,e){return t+"/"+e}function bl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ri(t.initialState),o=t.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(h){var p=o[h],y=_p(e,h),g,b;"reducer"in p?(g=p.reducer,b=p.prepare):g=p,i[h]=g,s[y]=g,c[h]=b?xt(y,b):xt(y)});function l(){var h=typeof t.extraReducers=="function"?gl(t.extraReducers):[t.extraReducers],p=h[0],y=p===void 0?{}:p,g=h[1],b=g===void 0?[]:g,O=h[2],N=O===void 0?void 0:O,C=bt(bt({},y),s);return Cp(r,function(_){for(var v in C)_.addCase(v,C[v]);for(var S=0,w=b;S<w.length;S++){var T=w[S];_.addMatcher(T.matcher,T.reducer)}N&&_.addDefaultCase(N)})}var d;return{name:e,reducer:function(h,p){return d||(d=l()),d(h,p)},actions:c,caseReducers:i,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var Ap="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Np=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Ap[Math.random()*64|0];return e},Rp=["name","message","stack","code"],ti=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),pl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),kp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Rp;r<o.length;r++){var a=o[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},_O=function(){function t(e,r,o){var a=xt(e+"/fulfilled",function(h,p,y,g){return{payload:h,meta:Qa(bt({},g||{}),{arg:y,requestId:p,requestStatus:"fulfilled"})}}),i=xt(e+"/pending",function(h,p,y){return{payload:void 0,meta:Qa(bt({},y||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=xt(e+"/rejected",function(h,p,y,g,b){return{payload:g,error:(o&&o.serializeError||kp)(h||"Rejected"),meta:Qa(bt({},b||{}),{arg:y,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=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 d(h){return function(p,y,g){var b=o?.idGenerator?o.idGenerator(h):Np(),O=new l,N,C=!1;function _(S){N=S,O.abort()}var v=function(){return mp(this,null,function(){var S,w,T,W,H,j,P;return up(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),W=(S=o?.condition)==null?void 0:S.call(o,h,{getState:y,extra:g}),Ip(W)?[4,W]:[3,2];case 1:W=m.sent(),m.label=2;case 2:if(W===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,H=new Promise(function(x,k){return O.signal.addEventListener("abort",function(){return k({name:"AbortError",message:N||"Aborted"})})}),p(i(b,h,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:b,arg:h},{getState:y,extra:g}))),[4,Promise.race([H,Promise.resolve(r(h,{dispatch:p,getState:y,extra:g,requestId:b,signal:O.signal,abort:_,rejectWithValue:function(x,k){return new ti(x,k)},fulfillWithValue:function(x,k){return new pl(x,k)}})).then(function(x){if(x instanceof ti)throw x;return x instanceof pl?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return T=m.sent(),[3,5];case 4:return j=m.sent(),T=j instanceof ti?s(null,b,h,j.payload,j.meta):s(j,b,h),[3,5];case 5:return P=o&&!o.dispatchConditionRejection&&s.match(T)&&T.meta.condition,P||p(T),[2,T]}})})}();return Object.assign(v,{abort:_,requestId:b,arg:h,unwrap:function(){return v.then(Pp)}})}}return Object.assign(d,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function Pp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ip(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var xl="listener",vl="completed",Sl="cancelled",AO="task-"+Sl,NO="task-"+vl,RO=xl+"-"+Sl,kO=xl+"-"+vl;var oi="listenerMiddleware";var PO=xt(oi+"/add"),IO=xt(oi+"/removeAll"),TO=xt(oi+"/remove");var hl,DO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(hl||(hl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Tp=function(t){return function(e){setTimeout(e,t)}},MO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Tp(10);rl();window.ftReduxStores||(window.ftReduxStores={});var ni=class t{static get(e){var r;let o=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if($t(i))return i;if(a==null)return;let s=bl({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=ml({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[a.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new qr,this.actions=new Proxy(this.reduxSlice.actions,{get:(o,a,i)=>{let s=a,c=o[s];return c?(...l)=>{let d=c(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Dp(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))$t(e)&&e.clear()}var ci={};V(ci,{scrollHelper:()=>Mp});var ii,Jo=new Map,si=class{lock(e,r){if(r){let o=Jo.get(r);if(o==null||o===e)return Jo.set(r,e),r}}release(e,r){r&&Jo.get(r)===e&&Jo.delete(r)}findFirstScrollableParent(e){let r,o=a=>{var i;a.stopPropagation();let s,c;for(let l of a.composedPath()){let d=l,h=this.elementCanScroll(d);if(h&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else h&&c==null&&(c=d)}r=(i=s??c)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",o),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",o),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let o=0;for(;r&&r.offsetParent!==e.offsetParent;)o+=r.offsetTop,r=r.offsetParent;return o+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,e),i=a-o.clientHeight+e.clientHeight,s=a,c=Qn(0,(s-o.scrollTop)/(s-i),1),l=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(ii=window.FluidTopicsScrollHelper)!==null&&ii!==void 0?ii:new si;var Mp=window.FluidTopicsScrollHelper;var li={};V(li,{shadowQuerySelector:()=>Lp,shadowQuerySelectorAll:()=>Fp});function Lp(t,e,...r){var o;let a=t.querySelector(e);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function Fp(t,e,...r){let o=[...t.querySelectorAll(e)];for(let a of r)o=o.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return o}var ui={};V(ui,{SearchPlaceConverter:()=>en,SearchPlaceQueryParams:()=>K,isSearchPlaceQueryParams:()=>zl,serializeRequest:()=>Bp});var Up=qu(wl(),1);var El;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(El||(El={}));var Cl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Cl||(Cl={}));var _l;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(_l||(_l={}));var Al;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Al||(Al={}));var Nl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Nl||(Nl={}));var Rl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Rl||(Rl={}));var kl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(kl||(kl={}));var Pl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Pl||(Pl={}));var Il;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Il||(Il={}));var Tl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Tl||(Tl={}));var Dl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Dl||(Dl={}));var Ml;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ml||(Ml={}));var Bl=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);var Ll;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ll||(Ll={}));var Fl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Fl||(Fl={}));var Ul;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ul||(Ul={}));var eo;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(eo||(eo={}));var Hl=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);var Wl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Wl||(Wl={}));var $l;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})($l||($l={}));var ae;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ae||(ae={}));var Yl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Yl||(Yl={}));var XO={[ae.PERSONAL_BOOK_SHARE_USER]:[ae.PERSONAL_BOOK_USER],[ae.HTML_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.PDF_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.KHUB_ADMIN]:[ae.CONTENT_PUBLISHER],[ae.ADMIN]:[ae.KHUB_ADMIN,ae.USERS_ADMIN,ae.PORTAL_ADMIN],[ae.DEVELOPER]:[ae.BETA_USER,ae.DEBUG_USER]};function Wp(t){return`"${t}"`}function $p(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Bp(t,e){return new en(t,{}).serialize(e)}var K;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort"})(K||(K={}));var Hp=new Set(Object.values(K));function zl(t){return Hp.has(t)}var en=class{constructor(e,r){this.baseUrl=e,this.predefinedSorts=r,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r="/search"){let o=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${r}?${o}`).href}toURLSearchParams(e){var r,o,a,i,s,c,l,d,h,p;let y=new URLSearchParams({[K.LOCALE]:(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((o=e.query)===null||o===void 0?void 0:o.length)>0&&y.append(K.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&y.append(K.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(K.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&y.append(K.SORT,"last_update");let g=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(C=>C.valueFilter))!==null&&s!==void 0?s:[];if(g.length>0){let C=g.map(_=>{var v,S;let w=((S=(v=_.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(T=>this.escapeFilters(T)).map(T=>encodeURIComponent(Wp(T))).join("_");return`${_.key}~${w}`}).join("*");y.append(K.VALUE_FILTERS,C)}let b=(l=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(C=>C.dateFilter))!==null&&l!==void 0?l:[];if(b.length>0){let C=b.map(_=>{var v;return`${_.key}~${(v=_.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");y.append(K.DATE_FILTERS,C)}let O=(h=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let C=O.map(_=>{var v,S;return`${_.key}~${(v=_.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=_.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");y.append(K.RANGE_FILTERS,C)}let N=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let C in N)y.append(C,N[C]);return y}parse(e){var r;let o=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(o.slice(1).join("?"))),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,o,a,i,s,c,l,d;let h=((r=e.get(K.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=((o=e.get(K.SORT))!==null&&o!==void 0?o:"DEFAULT").toUpperCase(),y=(a=e.get(K.SCOPE))!==null&&a!==void 0?a:"default",g={};for(let b of e.keys())zl(b)||(g[b]=e.get(b));return{contentLocale:e.get(K.LOCALE)==="all"?void 0:(i=e.get(K.LOCALE))!==null&&i!==void 0?i:void 0,query:decodeURIComponent((s=e.get(K.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[y])!==null&&c!==void 0?c:"DEFAULT",virtualField:Bl(h)?h:"EVERYWHERE",sort:(d=(l=this.predefinedSorts[p])!==null&&l!==void 0?l:this.predefinedSorts.DEFAULT)!==null&&d!==void 0?d:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:g}}parseCompatFilters(e){var r,o,a,i,s,c;let l=[];return e.has(K.FILTERS)&&(l=this.parseValueFilters((r=e.get(K.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(K.PERIOD))!==null&&o!==void 0&&o&&(l=[...l,...this.parseLegacyPeriodFilter(((a=e.get(K.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...l,...this.parseValueFilters((i=e.get(K.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(K.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(K.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map($p).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:eo[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(o,a);return e}unescapeFilterValue(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Hl(e))return[{key:"ft:lastEdition",dateFilter:{type:eo[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var di={};V(di,{toFtFormComponent:()=>Yp});var tn=Symbol("elementInternals");function Yp(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[tn].form}constructor(...a){super(a),this[tn]=this.attachInternals(),this[tn].role=e}setFormValue(a){this[tn].setFormValue(a)}}return r}var pi={};V(pi,{DateFormatter:()=>fi});var fi=class{static format(e,r,o,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(o,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var hi,yi,mi,gi,zp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((mi=(yi=(hi=window.safari)===null||hi===void 0?void 0:hi.pushNotification)===null||yi===void 0?void 0:yi.toString())!==null&&mi!==void 0?mi:"")==="[object SafariRemoteNotification]",jp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(gi=window.ftGlobals)!==null&&gi!==void 0?gi:{lit:Wn,litDecorators:Bn,litRepeat:Hn,litClassMap:Yn,litStyleMap:zn,litUnsafeHTML:jn,wcUtils:{...Zn,...Gn,...Jn,...pi,...Xn,...ta,...aa,...la,...wa,...na,...Aa,...Ca,...Bc,...ea,...Ra,...ka,...Yc,...Ia,...ai,...Ea,...ci,...li,...ui,...di,isSafari:zp,isTouchScreen:jp,setVariable:Fo}};var ql;function A(){return ql.apply(null,arguments)}function Vp(t){ql=t}function Pe(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function jt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Y(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ri(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Y(t,e))return!1;return!0}function me(t){return t===void 0}function it(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function co(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Jl(t,e){var r=[],o,a=t.length;for(o=0;o<a;++o)r.push(e(t[o],o));return r}function St(t,e){for(var r in e)Y(e,r)&&(t[r]=e[r]);return Y(e,"toString")&&(t.toString=e.toString),Y(e,"valueOf")&&(t.valueOf=e.valueOf),t}function ze(t,e,r,o){return Su(t,e,r,o,!0).utc()}function Gp(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function M(t){return t._pf==null&&(t._pf=Gp()),t._pf}var Oi;Array.prototype.some?Oi=Array.prototype.some:Oi=function(t){var e=Object(this),r=e.length>>>0,o;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};function ki(t){if(t._isValid==null){var e=M(t),r=Oi.call(e.parsedDateParts,function(a){return a!=null}),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(o=o&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=o;else return o}return t._isValid}function hn(t){var e=ze(NaN);return t!=null?St(M(e),t):M(e).userInvalidated=!0,e}var jl=A.momentProperties=[],bi=!1;function Pi(t,e){var r,o,a,i=jl.length;if(me(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),me(e._i)||(t._i=e._i),me(e._f)||(t._f=e._f),me(e._l)||(t._l=e._l),me(e._strict)||(t._strict=e._strict),me(e._tzm)||(t._tzm=e._tzm),me(e._isUTC)||(t._isUTC=e._isUTC),me(e._offset)||(t._offset=e._offset),me(e._pf)||(t._pf=M(e)),me(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)o=jl[r],a=e[o],me(a)||(t[o]=a);return t}function lo(t){Pi(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),bi===!1&&(bi=!0,A.updateOffset(this),bi=!1)}function Ie(t){return t instanceof lo||t!=null&&t._isAMomentObject!=null}function Xl(t){A.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Ee(t,e){var r=!0;return St(function(){if(A.deprecationHandler!=null&&A.deprecationHandler(null,t),r){var o=[],a,i,s,c=arguments.length;for(i=0;i<c;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
51
|
-
[`+i+"] ";for(s in arguments[0])Y(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}
|
|
50
|
+
`;var zc={};var Ia={};V(Ia,{ParametrizedLabelResolver:()=>Pa});var Pa=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,a;e=this.resolvePluralKey(e,r);let i=(a=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let a=`${String(e)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var ai={};V(ai,{FtCommandQueue:()=>qr,FtLitElementRedux:()=>rr,FtReduxStore:()=>ni,clearAllStores:()=>Mp,isFtReduxStore:()=>$t,redux:()=>Jf,reduxEventListener:()=>Xf,reduxReactive:()=>qf});var qf=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},Jf=t=>{let e=t??{};return(r,o)=>{var a;let i={hasChanged:Fr,attribute:!1,...e};U(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=e.selector)!==null&&a!==void 0?a:c=>c[o],store:e.store})}},Xf=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var qr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(o=>o.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}};function $t(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var jc,Vc,Gc,zo=Symbol("internalReduxEventsUnsubscribers"),ht=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),rr=class extends pe{constructor(){super(...arguments),this[jc]=new Map,this[Vc]=new Map,this[Gc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Bt].get(e)}addStore(e,r){var o;r=(o=r??($t(e)?e.name:void 0))!==null&&o!==void 0?o:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Bt].delete(r)}setupStore(e,r){this[Bt].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let o=this.constructor.getPropertyOptions(r);if(!o?.attribute||!this.hasAttribute(typeof o?.attribute=="string"?o.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[ht].has(e.store):this[ht].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var o;this[ht].set(e,r.subscribe(()=>this.updateFromStores())),$t(r)&&r.eventBus&&((o=this.reduxConstructor.reduxEventListeners)===null||o===void 0||o.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=c=>this[i](c);r.eventBus.addEventListener(a.eventName,s),this[zo].push(()=>r.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ht].forEach((e,r)=>this.unsubscribeFromStore(r)),this[zo].forEach(e=>e()),this[zo]=[]}unsubscribeFromStore(e){this[ht].has(e)&&this[ht].get(e)(),this[ht].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};jc=ht,Vc=Bt,Gc=zo;rr.reduxProperties=new Map;rr.reduxReactiveProperties=new Set;rr.reduxEventListeners=new Map;function Oe(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function et(t){return!!t&&!!t[J]}function Re(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ip}(t)||Array.isArray(t)||!!t[el]||!!(!((e=t.constructor)===null||e===void 0)&&e[el])||Ba(t)||Ha(t))}function Ht(t,e,r){r===void 0&&(r=!1),ar(t)===0?(r?Object.keys:nr)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,a){return e(a,o,t)})}function ar(t){var e=t[J];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ba(t)?2:Ha(t)?3:0}function or(t,e){return ar(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Qf(t,e){return ar(t)===2?t.get(e):t[e]}function tl(t,e,r){var o=ar(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function rl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ba(t){return np&&t instanceof Map}function Ha(t){return ap&&t instanceof Set}function yt(t){return t.o||t.t}function Ya(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=al(t);delete e[J];for(var r=nr(e),o=0;o<r.length;o++){var a=r[o],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function za(t,e){return e===void 0&&(e=!1),ja(t)||et(t)||!Re(t)||(ar(t)>1&&(t.set=t.add=t.clear=t.delete=ep),Object.freeze(t),e&&Ht(t,function(r,o){return za(o,!0)},!0)),t}function ep(){Oe(2)}function ja(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Be(t){var e=$a[t];return e||Oe(18,t),e}function tp(t,e){$a[t]||($a[t]=e)}function Fa(){return Xr}function Ta(t,e){e&&(Be("Patches"),t.u=[],t.s=[],t.v=e)}function jo(t){Ua(t),t.p.forEach(rp),t.p=null}function Ua(t){t===Xr&&(Xr=t.l)}function Kc(t){return Xr={p:[],l:Xr,h:t,m:!0,_:0}}function rp(t){var e=t[J];e.i===0||e.i===1?e.j():e.g=!0}function Da(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||Be("ES5").S(e,t,o),o?(r[J].P&&(jo(e),Oe(4)),Re(t)&&(t=Vo(e,t),e.l||Go(e,t)),e.u&&Be("Patches").M(r[J].t,t,e.u,e.s)):t=Vo(e,r,[]),jo(e),e.u&&e.v(e.u,e.s),t!==nl?t:void 0}function Vo(t,e,r){if(ja(e))return e;var o=e[J];if(!o)return Ht(e,function(c,l){return Zc(t,o,e,c,l,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Go(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Ya(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),Ht(i,function(c,l){return Zc(t,o,a,c,l,r,s)}),Go(t,a,!1),r&&t.u&&Be("Patches").N(o,r,t.u,t.s)}return o.o}function Zc(t,e,r,o,a,i,s){if(et(a)){var c=Vo(t,a,i&&e&&e.i!==3&&!or(e.R,o)?i.concat(o):void 0);if(tl(r,o,c),!et(c))return;t.m=!1}else s&&r.add(a);if(Re(a)&&!ja(a)){if(!t.h.D&&t._<1)return;Vo(t,a),e&&e.A.l||Go(t,a)}}function Go(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&za(e,r)}function Ma(t,e){var r=t[J];return(r?yt(r):t)[e]}function qc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function mt(t){t.P||(t.P=!0,t.l&&mt(t.l))}function La(t){t.o||(t.o=Ya(t.t))}function Wa(t,e,r){var o=Ba(e)?Be("MapSet").F(e,r):Ha(e)?Be("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Fa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},l=c,d=Qr;s&&(l=[c],d=Jr);var h=Proxy.revocable(l,d),p=h.revoke,y=h.proxy;return c.k=y,c.j=p,y}(e,r):Be("ES5").J(e,r);return(r?r.A:Fa()).p.push(o),o}function op(t){return et(t)||Oe(22,t),function e(r){if(!Re(r))return r;var o,a=r[J],i=ar(r);if(a){if(!a.P&&(a.i<4||!Be("ES5").K(a)))return a.t;a.I=!0,o=Jc(r,i),a.I=!1}else o=Jc(r,i);return Ht(o,function(s,c){a&&Qf(a.t,s)===c||tl(o,s,e(c))}),i===3?new Set(o):o}(t)}function Jc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ya(t)}function ol(){function t(s,c){var l=i[s];return l?l.enumerable=c:i[s]=l={configurable:!0,enumerable:c,get:function(){var d=this[J];return Qr.get(d,s)},set:function(d){var h=this[J];Qr.set(h,s,d)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][J];if(!l.P)switch(l.i){case 5:o(l)&&mt(l);break;case 4:r(l)&&mt(l)}}}function r(s){for(var c=s.t,l=s.k,d=nr(l),h=d.length-1;h>=0;h--){var p=d[h];if(p!==J){var y=c[p];if(y===void 0&&!or(c,p))return!0;var g=l[p],b=g&&g[J];if(b?b.t!==y:!rl(g,y))return!0}}var O=!!c[J];return d.length!==nr(c).length+(O?0:1)}function o(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function a(s){s.g&&Oe(3,JSON.stringify(yt(s)))}var i={};tp("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(p,y){if(p){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,t(b,!0));return g}var O=al(y);delete O[J];for(var N=nr(O),C=0;C<N.length;C++){var _=N[C];O[_]=t(_,p||!!O[_].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(l,s),h={i:l?5:4,A:c?c.A:Fa(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,J,{value:h,writable:!0}),d},S:function(s,c,l){l?et(c)&&c[J].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var p=h[J];if(p){var y=p.t,g=p.k,b=p.R,O=p.i;if(O===4)Ht(g,function(S){S!==J&&(y[S]!==void 0||or(y,S)?b[S]||d(g[S]):(b[S]=!0,mt(p)))}),Ht(y,function(S){g[S]!==void 0||or(g,S)||(b[S]=!1,mt(p))});else if(O===5){if(o(p)&&(mt(p),b.length=!0),g.length<y.length)for(var N=g.length;N<y.length;N++)b[N]=!1;else for(var C=y.length;C<g.length;C++)b[C]=!0;for(var _=Math.min(g.length,y.length),v=0;v<_;v++)g.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&d(g[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Xc,Xr,Va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",np=typeof Map<"u",ap=typeof Set<"u",Qc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",nl=Va?Symbol.for("immer-nothing"):((Xc={})["immer-nothing"]=!0,Xc),el=Va?Symbol.for("immer-draftable"):"__$immer_draftable",J=Va?Symbol.for("immer-state"):"__$immer_state";var ip=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,al=Object.getOwnPropertyDescriptors||function(t){var e={};return nr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},$a={},Qr={get:function(t,e){if(e===J)return t;var r=yt(t);if(!or(r,e))return function(a,i,s){var c,l=qc(i,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(a.k):void 0}(t,r,e);var o=r[e];return t.I||!Re(o)?o:o===Ma(t.t,e)?(La(t),t.o[e]=Wa(t.A.h,o,t)):o},has:function(t,e){return e in yt(t)},ownKeys:function(t){return Reflect.ownKeys(yt(t))},set:function(t,e,r){var o=qc(yt(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var a=Ma(yt(t),e),i=a?.[J];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(rl(r,a)&&(r!==void 0||or(t.t,e)))return!0;La(t),mt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ma(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,La(t),mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=yt(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Oe(12)}},Jr={};Ht(Qr,function(t,e){Jr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Jr.deleteProperty=function(t,e){return Jr.set.call(this,t,e,void 0)},Jr.set=function(t,e,r){return Qr.set.call(this,t[0],e,r,t[0])};var sp=function(){function t(r){var o=this;this.O=Qc,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var l=o;return function(O){var N=this;O===void 0&&(O=c);for(var C=arguments.length,_=Array(C>1?C-1:0),v=1;v<C;v++)_[v-1]=arguments[v];return l.produce(O,function(S){var w;return(w=i).call.apply(w,[N,S].concat(_))})}}var d;if(typeof i!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Re(a)){var h=Kc(o),p=Wa(o,a,void 0),y=!0;try{d=i(p),y=!1}finally{y?jo(h):Ua(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return Ta(h,s),Da(O,h)},function(O){throw jo(h),O}):(Ta(h,s),Da(d,h))}if(!a||typeof a!="object"){if((d=i(a))===void 0&&(d=a),d===nl&&(d=void 0),o.D&&za(d,!0),s){var g=[],b=[];Be("Patches").M(a,d,g,b),s(g,b)}return d}Oe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(d){for(var h=arguments.length,p=Array(h>1?h-1:0),y=1;y<h;y++)p[y-1]=arguments[y];return o.produceWithPatches(d,function(g){return a.apply(void 0,[g].concat(p))})};var s,c,l=o.produce(a,i,function(d,h){s=d,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,c]}):[l,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Re(r)||Oe(8),et(r)&&(r=op(r));var o=Kc(this),a=Wa(this,r,void 0);return a[J].C=!0,Ua(o),a},e.finishDraft=function(r,o){var a=r&&r[J],i=a.A;return Ta(i,o),Da(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Qc&&Oe(20),this.O=r},e.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=Be("Patches").$;return et(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},t}(),xe=new sp,cp=xe.produce,eO=xe.produceWithPatches.bind(xe),tO=xe.setAutoFreeze.bind(xe),rO=xe.setUseProxies.bind(xe),oO=xe.applyPatches.bind(xe),nO=xe.createDraft.bind(xe),aO=xe.finishDraft.bind(xe),Ko=cp;function gt(t){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(t)}function Ga(t,e){if(gt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(gt(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ka(t){var e=Ga(t,"string");return gt(e)==="symbol"?e:String(e)}function Za(t,e,r){return e=Ka(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function il(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,o)}return r}function Zo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?il(Object(r),!0).forEach(function(o){Za(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):il(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var sl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),qa=function(){return Math.random().toString(36).substring(7).split("").join(".")},qo={INIT:"@@redux/INIT"+qa(),REPLACE:"@@redux/REPLACE"+qa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qa()}};function lp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ja(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(le(1));return r(Ja)(t,e)}if(typeof t!="function")throw new Error(le(2));var a=t,i=e,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(le(3));return i}function p(O){if(typeof O!="function")throw new Error(le(4));if(l)throw new Error(le(5));var N=!0;return d(),c.push(O),function(){if(N){if(l)throw new Error(le(6));N=!1,d();var _=c.indexOf(O);c.splice(_,1),s=null}}}function y(O){if(!lp(O))throw new Error(le(7));if(typeof O.type>"u")throw new Error(le(8));if(l)throw new Error(le(9));try{l=!0,i=a(i,O)}finally{l=!1}for(var N=s=c,C=0;C<N.length;C++){var _=N[C];_()}return O}function g(O){if(typeof O!="function")throw new Error(le(10));a=O,y({type:qo.REPLACE})}function b(){var O,N=p;return O={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(le(11));function v(){_.next&&_.next(h())}v();var S=N(v);return{unsubscribe:S}}},O[sl]=function(){return this},O}return y({type:qo.INIT}),o={dispatch:y,subscribe:p,getState:h,replaceReducer:g},o[sl]=b,o}function up(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:qo.INIT});if(typeof o>"u")throw new Error(le(12));if(typeof r(void 0,{type:qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function cl(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var a=e[o];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{up(r)}catch(l){c=l}return function(d,h){if(d===void 0&&(d={}),c)throw c;if(0)var p;for(var y=!1,g={},b=0;b<i.length;b++){var O=i[b],N=r[O],C=d[O],_=N(C,h);if(typeof _>"u"){var v=h&&h.type;throw new Error(le(14))}g[O]=_,y=y||_!==C}return y=y||i.length!==Object.keys(d).length,y?g:d}}function ir(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function ll(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(le(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return i=ir.apply(void 0,c)(a.dispatch),Zo(Zo({},a),{},{dispatch:i})}}}function ul(t){var e=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var dl=ul();dl.withExtraArgument=ul;var Xa=dl;var ml=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),dp=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return l([d,h])}}function l(d){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=d[0]&2?a.return:d[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,d[1])).done)return i;switch(a=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,a=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(h){d=[6,h],a=0}finally{o=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},sr=function(t,e){for(var r=0,o=e.length,a=t.length;r<o;r++,a++)t[a]=e[r];return t},fp=Object.defineProperty,pp=Object.defineProperties,hp=Object.getOwnPropertyDescriptors,fl=Object.getOwnPropertySymbols,yp=Object.prototype.hasOwnProperty,mp=Object.prototype.propertyIsEnumerable,pl=function(t,e,r){return e in t?fp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},bt=function(t,e){for(var r in e||(e={}))yp.call(e,r)&&pl(t,r,e[r]);if(fl)for(var o=0,a=fl(e);o<a.length;o++){var r=a[o];mp.call(e,r)&&pl(t,r,e[r])}return t},Qa=function(t,e){return pp(t,hp(e))},gp=function(t,e,r){return new Promise(function(o,a){var i=function(l){try{c(r.next(l))}catch(d){a(d)}},s=function(l){try{c(r.throw(l))}catch(d){a(d)}},c=function(l){return l.done?o(l.value):Promise.resolve(l.value).then(i,s)};c((r=r.apply(t,e)).next())})};var bp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ir:ir.apply(null,arguments)},wO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function xp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var vp=function(t){ml(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,sr([void 0],r[0].concat(this)))):new(e.bind.apply(e,sr([void 0],r.concat(this))))},e}(Array),Sp=function(t){ml(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,sr([void 0],r[0].concat(this)))):new(e.bind.apply(e,sr([void 0],r.concat(this))))},e}(Array);function ri(t){return Re(t)?Ko(t,function(){}):t}function Op(t){return typeof t=="boolean"}function wp(){return function(e){return Ep(e)}}function Ep(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,a=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,c=new vp;if(r&&(Op(r)?c.push(Xa):c.push(Xa.withExtraArgument(r.extraArgument))),0){if(a)var l;if(s)var d}return c}var ei=!0;function gl(t){var e=wp(),r=t||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,c=r.devTools,l=c===void 0?!0:c,d=r.preloadedState,h=d===void 0?void 0:d,p=r.enhancers,y=p===void 0?void 0:p,g;if(typeof a=="function")g=a;else if(xp(a))g=cl(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 b=s;if(typeof b=="function"&&(b=b(e),!ei&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ei&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=ll.apply(void 0,b),N=ir;l&&(N=bp(bt({trace:!ei},typeof l=="object"&&l)));var C=new Sp(O),_=C;Array.isArray(y)?_=sr([O],y):typeof y=="function"&&(_=y(C));var v=N.apply(void 0,_);return Ja(g,h,v)}function xt(t,e){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return bt(bt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function bl(t){var e={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return t(a),[e,r,o]}function Cp(t){return typeof t=="function"}function _p(t,e,r,o){r===void 0&&(r=[]);var a=typeof e=="function"?bl(e):[e,r,o],i=a[0],s=a[1],c=a[2],l;if(Cp(t))l=function(){return ri(t())};else{var d=ri(t);l=function(){return d}}function h(p,y){p===void 0&&(p=l());var g=sr([i[y.type]],s.filter(function(b){var O=b.matcher;return O(y)}).map(function(b){var O=b.reducer;return O}));return g.filter(function(b){return!!b}).length===0&&(g=[c]),g.reduce(function(b,O){if(O)if(et(b)){var N=b,C=O(N,y);return C===void 0?b:C}else{if(Re(b))return Ko(b,function(_){return O(_,y)});var C=O(b,y);if(C===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return b},p)}return h.getInitialState=l,h}function Ap(t,e){return t+"/"+e}function xl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ri(t.initialState),o=t.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(h){var p=o[h],y=Ap(e,h),g,b;"reducer"in p?(g=p.reducer,b=p.prepare):g=p,i[h]=g,s[y]=g,c[h]=b?xt(y,b):xt(y)});function l(){var h=typeof t.extraReducers=="function"?bl(t.extraReducers):[t.extraReducers],p=h[0],y=p===void 0?{}:p,g=h[1],b=g===void 0?[]:g,O=h[2],N=O===void 0?void 0:O,C=bt(bt({},y),s);return _p(r,function(_){for(var v in C)_.addCase(v,C[v]);for(var S=0,w=b;S<w.length;S++){var T=w[S];_.addMatcher(T.matcher,T.reducer)}N&&_.addDefaultCase(N)})}var d;return{name:e,reducer:function(h,p){return d||(d=l()),d(h,p)},actions:c,caseReducers:i,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var Np="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Rp=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Np[Math.random()*64|0];return e},kp=["name","message","stack","code"],ti=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),hl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Pp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=kp;r<o.length;r++){var a=o[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},AO=function(){function t(e,r,o){var a=xt(e+"/fulfilled",function(h,p,y,g){return{payload:h,meta:Qa(bt({},g||{}),{arg:y,requestId:p,requestStatus:"fulfilled"})}}),i=xt(e+"/pending",function(h,p,y){return{payload:void 0,meta:Qa(bt({},y||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=xt(e+"/rejected",function(h,p,y,g,b){return{payload:g,error:(o&&o.serializeError||Pp)(h||"Rejected"),meta:Qa(bt({},b||{}),{arg:y,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=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 d(h){return function(p,y,g){var b=o?.idGenerator?o.idGenerator(h):Rp(),O=new l,N,C=!1;function _(S){N=S,O.abort()}var v=function(){return gp(this,null,function(){var S,w,T,W,H,j,P;return dp(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),W=(S=o?.condition)==null?void 0:S.call(o,h,{getState:y,extra:g}),Tp(W)?[4,W]:[3,2];case 1:W=m.sent(),m.label=2;case 2:if(W===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,H=new Promise(function(x,k){return O.signal.addEventListener("abort",function(){return k({name:"AbortError",message:N||"Aborted"})})}),p(i(b,h,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:b,arg:h},{getState:y,extra:g}))),[4,Promise.race([H,Promise.resolve(r(h,{dispatch:p,getState:y,extra:g,requestId:b,signal:O.signal,abort:_,rejectWithValue:function(x,k){return new ti(x,k)},fulfillWithValue:function(x,k){return new hl(x,k)}})).then(function(x){if(x instanceof ti)throw x;return x instanceof hl?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return T=m.sent(),[3,5];case 4:return j=m.sent(),T=j instanceof ti?s(null,b,h,j.payload,j.meta):s(j,b,h),[3,5];case 5:return P=o&&!o.dispatchConditionRejection&&s.match(T)&&T.meta.condition,P||p(T),[2,T]}})})}();return Object.assign(v,{abort:_,requestId:b,arg:h,unwrap:function(){return v.then(Ip)}})}}return Object.assign(d,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function Ip(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Tp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var vl="listener",Sl="completed",Ol="cancelled",NO="task-"+Ol,RO="task-"+Sl,kO=vl+"-"+Ol,PO=vl+"-"+Sl;var oi="listenerMiddleware";var IO=xt(oi+"/add"),TO=xt(oi+"/removeAll"),DO=xt(oi+"/remove");var yl,MO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(yl||(yl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Dp=function(t){return function(e){setTimeout(e,t)}},LO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Dp(10);ol();window.ftReduxStores||(window.ftReduxStores={});var ni=class t{static get(e){var r;let o=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if($t(i))return i;if(a==null)return;let s=xl({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=gl({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[a.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new qr,this.actions=new Proxy(this.reduxSlice.actions,{get:(o,a,i)=>{let s=a,c=o[s];return c?(...l)=>{let d=c(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}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 t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))$t(e)&&e.clear()}var ci={};V(ci,{scrollHelper:()=>Lp});var ii,Jo=new Map,si=class{lock(e,r){if(r){let o=Jo.get(r);if(o==null||o===e)return Jo.set(r,e),r}}release(e,r){r&&Jo.get(r)===e&&Jo.delete(r)}findFirstScrollableParent(e){let r,o=a=>{var i;a.stopPropagation();let s,c;for(let l of a.composedPath()){let d=l,h=this.elementCanScroll(d);if(h&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else h&&c==null&&(c=d)}r=(i=s??c)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",o),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",o),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let o=0;for(;r&&r.offsetParent!==e.offsetParent;)o+=r.offsetTop,r=r.offsetParent;return o+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,e),i=a-o.clientHeight+e.clientHeight,s=a,c=Qn(0,(s-o.scrollTop)/(s-i),1),l=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(ii=window.FluidTopicsScrollHelper)!==null&&ii!==void 0?ii:new si;var Lp=window.FluidTopicsScrollHelper;var li={};V(li,{shadowQuerySelector:()=>Fp,shadowQuerySelectorAll:()=>Up});function Fp(t,e,...r){var o;let a=t.querySelector(e);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function Up(t,e,...r){let o=[...t.querySelectorAll(e)];for(let a of r)o=o.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return o}var ui={};V(ui,{SearchPlaceConverter:()=>en,SearchPlaceQueryParams:()=>K,isSearchPlaceQueryParams:()=>jl,serializeRequest:()=>Hp});var Wp=Ju(El(),1);var Cl;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Cl||(Cl={}));var _l;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(_l||(_l={}));var Al;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Al||(Al={}));var Nl;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Nl||(Nl={}));var Rl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Rl||(Rl={}));var kl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(kl||(kl={}));var Pl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Pl||(Pl={}));var Il;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Il||(Il={}));var Tl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Tl||(Tl={}));var Dl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Dl||(Dl={}));var Ml;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Ml||(Ml={}));var Ll;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ll||(Ll={}));var Hl=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);var Fl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Fl||(Fl={}));var Ul;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ul||(Ul={}));var Wl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Wl||(Wl={}));var eo;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(eo||(eo={}));var Yl=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);var $l;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})($l||($l={}));var Bl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Bl||(Bl={}));var ae;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ae||(ae={}));var zl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(zl||(zl={}));var QO={[ae.PERSONAL_BOOK_SHARE_USER]:[ae.PERSONAL_BOOK_USER],[ae.HTML_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.PDF_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.KHUB_ADMIN]:[ae.CONTENT_PUBLISHER],[ae.ADMIN]:[ae.KHUB_ADMIN,ae.USERS_ADMIN,ae.PORTAL_ADMIN],[ae.DEVELOPER]:[ae.BETA_USER,ae.DEBUG_USER]};function $p(t){return`"${t}"`}function Bp(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Hp(t,e){return new en(t,{}).serialize(e)}var K;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort"})(K||(K={}));var Yp=new Set(Object.values(K));function jl(t){return Yp.has(t)}var en=class{constructor(e,r){this.baseUrl=e,this.predefinedSorts=r,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r="/search"){let o=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${r}?${o}`).href}toURLSearchParams(e){var r,o,a,i,s,c,l,d,h,p;let y=new URLSearchParams({[K.LOCALE]:(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((o=e.query)===null||o===void 0?void 0:o.length)>0&&y.append(K.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&y.append(K.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(K.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&y.append(K.SORT,"last_update");let g=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(C=>C.valueFilter))!==null&&s!==void 0?s:[];if(g.length>0){let C=g.map(_=>{var v,S;let w=((S=(v=_.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(T=>this.escapeFilters(T)).map(T=>encodeURIComponent($p(T))).join("_");return`${_.key}~${w}`}).join("*");y.append(K.VALUE_FILTERS,C)}let b=(l=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(C=>C.dateFilter))!==null&&l!==void 0?l:[];if(b.length>0){let C=b.map(_=>{var v;return`${_.key}~${(v=_.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");y.append(K.DATE_FILTERS,C)}let O=(h=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let C=O.map(_=>{var v,S;return`${_.key}~${(v=_.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=_.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");y.append(K.RANGE_FILTERS,C)}let N=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let C in N)y.append(C,N[C]);return y}parse(e){var r;let o=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(o.slice(1).join("?"))),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,o,a,i,s,c,l,d;let h=((r=e.get(K.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=((o=e.get(K.SORT))!==null&&o!==void 0?o:"DEFAULT").toUpperCase(),y=(a=e.get(K.SCOPE))!==null&&a!==void 0?a:"default",g={};for(let b of e.keys())jl(b)||(g[b]=e.get(b));return{contentLocale:e.get(K.LOCALE)==="all"?void 0:(i=e.get(K.LOCALE))!==null&&i!==void 0?i:void 0,query:decodeURIComponent((s=e.get(K.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[y])!==null&&c!==void 0?c:"DEFAULT",virtualField:Hl(h)?h:"EVERYWHERE",sort:(d=(l=this.predefinedSorts[p])!==null&&l!==void 0?l:this.predefinedSorts.DEFAULT)!==null&&d!==void 0?d:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:g}}parseCompatFilters(e){var r,o,a,i,s,c;let l=[];return e.has(K.FILTERS)&&(l=this.parseValueFilters((r=e.get(K.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(K.PERIOD))!==null&&o!==void 0&&o&&(l=[...l,...this.parseLegacyPeriodFilter(((a=e.get(K.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...l,...this.parseValueFilters((i=e.get(K.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(K.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(K.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Bp).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:eo[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(o,a);return e}unescapeFilterValue(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Yl(e))return[{key:"ft:lastEdition",dateFilter:{type:eo[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var di={};V(di,{toFtFormComponent:()=>zp});var tn=Symbol("elementInternals");function zp(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[tn].form}constructor(...a){super(a),this[tn]=this.attachInternals(),this[tn].role=e}setFormValue(a){this[tn].setFormValue(a)}}return r}var pi={};V(pi,{DateFormatter:()=>fi});var fi=class{static format(e,r,o,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(o,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var hi,yi,mi,gi,jp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((mi=(yi=(hi=window.safari)===null||hi===void 0?void 0:hi.pushNotification)===null||yi===void 0?void 0:yi.toString())!==null&&mi!==void 0?mi:"")==="[object SafariRemoteNotification]",Vp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(gi=window.ftGlobals)!==null&&gi!==void 0?gi:{lit:Wn,litDecorators:Bn,litRepeat:Hn,litClassMap:Yn,litStyleMap:zn,litUnsafeHTML:jn,wcUtils:{...Zn,...Gn,...Jn,...pi,...Xn,...ta,...aa,...la,...wa,...na,...Aa,...Ca,...Hc,...ea,...Ra,...ka,...zc,...Ia,...ai,...Ea,...ci,...li,...ui,...di,isSafari:jp,isTouchScreen:Vp,setVariable:Fo}};var Jl;function A(){return Jl.apply(null,arguments)}function Gp(t){Jl=t}function Pe(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function jt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Y(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ri(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Y(t,e))return!1;return!0}function me(t){return t===void 0}function it(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function co(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Xl(t,e){var r=[],o,a=t.length;for(o=0;o<a;++o)r.push(e(t[o],o));return r}function St(t,e){for(var r in e)Y(e,r)&&(t[r]=e[r]);return Y(e,"toString")&&(t.toString=e.toString),Y(e,"valueOf")&&(t.valueOf=e.valueOf),t}function ze(t,e,r,o){return Ou(t,e,r,o,!0).utc()}function Kp(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function M(t){return t._pf==null&&(t._pf=Kp()),t._pf}var Oi;Array.prototype.some?Oi=Array.prototype.some:Oi=function(t){var e=Object(this),r=e.length>>>0,o;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};function ki(t){if(t._isValid==null){var e=M(t),r=Oi.call(e.parsedDateParts,function(a){return a!=null}),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(o=o&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=o;else return o}return t._isValid}function hn(t){var e=ze(NaN);return t!=null?St(M(e),t):M(e).userInvalidated=!0,e}var Vl=A.momentProperties=[],bi=!1;function Pi(t,e){var r,o,a,i=Vl.length;if(me(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),me(e._i)||(t._i=e._i),me(e._f)||(t._f=e._f),me(e._l)||(t._l=e._l),me(e._strict)||(t._strict=e._strict),me(e._tzm)||(t._tzm=e._tzm),me(e._isUTC)||(t._isUTC=e._isUTC),me(e._offset)||(t._offset=e._offset),me(e._pf)||(t._pf=M(e)),me(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)o=Vl[r],a=e[o],me(a)||(t[o]=a);return t}function lo(t){Pi(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),bi===!1&&(bi=!0,A.updateOffset(this),bi=!1)}function Ie(t){return t instanceof lo||t!=null&&t._isAMomentObject!=null}function Ql(t){A.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Ee(t,e){var r=!0;return St(function(){if(A.deprecationHandler!=null&&A.deprecationHandler(null,t),r){var o=[],a,i,s,c=arguments.length;for(i=0;i<c;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
51
|
+
[`+i+"] ";for(s in arguments[0])Y(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}Ql(t+`
|
|
52
52
|
Arguments: `+Array.prototype.slice.call(o).join("")+`
|
|
53
|
-
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Vl={};function Ql(t,e){A.deprecationHandler!=null&&A.deprecationHandler(t,e),Vl[t]||(Xl(e),Vl[t]=!0)}A.suppressDeprecationWarnings=!1;A.deprecationHandler=null;function je(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function Kp(t){var e,r;for(r in t)Y(t,r)&&(e=t[r],je(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function wi(t,e){var r=St({},t),o;for(o in e)Y(e,o)&&(jt(t[o])&&jt(e[o])?(r[o]={},St(r[o],t[o]),St(r[o],e[o])):e[o]!=null?r[o]=e[o]:delete r[o]);for(o in t)Y(t,o)&&!Y(e,o)&&jt(t[o])&&(r[o]=St({},r[o]));return r}function Ii(t){t!=null&&this.set(t)}var Ei;Object.keys?Ei=Object.keys:Ei=function(t){var e,r=[];for(e in t)Y(t,e)&&r.push(e);return r};var Zp={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function qp(t,e,r){var o=this._calendar[t]||this._calendar.sameElse;return je(o)?o.call(e,r):o}function Ye(t,e,r){var o=""+Math.abs(t),a=e-o.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var Ti=/(\[[^\[]*\])|(\\)?([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,rn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xi={},fr={};function I(t,e,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),t&&(fr[t]=a),e&&(fr[e[0]]=function(){return Ye(a.apply(this,arguments),e[1],e[2])}),r&&(fr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function Jp(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Xp(t){var e=t.match(Ti),r,o;for(r=0,o=e.length;r<o;r++)fr[e[r]]?e[r]=fr[e[r]]:e[r]=Jp(e[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=je(e[s])?e[s].call(a,t):e[s];return i}}function nn(t,e){return t.isValid()?(e=eu(e,t.localeData()),xi[e]=xi[e]||Xp(e),xi[e](t)):t.localeData().invalidDate()}function eu(t,e){var r=5;function o(a){return e.longDateFormat(a)||a}for(rn.lastIndex=0;r>=0&&rn.test(t);)t=t.replace(rn,o),rn.lastIndex=0,r-=1;return t}var Qp={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function eh(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(Ti).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[t])}var th="Invalid date";function rh(){return this._invalidDate}var oh="%d",nh=/\d{1,2}/;function ah(t){return this._ordinal.replace("%d",t)}var ih={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 sh(t,e,r,o){var a=this._relativeTime[r];return je(a)?a(t,e,r,o):a.replace(/%d/i,t)}function ch(t,e){var r=this._relativeTime[t>0?"future":"past"];return je(r)?r(e):r.replace(/%s/i,e)}var oo={};function de(t,e){var r=t.toLowerCase();oo[r]=oo[r+"s"]=oo[e]=t}function Ce(t){return typeof t=="string"?oo[t]||oo[t.toLowerCase()]:void 0}function Di(t){var e={},r,o;for(o in t)Y(t,o)&&(r=Ce(o),r&&(e[r]=t[o]));return e}var tu={};function fe(t,e){tu[t]=e}function lh(t){var e=[],r;for(r in t)Y(t,r)&&e.push({unit:r,priority:tu[r]});return e.sort(function(o,a){return o.priority-a.priority}),e}function yn(t){return t%4===0&&t%100!==0||t%400===0}function we(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function L(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=we(e)),r}function yr(t,e){return function(r){return r!=null?(ru(this,t,r),A.updateOffset(this,e),this):cn(this,t)}}function cn(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ru(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&yn(t.year())&&t.month()===1&&t.date()===29?(r=L(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),Sn(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function uh(t){return t=Ce(t),je(this[t])?this[t]():this}function dh(t,e){if(typeof t=="object"){t=Di(t);var r=lh(t),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](t[r[o].unit])}else if(t=Ce(t),je(this[t]))return this[t](e);return this}var ou=/\d/,Se=/\d\d/,nu=/\d{3}/,Mi=/\d{4}/,mn=/[+-]?\d{6}/,q=/\d\d?/,au=/\d\d\d\d?/,iu=/\d\d\d\d\d\d?/,gn=/\d{1,3}/,Li=/\d{1,4}/,bn=/[+-]?\d{1,6}/,mr=/\d+/,xn=/[+-]?\d+/,fh=/Z|[+-]\d\d:?\d\d/gi,vn=/Z|[+-]\d\d(?::?\d\d)?/gi,ph=/[+-]?\d+(\.\d{1,3})?/,uo=/[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,ln;ln={};function R(t,e,r){ln[t]=je(e)?e:function(o,a){return o&&r?r:e}}function hh(t,e){return Y(ln,t)?ln[t](e._strict,e._locale):new RegExp(yh(t))}function yh(t){return ve(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,o,a,i){return r||o||a||i}))}function ve(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ci={};function G(t,e){var r,o=e,a;for(typeof t=="string"&&(t=[t]),it(e)&&(o=function(i,s){s[e]=L(i)}),a=t.length,r=0;r<a;r++)Ci[t[r]]=o}function fo(t,e){G(t,function(r,o,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function mh(t,e,r){e!=null&&Y(Ci,t)&&Ci[t](e,r._a,r,t)}var ue=0,ot=1,He=2,ne=3,ke=4,nt=5,zt=6,gh=7,bh=8;function xh(t,e){return(t%e+e)%e}var ee;Array.prototype.indexOf?ee=Array.prototype.indexOf:ee=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Sn(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=xh(e,12);return t+=(e-r)/12,r===1?yn(t)?29:28:31-r%7%2}I("M",["MM",2],"Mo",function(){return this.month()+1});I("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});I("MMMM",0,0,function(t){return this.localeData().months(this,t)});de("month","M");fe("month",8);R("M",q);R("MM",q,Se);R("MMM",function(t,e){return e.monthsShortRegex(t)});R("MMMM",function(t,e){return e.monthsRegex(t)});G(["M","MM"],function(t,e){e[ot]=L(t)-1});G(["MMM","MMMM"],function(t,e,r,o){var a=r._locale.monthsParse(t,o,r._strict);a!=null?e[ot]=a:M(r).invalidMonth=t});var vh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),su="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),cu=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Sh=uo,Oh=uo;function wh(t,e){return t?Pe(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||cu).test(e)?"format":"standalone"][t.month()]:Pe(this._months)?this._months:this._months.standalone}function Eh(t,e){return t?Pe(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[cu.test(e)?"format":"standalone"][t.month()]:Pe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ch(t,e,r){var o,a,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=ze([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null):(a=ee.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:(a=ee.call(this._longMonthsParse,s),a!==-1?a:null)):(a=ee.call(this._longMonthsParse,s),a!==-1?a:(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null))}function _h(t,e,r){var o,a,i;if(this._monthsParseExact)return Ch.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(a=ze([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[o]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[o].test(t))return o;if(r&&e==="MMM"&&this._shortMonthsParse[o].test(t))return o;if(!r&&this._monthsParse[o].test(t))return o}}function lu(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=L(e);else if(e=t.localeData().monthsParse(e),!it(e))return t}return r=Math.min(t.date(),Sn(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function uu(t){return t!=null?(lu(this,t),A.updateOffset(this,!0),this):cn(this,"Month")}function Ah(){return Sn(this.year(),this.month())}function Nh(t){return this._monthsParseExact?(Y(this,"_monthsRegex")||du.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Y(this,"_monthsShortRegex")||(this._monthsShortRegex=Sh),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function Rh(t){return this._monthsParseExact?(Y(this,"_monthsRegex")||du.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Y(this,"_monthsRegex")||(this._monthsRegex=Oh),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function du(){function t(s,c){return c.length-s.length}var e=[],r=[],o=[],a,i;for(a=0;a<12;a++)i=ze([2e3,a]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),o.sort(t),a=0;a<12;a++)e[a]=ve(e[a]),r[a]=ve(r[a]);for(a=0;a<24;a++)o[a]=ve(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}I("Y",0,0,function(){var t=this.year();return t<=9999?Ye(t,4):"+"+t});I(0,["YY",2],0,function(){return this.year()%100});I(0,["YYYY",4],0,"year");I(0,["YYYYY",5],0,"year");I(0,["YYYYYY",6,!0],0,"year");de("year","y");fe("year",1);R("Y",xn);R("YY",q,Se);R("YYYY",Li,Mi);R("YYYYY",bn,mn);R("YYYYYY",bn,mn);G(["YYYYY","YYYYYY"],ue);G("YYYY",function(t,e){e[ue]=t.length===2?A.parseTwoDigitYear(t):L(t)});G("YY",function(t,e){e[ue]=A.parseTwoDigitYear(t)});G("Y",function(t,e){e[ue]=parseInt(t,10)});function no(t){return yn(t)?366:365}A.parseTwoDigitYear=function(t){return L(t)+(L(t)>68?1900:2e3)};var fu=yr("FullYear",!0);function kh(){return yn(this.year())}function Ph(t,e,r,o,a,i,s){var c;return t<100&&t>=0?(c=new Date(t+400,e,r,o,a,i,s),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,o,a,i,s),c}function ao(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function un(t,e,r){var o=7+e-r,a=(7+ao(t,0,o).getUTCDay()-e)%7;return-a+o-1}function pu(t,e,r,o,a){var i=(7+r-o)%7,s=un(t,o,a),c=1+7*(e-1)+i+s,l,d;return c<=0?(l=t-1,d=no(l)+c):c>no(t)?(l=t+1,d=c-no(t)):(l=t,d=c),{year:l,dayOfYear:d}}function io(t,e,r){var o=un(t.year(),e,r),a=Math.floor((t.dayOfYear()-o-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+at(s,e,r)):a>at(t.year(),e,r)?(i=a-at(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function at(t,e,r){var o=un(t,e,r),a=un(t+1,e,r);return(no(t)-o+a)/7}I("w",["ww",2],"wo","week");I("W",["WW",2],"Wo","isoWeek");de("week","w");de("isoWeek","W");fe("week",5);fe("isoWeek",5);R("w",q);R("ww",q,Se);R("W",q);R("WW",q,Se);fo(["w","ww","W","WW"],function(t,e,r,o){e[o.substr(0,1)]=L(t)});function Ih(t){return io(t,this._week.dow,this._week.doy).week}var Th={dow:0,doy:6};function Dh(){return this._week.dow}function Mh(){return this._week.doy}function Lh(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function Fh(t){var e=io(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}I("d",0,"do","day");I("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});I("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});I("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});I("e",0,0,"weekday");I("E",0,0,"isoWeekday");de("day","d");de("weekday","e");de("isoWeekday","E");fe("day",11);fe("weekday",11);fe("isoWeekday",11);R("d",q);R("e",q);R("E",q);R("dd",function(t,e){return e.weekdaysMinRegex(t)});R("ddd",function(t,e){return e.weekdaysShortRegex(t)});R("dddd",function(t,e){return e.weekdaysRegex(t)});fo(["dd","ddd","dddd"],function(t,e,r,o){var a=r._locale.weekdaysParse(t,o,r._strict);a!=null?e.d=a:M(r).invalidWeekday=t});fo(["d","e","E"],function(t,e,r,o){e[o]=L(t)});function Uh(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function Wh(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Fi(t,e){return t.slice(e,7).concat(t.slice(0,e))}var $h="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),hu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Hh=uo,Yh=uo,zh=uo;function jh(t,e){var r=Pe(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Fi(r,this._week.dow):t?r[t.day()]:r}function Vh(t){return t===!0?Fi(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Gh(t){return t===!0?Fi(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Kh(t,e,r){var o,a,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=ze([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1||(a=ee.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=ee.call(this._minWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Zh(t,e,r){var o,a,i;if(this._weekdaysParseExact)return Kh.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(a=ze([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[o].test(t))return o;if(r&&e==="ddd"&&this._shortWeekdaysParse[o].test(t))return o;if(r&&e==="dd"&&this._minWeekdaysParse[o].test(t))return o;if(!r&&this._weekdaysParse[o].test(t))return o}}function qh(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=Uh(t,this.localeData()),this.add(t-e,"d")):e}function Jh(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function Xh(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=Wh(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Qh(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||Ui.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Y(this,"_weekdaysRegex")||(this._weekdaysRegex=Hh),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function ey(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||Ui.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yh),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ty(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||Ui.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zh),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ui(){function t(h,p){return p.length-h.length}var e=[],r=[],o=[],a=[],i,s,c,l,d;for(i=0;i<7;i++)s=ze([2e3,1]).day(i),c=ve(this.weekdaysMin(s,"")),l=ve(this.weekdaysShort(s,"")),d=ve(this.weekdays(s,"")),e.push(c),r.push(l),o.push(d),a.push(c),a.push(l),a.push(d);e.sort(t),r.sort(t),o.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Wi(){return this.hours()%12||12}function ry(){return this.hours()||24}I("H",["HH",2],0,"hour");I("h",["hh",2],0,Wi);I("k",["kk",2],0,ry);I("hmm",0,0,function(){return""+Wi.apply(this)+Ye(this.minutes(),2)});I("hmmss",0,0,function(){return""+Wi.apply(this)+Ye(this.minutes(),2)+Ye(this.seconds(),2)});I("Hmm",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)});I("Hmmss",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)+Ye(this.seconds(),2)});function yu(t,e){I(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}yu("a",!0);yu("A",!1);de("hour","h");fe("hour",13);function mu(t,e){return e._meridiemParse}R("a",mu);R("A",mu);R("H",q);R("h",q);R("k",q);R("HH",q,Se);R("hh",q,Se);R("kk",q,Se);R("hmm",au);R("hmmss",iu);R("Hmm",au);R("Hmmss",iu);G(["H","HH"],ne);G(["k","kk"],function(t,e,r){var o=L(t);e[ne]=o===24?0:o});G(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t});G(["h","hh"],function(t,e,r){e[ne]=L(t),M(r).bigHour=!0});G("hmm",function(t,e,r){var o=t.length-2;e[ne]=L(t.substr(0,o)),e[ke]=L(t.substr(o)),M(r).bigHour=!0});G("hmmss",function(t,e,r){var o=t.length-4,a=t.length-2;e[ne]=L(t.substr(0,o)),e[ke]=L(t.substr(o,2)),e[nt]=L(t.substr(a)),M(r).bigHour=!0});G("Hmm",function(t,e,r){var o=t.length-2;e[ne]=L(t.substr(0,o)),e[ke]=L(t.substr(o))});G("Hmmss",function(t,e,r){var o=t.length-4,a=t.length-2;e[ne]=L(t.substr(0,o)),e[ke]=L(t.substr(o,2)),e[nt]=L(t.substr(a))});function oy(t){return(t+"").toLowerCase().charAt(0)==="p"}var ny=/[ap]\.?m?\.?/i,ay=yr("Hours",!0);function iy(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var gu={calendar:Zp,longDateFormat:Qp,invalidDate:th,ordinal:oh,dayOfMonthOrdinalParse:nh,relativeTime:ih,months:vh,monthsShort:su,week:Th,weekdays:$h,weekdaysMin:Bh,weekdaysShort:hu,meridiemParse:ny},X={},to={},so;function sy(t,e){var r,o=Math.min(t.length,e.length);for(r=0;r<o;r+=1)if(t[r]!==e[r])return r;return o}function Gl(t){return t&&t.toLowerCase().replace("_","-")}function cy(t){for(var e=0,r,o,a,i;e<t.length;){for(i=Gl(t[e]).split("-"),r=i.length,o=Gl(t[e+1]),o=o?o.split("-"):null;r>0;){if(a=On(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&sy(i,o)>=r-1)break;r--}e++}return so}function ly(t){return t.match("^[^/\\\\]*$")!=null}function On(t){var e=null,r;if(X[t]===void 0&&typeof module<"u"&&module&&module.exports&&ly(t))try{e=so._abbr,r=qi,r("./locale/"+t),wt(e)}catch{X[t]=null}return X[t]}function wt(t,e){var r;return t&&(me(e)?r=st(t):r=$i(t,e),r?so=r:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),so._abbr}function $i(t,e){if(e!==null){var r,o=gu;if(e.abbr=t,X[t]!=null)Ql("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=X[t]._config;else if(e.parentLocale!=null)if(X[e.parentLocale]!=null)o=X[e.parentLocale]._config;else if(r=On(e.parentLocale),r!=null)o=r._config;else return to[e.parentLocale]||(to[e.parentLocale]=[]),to[e.parentLocale].push({name:t,config:e}),null;return X[t]=new Ii(wi(o,e)),to[t]&&to[t].forEach(function(a){$i(a.name,a.config)}),wt(t),X[t]}else return delete X[t],null}function uy(t,e){if(e!=null){var r,o,a=gu;X[t]!=null&&X[t].parentLocale!=null?X[t].set(wi(X[t]._config,e)):(o=On(t),o!=null&&(a=o._config),e=wi(a,e),o==null&&(e.abbr=t),r=new Ii(e),r.parentLocale=X[t],X[t]=r),wt(t)}else X[t]!=null&&(X[t].parentLocale!=null?(X[t]=X[t].parentLocale,t===wt()&&wt(t)):X[t]!=null&&delete X[t]);return X[t]}function st(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return so;if(!Pe(t)){if(e=On(t),e)return e;t=[t]}return cy(t)}function dy(){return Ei(X)}function Bi(t){var e,r=t._a;return r&&M(t).overflow===-2&&(e=r[ot]<0||r[ot]>11?ot:r[He]<1||r[He]>Sn(r[ue],r[ot])?He:r[ne]<0||r[ne]>24||r[ne]===24&&(r[ke]!==0||r[nt]!==0||r[zt]!==0)?ne:r[ke]<0||r[ke]>59?ke:r[nt]<0||r[nt]>59?nt:r[zt]<0||r[zt]>999?zt:-1,M(t)._overflowDayOfYear&&(e<ue||e>He)&&(e=He),M(t)._overflowWeeks&&e===-1&&(e=gh),M(t)._overflowWeekday&&e===-1&&(e=bh),M(t).overflow=e),t}var fy=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,py=/^\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)?)?$/,hy=/Z|[+-]\d\d(?::?\d\d)?/,on=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],yy=/^\/?Date\((-?\d+)/i,my=/^(?:(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}))$/,gy={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function bu(t){var e,r,o=t._i,a=fy.exec(o)||py.exec(o),i,s,c,l,d=on.length,h=vi.length;if(a){for(M(t).iso=!0,e=0,r=d;e<r;e++)if(on[e][1].exec(a[1])){s=on[e][0],i=on[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=h;e<r;e++)if(vi[e][1].exec(a[3])){c=(a[2]||" ")+vi[e][0];break}if(c==null){t._isValid=!1;return}}if(!i&&c!=null){t._isValid=!1;return}if(a[4])if(hy.exec(a[4]))l="Z";else{t._isValid=!1;return}t._f=s+(c||"")+(l||""),Yi(t)}else t._isValid=!1}function by(t,e,r,o,a,i){var s=[xy(t),su.indexOf(e),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function xy(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function vy(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Sy(t,e,r){if(t){var o=hu.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(o!==a)return M(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Oy(t,e,r){if(t)return gy[t];if(e)return 0;var o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function xu(t){var e=my.exec(vy(t._i)),r;if(e){if(r=by(e[4],e[3],e[2],e[5],e[6],e[7]),!Sy(e[1],r,t))return;t._a=r,t._tzm=Oy(e[8],e[9],e[10]),t._d=ao.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),M(t).rfc2822=!0}else t._isValid=!1}function wy(t){var e=yy.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(bu(t),t._isValid===!1)delete t._isValid;else return;if(xu(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:A.createFromInputFallback(t)}A.createFromInputFallback=Ee("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function ur(t,e,r){return t??e??r}function Ey(t){var e=new Date(A.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Hi(t){var e,r,o=[],a,i,s;if(!t._d){for(a=Ey(t),t._w&&t._a[He]==null&&t._a[ot]==null&&Cy(t),t._dayOfYear!=null&&(s=ur(t._a[ue],a[ue]),(t._dayOfYear>no(s)||t._dayOfYear===0)&&(M(t)._overflowDayOfYear=!0),r=ao(s,0,t._dayOfYear),t._a[ot]=r.getUTCMonth(),t._a[He]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=o[e]=a[e];for(;e<7;e++)t._a[e]=o[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[ne]===24&&t._a[ke]===0&&t._a[nt]===0&&t._a[zt]===0&&(t._nextDay=!0,t._a[ne]=0),t._d=(t._useUTC?ao:Ph).apply(null,o),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ne]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(M(t).weekdayMismatch=!0)}}function Cy(t){var e,r,o,a,i,s,c,l,d;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=ur(e.GG,t._a[ue],io(Z(),1,4).year),o=ur(e.W,1),a=ur(e.E,1),(a<1||a>7)&&(l=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,d=io(Z(),i,s),r=ur(e.gg,t._a[ue],d.year),o=ur(e.w,d.week),e.d!=null?(a=e.d,(a<0||a>6)&&(l=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(l=!0)):a=i),o<1||o>at(r,i,s)?M(t)._overflowWeeks=!0:l!=null?M(t)._overflowWeekday=!0:(c=pu(r,o,a,i,s),t._a[ue]=c.year,t._dayOfYear=c.dayOfYear)}A.ISO_8601=function(){};A.RFC_2822=function(){};function Yi(t){if(t._f===A.ISO_8601){bu(t);return}if(t._f===A.RFC_2822){xu(t);return}t._a=[],M(t).empty=!0;var e=""+t._i,r,o,a,i,s,c=e.length,l=0,d,h;for(a=eu(t._f,t._locale).match(Ti)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(e.match(hh(i,t))||[])[0],o&&(s=e.substr(0,e.indexOf(o)),s.length>0&&M(t).unusedInput.push(s),e=e.slice(e.indexOf(o)+o.length),l+=o.length),fr[i]?(o?M(t).empty=!1:M(t).unusedTokens.push(i),mh(i,o,t)):t._strict&&!o&&M(t).unusedTokens.push(i);M(t).charsLeftOver=c-l,e.length>0&&M(t).unusedInput.push(e),t._a[ne]<=12&&M(t).bigHour===!0&&t._a[ne]>0&&(M(t).bigHour=void 0),M(t).parsedDateParts=t._a.slice(0),M(t).meridiem=t._meridiem,t._a[ne]=_y(t._locale,t._a[ne],t._meridiem),d=M(t).era,d!==null&&(t._a[ue]=t._locale.erasConvertYear(d,t._a[ue])),Hi(t),Bi(t)}function _y(t,e,r){var o;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(o=t.isPM(r),o&&e<12&&(e+=12),!o&&e===12&&(e=0)),e)}function Ay(t){var e,r,o,a,i,s,c=!1,l=t._f.length;if(l===0){M(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<l;a++)i=0,s=!1,e=Pi({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],Yi(e),ki(e)&&(s=!0),i+=M(e).charsLeftOver,i+=M(e).unusedTokens.length*10,M(e).score=i,c?i<o&&(o=i,r=e):(o==null||i<o||s)&&(o=i,r=e,s&&(c=!0));St(t,r||e)}function Ny(t){if(!t._d){var e=Di(t._i),r=e.day===void 0?e.date:e.day;t._a=Jl([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(o){return o&&parseInt(o,10)}),Hi(t)}}function Ry(t){var e=new lo(Bi(vu(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function vu(t){var e=t._i,r=t._f;return t._locale=t._locale||st(t._l),e===null||r===void 0&&e===""?hn({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ie(e)?new lo(Bi(e)):(co(e)?t._d=e:Pe(r)?Ay(t):r?Yi(t):ky(t),ki(t)||(t._d=null),t))}function ky(t){var e=t._i;me(e)?t._d=new Date(A.now()):co(e)?t._d=new Date(e.valueOf()):typeof e=="string"?wy(t):Pe(e)?(t._a=Jl(e.slice(0),function(r){return parseInt(r,10)}),Hi(t)):jt(e)?Ny(t):it(e)?t._d=new Date(e):A.createFromInputFallback(t)}function Su(t,e,r,o,a){var i={};return(e===!0||e===!1)&&(o=e,e=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(jt(t)&&Ri(t)||Pe(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=o,Ry(i)}function Z(t,e,r,o){return Su(t,e,r,o,!1)}var Py=Ee("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Z.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:hn()}),Iy=Ee("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Z.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:hn()});function Ou(t,e){var r,o;if(e.length===1&&Pe(e[0])&&(e=e[0]),!e.length)return Z();for(r=e[0],o=1;o<e.length;++o)(!e[o].isValid()||e[o][t](r))&&(r=e[o]);return r}function Ty(){var t=[].slice.call(arguments,0);return Ou("isBefore",t)}function Dy(){var t=[].slice.call(arguments,0);return Ou("isAfter",t)}var My=function(){return Date.now?Date.now():+new Date},ro=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ly(t){var e,r=!1,o,a=ro.length;for(e in t)if(Y(t,e)&&!(ee.call(ro,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(o=0;o<a;++o)if(t[ro[o]]){if(r)return!1;parseFloat(t[ro[o]])!==L(t[ro[o]])&&(r=!0)}return!0}function Fy(){return this._isValid}function Uy(){return Te(NaN)}function wn(t){var e=Di(t),r=e.year||0,o=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,l=e.minute||0,d=e.second||0,h=e.millisecond||0;this._isValid=Ly(e),this._milliseconds=+h+d*1e3+l*6e4+c*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=st(),this._bubble()}function an(t){return t instanceof wn}function _i(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function Wy(t,e,r){var o=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,s;for(s=0;s<o;s++)(r&&t[s]!==e[s]||!r&&L(t[s])!==L(e[s]))&&i++;return i+a}function wu(t,e){I(t,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+Ye(~~(r/60),2)+e+Ye(~~r%60,2)})}wu("Z",":");wu("ZZ","");R("Z",vn);R("ZZ",vn);G(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=zi(vn,t)});var $y=/([\+\-]|\d\d)/gi;function zi(t,e){var r=(e||"").match(t),o,a,i;return r===null?null:(o=r[r.length-1]||[],a=(o+"").match($y)||["-",0,0],i=+(a[1]*60)+L(a[2]),i===0?0:a[0]==="+"?i:-i)}function ji(t,e){var r,o;return e._isUTC?(r=e.clone(),o=(Ie(t)||co(t)?t.valueOf():Z(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),A.updateOffset(r,!1),r):Z(t).local()}function Ai(t){return-Math.round(t._d.getTimezoneOffset())}A.updateOffset=function(){};function By(t,e,r){var o=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=zi(vn,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=Ai(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==t&&(!e||this._changeInProgress?_u(this,Te(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:Ai(this)}function Hy(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Yy(t){return this.utcOffset(0,t)}function zy(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ai(this),"m")),this}function jy(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=zi(fh,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Vy(t){return this.isValid()?(t=t?Z(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Gy(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ky(){if(!me(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Pi(t,this),t=vu(t),t._a?(e=t._isUTC?ze(t._a):Z(t._a),this._isDSTShifted=this.isValid()&&Wy(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Zy(){return this.isValid()?!this._isUTC:!1}function qy(){return this.isValid()?this._isUTC:!1}function Eu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Jy=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Xy=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Te(t,e){var r=t,o=null,a,i,s;return an(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:it(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=Jy.exec(t))?(a=o[1]==="-"?-1:1,r={y:0,d:L(o[He])*a,h:L(o[ne])*a,m:L(o[ke])*a,s:L(o[nt])*a,ms:L(_i(o[zt]*1e3))*a}):(o=Xy.exec(t))?(a=o[1]==="-"?-1:1,r={y:Yt(o[2],a),M:Yt(o[3],a),w:Yt(o[4],a),d:Yt(o[5],a),h:Yt(o[6],a),m:Yt(o[7],a),s:Yt(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Qy(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new wn(r),an(t)&&Y(t,"_locale")&&(i._locale=t._locale),an(t)&&Y(t,"_isValid")&&(i._isValid=t._isValid),i}Te.fn=wn.prototype;Te.invalid=Uy;function Yt(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Kl(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function Qy(t,e){var r;return t.isValid()&&e.isValid()?(e=ji(e,t),t.isBefore(e)?r=Kl(t,e):(r=Kl(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Cu(t,e){return function(r,o){var a,i;return o!==null&&!isNaN(+o)&&(Ql(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=o,o=i),a=Te(r,o),_u(this,a,t),this}}function _u(t,e,r,o){var a=e._milliseconds,i=_i(e._days),s=_i(e._months);t.isValid()&&(o=o??!0,s&&lu(t,cn(t,"Month")+s*r),i&&ru(t,"Date",cn(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),o&&A.updateOffset(t,i||s))}var em=Cu(1,"add"),tm=Cu(-1,"subtract");function Au(t){return typeof t=="string"||t instanceof String}function rm(t){return Ie(t)||co(t)||Au(t)||it(t)||nm(t)||om(t)||t===null||t===void 0}function om(t){var e=jt(t)&&!Ri(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||Y(t,i);return e&&r}function nm(t){var e=Pe(t),r=!1;return e&&(r=t.filter(function(o){return!it(o)&&Au(t)}).length===0),e&&r}function am(t){var e=jt(t)&&!Ri(t),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||Y(t,i);return e&&r}function im(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function sm(t,e){arguments.length===1&&(arguments[0]?rm(arguments[0])?(t=arguments[0],e=void 0):am(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||Z(),o=ji(r,this).startOf("day"),a=A.calendarFormat(this,o)||"sameElse",i=e&&(je(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,Z(r)))}function cm(){return new lo(this)}function lm(t,e){var r=Ie(t)?t:Z(t);return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function um(t,e){var r=Ie(t)?t:Z(t);return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function dm(t,e,r,o){var a=Ie(t)?t:Z(t),i=Ie(e)?e:Z(e);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function fm(t,e){var r=Ie(t)?t:Z(t),o;return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf())):!1}function pm(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function hm(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function ym(t,e,r){var o,a,i;if(!this.isValid())return NaN;if(o=ji(t,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,e=Ce(e),e){case"year":i=sn(this,o)/12;break;case"month":i=sn(this,o);break;case"quarter":i=sn(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-a)/864e5;break;case"week":i=(this-o-a)/6048e5;break;default:i=this-o}return r?i:we(i)}function sn(t,e){if(t.date()<e.date())return-sn(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),o=t.clone().add(r,"months"),a,i;return e-o<0?(a=t.clone().add(r-1,"months"),i=(e-o)/(o-a)):(a=t.clone().add(r+1,"months"),i=(e-o)/(a-o)),-(r+i)||0}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";A.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function mm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function gm(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?nn(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):je(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",nn(r,"Z")):nn(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function bm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,o,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+o+a+i)}function xm(t){t||(t=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var e=nn(this,t);return this.localeData().postformat(e)}function vm(t,e){return this.isValid()&&(Ie(t)&&t.isValid()||Z(t).isValid())?Te({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Sm(t){return this.from(Z(),t)}function Om(t,e){return this.isValid()&&(Ie(t)&&t.isValid()||Z(t).isValid())?Te({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function wm(t){return this.to(Z(),t)}function Nu(t){var e;return t===void 0?this._locale._abbr:(e=st(t),e!=null&&(this._locale=e),this)}var Ru=Ee("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function ku(){return this._locale}var dn=1e3,pr=60*dn,fn=60*pr,Pu=(365*400+97)*24*fn;function hr(t,e){return(t%e+e)%e}function Iu(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Pu:new Date(t,e,r).valueOf()}function Tu(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Pu:Date.UTC(t,e,r)}function Em(t){var e,r;if(t=Ce(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Tu:Iu,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=hr(e+(this._isUTC?0:this.utcOffset()*pr),fn);break;case"minute":e=this._d.valueOf(),e-=hr(e,pr);break;case"second":e=this._d.valueOf(),e-=hr(e,dn);break}return this._d.setTime(e),A.updateOffset(this,!0),this}function Cm(t){var e,r;if(t=Ce(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Tu:Iu,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=fn-hr(e+(this._isUTC?0:this.utcOffset()*pr),fn)-1;break;case"minute":e=this._d.valueOf(),e+=pr-hr(e,pr)-1;break;case"second":e=this._d.valueOf(),e+=dn-hr(e,dn)-1;break}return this._d.setTime(e),A.updateOffset(this,!0),this}function _m(){return this._d.valueOf()-(this._offset||0)*6e4}function Am(){return Math.floor(this.valueOf()/1e3)}function Nm(){return new Date(this.valueOf())}function Rm(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function km(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Pm(){return this.isValid()?this.toISOString():null}function Im(){return ki(this)}function Tm(){return St({},M(this))}function Dm(){return M(this).overflow}function Mm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}I("N",0,0,"eraAbbr");I("NN",0,0,"eraAbbr");I("NNN",0,0,"eraAbbr");I("NNNN",0,0,"eraName");I("NNNNN",0,0,"eraNarrow");I("y",["y",1],"yo","eraYear");I("y",["yy",2],0,"eraYear");I("y",["yyy",3],0,"eraYear");I("y",["yyyy",4],0,"eraYear");R("N",Vi);R("NN",Vi);R("NNN",Vi);R("NNNN",Vm);R("NNNNN",Gm);G(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,o){var a=r._locale.erasParse(t,o,r._strict);a?M(r).era=a:M(r).invalidEra=t});R("y",mr);R("yy",mr);R("yyy",mr);R("yyyy",mr);R("yo",Km);G(["y","yy","yyy","yyyy"],ue);G(["yo"],function(t,e,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[ue]=r._locale.eraYearOrdinalParse(t,a):e[ue]=parseInt(t,10)});function Lm(t,e){var r,o,a,i=this._eras||st("en")._eras;for(r=0,o=i.length;r<o;++r){switch(typeof i[r].since){case"string":a=A(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=A(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function Fm(t,e,r){var o,a,i=this.eras(),s,c,l;for(t=t.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),c=i[o].abbr.toUpperCase(),l=i[o].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(c===t)return i[o];break;case"NNNN":if(s===t)return i[o];break;case"NNNNN":if(l===t)return i[o];break}else if([s,c,l].indexOf(t)>=0)return i[o]}function Um(t,e){var r=t.since<=t.until?1:-1;return e===void 0?A(t.since).year():A(t.since).year()+(e-t.offset)*r}function Wm(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].name;return""}function $m(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].narrow;return""}function Bm(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].abbr;return""}function Hm(){var t,e,r,o,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,o=this.clone().startOf("day").valueOf(),a[t].since<=o&&o<=a[t].until||a[t].until<=o&&o<=a[t].since)return(this.year()-A(a[t].since).year())*r+a[t].offset;return this.year()}function Ym(t){return Y(this,"_erasNameRegex")||Gi.call(this),t?this._erasNameRegex:this._erasRegex}function zm(t){return Y(this,"_erasAbbrRegex")||Gi.call(this),t?this._erasAbbrRegex:this._erasRegex}function jm(t){return Y(this,"_erasNarrowRegex")||Gi.call(this),t?this._erasNarrowRegex:this._erasRegex}function Vi(t,e){return e.erasAbbrRegex(t)}function Vm(t,e){return e.erasNameRegex(t)}function Gm(t,e){return e.erasNarrowRegex(t)}function Km(t,e){return e._eraYearOrdinalRegex||mr}function Gi(){var t=[],e=[],r=[],o=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)e.push(ve(s[a].name)),t.push(ve(s[a].abbr)),r.push(ve(s[a].narrow)),o.push(ve(s[a].name)),o.push(ve(s[a].abbr)),o.push(ve(s[a].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}I(0,["gg",2],0,function(){return this.weekYear()%100});I(0,["GG",2],0,function(){return this.isoWeekYear()%100});function En(t,e){I(0,[t,t.length],0,e)}En("gggg","weekYear");En("ggggg","weekYear");En("GGGG","isoWeekYear");En("GGGGG","isoWeekYear");de("weekYear","gg");de("isoWeekYear","GG");fe("weekYear",1);fe("isoWeekYear",1);R("G",xn);R("g",xn);R("GG",q,Se);R("gg",q,Se);R("GGGG",Li,Mi);R("gggg",Li,Mi);R("GGGGG",bn,mn);R("ggggg",bn,mn);fo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,o){e[o.substr(0,2)]=L(t)});fo(["gg","GG"],function(t,e,r,o){e[o]=A.parseTwoDigitYear(t)});function Zm(t){return Du.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qm(t){return Du.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Jm(){return at(this.year(),1,4)}function Xm(){return at(this.isoWeekYear(),1,4)}function Qm(){var t=this.localeData()._week;return at(this.year(),t.dow,t.doy)}function eg(){var t=this.localeData()._week;return at(this.weekYear(),t.dow,t.doy)}function Du(t,e,r,o,a){var i;return t==null?io(this,o,a).year:(i=at(t,o,a),e>i&&(e=i),tg.call(this,t,e,r,o,a))}function tg(t,e,r,o,a){var i=pu(t,e,r,o,a),s=ao(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}I("Q",0,"Qo","quarter");de("quarter","Q");fe("quarter",7);R("Q",ou);G("Q",function(t,e){e[ot]=(L(t)-1)*3});function rg(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}I("D",["DD",2],"Do","date");de("date","D");fe("date",9);R("D",q);R("DD",q,Se);R("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});G(["D","DD"],He);G("Do",function(t,e){e[He]=L(t.match(q)[0])});var Mu=yr("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear");de("dayOfYear","DDD");fe("dayOfYear",4);R("DDD",gn);R("DDDD",nu);G(["DDD","DDDD"],function(t,e,r){r._dayOfYear=L(t)});function og(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}I("m",["mm",2],0,"minute");de("minute","m");fe("minute",14);R("m",q);R("mm",q,Se);G(["m","mm"],ke);var ng=yr("Minutes",!1);I("s",["ss",2],0,"second");de("second","s");fe("second",15);R("s",q);R("ss",q,Se);G(["s","ss"],nt);var ag=yr("Seconds",!1);I("S",0,0,function(){return~~(this.millisecond()/100)});I(0,["SS",2],0,function(){return~~(this.millisecond()/10)});I(0,["SSS",3],0,"millisecond");I(0,["SSSS",4],0,function(){return this.millisecond()*10});I(0,["SSSSS",5],0,function(){return this.millisecond()*100});I(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});I(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});I(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});I(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});de("millisecond","ms");fe("millisecond",16);R("S",gn,ou);R("SS",gn,Se);R("SSS",gn,nu);var Ot,Lu;for(Ot="SSSS";Ot.length<=9;Ot+="S")R(Ot,mr);function ig(t,e){e[zt]=L(("0."+t)*1e3)}for(Ot="S";Ot.length<=9;Ot+="S")G(Ot,ig);Lu=yr("Milliseconds",!1);I("z",0,0,"zoneAbbr");I("zz",0,0,"zoneName");function sg(){return this._isUTC?"UTC":""}function cg(){return this._isUTC?"Coordinated Universal Time":""}var E=lo.prototype;E.add=em;E.calendar=sm;E.clone=cm;E.diff=ym;E.endOf=Cm;E.format=xm;E.from=vm;E.fromNow=Sm;E.to=Om;E.toNow=wm;E.get=uh;E.invalidAt=Dm;E.isAfter=lm;E.isBefore=um;E.isBetween=dm;E.isSame=fm;E.isSameOrAfter=pm;E.isSameOrBefore=hm;E.isValid=Im;E.lang=Ru;E.locale=Nu;E.localeData=ku;E.max=Iy;E.min=Py;E.parsingFlags=Tm;E.set=dh;E.startOf=Em;E.subtract=tm;E.toArray=Rm;E.toObject=km;E.toDate=Nm;E.toISOString=gm;E.inspect=bm;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=Pm;E.toString=mm;E.unix=Am;E.valueOf=_m;E.creationData=Mm;E.eraName=Wm;E.eraNarrow=$m;E.eraAbbr=Bm;E.eraYear=Hm;E.year=fu;E.isLeapYear=kh;E.weekYear=Zm;E.isoWeekYear=qm;E.quarter=E.quarters=rg;E.month=uu;E.daysInMonth=Ah;E.week=E.weeks=Lh;E.isoWeek=E.isoWeeks=Fh;E.weeksInYear=Qm;E.weeksInWeekYear=eg;E.isoWeeksInYear=Jm;E.isoWeeksInISOWeekYear=Xm;E.date=Mu;E.day=E.days=qh;E.weekday=Jh;E.isoWeekday=Xh;E.dayOfYear=og;E.hour=E.hours=ay;E.minute=E.minutes=ng;E.second=E.seconds=ag;E.millisecond=E.milliseconds=Lu;E.utcOffset=By;E.utc=Yy;E.local=zy;E.parseZone=jy;E.hasAlignedHourOffset=Vy;E.isDST=Gy;E.isLocal=Zy;E.isUtcOffset=qy;E.isUtc=Eu;E.isUTC=Eu;E.zoneAbbr=sg;E.zoneName=cg;E.dates=Ee("dates accessor is deprecated. Use date instead.",Mu);E.months=Ee("months accessor is deprecated. Use month instead",uu);E.years=Ee("years accessor is deprecated. Use year instead",fu);E.zone=Ee("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Hy);E.isDSTShifted=Ee("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ky);function lg(t){return Z(t*1e3)}function ug(){return Z.apply(null,arguments).parseZone()}function Fu(t){return t}var z=Ii.prototype;z.calendar=qp;z.longDateFormat=eh;z.invalidDate=rh;z.ordinal=ah;z.preparse=Fu;z.postformat=Fu;z.relativeTime=sh;z.pastFuture=ch;z.set=Kp;z.eras=Lm;z.erasParse=Fm;z.erasConvertYear=Um;z.erasAbbrRegex=zm;z.erasNameRegex=Ym;z.erasNarrowRegex=jm;z.months=wh;z.monthsShort=Eh;z.monthsParse=_h;z.monthsRegex=Rh;z.monthsShortRegex=Nh;z.week=Ih;z.firstDayOfYear=Mh;z.firstDayOfWeek=Dh;z.weekdays=jh;z.weekdaysMin=Gh;z.weekdaysShort=Vh;z.weekdaysParse=Zh;z.weekdaysRegex=Qh;z.weekdaysShortRegex=ey;z.weekdaysMinRegex=ty;z.isPM=oy;z.meridiem=iy;function pn(t,e,r,o){var a=st(),i=ze().set(o,e);return a[r](i,t)}function Uu(t,e,r){if(it(t)&&(e=t,t=void 0),t=t||"",e!=null)return pn(t,e,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=pn(t,o,r,"month");return a}function Ki(t,e,r,o){typeof t=="boolean"?(it(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,it(e)&&(r=e,e=void 0),e=e||"");var a=st(),i=t?a._week.dow:0,s,c=[];if(r!=null)return pn(e,(r+i)%7,o,"day");for(s=0;s<7;s++)c[s]=pn(e,(s+i)%7,o,"day");return c}function dg(t,e){return Uu(t,e,"months")}function fg(t,e){return Uu(t,e,"monthsShort")}function pg(t,e,r){return Ki(t,e,r,"weekdays")}function hg(t,e,r){return Ki(t,e,r,"weekdaysShort")}function yg(t,e,r){return Ki(t,e,r,"weekdaysMin")}wt("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(t){var e=t%10,r=L(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}});A.lang=Ee("moment.lang is deprecated. Use moment.locale instead.",wt);A.langData=Ee("moment.langData is deprecated. Use moment.localeData instead.",st);var tt=Math.abs;function mg(){var t=this._data;return this._milliseconds=tt(this._milliseconds),this._days=tt(this._days),this._months=tt(this._months),t.milliseconds=tt(t.milliseconds),t.seconds=tt(t.seconds),t.minutes=tt(t.minutes),t.hours=tt(t.hours),t.months=tt(t.months),t.years=tt(t.years),this}function Wu(t,e,r,o){var a=Te(e,r);return t._milliseconds+=o*a._milliseconds,t._days+=o*a._days,t._months+=o*a._months,t._bubble()}function gg(t,e){return Wu(this,t,e,1)}function bg(t,e){return Wu(this,t,e,-1)}function Zl(t){return t<0?Math.floor(t):Math.ceil(t)}function xg(){var t=this._milliseconds,e=this._days,r=this._months,o=this._data,a,i,s,c,l;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Zl(Ni(r)+e)*864e5,e=0,r=0),o.milliseconds=t%1e3,a=we(t/1e3),o.seconds=a%60,i=we(a/60),o.minutes=i%60,s=we(i/60),o.hours=s%24,e+=we(s/24),l=we($u(e)),r+=l,e-=Zl(Ni(l)),c=we(r/12),r%=12,o.days=e,o.months=r,o.years=c,this}function $u(t){return t*4800/146097}function Ni(t){return t*146097/4800}function vg(t){if(!this.isValid())return NaN;var e,r,o=this._milliseconds;if(t=Ce(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+o/864e5,r=this._months+$u(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Ni(this._months)),t){case"week":return e/7+o/6048e5;case"day":return e+o/864e5;case"hour":return e*24+o/36e5;case"minute":return e*1440+o/6e4;case"second":return e*86400+o/1e3;case"millisecond":return Math.floor(e*864e5)+o;default:throw new Error("Unknown unit "+t)}}function Sg(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+L(this._months/12)*31536e6:NaN}function ct(t){return function(){return this.as(t)}}var Og=ct("ms"),wg=ct("s"),Eg=ct("m"),Cg=ct("h"),_g=ct("d"),Ag=ct("w"),Ng=ct("M"),Rg=ct("Q"),kg=ct("y");function Pg(){return Te(this)}function Ig(t){return t=Ce(t),this.isValid()?this[t+"s"]():NaN}function Vt(t){return function(){return this.isValid()?this._data[t]:NaN}}var Tg=Vt("milliseconds"),Dg=Vt("seconds"),Mg=Vt("minutes"),Lg=Vt("hours"),Fg=Vt("days"),Ug=Vt("months"),Wg=Vt("years");function $g(){return we(this.days()/7)}var rt=Math.round,dr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Bg(t,e,r,o,a){return a.relativeTime(e||1,!!r,t,o)}function Hg(t,e,r,o){var a=Te(t).abs(),i=rt(a.as("s")),s=rt(a.as("m")),c=rt(a.as("h")),l=rt(a.as("d")),d=rt(a.as("M")),h=rt(a.as("w")),p=rt(a.as("y")),y=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||c<=1&&["h"]||c<r.h&&["hh",c]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(y=y||h<=1&&["w"]||h<r.w&&["ww",h]),y=y||d<=1&&["M"]||d<r.M&&["MM",d]||p<=1&&["y"]||["yy",p],y[2]=e,y[3]=+t>0,y[4]=o,Bg.apply(null,y)}function Yg(t){return t===void 0?rt:typeof t=="function"?(rt=t,!0):!1}function zg(t,e){return dr[t]===void 0?!1:e===void 0?dr[t]:(dr[t]=e,t==="s"&&(dr.ss=e-1),!0)}function jg(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=dr,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(o=Object.assign({},dr,e),e.s!=null&&e.ss==null&&(o.ss=e.s-1)),a=this.localeData(),i=Hg(this,!r,o,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Si=Math.abs;function lr(t){return(t>0)-(t<0)||+t}function Cn(){if(!this.isValid())return this.localeData().invalidDate();var t=Si(this._milliseconds)/1e3,e=Si(this._days),r=Si(this._months),o,a,i,s,c=this.asSeconds(),l,d,h,p;return c?(o=we(t/60),a=we(o/60),t%=60,o%=60,i=we(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",l=c<0?"-":"",d=lr(this._months)!==lr(c)?"-":"",h=lr(this._days)!==lr(c)?"-":"",p=lr(this._milliseconds)!==lr(c)?"-":"",l+"P"+(i?d+i+"Y":"")+(r?d+r+"M":"")+(e?h+e+"D":"")+(a||o||t?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(t?p+s+"S":"")):"P0D"}var $=wn.prototype;$.isValid=Fy;$.abs=mg;$.add=gg;$.subtract=bg;$.as=vg;$.asMilliseconds=Og;$.asSeconds=wg;$.asMinutes=Eg;$.asHours=Cg;$.asDays=_g;$.asWeeks=Ag;$.asMonths=Ng;$.asQuarters=Rg;$.asYears=kg;$.valueOf=Sg;$._bubble=xg;$.clone=Pg;$.get=Ig;$.milliseconds=Tg;$.seconds=Dg;$.minutes=Mg;$.hours=Lg;$.days=Fg;$.weeks=$g;$.months=Ug;$.years=Wg;$.humanize=jg;$.toISOString=Cn;$.toString=Cn;$.toJSON=Cn;$.locale=Nu;$.localeData=ku;$.toIsoString=Ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Cn);$.lang=Ru;I("X",0,0,"unix");I("x",0,0,"valueOf");R("x",xn);R("X",ph);G("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)});G("x",function(t,e,r){r._d=new Date(L(t))});A.version="2.29.4";Vp(Z);A.fn=E;A.min=Ty;A.max=Dy;A.now=My;A.utc=ze;A.unix=lg;A.months=dg;A.isDate=co;A.locale=wt;A.invalid=hn;A.duration=Te;A.isMoment=Ie;A.weekdays=pg;A.parseZone=ug;A.localeData=st;A.isDuration=an;A.monthsShort=fg;A.weekdaysMin=yg;A.defineLocale=$i;A.updateLocale=uy;A.locales=dy;A.weekdaysShort=hg;A.normalizeUnits=Ce;A.relativeTimeRounding=Yg;A.relativeTimeThreshold=zg;A.calendarFormat=im;A.prototype=E;A.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var De=A;var ie;(function(t){t.DAY="DAY",t.WEEK="WEEK",t.MONTH="MONTH"})(ie||(ie={}));var Bu=re`
|
|
53
|
+
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Gl={};function eu(t,e){A.deprecationHandler!=null&&A.deprecationHandler(t,e),Gl[t]||(Ql(e),Gl[t]=!0)}A.suppressDeprecationWarnings=!1;A.deprecationHandler=null;function je(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function Zp(t){var e,r;for(r in t)Y(t,r)&&(e=t[r],je(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function wi(t,e){var r=St({},t),o;for(o in e)Y(e,o)&&(jt(t[o])&&jt(e[o])?(r[o]={},St(r[o],t[o]),St(r[o],e[o])):e[o]!=null?r[o]=e[o]:delete r[o]);for(o in t)Y(t,o)&&!Y(e,o)&&jt(t[o])&&(r[o]=St({},r[o]));return r}function Ii(t){t!=null&&this.set(t)}var Ei;Object.keys?Ei=Object.keys:Ei=function(t){var e,r=[];for(e in t)Y(t,e)&&r.push(e);return r};var qp={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Jp(t,e,r){var o=this._calendar[t]||this._calendar.sameElse;return je(o)?o.call(e,r):o}function Ye(t,e,r){var o=""+Math.abs(t),a=e-o.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var Ti=/(\[[^\[]*\])|(\\)?([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,rn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xi={},fr={};function I(t,e,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),t&&(fr[t]=a),e&&(fr[e[0]]=function(){return Ye(a.apply(this,arguments),e[1],e[2])}),r&&(fr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function Xp(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Qp(t){var e=t.match(Ti),r,o;for(r=0,o=e.length;r<o;r++)fr[e[r]]?e[r]=fr[e[r]]:e[r]=Xp(e[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=je(e[s])?e[s].call(a,t):e[s];return i}}function nn(t,e){return t.isValid()?(e=tu(e,t.localeData()),xi[e]=xi[e]||Qp(e),xi[e](t)):t.localeData().invalidDate()}function tu(t,e){var r=5;function o(a){return e.longDateFormat(a)||a}for(rn.lastIndex=0;r>=0&&rn.test(t);)t=t.replace(rn,o),rn.lastIndex=0,r-=1;return t}var eh={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 th(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(Ti).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[t])}var rh="Invalid date";function oh(){return this._invalidDate}var nh="%d",ah=/\d{1,2}/;function ih(t){return this._ordinal.replace("%d",t)}var sh={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ch(t,e,r,o){var a=this._relativeTime[r];return je(a)?a(t,e,r,o):a.replace(/%d/i,t)}function lh(t,e){var r=this._relativeTime[t>0?"future":"past"];return je(r)?r(e):r.replace(/%s/i,e)}var oo={};function de(t,e){var r=t.toLowerCase();oo[r]=oo[r+"s"]=oo[e]=t}function Ce(t){return typeof t=="string"?oo[t]||oo[t.toLowerCase()]:void 0}function Di(t){var e={},r,o;for(o in t)Y(t,o)&&(r=Ce(o),r&&(e[r]=t[o]));return e}var ru={};function fe(t,e){ru[t]=e}function uh(t){var e=[],r;for(r in t)Y(t,r)&&e.push({unit:r,priority:ru[r]});return e.sort(function(o,a){return o.priority-a.priority}),e}function yn(t){return t%4===0&&t%100!==0||t%400===0}function we(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function L(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=we(e)),r}function yr(t,e){return function(r){return r!=null?(ou(this,t,r),A.updateOffset(this,e),this):cn(this,t)}}function cn(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ou(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&yn(t.year())&&t.month()===1&&t.date()===29?(r=L(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),Sn(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function dh(t){return t=Ce(t),je(this[t])?this[t]():this}function fh(t,e){if(typeof t=="object"){t=Di(t);var r=uh(t),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](t[r[o].unit])}else if(t=Ce(t),je(this[t]))return this[t](e);return this}var nu=/\d/,Se=/\d\d/,au=/\d{3}/,Mi=/\d{4}/,mn=/[+-]?\d{6}/,q=/\d\d?/,iu=/\d\d\d\d?/,su=/\d\d\d\d\d\d?/,gn=/\d{1,3}/,Li=/\d{1,4}/,bn=/[+-]?\d{1,6}/,mr=/\d+/,xn=/[+-]?\d+/,ph=/Z|[+-]\d\d:?\d\d/gi,vn=/Z|[+-]\d\d(?::?\d\d)?/gi,hh=/[+-]?\d+(\.\d{1,3})?/,uo=/[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,ln;ln={};function R(t,e,r){ln[t]=je(e)?e:function(o,a){return o&&r?r:e}}function yh(t,e){return Y(ln,t)?ln[t](e._strict,e._locale):new RegExp(mh(t))}function mh(t){return ve(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,o,a,i){return r||o||a||i}))}function ve(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ci={};function G(t,e){var r,o=e,a;for(typeof t=="string"&&(t=[t]),it(e)&&(o=function(i,s){s[e]=L(i)}),a=t.length,r=0;r<a;r++)Ci[t[r]]=o}function fo(t,e){G(t,function(r,o,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function gh(t,e,r){e!=null&&Y(Ci,t)&&Ci[t](e,r._a,r,t)}var ue=0,ot=1,He=2,ne=3,ke=4,nt=5,zt=6,bh=7,xh=8;function vh(t,e){return(t%e+e)%e}var ee;Array.prototype.indexOf?ee=Array.prototype.indexOf:ee=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Sn(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=vh(e,12);return t+=(e-r)/12,r===1?yn(t)?29:28:31-r%7%2}I("M",["MM",2],"Mo",function(){return this.month()+1});I("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});I("MMMM",0,0,function(t){return this.localeData().months(this,t)});de("month","M");fe("month",8);R("M",q);R("MM",q,Se);R("MMM",function(t,e){return e.monthsShortRegex(t)});R("MMMM",function(t,e){return e.monthsRegex(t)});G(["M","MM"],function(t,e){e[ot]=L(t)-1});G(["MMM","MMMM"],function(t,e,r,o){var a=r._locale.monthsParse(t,o,r._strict);a!=null?e[ot]=a:M(r).invalidMonth=t});var Sh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),cu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),lu=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oh=uo,wh=uo;function Eh(t,e){return t?Pe(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||lu).test(e)?"format":"standalone"][t.month()]:Pe(this._months)?this._months:this._months.standalone}function Ch(t,e){return t?Pe(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[lu.test(e)?"format":"standalone"][t.month()]:Pe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function _h(t,e,r){var o,a,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=ze([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null):(a=ee.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:(a=ee.call(this._longMonthsParse,s),a!==-1?a:null)):(a=ee.call(this._longMonthsParse,s),a!==-1?a:(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null))}function Ah(t,e,r){var o,a,i;if(this._monthsParseExact)return _h.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(a=ze([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[o]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[o].test(t))return o;if(r&&e==="MMM"&&this._shortMonthsParse[o].test(t))return o;if(!r&&this._monthsParse[o].test(t))return o}}function uu(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=L(e);else if(e=t.localeData().monthsParse(e),!it(e))return t}return r=Math.min(t.date(),Sn(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function du(t){return t!=null?(uu(this,t),A.updateOffset(this,!0),this):cn(this,"Month")}function Nh(){return Sn(this.year(),this.month())}function Rh(t){return this._monthsParseExact?(Y(this,"_monthsRegex")||fu.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Y(this,"_monthsShortRegex")||(this._monthsShortRegex=Oh),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function kh(t){return this._monthsParseExact?(Y(this,"_monthsRegex")||fu.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Y(this,"_monthsRegex")||(this._monthsRegex=wh),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function fu(){function t(s,c){return c.length-s.length}var e=[],r=[],o=[],a,i;for(a=0;a<12;a++)i=ze([2e3,a]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),o.sort(t),a=0;a<12;a++)e[a]=ve(e[a]),r[a]=ve(r[a]);for(a=0;a<24;a++)o[a]=ve(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}I("Y",0,0,function(){var t=this.year();return t<=9999?Ye(t,4):"+"+t});I(0,["YY",2],0,function(){return this.year()%100});I(0,["YYYY",4],0,"year");I(0,["YYYYY",5],0,"year");I(0,["YYYYYY",6,!0],0,"year");de("year","y");fe("year",1);R("Y",xn);R("YY",q,Se);R("YYYY",Li,Mi);R("YYYYY",bn,mn);R("YYYYYY",bn,mn);G(["YYYYY","YYYYYY"],ue);G("YYYY",function(t,e){e[ue]=t.length===2?A.parseTwoDigitYear(t):L(t)});G("YY",function(t,e){e[ue]=A.parseTwoDigitYear(t)});G("Y",function(t,e){e[ue]=parseInt(t,10)});function no(t){return yn(t)?366:365}A.parseTwoDigitYear=function(t){return L(t)+(L(t)>68?1900:2e3)};var pu=yr("FullYear",!0);function Ph(){return yn(this.year())}function Ih(t,e,r,o,a,i,s){var c;return t<100&&t>=0?(c=new Date(t+400,e,r,o,a,i,s),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,o,a,i,s),c}function ao(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function un(t,e,r){var o=7+e-r,a=(7+ao(t,0,o).getUTCDay()-e)%7;return-a+o-1}function hu(t,e,r,o,a){var i=(7+r-o)%7,s=un(t,o,a),c=1+7*(e-1)+i+s,l,d;return c<=0?(l=t-1,d=no(l)+c):c>no(t)?(l=t+1,d=c-no(t)):(l=t,d=c),{year:l,dayOfYear:d}}function io(t,e,r){var o=un(t.year(),e,r),a=Math.floor((t.dayOfYear()-o-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+at(s,e,r)):a>at(t.year(),e,r)?(i=a-at(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function at(t,e,r){var o=un(t,e,r),a=un(t+1,e,r);return(no(t)-o+a)/7}I("w",["ww",2],"wo","week");I("W",["WW",2],"Wo","isoWeek");de("week","w");de("isoWeek","W");fe("week",5);fe("isoWeek",5);R("w",q);R("ww",q,Se);R("W",q);R("WW",q,Se);fo(["w","ww","W","WW"],function(t,e,r,o){e[o.substr(0,1)]=L(t)});function Th(t){return io(t,this._week.dow,this._week.doy).week}var Dh={dow:0,doy:6};function Mh(){return this._week.dow}function Lh(){return this._week.doy}function Fh(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function Uh(t){var e=io(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}I("d",0,"do","day");I("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});I("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});I("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});I("e",0,0,"weekday");I("E",0,0,"isoWeekday");de("day","d");de("weekday","e");de("isoWeekday","E");fe("day",11);fe("weekday",11);fe("isoWeekday",11);R("d",q);R("e",q);R("E",q);R("dd",function(t,e){return e.weekdaysMinRegex(t)});R("ddd",function(t,e){return e.weekdaysShortRegex(t)});R("dddd",function(t,e){return e.weekdaysRegex(t)});fo(["dd","ddd","dddd"],function(t,e,r,o){var a=r._locale.weekdaysParse(t,o,r._strict);a!=null?e.d=a:M(r).invalidWeekday=t});fo(["d","e","E"],function(t,e,r,o){e[o]=L(t)});function Wh(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function $h(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Fi(t,e){return t.slice(e,7).concat(t.slice(0,e))}var Bh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),yu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Hh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Yh=uo,zh=uo,jh=uo;function Vh(t,e){var r=Pe(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Fi(r,this._week.dow):t?r[t.day()]:r}function Gh(t){return t===!0?Fi(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Kh(t){return t===!0?Fi(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Zh(t,e,r){var o,a,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=ze([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1||(a=ee.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=ee.call(this._minWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function qh(t,e,r){var o,a,i;if(this._weekdaysParseExact)return Zh.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(a=ze([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[o].test(t))return o;if(r&&e==="ddd"&&this._shortWeekdaysParse[o].test(t))return o;if(r&&e==="dd"&&this._minWeekdaysParse[o].test(t))return o;if(!r&&this._weekdaysParse[o].test(t))return o}}function Jh(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=Wh(t,this.localeData()),this.add(t-e,"d")):e}function Xh(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function Qh(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=$h(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function ey(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||Ui.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Y(this,"_weekdaysRegex")||(this._weekdaysRegex=Yh),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function ty(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||Ui.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=zh),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ry(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||Ui.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jh),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ui(){function t(h,p){return p.length-h.length}var e=[],r=[],o=[],a=[],i,s,c,l,d;for(i=0;i<7;i++)s=ze([2e3,1]).day(i),c=ve(this.weekdaysMin(s,"")),l=ve(this.weekdaysShort(s,"")),d=ve(this.weekdays(s,"")),e.push(c),r.push(l),o.push(d),a.push(c),a.push(l),a.push(d);e.sort(t),r.sort(t),o.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Wi(){return this.hours()%12||12}function oy(){return this.hours()||24}I("H",["HH",2],0,"hour");I("h",["hh",2],0,Wi);I("k",["kk",2],0,oy);I("hmm",0,0,function(){return""+Wi.apply(this)+Ye(this.minutes(),2)});I("hmmss",0,0,function(){return""+Wi.apply(this)+Ye(this.minutes(),2)+Ye(this.seconds(),2)});I("Hmm",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)});I("Hmmss",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)+Ye(this.seconds(),2)});function mu(t,e){I(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}mu("a",!0);mu("A",!1);de("hour","h");fe("hour",13);function gu(t,e){return e._meridiemParse}R("a",gu);R("A",gu);R("H",q);R("h",q);R("k",q);R("HH",q,Se);R("hh",q,Se);R("kk",q,Se);R("hmm",iu);R("hmmss",su);R("Hmm",iu);R("Hmmss",su);G(["H","HH"],ne);G(["k","kk"],function(t,e,r){var o=L(t);e[ne]=o===24?0:o});G(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t});G(["h","hh"],function(t,e,r){e[ne]=L(t),M(r).bigHour=!0});G("hmm",function(t,e,r){var o=t.length-2;e[ne]=L(t.substr(0,o)),e[ke]=L(t.substr(o)),M(r).bigHour=!0});G("hmmss",function(t,e,r){var o=t.length-4,a=t.length-2;e[ne]=L(t.substr(0,o)),e[ke]=L(t.substr(o,2)),e[nt]=L(t.substr(a)),M(r).bigHour=!0});G("Hmm",function(t,e,r){var o=t.length-2;e[ne]=L(t.substr(0,o)),e[ke]=L(t.substr(o))});G("Hmmss",function(t,e,r){var o=t.length-4,a=t.length-2;e[ne]=L(t.substr(0,o)),e[ke]=L(t.substr(o,2)),e[nt]=L(t.substr(a))});function ny(t){return(t+"").toLowerCase().charAt(0)==="p"}var ay=/[ap]\.?m?\.?/i,iy=yr("Hours",!0);function sy(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var bu={calendar:qp,longDateFormat:eh,invalidDate:rh,ordinal:nh,dayOfMonthOrdinalParse:ah,relativeTime:sh,months:Sh,monthsShort:cu,week:Dh,weekdays:Bh,weekdaysMin:Hh,weekdaysShort:yu,meridiemParse:ay},X={},to={},so;function cy(t,e){var r,o=Math.min(t.length,e.length);for(r=0;r<o;r+=1)if(t[r]!==e[r])return r;return o}function Kl(t){return t&&t.toLowerCase().replace("_","-")}function ly(t){for(var e=0,r,o,a,i;e<t.length;){for(i=Kl(t[e]).split("-"),r=i.length,o=Kl(t[e+1]),o=o?o.split("-"):null;r>0;){if(a=On(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&cy(i,o)>=r-1)break;r--}e++}return so}function uy(t){return t.match("^[^/\\\\]*$")!=null}function On(t){var e=null,r;if(X[t]===void 0&&typeof module<"u"&&module&&module.exports&&uy(t))try{e=so._abbr,r=qi,r("./locale/"+t),wt(e)}catch{X[t]=null}return X[t]}function wt(t,e){var r;return t&&(me(e)?r=st(t):r=$i(t,e),r?so=r:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),so._abbr}function $i(t,e){if(e!==null){var r,o=bu;if(e.abbr=t,X[t]!=null)eu("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=X[t]._config;else if(e.parentLocale!=null)if(X[e.parentLocale]!=null)o=X[e.parentLocale]._config;else if(r=On(e.parentLocale),r!=null)o=r._config;else return to[e.parentLocale]||(to[e.parentLocale]=[]),to[e.parentLocale].push({name:t,config:e}),null;return X[t]=new Ii(wi(o,e)),to[t]&&to[t].forEach(function(a){$i(a.name,a.config)}),wt(t),X[t]}else return delete X[t],null}function dy(t,e){if(e!=null){var r,o,a=bu;X[t]!=null&&X[t].parentLocale!=null?X[t].set(wi(X[t]._config,e)):(o=On(t),o!=null&&(a=o._config),e=wi(a,e),o==null&&(e.abbr=t),r=new Ii(e),r.parentLocale=X[t],X[t]=r),wt(t)}else X[t]!=null&&(X[t].parentLocale!=null?(X[t]=X[t].parentLocale,t===wt()&&wt(t)):X[t]!=null&&delete X[t]);return X[t]}function st(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return so;if(!Pe(t)){if(e=On(t),e)return e;t=[t]}return ly(t)}function fy(){return Ei(X)}function Bi(t){var e,r=t._a;return r&&M(t).overflow===-2&&(e=r[ot]<0||r[ot]>11?ot:r[He]<1||r[He]>Sn(r[ue],r[ot])?He:r[ne]<0||r[ne]>24||r[ne]===24&&(r[ke]!==0||r[nt]!==0||r[zt]!==0)?ne:r[ke]<0||r[ke]>59?ke:r[nt]<0||r[nt]>59?nt:r[zt]<0||r[zt]>999?zt:-1,M(t)._overflowDayOfYear&&(e<ue||e>He)&&(e=He),M(t)._overflowWeeks&&e===-1&&(e=bh),M(t)._overflowWeekday&&e===-1&&(e=xh),M(t).overflow=e),t}var py=/^\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)?)?$/,hy=/^\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)?)?$/,yy=/Z|[+-]\d\d(?::?\d\d)?/,on=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],my=/^\/?Date\((-?\d+)/i,gy=/^(?:(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}))$/,by={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function xu(t){var e,r,o=t._i,a=py.exec(o)||hy.exec(o),i,s,c,l,d=on.length,h=vi.length;if(a){for(M(t).iso=!0,e=0,r=d;e<r;e++)if(on[e][1].exec(a[1])){s=on[e][0],i=on[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=h;e<r;e++)if(vi[e][1].exec(a[3])){c=(a[2]||" ")+vi[e][0];break}if(c==null){t._isValid=!1;return}}if(!i&&c!=null){t._isValid=!1;return}if(a[4])if(yy.exec(a[4]))l="Z";else{t._isValid=!1;return}t._f=s+(c||"")+(l||""),Yi(t)}else t._isValid=!1}function xy(t,e,r,o,a,i){var s=[vy(t),cu.indexOf(e),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function vy(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Sy(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Oy(t,e,r){if(t){var o=yu.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(o!==a)return M(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function wy(t,e,r){if(t)return by[t];if(e)return 0;var o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function vu(t){var e=gy.exec(Sy(t._i)),r;if(e){if(r=xy(e[4],e[3],e[2],e[5],e[6],e[7]),!Oy(e[1],r,t))return;t._a=r,t._tzm=wy(e[8],e[9],e[10]),t._d=ao.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),M(t).rfc2822=!0}else t._isValid=!1}function Ey(t){var e=my.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(xu(t),t._isValid===!1)delete t._isValid;else return;if(vu(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:A.createFromInputFallback(t)}A.createFromInputFallback=Ee("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function ur(t,e,r){return t??e??r}function Cy(t){var e=new Date(A.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Hi(t){var e,r,o=[],a,i,s;if(!t._d){for(a=Cy(t),t._w&&t._a[He]==null&&t._a[ot]==null&&_y(t),t._dayOfYear!=null&&(s=ur(t._a[ue],a[ue]),(t._dayOfYear>no(s)||t._dayOfYear===0)&&(M(t)._overflowDayOfYear=!0),r=ao(s,0,t._dayOfYear),t._a[ot]=r.getUTCMonth(),t._a[He]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=o[e]=a[e];for(;e<7;e++)t._a[e]=o[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[ne]===24&&t._a[ke]===0&&t._a[nt]===0&&t._a[zt]===0&&(t._nextDay=!0,t._a[ne]=0),t._d=(t._useUTC?ao:Ih).apply(null,o),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ne]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(M(t).weekdayMismatch=!0)}}function _y(t){var e,r,o,a,i,s,c,l,d;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=ur(e.GG,t._a[ue],io(Z(),1,4).year),o=ur(e.W,1),a=ur(e.E,1),(a<1||a>7)&&(l=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,d=io(Z(),i,s),r=ur(e.gg,t._a[ue],d.year),o=ur(e.w,d.week),e.d!=null?(a=e.d,(a<0||a>6)&&(l=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(l=!0)):a=i),o<1||o>at(r,i,s)?M(t)._overflowWeeks=!0:l!=null?M(t)._overflowWeekday=!0:(c=hu(r,o,a,i,s),t._a[ue]=c.year,t._dayOfYear=c.dayOfYear)}A.ISO_8601=function(){};A.RFC_2822=function(){};function Yi(t){if(t._f===A.ISO_8601){xu(t);return}if(t._f===A.RFC_2822){vu(t);return}t._a=[],M(t).empty=!0;var e=""+t._i,r,o,a,i,s,c=e.length,l=0,d,h;for(a=tu(t._f,t._locale).match(Ti)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(e.match(yh(i,t))||[])[0],o&&(s=e.substr(0,e.indexOf(o)),s.length>0&&M(t).unusedInput.push(s),e=e.slice(e.indexOf(o)+o.length),l+=o.length),fr[i]?(o?M(t).empty=!1:M(t).unusedTokens.push(i),gh(i,o,t)):t._strict&&!o&&M(t).unusedTokens.push(i);M(t).charsLeftOver=c-l,e.length>0&&M(t).unusedInput.push(e),t._a[ne]<=12&&M(t).bigHour===!0&&t._a[ne]>0&&(M(t).bigHour=void 0),M(t).parsedDateParts=t._a.slice(0),M(t).meridiem=t._meridiem,t._a[ne]=Ay(t._locale,t._a[ne],t._meridiem),d=M(t).era,d!==null&&(t._a[ue]=t._locale.erasConvertYear(d,t._a[ue])),Hi(t),Bi(t)}function Ay(t,e,r){var o;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(o=t.isPM(r),o&&e<12&&(e+=12),!o&&e===12&&(e=0)),e)}function Ny(t){var e,r,o,a,i,s,c=!1,l=t._f.length;if(l===0){M(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<l;a++)i=0,s=!1,e=Pi({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],Yi(e),ki(e)&&(s=!0),i+=M(e).charsLeftOver,i+=M(e).unusedTokens.length*10,M(e).score=i,c?i<o&&(o=i,r=e):(o==null||i<o||s)&&(o=i,r=e,s&&(c=!0));St(t,r||e)}function Ry(t){if(!t._d){var e=Di(t._i),r=e.day===void 0?e.date:e.day;t._a=Xl([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(o){return o&&parseInt(o,10)}),Hi(t)}}function ky(t){var e=new lo(Bi(Su(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Su(t){var e=t._i,r=t._f;return t._locale=t._locale||st(t._l),e===null||r===void 0&&e===""?hn({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ie(e)?new lo(Bi(e)):(co(e)?t._d=e:Pe(r)?Ny(t):r?Yi(t):Py(t),ki(t)||(t._d=null),t))}function Py(t){var e=t._i;me(e)?t._d=new Date(A.now()):co(e)?t._d=new Date(e.valueOf()):typeof e=="string"?Ey(t):Pe(e)?(t._a=Xl(e.slice(0),function(r){return parseInt(r,10)}),Hi(t)):jt(e)?Ry(t):it(e)?t._d=new Date(e):A.createFromInputFallback(t)}function Ou(t,e,r,o,a){var i={};return(e===!0||e===!1)&&(o=e,e=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(jt(t)&&Ri(t)||Pe(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=o,ky(i)}function Z(t,e,r,o){return Ou(t,e,r,o,!1)}var Iy=Ee("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Z.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:hn()}),Ty=Ee("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Z.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:hn()});function wu(t,e){var r,o;if(e.length===1&&Pe(e[0])&&(e=e[0]),!e.length)return Z();for(r=e[0],o=1;o<e.length;++o)(!e[o].isValid()||e[o][t](r))&&(r=e[o]);return r}function Dy(){var t=[].slice.call(arguments,0);return wu("isBefore",t)}function My(){var t=[].slice.call(arguments,0);return wu("isAfter",t)}var Ly=function(){return Date.now?Date.now():+new Date},ro=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Fy(t){var e,r=!1,o,a=ro.length;for(e in t)if(Y(t,e)&&!(ee.call(ro,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(o=0;o<a;++o)if(t[ro[o]]){if(r)return!1;parseFloat(t[ro[o]])!==L(t[ro[o]])&&(r=!0)}return!0}function Uy(){return this._isValid}function Wy(){return Te(NaN)}function wn(t){var e=Di(t),r=e.year||0,o=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,l=e.minute||0,d=e.second||0,h=e.millisecond||0;this._isValid=Fy(e),this._milliseconds=+h+d*1e3+l*6e4+c*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=st(),this._bubble()}function an(t){return t instanceof wn}function _i(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function $y(t,e,r){var o=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,s;for(s=0;s<o;s++)(r&&t[s]!==e[s]||!r&&L(t[s])!==L(e[s]))&&i++;return i+a}function Eu(t,e){I(t,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+Ye(~~(r/60),2)+e+Ye(~~r%60,2)})}Eu("Z",":");Eu("ZZ","");R("Z",vn);R("ZZ",vn);G(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=zi(vn,t)});var By=/([\+\-]|\d\d)/gi;function zi(t,e){var r=(e||"").match(t),o,a,i;return r===null?null:(o=r[r.length-1]||[],a=(o+"").match(By)||["-",0,0],i=+(a[1]*60)+L(a[2]),i===0?0:a[0]==="+"?i:-i)}function ji(t,e){var r,o;return e._isUTC?(r=e.clone(),o=(Ie(t)||co(t)?t.valueOf():Z(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),A.updateOffset(r,!1),r):Z(t).local()}function Ai(t){return-Math.round(t._d.getTimezoneOffset())}A.updateOffset=function(){};function Hy(t,e,r){var o=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=zi(vn,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=Ai(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==t&&(!e||this._changeInProgress?Au(this,Te(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:Ai(this)}function Yy(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function zy(t){return this.utcOffset(0,t)}function jy(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ai(this),"m")),this}function Vy(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=zi(ph,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Gy(t){return this.isValid()?(t=t?Z(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Ky(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Zy(){if(!me(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Pi(t,this),t=Su(t),t._a?(e=t._isUTC?ze(t._a):Z(t._a),this._isDSTShifted=this.isValid()&&$y(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function qy(){return this.isValid()?!this._isUTC:!1}function Jy(){return this.isValid()?this._isUTC:!1}function Cu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Xy=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Qy=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Te(t,e){var r=t,o=null,a,i,s;return an(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:it(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=Xy.exec(t))?(a=o[1]==="-"?-1:1,r={y:0,d:L(o[He])*a,h:L(o[ne])*a,m:L(o[ke])*a,s:L(o[nt])*a,ms:L(_i(o[zt]*1e3))*a}):(o=Qy.exec(t))?(a=o[1]==="-"?-1:1,r={y:Yt(o[2],a),M:Yt(o[3],a),w:Yt(o[4],a),d:Yt(o[5],a),h:Yt(o[6],a),m:Yt(o[7],a),s:Yt(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=em(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new wn(r),an(t)&&Y(t,"_locale")&&(i._locale=t._locale),an(t)&&Y(t,"_isValid")&&(i._isValid=t._isValid),i}Te.fn=wn.prototype;Te.invalid=Wy;function Yt(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Zl(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function em(t,e){var r;return t.isValid()&&e.isValid()?(e=ji(e,t),t.isBefore(e)?r=Zl(t,e):(r=Zl(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function _u(t,e){return function(r,o){var a,i;return o!==null&&!isNaN(+o)&&(eu(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=o,o=i),a=Te(r,o),Au(this,a,t),this}}function Au(t,e,r,o){var a=e._milliseconds,i=_i(e._days),s=_i(e._months);t.isValid()&&(o=o??!0,s&&uu(t,cn(t,"Month")+s*r),i&&ou(t,"Date",cn(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),o&&A.updateOffset(t,i||s))}var tm=_u(1,"add"),rm=_u(-1,"subtract");function Nu(t){return typeof t=="string"||t instanceof String}function om(t){return Ie(t)||co(t)||Nu(t)||it(t)||am(t)||nm(t)||t===null||t===void 0}function nm(t){var e=jt(t)&&!Ri(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||Y(t,i);return e&&r}function am(t){var e=Pe(t),r=!1;return e&&(r=t.filter(function(o){return!it(o)&&Nu(t)}).length===0),e&&r}function im(t){var e=jt(t)&&!Ri(t),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||Y(t,i);return e&&r}function sm(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function cm(t,e){arguments.length===1&&(arguments[0]?om(arguments[0])?(t=arguments[0],e=void 0):im(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||Z(),o=ji(r,this).startOf("day"),a=A.calendarFormat(this,o)||"sameElse",i=e&&(je(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,Z(r)))}function lm(){return new lo(this)}function um(t,e){var r=Ie(t)?t:Z(t);return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function dm(t,e){var r=Ie(t)?t:Z(t);return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function fm(t,e,r,o){var a=Ie(t)?t:Z(t),i=Ie(e)?e:Z(e);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function pm(t,e){var r=Ie(t)?t:Z(t),o;return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf())):!1}function hm(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function ym(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function mm(t,e,r){var o,a,i;if(!this.isValid())return NaN;if(o=ji(t,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,e=Ce(e),e){case"year":i=sn(this,o)/12;break;case"month":i=sn(this,o);break;case"quarter":i=sn(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-a)/864e5;break;case"week":i=(this-o-a)/6048e5;break;default:i=this-o}return r?i:we(i)}function sn(t,e){if(t.date()<e.date())return-sn(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),o=t.clone().add(r,"months"),a,i;return e-o<0?(a=t.clone().add(r-1,"months"),i=(e-o)/(o-a)):(a=t.clone().add(r+1,"months"),i=(e-o)/(a-o)),-(r+i)||0}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";A.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function gm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function bm(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?nn(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):je(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",nn(r,"Z")):nn(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function xm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,o,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+o+a+i)}function vm(t){t||(t=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var e=nn(this,t);return this.localeData().postformat(e)}function Sm(t,e){return this.isValid()&&(Ie(t)&&t.isValid()||Z(t).isValid())?Te({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Om(t){return this.from(Z(),t)}function wm(t,e){return this.isValid()&&(Ie(t)&&t.isValid()||Z(t).isValid())?Te({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Em(t){return this.to(Z(),t)}function Ru(t){var e;return t===void 0?this._locale._abbr:(e=st(t),e!=null&&(this._locale=e),this)}var ku=Ee("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Pu(){return this._locale}var dn=1e3,pr=60*dn,fn=60*pr,Iu=(365*400+97)*24*fn;function hr(t,e){return(t%e+e)%e}function Tu(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Iu:new Date(t,e,r).valueOf()}function Du(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Iu:Date.UTC(t,e,r)}function Cm(t){var e,r;if(t=Ce(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Du:Tu,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=hr(e+(this._isUTC?0:this.utcOffset()*pr),fn);break;case"minute":e=this._d.valueOf(),e-=hr(e,pr);break;case"second":e=this._d.valueOf(),e-=hr(e,dn);break}return this._d.setTime(e),A.updateOffset(this,!0),this}function _m(t){var e,r;if(t=Ce(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Du:Tu,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=fn-hr(e+(this._isUTC?0:this.utcOffset()*pr),fn)-1;break;case"minute":e=this._d.valueOf(),e+=pr-hr(e,pr)-1;break;case"second":e=this._d.valueOf(),e+=dn-hr(e,dn)-1;break}return this._d.setTime(e),A.updateOffset(this,!0),this}function Am(){return this._d.valueOf()-(this._offset||0)*6e4}function Nm(){return Math.floor(this.valueOf()/1e3)}function Rm(){return new Date(this.valueOf())}function km(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Pm(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Im(){return this.isValid()?this.toISOString():null}function Tm(){return ki(this)}function Dm(){return St({},M(this))}function Mm(){return M(this).overflow}function Lm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}I("N",0,0,"eraAbbr");I("NN",0,0,"eraAbbr");I("NNN",0,0,"eraAbbr");I("NNNN",0,0,"eraName");I("NNNNN",0,0,"eraNarrow");I("y",["y",1],"yo","eraYear");I("y",["yy",2],0,"eraYear");I("y",["yyy",3],0,"eraYear");I("y",["yyyy",4],0,"eraYear");R("N",Vi);R("NN",Vi);R("NNN",Vi);R("NNNN",Gm);R("NNNNN",Km);G(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,o){var a=r._locale.erasParse(t,o,r._strict);a?M(r).era=a:M(r).invalidEra=t});R("y",mr);R("yy",mr);R("yyy",mr);R("yyyy",mr);R("yo",Zm);G(["y","yy","yyy","yyyy"],ue);G(["yo"],function(t,e,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[ue]=r._locale.eraYearOrdinalParse(t,a):e[ue]=parseInt(t,10)});function Fm(t,e){var r,o,a,i=this._eras||st("en")._eras;for(r=0,o=i.length;r<o;++r){switch(typeof i[r].since){case"string":a=A(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=A(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function Um(t,e,r){var o,a,i=this.eras(),s,c,l;for(t=t.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),c=i[o].abbr.toUpperCase(),l=i[o].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(c===t)return i[o];break;case"NNNN":if(s===t)return i[o];break;case"NNNNN":if(l===t)return i[o];break}else if([s,c,l].indexOf(t)>=0)return i[o]}function Wm(t,e){var r=t.since<=t.until?1:-1;return e===void 0?A(t.since).year():A(t.since).year()+(e-t.offset)*r}function $m(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].name;return""}function Bm(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].narrow;return""}function Hm(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].abbr;return""}function Ym(){var t,e,r,o,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,o=this.clone().startOf("day").valueOf(),a[t].since<=o&&o<=a[t].until||a[t].until<=o&&o<=a[t].since)return(this.year()-A(a[t].since).year())*r+a[t].offset;return this.year()}function zm(t){return Y(this,"_erasNameRegex")||Gi.call(this),t?this._erasNameRegex:this._erasRegex}function jm(t){return Y(this,"_erasAbbrRegex")||Gi.call(this),t?this._erasAbbrRegex:this._erasRegex}function Vm(t){return Y(this,"_erasNarrowRegex")||Gi.call(this),t?this._erasNarrowRegex:this._erasRegex}function Vi(t,e){return e.erasAbbrRegex(t)}function Gm(t,e){return e.erasNameRegex(t)}function Km(t,e){return e.erasNarrowRegex(t)}function Zm(t,e){return e._eraYearOrdinalRegex||mr}function Gi(){var t=[],e=[],r=[],o=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)e.push(ve(s[a].name)),t.push(ve(s[a].abbr)),r.push(ve(s[a].narrow)),o.push(ve(s[a].name)),o.push(ve(s[a].abbr)),o.push(ve(s[a].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}I(0,["gg",2],0,function(){return this.weekYear()%100});I(0,["GG",2],0,function(){return this.isoWeekYear()%100});function En(t,e){I(0,[t,t.length],0,e)}En("gggg","weekYear");En("ggggg","weekYear");En("GGGG","isoWeekYear");En("GGGGG","isoWeekYear");de("weekYear","gg");de("isoWeekYear","GG");fe("weekYear",1);fe("isoWeekYear",1);R("G",xn);R("g",xn);R("GG",q,Se);R("gg",q,Se);R("GGGG",Li,Mi);R("gggg",Li,Mi);R("GGGGG",bn,mn);R("ggggg",bn,mn);fo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,o){e[o.substr(0,2)]=L(t)});fo(["gg","GG"],function(t,e,r,o){e[o]=A.parseTwoDigitYear(t)});function qm(t){return Mu.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Jm(t){return Mu.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Xm(){return at(this.year(),1,4)}function Qm(){return at(this.isoWeekYear(),1,4)}function eg(){var t=this.localeData()._week;return at(this.year(),t.dow,t.doy)}function tg(){var t=this.localeData()._week;return at(this.weekYear(),t.dow,t.doy)}function Mu(t,e,r,o,a){var i;return t==null?io(this,o,a).year:(i=at(t,o,a),e>i&&(e=i),rg.call(this,t,e,r,o,a))}function rg(t,e,r,o,a){var i=hu(t,e,r,o,a),s=ao(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}I("Q",0,"Qo","quarter");de("quarter","Q");fe("quarter",7);R("Q",nu);G("Q",function(t,e){e[ot]=(L(t)-1)*3});function og(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}I("D",["DD",2],"Do","date");de("date","D");fe("date",9);R("D",q);R("DD",q,Se);R("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});G(["D","DD"],He);G("Do",function(t,e){e[He]=L(t.match(q)[0])});var Lu=yr("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear");de("dayOfYear","DDD");fe("dayOfYear",4);R("DDD",gn);R("DDDD",au);G(["DDD","DDDD"],function(t,e,r){r._dayOfYear=L(t)});function ng(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}I("m",["mm",2],0,"minute");de("minute","m");fe("minute",14);R("m",q);R("mm",q,Se);G(["m","mm"],ke);var ag=yr("Minutes",!1);I("s",["ss",2],0,"second");de("second","s");fe("second",15);R("s",q);R("ss",q,Se);G(["s","ss"],nt);var ig=yr("Seconds",!1);I("S",0,0,function(){return~~(this.millisecond()/100)});I(0,["SS",2],0,function(){return~~(this.millisecond()/10)});I(0,["SSS",3],0,"millisecond");I(0,["SSSS",4],0,function(){return this.millisecond()*10});I(0,["SSSSS",5],0,function(){return this.millisecond()*100});I(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});I(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});I(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});I(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});de("millisecond","ms");fe("millisecond",16);R("S",gn,nu);R("SS",gn,Se);R("SSS",gn,au);var Ot,Fu;for(Ot="SSSS";Ot.length<=9;Ot+="S")R(Ot,mr);function sg(t,e){e[zt]=L(("0."+t)*1e3)}for(Ot="S";Ot.length<=9;Ot+="S")G(Ot,sg);Fu=yr("Milliseconds",!1);I("z",0,0,"zoneAbbr");I("zz",0,0,"zoneName");function cg(){return this._isUTC?"UTC":""}function lg(){return this._isUTC?"Coordinated Universal Time":""}var E=lo.prototype;E.add=tm;E.calendar=cm;E.clone=lm;E.diff=mm;E.endOf=_m;E.format=vm;E.from=Sm;E.fromNow=Om;E.to=wm;E.toNow=Em;E.get=dh;E.invalidAt=Mm;E.isAfter=um;E.isBefore=dm;E.isBetween=fm;E.isSame=pm;E.isSameOrAfter=hm;E.isSameOrBefore=ym;E.isValid=Tm;E.lang=ku;E.locale=Ru;E.localeData=Pu;E.max=Ty;E.min=Iy;E.parsingFlags=Dm;E.set=fh;E.startOf=Cm;E.subtract=rm;E.toArray=km;E.toObject=Pm;E.toDate=Rm;E.toISOString=bm;E.inspect=xm;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=Im;E.toString=gm;E.unix=Nm;E.valueOf=Am;E.creationData=Lm;E.eraName=$m;E.eraNarrow=Bm;E.eraAbbr=Hm;E.eraYear=Ym;E.year=pu;E.isLeapYear=Ph;E.weekYear=qm;E.isoWeekYear=Jm;E.quarter=E.quarters=og;E.month=du;E.daysInMonth=Nh;E.week=E.weeks=Fh;E.isoWeek=E.isoWeeks=Uh;E.weeksInYear=eg;E.weeksInWeekYear=tg;E.isoWeeksInYear=Xm;E.isoWeeksInISOWeekYear=Qm;E.date=Lu;E.day=E.days=Jh;E.weekday=Xh;E.isoWeekday=Qh;E.dayOfYear=ng;E.hour=E.hours=iy;E.minute=E.minutes=ag;E.second=E.seconds=ig;E.millisecond=E.milliseconds=Fu;E.utcOffset=Hy;E.utc=zy;E.local=jy;E.parseZone=Vy;E.hasAlignedHourOffset=Gy;E.isDST=Ky;E.isLocal=qy;E.isUtcOffset=Jy;E.isUtc=Cu;E.isUTC=Cu;E.zoneAbbr=cg;E.zoneName=lg;E.dates=Ee("dates accessor is deprecated. Use date instead.",Lu);E.months=Ee("months accessor is deprecated. Use month instead",du);E.years=Ee("years accessor is deprecated. Use year instead",pu);E.zone=Ee("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Yy);E.isDSTShifted=Ee("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Zy);function ug(t){return Z(t*1e3)}function dg(){return Z.apply(null,arguments).parseZone()}function Uu(t){return t}var z=Ii.prototype;z.calendar=Jp;z.longDateFormat=th;z.invalidDate=oh;z.ordinal=ih;z.preparse=Uu;z.postformat=Uu;z.relativeTime=ch;z.pastFuture=lh;z.set=Zp;z.eras=Fm;z.erasParse=Um;z.erasConvertYear=Wm;z.erasAbbrRegex=jm;z.erasNameRegex=zm;z.erasNarrowRegex=Vm;z.months=Eh;z.monthsShort=Ch;z.monthsParse=Ah;z.monthsRegex=kh;z.monthsShortRegex=Rh;z.week=Th;z.firstDayOfYear=Lh;z.firstDayOfWeek=Mh;z.weekdays=Vh;z.weekdaysMin=Kh;z.weekdaysShort=Gh;z.weekdaysParse=qh;z.weekdaysRegex=ey;z.weekdaysShortRegex=ty;z.weekdaysMinRegex=ry;z.isPM=ny;z.meridiem=sy;function pn(t,e,r,o){var a=st(),i=ze().set(o,e);return a[r](i,t)}function Wu(t,e,r){if(it(t)&&(e=t,t=void 0),t=t||"",e!=null)return pn(t,e,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=pn(t,o,r,"month");return a}function Ki(t,e,r,o){typeof t=="boolean"?(it(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,it(e)&&(r=e,e=void 0),e=e||"");var a=st(),i=t?a._week.dow:0,s,c=[];if(r!=null)return pn(e,(r+i)%7,o,"day");for(s=0;s<7;s++)c[s]=pn(e,(s+i)%7,o,"day");return c}function fg(t,e){return Wu(t,e,"months")}function pg(t,e){return Wu(t,e,"monthsShort")}function hg(t,e,r){return Ki(t,e,r,"weekdays")}function yg(t,e,r){return Ki(t,e,r,"weekdaysShort")}function mg(t,e,r){return Ki(t,e,r,"weekdaysMin")}wt("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(t){var e=t%10,r=L(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}});A.lang=Ee("moment.lang is deprecated. Use moment.locale instead.",wt);A.langData=Ee("moment.langData is deprecated. Use moment.localeData instead.",st);var tt=Math.abs;function gg(){var t=this._data;return this._milliseconds=tt(this._milliseconds),this._days=tt(this._days),this._months=tt(this._months),t.milliseconds=tt(t.milliseconds),t.seconds=tt(t.seconds),t.minutes=tt(t.minutes),t.hours=tt(t.hours),t.months=tt(t.months),t.years=tt(t.years),this}function $u(t,e,r,o){var a=Te(e,r);return t._milliseconds+=o*a._milliseconds,t._days+=o*a._days,t._months+=o*a._months,t._bubble()}function bg(t,e){return $u(this,t,e,1)}function xg(t,e){return $u(this,t,e,-1)}function ql(t){return t<0?Math.floor(t):Math.ceil(t)}function vg(){var t=this._milliseconds,e=this._days,r=this._months,o=this._data,a,i,s,c,l;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=ql(Ni(r)+e)*864e5,e=0,r=0),o.milliseconds=t%1e3,a=we(t/1e3),o.seconds=a%60,i=we(a/60),o.minutes=i%60,s=we(i/60),o.hours=s%24,e+=we(s/24),l=we(Bu(e)),r+=l,e-=ql(Ni(l)),c=we(r/12),r%=12,o.days=e,o.months=r,o.years=c,this}function Bu(t){return t*4800/146097}function Ni(t){return t*146097/4800}function Sg(t){if(!this.isValid())return NaN;var e,r,o=this._milliseconds;if(t=Ce(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+o/864e5,r=this._months+Bu(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Ni(this._months)),t){case"week":return e/7+o/6048e5;case"day":return e+o/864e5;case"hour":return e*24+o/36e5;case"minute":return e*1440+o/6e4;case"second":return e*86400+o/1e3;case"millisecond":return Math.floor(e*864e5)+o;default:throw new Error("Unknown unit "+t)}}function Og(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+L(this._months/12)*31536e6:NaN}function ct(t){return function(){return this.as(t)}}var wg=ct("ms"),Eg=ct("s"),Cg=ct("m"),_g=ct("h"),Ag=ct("d"),Ng=ct("w"),Rg=ct("M"),kg=ct("Q"),Pg=ct("y");function Ig(){return Te(this)}function Tg(t){return t=Ce(t),this.isValid()?this[t+"s"]():NaN}function Vt(t){return function(){return this.isValid()?this._data[t]:NaN}}var Dg=Vt("milliseconds"),Mg=Vt("seconds"),Lg=Vt("minutes"),Fg=Vt("hours"),Ug=Vt("days"),Wg=Vt("months"),$g=Vt("years");function Bg(){return we(this.days()/7)}var rt=Math.round,dr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Hg(t,e,r,o,a){return a.relativeTime(e||1,!!r,t,o)}function Yg(t,e,r,o){var a=Te(t).abs(),i=rt(a.as("s")),s=rt(a.as("m")),c=rt(a.as("h")),l=rt(a.as("d")),d=rt(a.as("M")),h=rt(a.as("w")),p=rt(a.as("y")),y=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||c<=1&&["h"]||c<r.h&&["hh",c]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(y=y||h<=1&&["w"]||h<r.w&&["ww",h]),y=y||d<=1&&["M"]||d<r.M&&["MM",d]||p<=1&&["y"]||["yy",p],y[2]=e,y[3]=+t>0,y[4]=o,Hg.apply(null,y)}function zg(t){return t===void 0?rt:typeof t=="function"?(rt=t,!0):!1}function jg(t,e){return dr[t]===void 0?!1:e===void 0?dr[t]:(dr[t]=e,t==="s"&&(dr.ss=e-1),!0)}function Vg(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=dr,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(o=Object.assign({},dr,e),e.s!=null&&e.ss==null&&(o.ss=e.s-1)),a=this.localeData(),i=Yg(this,!r,o,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Si=Math.abs;function lr(t){return(t>0)-(t<0)||+t}function Cn(){if(!this.isValid())return this.localeData().invalidDate();var t=Si(this._milliseconds)/1e3,e=Si(this._days),r=Si(this._months),o,a,i,s,c=this.asSeconds(),l,d,h,p;return c?(o=we(t/60),a=we(o/60),t%=60,o%=60,i=we(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",l=c<0?"-":"",d=lr(this._months)!==lr(c)?"-":"",h=lr(this._days)!==lr(c)?"-":"",p=lr(this._milliseconds)!==lr(c)?"-":"",l+"P"+(i?d+i+"Y":"")+(r?d+r+"M":"")+(e?h+e+"D":"")+(a||o||t?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(t?p+s+"S":"")):"P0D"}var $=wn.prototype;$.isValid=Uy;$.abs=gg;$.add=bg;$.subtract=xg;$.as=Sg;$.asMilliseconds=wg;$.asSeconds=Eg;$.asMinutes=Cg;$.asHours=_g;$.asDays=Ag;$.asWeeks=Ng;$.asMonths=Rg;$.asQuarters=kg;$.asYears=Pg;$.valueOf=Og;$._bubble=vg;$.clone=Ig;$.get=Tg;$.milliseconds=Dg;$.seconds=Mg;$.minutes=Lg;$.hours=Fg;$.days=Ug;$.weeks=Bg;$.months=Wg;$.years=$g;$.humanize=Vg;$.toISOString=Cn;$.toString=Cn;$.toJSON=Cn;$.locale=Ru;$.localeData=Pu;$.toIsoString=Ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Cn);$.lang=ku;I("X",0,0,"unix");I("x",0,0,"valueOf");R("x",xn);R("X",hh);G("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)});G("x",function(t,e,r){r._d=new Date(L(t))});A.version="2.29.4";Gp(Z);A.fn=E;A.min=Dy;A.max=My;A.now=Ly;A.utc=ze;A.unix=ug;A.months=fg;A.isDate=co;A.locale=wt;A.invalid=hn;A.duration=Te;A.isMoment=Ie;A.weekdays=hg;A.parseZone=dg;A.localeData=st;A.isDuration=an;A.monthsShort=pg;A.weekdaysMin=mg;A.defineLocale=$i;A.updateLocale=dy;A.locales=fy;A.weekdaysShort=yg;A.normalizeUnits=Ce;A.relativeTimeRounding=zg;A.relativeTimeThreshold=jg;A.calendarFormat=sm;A.prototype=E;A.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var De=A;var ie;(function(t){t.DAY="DAY",t.WEEK="WEEK",t.MONTH="MONTH"})(ie||(ie={}));var Hu=re`
|
|
54
54
|
.sessions-chart {
|
|
55
55
|
height: 100%;
|
|
56
56
|
width: 100%;
|
|
57
57
|
}
|
|
58
58
|
`;var he=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};window.echarts==null&&console.warn("Echarts is not available");var te=class extends pe{constructor(){super(...arguments),this.xAxisName="date",this.yAxisName="",this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.valueLabels=void 0,this.valueLabelsSingular=void 0,this.barChart=!1,this.period=ie.DAY,this.data=[]}render(){return Ir`
|
|
59
59
|
<div class="sessions-chart"></div>
|
|
60
|
-
`}firstUpdated(e){var r;super.firstUpdated(e),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var o;(o=this.myChart)===null||o===void 0||o.resize()})}updated(e){super.updated(e);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let e=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:e.hoverColor}},trigger:"axis",formatter(r){return e.getTooltip(r)},backgroundColor:e.tooltipBackgroundColor,borderColor:e.tooltipBorderColor,textStyle:{color:e.tooltipTextColor},borderRadius:e.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return e.period===ie.DAY||e.period===ie.WEEK?De.utc(r*1e3).format("DD MMM YYYY"):e.period===ie.MONTH?De.utc(r*1e3).format("MMMM YYYY"):De.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(e){let r=De.utc(e[0].data.value[0]*1e3),o=e.map(l=>l.data.value[1]),a,i,s="";switch(this.period){case ie.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,ie.DAY)&&(s=" so far");break}case ie.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,ie.WEEK)&&(s=" so far");break}case ie.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,ie.MONTH)&&(s=" so far");break}}let c="";for(let l=0;l<o.length;l++){let d=this.valueLabels?this.valueLabels[l]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[l]:d,p=o[l]===1?h:d;c+=`${o[l].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return c.substring(0,c.length-5)}isThisPeriod(e,r,o=De.utc()){switch(r){case ie.DAY:return e.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case ie.WEEK:return e.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case ie.MONTH:return e.month()===o.month()&&e.year()===o.year()}return!1}getSeries(){if(this.data.length==0)return[];let e=this.data[0].length-1;if(e==0)return[];let r=[];for(let o=0;o<e;o++)r[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return r}getData(e){return this.data.map(r=>this.isThisPeriod(De.unix(r[0]),this.period)?{value:[r[0],r[e+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[e+1]]})}};te.styles=
|
|
60
|
+
`}firstUpdated(e){var r;super.firstUpdated(e),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var o;(o=this.myChart)===null||o===void 0||o.resize()})}updated(e){super.updated(e);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let e=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:e.hoverColor}},trigger:"axis",formatter(r){return e.getTooltip(r)},backgroundColor:e.tooltipBackgroundColor,borderColor:e.tooltipBorderColor,textStyle:{color:e.tooltipTextColor},borderRadius:e.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return e.period===ie.DAY||e.period===ie.WEEK?De.utc(r*1e3).format("DD MMM YYYY"):e.period===ie.MONTH?De.utc(r*1e3).format("MMMM YYYY"):De.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(e){let r=De.utc(e[0].data.value[0]*1e3),o=e.map(l=>l.data.value[1]),a,i,s="";switch(this.period){case ie.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,ie.DAY)&&(s=" so far");break}case ie.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,ie.WEEK)&&(s=" so far");break}case ie.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,ie.MONTH)&&(s=" so far");break}}let c="";for(let l=0;l<o.length;l++){let d=this.valueLabels?this.valueLabels[l]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[l]:d,p=o[l]===1?h:d;c+=`${o[l].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return c.substring(0,c.length-5)}isThisPeriod(e,r,o=De.utc()){switch(r){case ie.DAY:return e.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case ie.WEEK:return e.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case ie.MONTH:return e.month()===o.month()&&e.year()===o.year()}return!1}getSeries(){if(this.data.length==0)return[];let e=this.data[0].length-1;if(e==0)return[];let r=[];for(let o=0;o<e;o++)r[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return r}getData(e){return this.data.map(r=>this.isThisPeriod(De.unix(r[0]),this.period)?{value:[r[0],r[e+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[e+1]]})}};te.styles=Hu;he([U({type:String})],te.prototype,"xAxisName",void 0);he([U({type:String})],te.prototype,"yAxisName",void 0);he([U({type:String})],te.prototype,"graphColor",void 0);he([U({type:String})],te.prototype,"hoverColor",void 0);he([U({type:String})],te.prototype,"tooltipBackgroundColor",void 0);he([U({type:String})],te.prototype,"tooltipBorderColor",void 0);he([U({type:String})],te.prototype,"tooltipTextColor",void 0);he([U({type:String})],te.prototype,"tooltipBorderRadius",void 0);he([Lt(void 0)],te.prototype,"valueLabels",void 0);he([Lt(void 0)],te.prototype,"valueLabelsSingular",void 0);he([U({type:Boolean})],te.prototype,"barChart",void 0);he([U({type:String})],te.prototype,"period",void 0);he([Lt([])],te.prototype,"data",void 0);he([$n(".sessions-chart")],te.prototype,"container",void 0);te=he([Ze("ft-chart")],te);Ze("ft-chart")(te);var Yu=re`
|
|
61
61
|
.session-chart {
|
|
62
62
|
width: 100%;
|
|
63
63
|
height: 100%;
|
|
@@ -80,7 +80,7 @@ Arguments: `+Array.prototype.slice.call(o).join("")+`
|
|
|
80
80
|
data="${JSON.stringify(this.data)}"
|
|
81
81
|
></ft-chart>
|
|
82
82
|
</div>
|
|
83
|
-
`}update(e){super.update(e),e.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let e=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(e.ok){let r=(await e.json()).results;this.data=this.getData(r)}else console.log((await e.json()).message)}}getData(e){return e.map(r=>[De.utc(r.periodStartDate,"YYYY-MM-DD").unix(),r.sessionCount])}};ce.elementDefinitions={"ft-chart":te};ce.styles=
|
|
83
|
+
`}update(e){super.update(e),e.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let e=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(e.ok){let r=(await e.json()).results;this.data=this.getData(r)}else console.log((await e.json()).message)}}getData(e){return e.map(r=>[De.utc(r.periodStartDate,"YYYY-MM-DD").unix(),r.sessionCount])}};ce.elementDefinitions={"ft-chart":te};ce.styles=Yu;_e([U({type:String})],ce.prototype,"baseUrl",void 0);_e([U({type:String})],ce.prototype,"period",void 0);_e([U({type:String})],ce.prototype,"startDate",void 0);_e([U({type:String})],ce.prototype,"endDate",void 0);_e([U({type:String})],ce.prototype,"graphColor",void 0);_e([U({type:String})],ce.prototype,"hoverColor",void 0);_e([U({type:String})],ce.prototype,"tooltipBackgroundColor",void 0);_e([U({type:String})],ce.prototype,"tooltipBorderColor",void 0);_e([U({type:String})],ce.prototype,"tooltipTextColor",void 0);_e([U({type:String})],ce.prototype,"tooltipBorderRadius",void 0);_e([Tr()],ce.prototype,"data",void 0);ce=_e([Ze("ft-analytics-sessions-chart")],ce);Ze("ft-analytics-sessions-chart")(ce);})();
|
|
84
84
|
/*! Bundled license information:
|
|
85
85
|
|
|
86
86
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|