@fluid-topics/ft-analytics-sessions-chart 1.3.16 → 1.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- "use strict";(()=>{var Ad=Object.create;var on=Object.defineProperty;var Rd=Object.getOwnPropertyDescriptor;var Nd=Object.getOwnPropertyNames;var Td=Object.getPrototypeOf,kd=Object.prototype.hasOwnProperty;var Li=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Id=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Y=(e,t)=>{for(var r in t)on(e,r,{get:t[r],enumerable:!0})},Pd=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Nd(t))!kd.call(e,a)&&a!==r&&on(e,a,{get:()=>t[a],enumerable:!(o=Rd(t,a))||o.enumerable});return e};var Dd=(e,t,r)=>(r=e!=null?Ad(Td(e)):{},Pd(t||!e||!e.__esModule?on(r,"default",{value:e,enumerable:!0}):r,e));var Vc=Id((yt,jc)=>{var Ro=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,No=function(){function e(){this.fetch=!1,this.DOMException=Ro.DOMException}return e.prototype=Ro,new e}();(function(e){var t=function(r){var o=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function f(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var x={next:function(){var k=y.shift();return{done:k===void 0,value:k}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function p(y){this.map={},y instanceof p?y.forEach(function(x,k){this.append(k,x)},this):Array.isArray(y)?y.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):y&&Object.getOwnPropertyNames(y).forEach(function(x){this.append(x,y[x])},this)}p.prototype.append=function(y,x){y=d(y),x=f(x);var k=this.map[y];this.map[y]=k?k+", "+x:x},p.prototype.delete=function(y){delete this.map[d(y)]},p.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},p.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},p.prototype.set=function(y,x){this.map[d(y)]=f(x)},p.prototype.forEach=function(y,x){for(var k in this.map)this.map.hasOwnProperty(k)&&y.call(x,this.map[k],k,this)},p.prototype.keys=function(){var y=[];return this.forEach(function(x,k){y.push(k)}),h(y)},p.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),h(y)},p.prototype.entries=function(){var y=[];return this.forEach(function(x,k){y.push([k,x])}),h(y)},a.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function b(y){return new Promise(function(x,k){y.onload=function(){x(y.result)},y.onerror=function(){k(y.error)}})}function g(y){var x=new FileReader,k=b(x);return x.readAsArrayBuffer(y),k}function v(y){var x=new FileReader,k=b(x),G=/charset=([A-Za-z0-9_-]+)/.exec(y.type),K=G?G[1]:"utf-8";return x.readAsText(y,K),k}function _(y){for(var x=new Uint8Array(y),k=new Array(x.length),G=0;G<x.length;G++)k[G]=String.fromCharCode(x[G]);return k.join("")}function C(y){if(y.slice)return y.slice(0);var x=new Uint8Array(y.byteLength);return x.set(new Uint8Array(y)),x.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=C(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=C(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=m(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(g);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return v(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(I)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function w(y){var x=y.toUpperCase();return O.indexOf(x)>-1?x:y}function S(y,x){if(!(this instanceof S))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(y instanceof S){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new p(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!k&&y._bodyInit!=null&&(k=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new p(x.headers)),this.method=w(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in o){var W=new AbortController;return W.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 G=/([?&])_=[^&]*/;if(G.test(this.url))this.url=this.url.replace(G,"$1_="+new Date().getTime());else{var K=/\?/;this.url+=(K.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function I(y){var x=new FormData;return y.trim().split("&").forEach(function(k){if(k){var G=k.split("="),K=G.shift().replace(/\+/g," "),W=G.join("=").replace(/\+/g," ");x.append(decodeURIComponent(K),decodeURIComponent(W))}}),x}function D(y){var x=new p,k=y.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(G){return G.indexOf(`
2
- `)===0?G.substr(1,G.length):G}).forEach(function(G){var K=G.split(":"),W=K.shift().trim();if(W){var to=K.join(":").trim();try{x.append(W,to)}catch(rn){console.warn("Response "+rn.message)}}}),x}N.call(S.prototype);function M(y,x){if(!(this instanceof M))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(y)}N.call(M.prototype),M.prototype.clone=function(){return new M(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},M.error=function(){var y=new M(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var H=[301,302,303,307,308];M.redirect=function(y,x){if(H.indexOf(x)===-1)throw new RangeError("Invalid status code");return new M(null,{status:x,headers:{location:y}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,k){this.message=x,this.name=k;var G=Error(x);this.stack=G.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function T(y,x){return new Promise(function(k,G){var K=new S(y,x);if(K.signal&&K.signal.aborted)return G(new r.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function to(){W.abort()}W.onload=function(){var ae={statusText:W.statusText,headers:D(W.getAllResponseHeaders()||"")};K.url.indexOf("file://")===0&&(W.status<200||W.status>599)?ae.status=200:ae.status=W.status,ae.url="responseURL"in W?W.responseURL:ae.headers.get("X-Request-URL");var xt="response"in W?W.response:W.responseText;setTimeout(function(){k(new M(xt,ae))},0)},W.onerror=function(){setTimeout(function(){G(new TypeError("Network request failed"))},0)},W.ontimeout=function(){setTimeout(function(){G(new TypeError("Network request timed out"))},0)},W.onabort=function(){setTimeout(function(){G(new r.DOMException("Aborted","AbortError"))},0)};function rn(ae){try{return ae===""&&o.location.href?o.location.href:ae}catch{return ae}}if(W.open(K.method,rn(K.url),!0),K.credentials==="include"?W.withCredentials=!0:K.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&(a.blob?W.responseType="blob":a.arrayBuffer&&(W.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||o.Headers&&x.headers instanceof o.Headers)){var Di=[];Object.getOwnPropertyNames(x.headers).forEach(function(ae){Di.push(d(ae)),W.setRequestHeader(ae,f(x.headers[ae]))}),K.headers.forEach(function(ae,xt){Di.indexOf(xt)===-1&&W.setRequestHeader(xt,ae)})}else K.headers.forEach(function(ae,xt){W.setRequestHeader(xt,ae)});K.signal&&(K.signal.addEventListener("abort",to),W.onreadystatechange=function(){W.readyState===4&&K.signal.removeEventListener("abort",to)}),W.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return T.polyfill=!0,o.fetch||(o.fetch=T,o.Headers=p,o.Request=S,o.Response=M),r.Headers=p,r.Request=S,r.Response=M,r.fetch=T,r}({})})(No);No.fetch.ponyfill=!0;delete No.fetch.polyfill;var nr=Ro.fetch?Ro:No;yt=nr.fetch;yt.default=nr.fetch;yt.fetch=nr.fetch;yt.Headers=nr.Headers;yt.Request=nr.Request;yt.Response=nr.Response;jc.exports=yt});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,w){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(w)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=w.prototype.attributeChangedCallback,I=new Set(w.observedAttributes||[]);m(w,I,S);let D={elementClass:w,connectedCallback:w.prototype.connectedCallback,disconnectedCallback:w.prototype.disconnectedCallback,adoptedCallback:w.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:w.formAssociated,formAssociatedCallback:w.prototype.formAssociatedCallback,formDisabledCallback:w.prototype.formDisabledCallback,formResetCallback:w.prototype.formResetCallback,formStateRestoreCallback:w.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(O,D),this._definitionsByClass.set(w,D);let M=r.call(o,O);M||(M=p(O),t.call(o,O,M)),this===window.customElements&&(s.set(w,D),D.standInClass=M);let H=this._awaitingUpgrade.get(O);if(H){this._awaitingUpgrade.delete(O);for(let y of H)i.delete(y),g(y,D,!0)}let T=this._whenDefinedPromises.get(O);return T!==void 0&&(T.resolve(w),this._whenDefinedPromises.delete(O)),w}upgrade(){_.push(this),o.upgrade.apply(o,arguments),_.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let w=this._getDefinition(O);if(w!==void 0)return Promise.resolve(w.elementClass);let S=this._whenDefinedPromises.get(O);return S===void 0&&(S={},S.promise=new Promise(I=>S.resolve=I),this._whenDefinedPromises.set(O,S)),S.promise}_upgradeWhenDefined(O,w,S){let I=this._awaitingUpgrade.get(w);I||this._awaitingUpgrade.set(w,I=new Set),S?I.add(O):I.delete(O)}};let d;window.HTMLElement=function(){let w=d;if(w)return d=void 0,w;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return w=Reflect.construct(e,[],S.standInClass),Object.setPrototypeOf(w,this.constructor.prototype),a.set(w,S),w},window.HTMLElement.prototype=e.prototype;let f=O=>O===document||O instanceof ShadowRoot,h=O=>{let w=O.getRootNode();if(!f(w)){let S=_[_.length-1];if(S instanceof CustomElementRegistry)return S;w=S.getRootNode(),f(w)||(w=l.get(w)?.getRootNode()||document)}return w.customElements},p=O=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let I=h(S)||window.customElements,D=I._getDefinition(O);return D?g(S,D):i.set(S,I),S}connectedCallback(){let S=a.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let S=a.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=a.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=a.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=a.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=a.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(O,w,S)=>{if(w.size===0||S===void 0)return;let I=O.prototype.setAttribute;I&&(O.prototype.setAttribute=function(H,T){let y=H.toLowerCase();if(w.has(y)){let x=this.getAttribute(y);I.call(this,y,T),S.call(this,y,x,T)}else I.call(this,y,T)});let D=O.prototype.removeAttribute;D&&(O.prototype.removeAttribute=function(H){let T=H.toLowerCase();if(w.has(T)){let y=this.getAttribute(T);D.call(this,T),S.call(this,T,y,null)}else D.call(this,T)});let M=O.prototype.toggleAttribute;M&&(O.prototype.toggleAttribute=function(H,T){let y=H.toLowerCase();if(w.has(y)){let x=this.getAttribute(y);M.call(this,y,T);let k=this.getAttribute(y);S.call(this,y,x,k)}else M.call(this,y,T)})},b=O=>{let w=Object.getPrototypeOf(O);if(w!==window.HTMLElement)return w===e?Object.setPrototypeOf(O,window.HTMLElement):b(w)},g=(O,w,S=!1)=>{Object.setPrototypeOf(O,w.elementClass.prototype),a.set(O,w),d=O;try{new w.elementClass}catch{b(w.elementClass),new w.elementClass}w.attributeChangedCallback&&w.observedAttributes.forEach(I=>{O.hasAttribute(I)&&w.attributeChangedCallback.call(O,I,null,O.getAttribute(I))}),S&&w.connectedCallback&&O.isConnected&&w.connectedCallback.call(O)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let w=v.apply(this,arguments);return O.customElements&&(w.customElements=O.customElements),w};let _=[document],C=(O,w,S=void 0)=>{let I=(S?Object.getPrototypeOf(S):O.prototype)[w];O.prototype[w]=function(){_.push(this);let D=I.apply(S||this,arguments);return D!==void 0&&l.set(D,this),_.pop(),D}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let N=(O,w)=>{let S=Object.getOwnPropertyDescriptor(O.prototype,w);Object.defineProperty(O.prototype,w,{...S,set(I){_.push(this),S.set.call(this,I),_.pop()}})};if(N(Element,"innerHTML"),N(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,w=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...H){let T=w.call(this,...H);return O.set(T,this),T},S.forEach(H=>{let T=window.ElementInternals.prototype,y=T[H];T[H]=function(...x){let k=O.get(this);if(a.get(k).formAssociated===!0)return y?.call(this,...x);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(T){super(...T),this._elements=T}get value(){return this._elements.find(T=>T.checked===!0)?.value||""}}class D{constructor(T){let y=new Map;T.forEach((x,k)=>{let G=x.getAttribute("name"),K=y.get(G)||[];this[+k]=x,K.push(x),y.set(G,K)}),this.length=T.length,y.forEach((x,k)=>{x&&(x.length===1?this[k]=x[0]:this[k]=new I(x))})}namedItem(T){return this[T]}}let M=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let H=M.get.call(this,[]),T=[];for(let y of H){let x=a.get(y);(!x||x.formAssociated===!0)&&T.push(y)}return new D(T)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,o,a)=>{if(o!==null)try{t.bind(window.customElements)(r,o,a)}catch(i){console.info(r,o,a,i)}}}var yn={};Y(yn,{CSSResult:()=>Ut,LitElement:()=>je,ReactiveElement:()=>Me,_$LE:()=>Kd,_$LH:()=>fn,adoptStyles:()=>gr,css:()=>ee,defaultConverter:()=>Wt,getCompatibleStyle:()=>oo,html:()=>Ht,isServer:()=>Yg,mathml:()=>Yd,noChange:()=>ce,notEqual:()=>xr,nothing:()=>J,render:()=>pn,supportsAdoptingStyleSheets:()=>yr,svg:()=>Gd,unsafeCSS:()=>mr});var ro=globalThis,yr=ro.ShadowRoot&&(ro.ShadyCSS===void 0||ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nn=Symbol(),Mi=new WeakMap,Ut=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==nn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(yr&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=Mi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Mi.set(r,t))}return t}toString(){return this.cssText}},mr=e=>new Ut(typeof e=="string"?e:e+"",void 0,nn),ee=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[i+1],e[0]);return new Ut(r,e,nn)},gr=(e,t)=>{if(yr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),a=ro.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,e.appendChild(o)}},oo=yr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return mr(r)})(e):e;var{is:Ld,defineProperty:Md,getOwnPropertyDescriptor:Fd,getOwnPropertyNames:Ud,getOwnPropertySymbols:Wd,getPrototypeOf:Bd}=Object,no=globalThis,Fi=no.trustedTypes,Hd=Fi?Fi.emptyScript:"",$d=no.reactiveElementPolyfillSupport,br=(e,t)=>e,Wt={toAttribute(e,t){switch(t){case Boolean:e=e?Hd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},xr=(e,t)=>!Ld(e,t),Ui={attribute:!0,type:String,converter:Wt,reflect:!1,useDefault:!1,hasChanged:xr};Symbol.metadata??=Symbol("metadata"),no.litPropertyMetadata??=new WeakMap;var Me=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ui){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(t,o,r);a!==void 0&&Md(this.prototype,t,a)}}static getPropertyDescriptor(t,r,o){let{get:a,set:i}=Fd(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(t,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ui}static _$Ei(){if(this.hasOwnProperty(br("elementProperties")))return;let t=Bd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(br("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(br("properties"))){let r=this.properties,o=[...Ud(r),...Wd(r)];for(let a of o)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let a of o)r.unshift(oo(a))}else t!==void 0&&r.push(oo(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:Wt).toAttribute(r,o.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let o=this.constructor,a=o._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Wt;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){let a=this.constructor,i=this[t];if(o??=a.getPropertyOptions(t),!((o.hasChanged??xr)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};Me.elementStyles=[],Me.shadowRootOptions={mode:"open"},Me[br("elementProperties")]=new Map,Me[br("finalized")]=new Map,$d?.({ReactiveElement:Me}),(no.reactiveElementVersions??=[]).push("2.1.0");var sn=globalThis,ao=sn.trustedTypes,Wi=ao?ao.createPolicy("lit-html",{createHTML:e=>e}):void 0,cn="$lit$",Ye=`lit$${Math.random().toFixed(9).slice(2)}$`,ln="?"+Ye,zd=`<${ln}>`,Ot=document,Sr=()=>Ot.createComment(""),Or=e=>e===null||typeof e!="object"&&typeof e!="function",dn=Array.isArray,Yi=e=>dn(e)||typeof e?.[Symbol.iterator]=="function",an=`[
1
+ "use strict";(()=>{var Rd=Object.create;var on=Object.defineProperty;var Nd=Object.getOwnPropertyDescriptor;var Td=Object.getOwnPropertyNames;var Id=Object.getPrototypeOf,kd=Object.prototype.hasOwnProperty;var Li=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Pd=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Y=(e,t)=>{for(var r in t)on(e,r,{get:t[r],enumerable:!0})},Dd=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Td(t))!kd.call(e,a)&&a!==r&&on(e,a,{get:()=>t[a],enumerable:!(o=Nd(t,a))||o.enumerable});return e};var Ld=(e,t,r)=>(r=e!=null?Rd(Id(e)):{},Dd(t||!e||!e.__esModule?on(r,"default",{value:e,enumerable:!0}):r,e));var Vc=Pd((yt,jc)=>{var Ro=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,No=function(){function e(){this.fetch=!1,this.DOMException=Ro.DOMException}return e.prototype=Ro,new e}();(function(e){var t=function(r){var o=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function f(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var v={next:function(){var T=y.shift();return{done:T===void 0,value:T}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function p(y){this.map={},y instanceof p?y.forEach(function(v,T){this.append(T,v)},this):Array.isArray(y)?y.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}p.prototype.append=function(y,v){y=d(y),v=f(v);var T=this.map[y];this.map[y]=T?T+", "+v:v},p.prototype.delete=function(y){delete this.map[d(y)]},p.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},p.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},p.prototype.set=function(y,v){this.map[d(y)]=f(v)},p.prototype.forEach=function(y,v){for(var T in this.map)this.map.hasOwnProperty(T)&&y.call(v,this.map[T],T,this)},p.prototype.keys=function(){var y=[];return this.forEach(function(v,T){y.push(T)}),h(y)},p.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),h(y)},p.prototype.entries=function(){var y=[];return this.forEach(function(v,T){y.push([T,v])}),h(y)},a.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function b(y){return new Promise(function(v,T){y.onload=function(){v(y.result)},y.onerror=function(){T(y.error)}})}function g(y){var v=new FileReader,T=b(v);return v.readAsArrayBuffer(y),T}function S(y){var v=new FileReader,T=b(v),G=/charset=([A-Za-z0-9_-]+)/.exec(y.type),K=G?G[1]:"utf-8";return v.readAsText(y,K),T}function A(y){for(var v=new Uint8Array(y),T=new Array(v.length),G=0;G<v.length;G++)T[G]=String.fromCharCode(v[G]);return T.join("")}function C(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=C(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=C(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=m(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(g);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(A(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(I)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function x(y){var v=y.toUpperCase();return O.indexOf(v)>-1?v:y}function w(y,v){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var T=v.body;if(y instanceof w){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new p(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!T&&y._bodyInit!=null&&(T=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new p(v.headers)),this.method=x(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in o){var W=new AbortController;return W.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&T)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(T),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var G=/([?&])_=[^&]*/;if(G.test(this.url))this.url=this.url.replace(G,"$1_="+new Date().getTime());else{var K=/\?/;this.url+=(K.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function I(y){var v=new FormData;return y.trim().split("&").forEach(function(T){if(T){var G=T.split("="),K=G.shift().replace(/\+/g," "),W=G.join("=").replace(/\+/g," ");v.append(decodeURIComponent(K),decodeURIComponent(W))}}),v}function D(y){var v=new p,T=y.replace(/\r?\n[\t ]+/g," ");return T.split("\r").map(function(G){return G.indexOf(`
2
+ `)===0?G.substr(1,G.length):G}).forEach(function(G){var K=G.split(":"),W=K.shift().trim();if(W){var to=K.join(":").trim();try{v.append(W,to)}catch(rn){console.warn("Response "+rn.message)}}}),v}N.call(w.prototype);function H(y,v){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new p(v.headers),this.url=v.url||"",this._initBody(y)}N.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},H.error=function(){var y=new H(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var U=[301,302,303,307,308];H.redirect=function(y,v){if(U.indexOf(v)===-1)throw new RangeError("Invalid status code");return new H(null,{status:v,headers:{location:y}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,T){this.message=v,this.name=T;var G=Error(v);this.stack=G.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function k(y,v){return new Promise(function(T,G){var K=new w(y,v);if(K.signal&&K.signal.aborted)return G(new r.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function to(){W.abort()}W.onload=function(){var ae={statusText:W.statusText,headers:D(W.getAllResponseHeaders()||"")};K.url.indexOf("file://")===0&&(W.status<200||W.status>599)?ae.status=200:ae.status=W.status,ae.url="responseURL"in W?W.responseURL:ae.headers.get("X-Request-URL");var xt="response"in W?W.response:W.responseText;setTimeout(function(){T(new H(xt,ae))},0)},W.onerror=function(){setTimeout(function(){G(new TypeError("Network request failed"))},0)},W.ontimeout=function(){setTimeout(function(){G(new TypeError("Network request timed out"))},0)},W.onabort=function(){setTimeout(function(){G(new r.DOMException("Aborted","AbortError"))},0)};function rn(ae){try{return ae===""&&o.location.href?o.location.href:ae}catch{return ae}}if(W.open(K.method,rn(K.url),!0),K.credentials==="include"?W.withCredentials=!0:K.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&(a.blob?W.responseType="blob":a.arrayBuffer&&(W.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof p||o.Headers&&v.headers instanceof o.Headers)){var Di=[];Object.getOwnPropertyNames(v.headers).forEach(function(ae){Di.push(d(ae)),W.setRequestHeader(ae,f(v.headers[ae]))}),K.headers.forEach(function(ae,xt){Di.indexOf(xt)===-1&&W.setRequestHeader(xt,ae)})}else K.headers.forEach(function(ae,xt){W.setRequestHeader(xt,ae)});K.signal&&(K.signal.addEventListener("abort",to),W.onreadystatechange=function(){W.readyState===4&&K.signal.removeEventListener("abort",to)}),W.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return k.polyfill=!0,o.fetch||(o.fetch=k,o.Headers=p,o.Request=w,o.Response=H),r.Headers=p,r.Request=w,r.Response=H,r.fetch=k,r}({})})(No);No.fetch.ponyfill=!0;delete No.fetch.polyfill;var nr=Ro.fetch?Ro:No;yt=nr.fetch;yt.default=nr.fetch;yt.fetch=nr.fetch;yt.Headers=nr.Headers;yt.Request=nr.Request;yt.Response=nr.Response;jc.exports=yt});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,x){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=x.prototype.attributeChangedCallback,I=new Set(x.observedAttributes||[]);m(x,I,w);let D={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(O,D),this._definitionsByClass.set(x,D);let H=r.call(o,O);H||(H=p(O),t.call(o,O,H)),this===window.customElements&&(s.set(x,D),D.standInClass=H);let U=this._awaitingUpgrade.get(O);if(U){this._awaitingUpgrade.delete(O);for(let y of U)i.delete(y),g(y,D,!0)}let k=this._whenDefinedPromises.get(O);return k!==void 0&&(k.resolve(x),this._whenDefinedPromises.delete(O)),x}upgrade(){A.push(this),o.upgrade.apply(o,arguments),A.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let x=this._getDefinition(O);if(x!==void 0)return Promise.resolve(x.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(I=>w.resolve=I),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,x,w){let I=this._awaitingUpgrade.get(x);I||this._awaitingUpgrade.set(x,I=new Set),w?I.add(O):I.delete(O)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(e,[],w.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),a.set(x,w),x},window.HTMLElement.prototype=e.prototype;let f=O=>O===document||O instanceof ShadowRoot,h=O=>{let x=O.getRootNode();if(!f(x)){let w=A[A.length-1];if(w instanceof CustomElementRegistry)return w;x=w.getRootNode(),f(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},p=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let I=h(w)||window.customElements,D=I._getDefinition(O);return D?g(w,D):i.set(w,I),w}connectedCallback(){let w=a.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=a.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=a.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=a.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=a.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=a.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},m=(O,x,w)=>{if(x.size===0||w===void 0)return;let I=O.prototype.setAttribute;I&&(O.prototype.setAttribute=function(U,k){let y=U.toLowerCase();if(x.has(y)){let v=this.getAttribute(y);I.call(this,y,k),w.call(this,y,v,k)}else I.call(this,y,k)});let D=O.prototype.removeAttribute;D&&(O.prototype.removeAttribute=function(U){let k=U.toLowerCase();if(x.has(k)){let y=this.getAttribute(k);D.call(this,k),w.call(this,k,y,null)}else D.call(this,k)});let H=O.prototype.toggleAttribute;H&&(O.prototype.toggleAttribute=function(U,k){let y=U.toLowerCase();if(x.has(y)){let v=this.getAttribute(y);H.call(this,y,k);let T=this.getAttribute(y);w.call(this,y,v,T)}else H.call(this,y,k)})},b=O=>{let x=Object.getPrototypeOf(O);if(x!==window.HTMLElement)return x===e?Object.setPrototypeOf(O,window.HTMLElement):b(x)},g=(O,x,w=!1)=>{Object.setPrototypeOf(O,x.elementClass.prototype),a.set(O,x),d=O;try{new x.elementClass}catch{b(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(I=>{O.hasAttribute(I)&&x.attributeChangedCallback.call(O,I,null,O.getAttribute(I))}),w&&x.connectedCallback&&O.isConnected&&x.connectedCallback.call(O)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let x=S.apply(this,arguments);return O.customElements&&(x.customElements=O.customElements),x};let A=[document],C=(O,x,w=void 0)=>{let I=(w?Object.getPrototypeOf(w):O.prototype)[x];O.prototype[x]=function(){A.push(this);let D=I.apply(w||this,arguments);return D!==void 0&&l.set(D,this),A.pop(),D}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let N=(O,x)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,x);Object.defineProperty(O.prototype,x,{...w,set(I){A.push(this),w.set.call(this,I),A.pop()}})};if(N(Element,"innerHTML"),N(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,x=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...U){let k=x.call(this,...U);return O.set(k,this),k},w.forEach(U=>{let k=window.ElementInternals.prototype,y=k[U];k[U]=function(...v){let T=O.get(this);if(a.get(T).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class D{constructor(k){let y=new Map;k.forEach((v,T)=>{let G=v.getAttribute("name"),K=y.get(G)||[];this[+T]=v,K.push(v),y.set(G,K)}),this.length=k.length,y.forEach((v,T)=>{v&&(v.length===1?this[T]=v[0]:this[T]=new I(v))})}namedItem(k){return this[k]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=H.get.call(this,[]),k=[];for(let y of U){let v=a.get(y);(!v||v.formAssociated===!0)&&k.push(y)}return new D(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,o,a)=>{if(o!==null)try{t.bind(window.customElements)(r,o,a)}catch(i){console.info(r,o,a,i)}}}var yn={};Y(yn,{CSSResult:()=>Ut,LitElement:()=>je,ReactiveElement:()=>Me,_$LE:()=>Zd,_$LH:()=>fn,adoptStyles:()=>gr,css:()=>ee,defaultConverter:()=>Wt,getCompatibleStyle:()=>oo,html:()=>Ht,isServer:()=>jg,mathml:()=>jd,noChange:()=>ce,notEqual:()=>xr,nothing:()=>J,render:()=>pn,supportsAdoptingStyleSheets:()=>yr,svg:()=>Yd,unsafeCSS:()=>mr});var ro=globalThis,yr=ro.ShadowRoot&&(ro.ShadyCSS===void 0||ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nn=Symbol(),Mi=new WeakMap,Ut=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==nn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(yr&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=Mi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Mi.set(r,t))}return t}toString(){return this.cssText}},mr=e=>new Ut(typeof e=="string"?e:e+"",void 0,nn),ee=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[i+1],e[0]);return new Ut(r,e,nn)},gr=(e,t)=>{if(yr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),a=ro.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,e.appendChild(o)}},oo=yr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return mr(r)})(e):e;var{is:Md,defineProperty:Fd,getOwnPropertyDescriptor:Ud,getOwnPropertyNames:Wd,getOwnPropertySymbols:Bd,getPrototypeOf:Hd}=Object,no=globalThis,Fi=no.trustedTypes,$d=Fi?Fi.emptyScript:"",zd=no.reactiveElementPolyfillSupport,br=(e,t)=>e,Wt={toAttribute(e,t){switch(t){case Boolean:e=e?$d:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},xr=(e,t)=>!Md(e,t),Ui={attribute:!0,type:String,converter:Wt,reflect:!1,useDefault:!1,hasChanged:xr};Symbol.metadata??=Symbol("metadata"),no.litPropertyMetadata??=new WeakMap;var Me=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ui){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(t,o,r);a!==void 0&&Fd(this.prototype,t,a)}}static getPropertyDescriptor(t,r,o){let{get:a,set:i}=Ud(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(t,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ui}static _$Ei(){if(this.hasOwnProperty(br("elementProperties")))return;let t=Hd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(br("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(br("properties"))){let r=this.properties,o=[...Wd(r),...Bd(r)];for(let a of o)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let a of o)r.unshift(oo(a))}else t!==void 0&&r.push(oo(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:Wt).toAttribute(r,o.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let o=this.constructor,a=o._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Wt;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){let a=this.constructor,i=this[t];if(o??=a.getPropertyOptions(t),!((o.hasChanged??xr)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};Me.elementStyles=[],Me.shadowRootOptions={mode:"open"},Me[br("elementProperties")]=new Map,Me[br("finalized")]=new Map,zd?.({ReactiveElement:Me}),(no.reactiveElementVersions??=[]).push("2.1.0");var sn=globalThis,ao=sn.trustedTypes,Wi=ao?ao.createPolicy("lit-html",{createHTML:e=>e}):void 0,cn="$lit$",Ye=`lit$${Math.random().toFixed(9).slice(2)}$`,ln="?"+Ye,Gd=`<${ln}>`,Ot=document,Sr=()=>Ot.createComment(""),Or=e=>e===null||typeof e!="object"&&typeof e!="function",dn=Array.isArray,Yi=e=>dn(e)||typeof e?.[Symbol.iterator]=="function",an=`[
3
3
  \f\r]`,vr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bi=/-->/g,Hi=/>/g,vt=RegExp(`>|${an}(?:([^\\s"'>=/]+)(${an}*=${an}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),$i=/'/g,zi=/"/g,ji=/^(?:script|style|textarea|title)$/i,un=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ht=un(1),Gd=un(2),Yd=un(3),ce=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Gi=new WeakMap,St=Ot.createTreeWalker(Ot,129);function Vi(e,t){if(!dn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wi!==void 0?Wi.createHTML(t):t}var Ki=(e,t)=>{let r=e.length-1,o=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=vr;for(let l=0;l<r;l++){let d=e[l],f,h,p=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===vr?h[1]==="!--"?s=Bi:h[1]!==void 0?s=Hi:h[2]!==void 0?(ji.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=vt):h[3]!==void 0&&(s=vt):s===vt?h[0]===">"?(s=a??vr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?vt:h[3]==='"'?zi:$i):s===zi||s===$i?s=vt:s===Bi||s===Hi?s=vr:(s=vt,a=void 0);let b=s===vt&&e[l+1].startsWith("/>")?" ":"";i+=s===vr?d+zd:p>=0?(o.push(f),d.slice(0,p)+cn+d.slice(p)+Ye+b):d+Ye+(p===-2?l:b)}return[Vi(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},wr=class e{constructor({strings:t,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=Ki(t,r);if(this.el=e.createElement(f,o),St.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=St.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(cn)){let m=h[s++],b=a.getAttribute(p).split(Ye),g=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?so:g[1]==="?"?co:g[1]==="@"?lo:Et}),a.removeAttribute(p)}else p.startsWith(Ye)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(ji.test(a.tagName)){let p=a.textContent.split(Ye),m=p.length-1;if(m>0){a.textContent=ao?ao.emptyScript:"";for(let b=0;b<m;b++)a.append(p[b],Sr()),St.nextNode(),d.push({type:2,index:++i});a.append(p[m],Sr())}}}else if(a.nodeType===8)if(a.data===ln)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(Ye,p+1))!==-1;)d.push({type:7,index:i}),p+=Ye.length-1}i++}}static createElement(t,r){let o=Ot.createElement("template");return o.innerHTML=t,o}};function wt(e,t,r=e,o){if(t===ce)return t;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=Or(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(t=wt(e,a._$AS(e,t.values),a,o)),t}var io=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,a=(t?.creationScope??Ot).importNode(r,!0);St.currentNode=a;let i=St.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Bt(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new uo(i,this,t)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(i=St.nextNode(),s++)}return St.currentNode=Ot,a}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},Bt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,a){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=wt(this,t,r),Or(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==ce&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Yi(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==J&&Or(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ot.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=wr.createElement(Vi(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new io(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=Gi.get(t.strings);return r===void 0&&Gi.set(t.strings,r=new wr(t)),r}k(t){dn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of t)a===r.length?r.push(o=new e(this.O(Sr()),this.O(Sr()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Et=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,a,i){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=J}_$AI(t,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)t=wt(this,t,r,0),s=!Or(t)||t!==this._$AH&&t!==ce,s&&(this._$AH=t);else{let l=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=wt(this,l[o+d],r,d),f===ce&&(f=this._$AH[d]),s||=!Or(f)||f!==this._$AH[d],f===J?t=J:t!==J&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},so=class extends Et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}},co=class extends Et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},lo=class extends Et{constructor(t,r,o,a,i){super(t,r,o,a,i),this.type=5}_$AI(t,r=this){if((t=wt(this,t,r,0)??J)===ce)return;let o=this._$AH,a=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==J&&(o===J||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},uo=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){wt(this,t)}},fn={M:cn,P:Ye,A:ln,C:1,L:Ki,R:io,D:Yi,V:wt,I:Bt,H:Et,N:co,U:lo,B:so,F:uo},jd=sn.litHtmlPolyfillSupport;jd?.(wr,Bt),(sn.litHtmlVersions??=[]).push("3.3.0");var pn=(e,t,r)=>{let o=r?.renderBefore??t,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Bt(t.insertBefore(Sr(),i),i,void 0,r??{})}return a._$AI(e),a};var hn=globalThis,je=class extends Me{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=pn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ce}};je._$litElement$=!0,je.finalized=!0,hn.litElementHydrateSupport?.({LitElement:je});var Vd=hn.litElementPolyfillSupport;Vd?.({LitElement:je});var Kd={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(hn.litElementVersions??=[]).push("4.2.0");var Yg=!1;var gn={};Y(gn,{customElement:()=>Zd,eventOptions:()=>Jd,property:()=>F,query:()=>mn,queryAll:()=>Qd,queryAssignedElements:()=>tu,queryAssignedNodes:()=>ru,queryAsync:()=>eu,standardProperty:()=>Zi,state:()=>$t});var Zd=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var qd={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:xr},Zi=(e=qd,t,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),o==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(o==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+o)};function F(e){return(t,r)=>typeof r=="object"?Zi(e,t,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function $t(e){return F({...e,state:!0,attribute:!1})}function Jd(e){return(t,r)=>{let o=typeof t=="function"?t:t[r];Object.assign(o,e)}}var Ae=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function mn(e,t){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ae(r,o,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ae(r,o,{get(){return i(this)}})}}var Xd;function Qd(e){return(t,r)=>Ae(t,r,{get(){return(this.renderRoot??(Xd??=document.createDocumentFragment())).querySelectorAll(e)}})}function eu(e){return(t,r)=>Ae(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function tu(e){return(t,r)=>{let{slot:o,selector:a}=e??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Ae(t,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(e)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function ru(e){return(t,r)=>{let{slot:o}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ae(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var bn={};Y(bn,{repeat:()=>ts});var Fe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Re=e=>(...t)=>({_$litDirective$:e,values:t}),Se=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:ou}=fn;var Ji=e=>e.strings===void 0,qi=()=>document.createComment(""),zt=(e,t,r)=>{let o=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=o.insertBefore(qi(),a),s=o.insertBefore(qi(),a);r=new ou(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||l){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;o.insertBefore(d,a),d=f}}}return r},it=(e,t,r=e)=>(e._$AI(t,r),e),nu={},Xi=(e,t=nu)=>e._$AH=t,Qi=e=>e._$AH,fo=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let o=t.nextSibling;t.remove(),t=o}};var es=(e,t,r)=>{let o=new Map;for(let a=t;a<=r;a++)o.set(e[a],a);return o},ts=Re(class extends Se{constructor(e){if(super(e),e.type!==Fe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let o;r===void 0?r=t:t!==void 0&&(o=t);let a=[],i=[],s=0;for(let l of e)a[s]=o?o(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,o]){let a=Qi(e),{values:i,keys:s}=this.dt(t,r,o);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,m=a.length-1,b=0,g=i.length-1;for(;p<=m&&b<=g;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(l[p]===s[b])d[b]=it(a[p],i[b]),p++,b++;else if(l[m]===s[g])d[g]=it(a[m],i[g]),m--,g--;else if(l[p]===s[g])d[g]=it(a[p],i[g]),zt(e,d[g+1],a[p]),p++,g--;else if(l[m]===s[b])d[b]=it(a[m],i[b]),zt(e,a[p],a[m]),m--,b++;else if(f===void 0&&(f=es(s,b,g),h=es(l,p,m)),f.has(l[p]))if(f.has(l[m])){let v=h.get(s[b]),_=v!==void 0?a[v]:null;if(_===null){let C=zt(e,a[p]);it(C,i[b]),d[b]=C}else d[b]=it(_,i[b]),zt(e,a[p],_),a[v]=null;b++}else fo(a[m]),m--;else fo(a[p]),p++;for(;b<=g;){let v=zt(e,d[g+1]);it(v,i[b]),d[b++]=v}for(;p<=m;){let v=a[p++];v!==null&&fo(v)}return this.ut=s,Xi(e,d),ce}});var xn={};Y(xn,{classMap:()=>au});var au=Re(class extends Se{constructor(e){if(super(e),e.type!==Fe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let a=!!t[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return ce}});var vn={};Y(vn,{styleMap:()=>su});var rs="important",iu=" !"+rs,su=Re(class extends Se{constructor(e){if(super(e),e.type!==Fe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let a=t[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(iu);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?rs:""):r[o]=a}}return ce}});var Sn={};Y(Sn,{UnsafeHTMLDirective:()=>Gt,unsafeHTML:()=>cu});var Gt=class extends Se{constructor(t){if(super(t),this.it=J,t.type!==Fe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||t==null)return this._t=void 0,this.it=t;if(t===ce)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Gt.directiveName="unsafeHTML",Gt.resultType=1;var cu=Re(Gt);var Nn={};Y(Nn,{CacheRegistry:()=>Rn,ClearCacheEvent:()=>Cr});var wn={};Y(wn,{CancelablePromise:()=>po,CanceledPromiseError:()=>Er,cancelable:()=>On});var Er=class extends Error{constructor(t,r,o){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=o}},po=class extends Promise{constructor(t){super((r,o)=>t(a=>{this.isCanceled?o(new Er("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Er("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},On=e=>new po((t,r)=>e.then(t).catch(r));var An={};Y(An,{FtNotificationEvent:()=>En,PostResizeEvent:()=>_n,PreResizeEvent:()=>Cn,WithEventBus:()=>Ct,withEventBus:()=>os});var En=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Cn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},_n=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function os(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}var Ct=class extends os(Object){};var Cr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Rn=class extends Ct{constructor(){super(...arguments),this.content={}}register(t,r,o=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:o,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let o=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Cr(o)),o}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new Cr([t])),t}forceClear(t){var r;let o=this.content[t];o&&(this.clearClearTimeout(t),(r=o.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(t){var r,o,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,o=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:o,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,o){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=On(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,o;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[t])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var In={};Y(In,{ClusteringHelper:()=>kn,formatHierarchicalValues:()=>Tn});function Tn(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var kn=class e{constructor(t,r,o,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(t){var r,o,a,i,s;let l=((i=(o=(r=t.result)===null||r===void 0?void 0:r.map)!==null&&o!==void 0?o:(a=t.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(l,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(l.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,o){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(l=>{i.push(Tn(l)),s.push(Tn(l,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(l=>o?o(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,o="No value",a,i){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:o}).filter(p=>p.value!=d?.value).filter((p,m,b)=>b.findIndex(g=>g.value===p.value)===m).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,m)=>this.compareMetadata(p.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,o,a){if(t==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let o=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,i);if(f>l&&(l=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Pn={};Y(Pn,{Debouncer:()=>_r});var _r=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let o=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mn={};Y(Mn,{customElement:()=>Ve,isNumber:()=>ds,jsonProperty:()=>At,numberProperty:()=>ls,optionalNumberProperty:()=>mu});var Ln={};Y(Ln,{dateReviver:()=>du,deepCopy:()=>hu,deepEqual:()=>Ar,delay:()=>ns,eventPathContainsMatchingElement:()=>fu,flatDeep:()=>is,getComposedPathTo:()=>Dn,hasChanged:()=>_t,last:()=>pu,minmax:()=>Rr,parseDate:()=>ss,randomId:()=>yu,unslotText:()=>cs,waitFor:()=>as,waitUntil:()=>lu});var ns=e=>new Promise(t=>setTimeout(t,e));async function lu(e,t=10,r=2e4){await as(async()=>await e()||void 0,t,r)}async function as(e,t=10,r=2e4){let o=await e(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await ns(t),o=await e(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function is(e,t){return e.flatMap(r=>[r,...is(t(r),t)])}function du(...e){return(t,r)=>e.includes(t)?ss(r):r}function ss(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,o,a)=>r+o+":"+a),new Date(e)}function uu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,o,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!Ar(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!Ar(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!Ar(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Ar(e,t){try{return uu(e,t)}catch{return!1}}function _t(e,t){return!Ar(e,t)}function fu(e,t,r=window.document.body){if(t.length>0){let o=e.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function Rr(e,t,r){return Math.min(Math.max(e,t),r)}function pu(e){return e[e.length-1]}function cs(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>cs(t)).join(""):e?.textContent||""}function Dn(e){let t=[],r=o=>{o.stopPropagation(),t=o.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function hu(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function yu(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}var Ve=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function At(e,t){let r=()=>JSON.parse(JSON.stringify(e));return F({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:_t,...t??{}})}function mu(e){return ls(e)}function ls(e){return F({type:Object,converter:{fromAttribute:t=>{if(console.log("from attribute",t,e),t!=null)return ds(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function ds(e){return!isNaN(parseFloat(e))}var Bn={};Y(Bn,{designSystemVariables:()=>Xu});var Wn={};Y(Wn,{DesignSystemFamily:()=>Nr,DesignSystemSize:()=>Tr,FtCssVariableFactory:()=>n,badge:()=>Au,banner:()=>_u,button:()=>xu,chart:()=>zu,checkbox:()=>vu,chip:()=>Eu,chipChoice:()=>wu,collapsible:()=>Hu,comboboxMultiSelect:()=>Wu,comboboxSingleSelect:()=>Uu,dateRangePicker:()=>Ju,drawer:()=>Pu,floatingMenu:()=>Fu,foundation:()=>c,link:()=>Cu,modal:()=>Iu,notice:()=>Yu,notification:()=>Vu,pageDesigner:()=>Gu,pageFooter:()=>Tu,pageHeader:()=>Nu,pageLayout:()=>ku,popover:()=>Bu,radio:()=>Su,reorderableList:()=>Zu,resolveFamilyClass:()=>Fn,resolveSizeClass:()=>Un,semantic:()=>u,setVariable:()=>Yt,switch_:()=>$u,table:()=>Ou,tabs:()=>Du,textArea:()=>Mu,textInput:()=>Lu,titleBreadcrumb:()=>Ru,toggle:()=>ju,tooltip:()=>Ku,treeList:()=>qu,typographies:()=>gu,typographyBody1Medium:()=>ms,typographyBody1Regular:()=>ys,typographyBody1Semibold:()=>gs,typographyBody2Medium:()=>xs,typographyBody2MediumUnderline:()=>vs,typographyBody2Regular:()=>bs,typographyBody2Semibold:()=>Ss,typographyCaption1Bold:()=>Ts,typographyCaption1Medium:()=>Rs,typographyCaption1Semibold:()=>Ns,typographyCaption2Bold:()=>Ps,typographyCaption2Medium:()=>ks,typographyCaption2Semibold:()=>Is,typographyCaption3Bold:()=>Ms,typographyCaption3Medium:()=>Ds,typographyCaption3Semibold:()=>Ls,typographyDisplay:()=>us,typographyLabel1Bold:()=>Es,typographyLabel1Medium:()=>Os,typographyLabel1Semibold:()=>ws,typographyLabel2Bold:()=>As,typographyLabel2Medium:()=>Cs,typographyLabel2Semibold:()=>_s,typographyTitle1:()=>fs,typographyTitle2:()=>ps,typographyTitle3:()=>hs,typographyVariants:()=>bu});var st=e=>typeof e=="string"?mr(e):e,n=class{static create(t,r,o,a){let i=l=>st(l??a),s=ee`var(${st(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Yt(s,l??i(a)),s.get=l=>ee`var(${st(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,o,a){let i=l=>o.get(l??a),s=ee`var(${st(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Yt(s,l??i(a)),s.get=l=>ee`var(${st(t)}, ${i(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(t,r){let o=i=>t.defaultCssValue(i),a=ee`var(${st(t.name)}, ${o(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>t.set(i),a.get=i=>ee`var(${st(t.name)}, ${o(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Yt(e,t){return st(`${e.name}: ${t}`)}var c={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(0.25rem*2)"),spacing3:n.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:n.create("--ft-opacity-12","","NUMBER","0.12"),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"),opacity48:n.create("--ft-opacity-48","","NUMBER","0.48"),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)")},us={fontFamily:n.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:n.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:n.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-display-text-case","","UNKNOWN","none")},fs={fontFamily:n.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:n.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:n.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},ps={fontFamily:n.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:n.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:n.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},hs={fontFamily:n.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:n.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:n.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},ys={fontFamily:n.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},ms={fontFamily:n.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},gs={fontFamily:n.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},bs={fontFamily:n.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},xs={fontFamily:n.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},vs={fontFamily:n.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:n.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:n.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ss={fontFamily:n.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},Os={fontFamily:n.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},ws={fontFamily:n.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Es={fontFamily:n.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Cs={fontFamily:n.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},_s={fontFamily:n.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},As={fontFamily:n.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Rs={fontFamily:n.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ns={fontFamily:n.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ts={fontFamily:n.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},ks={fontFamily:n.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Is={fontFamily:n.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ps={fontFamily:n.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Ds={fontFamily:n.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Ls={fontFamily:n.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Ms={fontFamily:n.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},gu={display:us,"title-1":fs,"title-2":ps,"title-3":hs,"body-1-regular":ys,"body-1-medium":ms,"body-1-semibold":gs,"body-2-regular":bs,"body-2-medium":xs,"body-2-medium-underline":vs,"body-2-semibold":Ss,"label-1-medium":Os,"label-1-semibold":ws,"label-1-bold":Es,"label-2-medium":Cs,"label-2-semibold":_s,"label-2-bold":As,"caption-1-medium":Rs,"caption-1-semibold":Ns,"caption-1-bold":Ts,"caption-2-medium":ks,"caption-2-semibold":Is,"caption-2-bold":Ps,"caption-3-medium":Ds,"caption-3-semibold":Ls,"caption-3-bold":Ms},bu=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:n.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:n.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:n.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:n.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:n.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:n.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:n.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:n.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:n.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:n.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:n.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:n.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:n.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:n.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:n.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:n.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:n.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:n.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:n.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:n.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:n.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:n.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:n.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:n.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:n.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:n.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:n.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:n.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:n.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:n.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:n.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:n.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:n.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var xu={largeHeight:n.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:n.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:n.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:n.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:n.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:n.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:n.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:n.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:n.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:n.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:n.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:n.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:n.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:n.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:n.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.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","",u.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:n.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:n.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:n.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:n.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ft-button-secondary-info-disabled-component-opacity","",c.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","",u.borderInfoPrimary),secondaryInfoColor:n.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ft-button-secondary-success-disabled-component-opacity","",c.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","",u.borderSuccessPrimary),secondarySuccessColor:n.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.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","",u.borderWarningPrimary),secondaryWarningColor:n.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ft-button-secondary-error-disabled-component-opacity","",c.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","",u.contentErrorPrimary),secondaryErrorColor:n.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var vu={iconSize:n.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:n.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:n.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:n.create("--ft-checkbox-border-radius","","SIZE","1px"),color:n.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:n.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:n.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:n.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:n.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:n.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:n.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:n.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:n.extend("--ft-checkbox-left-padding","",c.spacing2)};var Su={circleSize:n.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ft-radio-border-width","","SIZE","2px"),color:n.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:n.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:n.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:n.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:n.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:n.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:n.extend("--ft-radio-vertical-gap","",c.spacing3),horizontalGap:n.extend("--ft-radio-horizontal-gap","",c.spacing3)};var Ou={headerRowBorderWidth:n.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:n.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:n.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:n.extend("--ft-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:n.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:n.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:n.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:n.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:n.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:n.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:n.extend("--ft-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:n.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:n.extend("--ft-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:n.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:n.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:n.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:n.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:n.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:n.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:n.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:n.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)};var wu={neutralOffHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:n.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:n.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:n.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:n.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:n.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:n.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:n.extend("--ft-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:n.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:n.extend("--ft-chip-choice-medium-gap","",c.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","",c.iconSize2)};var Eu={largeMinHeight:n.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:n.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:n.extend("--ft-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:n.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:n.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:n.extend("--ft-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:n.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:n.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:n.extend("--ft-chip-small-gap","",c.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","",c.iconSize1),neutralBackgroundColor:n.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:n.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:n.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:n.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Cu={brandHoverOpacity:n.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:n.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:n.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:n.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:n.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:n.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:n.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:n.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:n.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:n.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:n.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:n.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:n.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:n.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:n.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var _u={iconSize:n.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:n.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:n.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:n.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:n.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:n.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:n.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:n.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:n.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Au={horizontalPadding:n.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:n.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:n.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:n.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Ru={horizontalGap:n.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:n.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:n.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:n.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Nu={parentHorizontalPadding:n.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:n.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:n.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:n.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:n.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:n.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:n.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:n.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:n.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:n.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:n.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:n.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:n.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:n.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:n.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:n.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:n.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:n.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:n.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:n.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:n.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:n.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:n.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:n.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:n.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:n.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Tu={horizontalPadding:n.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:n.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:n.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:n.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:n.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:n.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var ku={contentHorizontalPadding:n.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:n.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Iu={smallContainerTargetWidth:n.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:n.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:n.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:n.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:n.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:n.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:n.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:n.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:n.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:n.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:n.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:n.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:n.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:n.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:n.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:n.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Pu={overlayOpacity:n.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:n.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:n.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:n.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:n.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:n.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:n.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:n.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:n.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:n.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:n.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Du={offBorderBottomWidth:n.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:n.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:n.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:n.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:n.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:n.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:n.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:n.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:n.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:n.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:n.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:n.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:n.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:n.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:n.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:n.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:n.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Lu={largeFieldHorizontalPadding:n.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:n.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ft-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),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","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Mu={backgroundColor:n.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:n.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:n.extend("--ft-text-area-focus-focus-ring-color","",u.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","",c.opacity40),fieldHorizontalLeftPadding:n.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:n.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ft-text-area-border-radius","",c.borderRadiusS)};var Fu={height:n.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:n.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:n.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:n.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:n.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:n.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:n.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:n.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Uu={largeFieldHorizontalPadding:n.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:n.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:n.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:n.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:n.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:n.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:n.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-single-select-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:n.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:n.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Wu={backgroundColor:n.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:n.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:n.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:n.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:n.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.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","",c.opacity40),helperHorizontalPadding:n.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:n.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:n.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:n.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:n.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:n.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:n.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:n.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)};var Bu={backgroundColor:n.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:n.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:n.extend("--ft-popover-body-color","",u.contentGlobalSecondary),gap:n.extend("--ft-popover-gap","",c.spacing2),borderRadius:n.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:n.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:n.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:n.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:n.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)};var Hu={hoverStateLayerOpacity:n.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:n.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:n.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:n.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:n.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:n.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ft-collapsible-icon-size","",c.iconSize3)};var $u={groupHorizontalPadding:n.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:n.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:n.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:n.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:n.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:n.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:n.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:n.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:n.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:n.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:n.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:n.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:n.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:n.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:n.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:n.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var zu={color1Light:n.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:n.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:n.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:n.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:n.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:n.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:n.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:n.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:n.extend("--ft-chart-5-light","",c.colorRed40),color5Base:n.extend("--ft-chart-5-base","",c.colorRed60),color6Light:n.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:n.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:n.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:n.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:n.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:n.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:n.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:n.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:n.extend("--ft-chart-10-light","",c.colorGray50),color10Base:n.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:n.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:n.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:n.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:n.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:n.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:n.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:n.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:n.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:n.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:n.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:n.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:n.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:n.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Gu={color1IconColor:n.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:n.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:n.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:n.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:n.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:n.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:n.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:n.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:n.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:n.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:n.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:n.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:n.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:n.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:n.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:n.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Yu={borderWidth:n.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:n.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:n.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:n.extend("--ft-notice-gap","",c.spacing2),iconSize:n.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:n.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:n.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:n.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:n.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:n.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:n.create("--ft-notice-dense-border-width","","SIZE","0")};var ju={offHoverStateLayerOpacity:n.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:n.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:n.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:n.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:n.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:n.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:n.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:n.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:n.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ft-toggle-gap","",c.spacing3)};var Vu={iconSize:n.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:n.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:n.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:n.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:n.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:n.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:n.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:n.extend("--ft-notification-trailing-gap","",c.spacing8)};var Ku={horizontalPadding:n.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:n.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:n.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:n.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:n.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:n.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ft-tooltip-gap","",c.spacing05)};var Zu={verticalPadding:n.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:n.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:n.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:n.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:n.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:n.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:n.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:n.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:n.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:n.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:n.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:n.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:n.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:n.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:n.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:n.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:n.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:n.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:n.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:n.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:n.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var qu={nodeHeight:n.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:n.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:n.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:n.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:n.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:n.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:n.extend("--ft-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ft-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ft-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ft-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ft-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ft-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ft-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ft-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ft-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ft-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:n.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:n.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ft-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:n.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:n.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:n.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:n.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:n.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:n.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:n.extend("--ft-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ft-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:n.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ft-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ft-tree-list-list-container-border-color","",u.borderGlobalSubtle),loadMorePaddingLeft:n.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:n.extend("--ft-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:n.extend("--ft-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:n.extend("--ft-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:n.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:n.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:n.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:n.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:n.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:n.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:n.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary)};var Ju={menuHorizontalPadding:n.extend("--ft-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:n.extend("--ft-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:n.extend("--ft-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:n.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Nr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Nr||(Nr={}));var Tr;(function(e){e.large="large",e.medium="medium",e.small="small"})(Tr||(Tr={}));function Fn(e){return`ftds--family-${e}`}function Un(e){return`ftds--size-${e}`}var Xu={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 Hn={};Y(Hn,{DynamicImporter:()=>ho,dynamicImporter:()=>Qu});var ho=class{async import(t){return import(t)}},Qu=new ho;var ta={};Y(ta,{computeOffsetAutoPosition:()=>Sf,computeOffsetPosition:()=>vf});var Us=["top","right","bottom","left"],Fs=["start","end"],zn=Us.reduce((e,t)=>e.concat(t,t+"-"+Fs[0],t+"-"+Fs[1]),[]),yo=Math.min,ct=Math.max;var ef={left:"right",right:"left",bottom:"top",top:"bottom"},tf={start:"end",end:"start"};function Gn(e,t,r){return ct(e,yo(t,r))}function jt(e,t){return typeof e=="function"?e(t):e}function lt(e){return e.split("-")[0]}function Ue(e){return e.split("-")[1]}function Yn(e){return e==="x"?"y":"x"}function jn(e){return e==="y"?"height":"width"}function Vt(e){return["top","bottom"].includes(lt(e))?"y":"x"}function Vn(e){return Yn(Vt(e))}function Ws(e,t,r){r===void 0&&(r=!1);let o=Ue(e),a=Vn(e),i=jn(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=$n(s)),[s,$n(s)]}function Bs(e){return e.replace(/start|end/g,t=>tf[t])}function $n(e){return e.replace(/left|right|bottom|top/g,t=>ef[t])}function rf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Hs(e){return typeof e!="number"?rf(e):{top:e,right:e,bottom:e,left:e}}function Rt(e){let{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function $s(e,t,r){let{reference:o,floating:a}=e,i=Vt(t),s=Vn(t),l=jn(s),d=lt(t),f=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,m=o[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:o.y-a.height};break;case"bottom":b={x:h,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:p};break;case"left":b={x:o.x-a.width,y:p};break;default:b={x:o.x,y:o.y}}switch(Ue(t)){case"start":b[s]-=m*(r&&f?-1:1);break;case"end":b[s]+=m*(r&&f?-1:1);break}return b}var zs=async(e,t,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=$s(f,o,d),m=o,b={},g=0;for(let v=0;v<l.length;v++){let{name:_,fn:C}=l[v],{x:N,y:O,data:w,reset:S}=await C({x:h,y:p,initialPlacement:o,placement:m,strategy:a,middlewareData:b,rects:f,platform:s,elements:{reference:e,floating:t}});h=N??h,p=O??p,b={...b,[_]:{...b[_],...w}},S&&g<=50&&(g++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):S.rects),{x:h,y:p}=$s(f,m,d)),v=-1)}return{x:h,y:p,placement:m,strategy:a,middlewareData:b}};async function mo(e,t){var r;t===void 0&&(t={});let{x:o,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:b=0}=jt(t,e),g=Hs(b),_=l[m?p==="floating"?"reference":"floating":p],C=Rt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),N=p==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),w=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},S=Rt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:O,strategy:d}):N);return{top:(C.top-S.top+g.top)/w.y,bottom:(S.bottom-C.bottom+g.bottom)/w.y,left:(C.left-S.left+g.left)/w.x,right:(S.right-C.right+g.right)/w.x}}function of(e,t,r){return(e?[...r.filter(a=>Ue(a)===e),...r.filter(a=>Ue(a)!==e)]:r.filter(a=>lt(a)===a)).filter(a=>e?Ue(a)===e||(t?Bs(a)!==a:!1):!0)}var go=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:m=zn,autoAlignment:b=!0,...g}=jt(e,t),v=p!==void 0||m===zn?of(p||null,b,m):m,_=await mo(t,g),C=((r=s.autoPlacement)==null?void 0:r.index)||0,N=v[C];if(N==null)return{};let O=Ws(N,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==N)return{reset:{placement:v[0]}};let w=[_[lt(N)],_[O[0]],_[O[1]]],S=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:N,overflows:w}],I=v[C+1];if(I)return{data:{index:C+1,overflows:S},reset:{placement:I}};let D=S.map(T=>{let y=Ue(T.placement);return[T.placement,y&&h?T.overflows.slice(0,2).reduce((x,k)=>x+k,0):T.overflows[0],T.overflows]}).sort((T,y)=>T[1]-y[1]),H=((a=D.filter(T=>T[2].slice(0,Ue(T[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||D[0][0];return H!==l?{data:{index:C+1,overflows:S},reset:{placement:H}}:{}}}};async function nf(e,t){let{placement:r,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=lt(r),l=Ue(r),d=Vt(r)==="y",f=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,p=jt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(b=l==="end"?g*-1:g),d?{x:b*h,y:m*f}:{x:m*f,y:b*h}}var Kn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await nf(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Zn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:C,y:N}=_;return{x:C,y:N}}},...d}=jt(e,t),f={x:r,y:o},h=await mo(t,d),p=Vt(lt(a)),m=Yn(p),b=f[m],g=f[p];if(i){let _=m==="y"?"top":"left",C=m==="y"?"bottom":"right",N=b+h[_],O=b-h[C];b=Gn(N,b,O)}if(s){let _=p==="y"?"top":"left",C=p==="y"?"bottom":"right",N=g+h[_],O=g-h[C];g=Gn(N,g,O)}let v=l.fn({...t,[m]:b,[p]:g});return{...v,data:{x:v.x-r,y:v.y-o,enabled:{[m]:i,[p]:s}}}}}};var qn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;let{placement:a,rects:i,platform:s,elements:l}=t,{apply:d=()=>{},...f}=jt(e,t),h=await mo(t,f),p=lt(a),m=Ue(a),b=Vt(a)==="y",{width:g,height:v}=i.floating,_,C;p==="top"||p==="bottom"?(_=p,C=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(C=p,_=m==="end"?"top":"bottom");let N=v-h.top-h.bottom,O=g-h.left-h.right,w=yo(v-h[_],N),S=yo(g-h[C],O),I=!t.middlewareData.shift,D=w,M=S;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(M=O),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(D=N),I&&!m){let T=ct(h.left,0),y=ct(h.right,0),x=ct(h.top,0),k=ct(h.bottom,0);b?M=g-2*(T!==0||y!==0?T+y:ct(h.left,h.right)):D=v-2*(x!==0||k!==0?x+k:ct(h.top,h.bottom))}await d({...t,availableWidth:M,availableHeight:D});let H=await s.getDimensions(l.floating);return g!==H.width||v!==H.height?{reset:{rects:!0}}:{}}}};var Jn=Math.min,Kt=Math.max,kr=Math.round;var Ke=e=>({x:e,y:e});function Ze(e){return Ys(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qe(e){var t;return(t=(Ys(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ys(e){return e instanceof Node||e instanceof ye(e).Node}function We(e){return e instanceof Element||e instanceof ye(e).Element}function Ne(e){return e instanceof HTMLElement||e instanceof ye(e).HTMLElement}function Gs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot}function Zt(e){let{overflow:t,overflowX:r,overflowY:o,display:a}=ge(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(a)}function js(e){return["table","td","th"].includes(Ze(e))}function xo(e){let t=vo(),r=ge(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function Vs(e){let t=Nt(e);for(;Ne(t)&&!Ir(t);){if(xo(t))return t;t=Nt(t)}return null}function vo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ir(e){return["html","body","#document"].includes(Ze(e))}function ge(e){return ye(e).getComputedStyle(e)}function Pr(e){return We(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nt(e){if(Ze(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Gs(e)&&e.host||qe(e);return Gs(t)?t.host:t}function Ks(e){let t=Nt(e);return Ir(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ne(t)&&Zt(t)?t:Ks(t)}function bo(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=Ks(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=ye(a);return i?t.concat(s,s.visualViewport||[],Zt(a)?a:[],s.frameElement&&r?bo(s.frameElement):[]):t.concat(a,bo(a,[],r))}function Js(e){let t=ge(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=Ne(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:o,l=kr(r)!==i||kr(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$:l}}function Xs(e){return We(e)?e:e.contextElement}function qt(e){let t=Xs(e);if(!Ne(t))return Ke(1);let r=t.getBoundingClientRect(),{width:o,height:a,$:i}=Js(t),s=(i?kr(r.width):r.width)/o,l=(i?kr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var af=Ke(0);function Qs(e){let t=ye(e);return!vo()||!t.visualViewport?af:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function sf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ye(e)?!1:t}function Dr(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=Xs(e),s=Ke(1);t&&(o?We(o)&&(s=qt(o)):s=qt(e));let l=sf(i,r,o)?Qs(i):Ke(0),d=(a.left+l.x)/s.x,f=(a.top+l.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let m=ye(i),b=o&&We(o)?ye(o):o,g=m.frameElement;for(;g&&o&&b!==m;){let v=qt(g),_=g.getBoundingClientRect(),C=ge(g),N=_.left+(g.clientLeft+parseFloat(C.paddingLeft))*v.x,O=_.top+(g.clientTop+parseFloat(C.paddingTop))*v.y;d*=v.x,f*=v.y,h*=v.x,p*=v.y,d+=N,f+=O,g=ye(g).frameElement}}return Rt({width:h,height:p,x:d,y:f})}function cf(e){let{rect:t,offsetParent:r,strategy:o}=e,a=Ne(r),i=qe(r);if(r===i)return t;let s={scrollLeft:0,scrollTop:0},l=Ke(1),d=Ke(0);if((a||!a&&o!=="fixed")&&((Ze(r)!=="body"||Zt(i))&&(s=Pr(r)),Ne(r))){let f=Dr(r);l=qt(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function lf(e){return Array.from(e.getClientRects())}function ec(e){return Dr(qe(e)).left+Pr(e).scrollLeft}function df(e){let t=qe(e),r=Pr(e),o=e.ownerDocument.body,a=Kt(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Kt(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+ec(e),l=-r.scrollTop;return ge(o).direction==="rtl"&&(s+=Kt(t.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function uf(e,t){let r=ye(e),o=qe(e),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let f=vo();(!f||f&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function ff(e,t){let r=Dr(e,!0,t==="fixed"),o=r.top+e.clientTop,a=r.left+e.clientLeft,i=Ne(e)?qt(e):Ke(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:l,x:d,y:f}}function Zs(e,t,r){let o;if(t==="viewport")o=uf(e,r);else if(t==="document")o=df(qe(e));else if(We(t))o=ff(t,r);else{let a=Qs(e);o={...t,x:t.x-a.x,y:t.y-a.y}}return Rt(o)}function tc(e,t){let r=Nt(e);return r===t||!We(r)||Ir(r)?!1:ge(r).position==="fixed"||tc(r,t)}function pf(e,t){let r=t.get(e);if(r)return r;let o=bo(e,[],!1).filter(l=>We(l)&&Ze(l)!=="body"),a=null,i=ge(e).position==="fixed",s=i?Nt(e):e;for(;We(s)&&!Ir(s);){let l=ge(s),d=xo(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Zt(s)&&!d&&tc(e,s))?o=o.filter(h=>h!==s):a=l,s=Nt(s)}return t.set(e,o),o}function hf(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e,s=[...r==="clippingAncestors"?pf(t,this._c):[].concat(r),o],l=s[0],d=s.reduce((f,h)=>{let p=Zs(t,h,a);return f.top=Kt(p.top,f.top),f.right=Jn(p.right,f.right),f.bottom=Jn(p.bottom,f.bottom),f.left=Kt(p.left,f.left),f},Zs(t,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function yf(e){return Js(e)}function mf(e,t,r){let o=Ne(t),a=qe(t),i=r==="fixed",s=Dr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=Ke(0);if(o||!o&&!i)if((Ze(t)!=="body"||Zt(a))&&(l=Pr(t)),o){let f=Dr(t,!0,i,t);d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}else a&&(d.x=ec(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function qs(e,t){return!Ne(e)||ge(e).position==="fixed"?null:t?t(e):e.offsetParent}function rc(e,t){let r=ye(e);if(!Ne(e))return r;let o=qs(e,t);for(;o&&js(o)&&ge(o).position==="static";)o=qs(o,t);return o&&(Ze(o)==="html"||Ze(o)==="body"&&ge(o).position==="static"&&!xo(o))?r:o||Vs(e)||r}var gf=async function(e){let{reference:t,floating:r,strategy:o}=e,a=this.getOffsetParent||rc,i=this.getDimensions;return{reference:mf(t,await a(r),o),floating:{x:0,y:0,...await i(r)}}};function bf(e){return ge(e).direction==="rtl"}var Jt={convertOffsetParentRelativeRectToViewportRelativeRect:cf,getDocumentElement:qe,getClippingRect:hf,getOffsetParent:rc,getElementRects:gf,getClientRects:lf,getDimensions:yf,getScale:qt,isElement:We,isRTL:bf};var Xn=(e,t,r)=>{let o=new Map,a={platform:Jt,...r},i={...a.platform,_c:o};return zs(e,t,{...a,platform:i})};function ea(e){return xf(e)}function Qn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function xf(e){for(let t=e;t;t=Qn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Qn(e);t;t=Qn(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function vf(e,t,r){return Xn(e,t,{platform:{...Jt,getOffsetParent:o=>Jt.getOffsetParent(o,ea)},middleware:[Zn({crossAxis:!0}),go({allowedPlacements:[r]})]})}async function Sf(e,t,r,o,a,i,s=4){return Xn(e,t,{placement:r,strategy:a,platform:{...Jt,getOffsetParent:l=>Jt.getOffsetParent(l,ea)},middleware:[Kn(s),go({allowedPlacements:o}),qn({apply({availableHeight:l,elements:d}){typeof i=="string"&&(i=`var(${i})`),i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${i})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var sa={};Y(sa,{FtdsBase:()=>ia,toFtdsBase:()=>lc});var aa={};Y(aa,{FtLitElement:()=>le});var ra={};Y(ra,{ScopedRegistryLitElement:()=>Lr});var Lr=class extends je{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return gr(o,t.elementStyles),o}};var na={};Y(na,{shadowQuerySelector:()=>oa,shadowQuerySelectorAll:()=>Of});function oa(e,t,...r){var o;let a=e.querySelector(t);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function Of(e,t,...r){let o=[...e.querySelectorAll(t)];for(let a of r)o=o.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return o}var Mr=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ic,oc=Symbol("constructorPrototype"),nc=Symbol("constructorName"),sc=Symbol("exportpartsDebouncer"),ac=Symbol("dynamicDependenciesLoaded"),le=class extends Lr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ic]=new _r(5),this[nc]=this.constructor.name,this[oc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[nc]&&Object.setPrototypeOf(this,this[oc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let t=this.constructor;t[ac]||(t[ac]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=oa(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,r,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[sc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,o,a,i,s,l;let d=m=>m!=null&&m.trim().length>0,f=t.filter(d).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...g).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};ic=sc;Mr([F()],le.prototype,"exportpartsPrefix",void 0);Mr([At([])],le.prototype,"exportpartsPrefixes",void 0);Mr([F()],le.prototype,"customStylesheet",void 0);Mr([F()],le.prototype,"elementToFocus",void 0);Mr([$t()],le.prototype,"useAdoptedStyleSheets",void 0);var cc=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};function lc(e){class t extends e{constructor(){super(...arguments),this.size=Tr.medium,this.family=Nr.neutral}getDesignSystemBaseClasses(){return{[Fn(this.family)]:!0,[Un(this.size)]:!0}}}return cc([F()],t.prototype,"size",void 0),cc([F()],t.prototype,"family",void 0),t}var ia=class extends lc(le){};var dc={};var la={};Y(la,{highlightHtml:()=>Cf,highlightHtmlColorCssVariable:()=>uc,highlightHtmlStyles:()=>Ef});var Tt=class e{constructor(t,r=!0,o=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(t,r){let o=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(t,r,o=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(t){let r="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(t,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,o))}catch{o()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,o){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,o):this.getIframeContents(t,r,o):this.observeIframeLoad(t,r,o)}catch{o()}}waitForIframes(t,r){let o=0;this.forEachIframe(t,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(t,r,o,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,o(h)),d()},d)})}createIterator(t,r,o){return document.createNodeIterator(t,r,o,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,o){let a=t.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),o;return r===null?o=t.nextNode():o=t.nextNode()&&t.nextNode(),{prevNode:r,node:o}}checkIframeFilter(t,r,o,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===o&&(i=d,s=l.handled)}),this.compareNodeIframe(t,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(t,r,o,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(t,r,o,a,i){let s=this.createIterator(r,t,a),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),a)}),d.push(f);d.forEach(m=>{o(m)}),this.iframes&&this.handleOpenIframes(l,t,o,a),i()}forEachNode(t,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Fr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Tt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],o=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,o);l&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(t,r){let o,a,i=!1;return t&&typeof t.start<"u"?(o=parseInt(t.start,10),a=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:a,valid:i}}checkWhitespaceRanges(t,r,o){let a,i=!0,s=o.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:o})})}matchesExclude(t){return Tt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,o){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(r),s=i.splitText(o-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(t,r,o,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(o>s.end?s.end:o)-s.start,p=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+m,t.nodes.forEach((b,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,p=>o(d[s],p),(p,m)=>{t.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(t,r,o,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,m=>r(m,l,i.value.substring(f,h),d),m=>{o(m,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));r.replaceChild(o,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),i,()=>{o===0&&this.opt.noMatch(t),this.opt.done(o)})}mark(t,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,b)=>this.opt.filter(b,f,o,p),m=>{p++,o++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(o):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(t,r){this.opt=r;let o=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=Tt.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ca(e){let t=new Fr(e);return this.mark=(r,o)=>(t.mark(r,o),this),this.markRegExp=(r,o)=>(t.markRegExp(r,o),this),this.markRanges=(r,o)=>(t.markRanges(r,o),this),this.unmark=r=>(t.unmark(r),this),this}var wf=ca,uc=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ef=ee`
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),$i=/'/g,zi=/"/g,ji=/^(?:script|style|textarea|title)$/i,un=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ht=un(1),Yd=un(2),jd=un(3),ce=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Gi=new WeakMap,St=Ot.createTreeWalker(Ot,129);function Vi(e,t){if(!dn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wi!==void 0?Wi.createHTML(t):t}var Ki=(e,t)=>{let r=e.length-1,o=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=vr;for(let l=0;l<r;l++){let d=e[l],f,h,p=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===vr?h[1]==="!--"?s=Bi:h[1]!==void 0?s=Hi:h[2]!==void 0?(ji.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=vt):h[3]!==void 0&&(s=vt):s===vt?h[0]===">"?(s=a??vr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?vt:h[3]==='"'?zi:$i):s===zi||s===$i?s=vt:s===Bi||s===Hi?s=vr:(s=vt,a=void 0);let b=s===vt&&e[l+1].startsWith("/>")?" ":"";i+=s===vr?d+Gd:p>=0?(o.push(f),d.slice(0,p)+cn+d.slice(p)+Ye+b):d+Ye+(p===-2?l:b)}return[Vi(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},wr=class e{constructor({strings:t,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=Ki(t,r);if(this.el=e.createElement(f,o),St.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=St.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(cn)){let m=h[s++],b=a.getAttribute(p).split(Ye),g=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?so:g[1]==="?"?co:g[1]==="@"?lo:Et}),a.removeAttribute(p)}else p.startsWith(Ye)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(ji.test(a.tagName)){let p=a.textContent.split(Ye),m=p.length-1;if(m>0){a.textContent=ao?ao.emptyScript:"";for(let b=0;b<m;b++)a.append(p[b],Sr()),St.nextNode(),d.push({type:2,index:++i});a.append(p[m],Sr())}}}else if(a.nodeType===8)if(a.data===ln)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(Ye,p+1))!==-1;)d.push({type:7,index:i}),p+=Ye.length-1}i++}}static createElement(t,r){let o=Ot.createElement("template");return o.innerHTML=t,o}};function wt(e,t,r=e,o){if(t===ce)return t;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=Or(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(t=wt(e,a._$AS(e,t.values),a,o)),t}var io=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,a=(t?.creationScope??Ot).importNode(r,!0);St.currentNode=a;let i=St.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Bt(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new uo(i,this,t)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(i=St.nextNode(),s++)}return St.currentNode=Ot,a}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},Bt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,a){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=wt(this,t,r),Or(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==ce&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Yi(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==J&&Or(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ot.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=wr.createElement(Vi(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new io(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=Gi.get(t.strings);return r===void 0&&Gi.set(t.strings,r=new wr(t)),r}k(t){dn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of t)a===r.length?r.push(o=new e(this.O(Sr()),this.O(Sr()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Et=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,a,i){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=J}_$AI(t,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)t=wt(this,t,r,0),s=!Or(t)||t!==this._$AH&&t!==ce,s&&(this._$AH=t);else{let l=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=wt(this,l[o+d],r,d),f===ce&&(f=this._$AH[d]),s||=!Or(f)||f!==this._$AH[d],f===J?t=J:t!==J&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},so=class extends Et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}},co=class extends Et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},lo=class extends Et{constructor(t,r,o,a,i){super(t,r,o,a,i),this.type=5}_$AI(t,r=this){if((t=wt(this,t,r,0)??J)===ce)return;let o=this._$AH,a=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==J&&(o===J||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},uo=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){wt(this,t)}},fn={M:cn,P:Ye,A:ln,C:1,L:Ki,R:io,D:Yi,V:wt,I:Bt,H:Et,N:co,U:lo,B:so,F:uo},Vd=sn.litHtmlPolyfillSupport;Vd?.(wr,Bt),(sn.litHtmlVersions??=[]).push("3.3.0");var pn=(e,t,r)=>{let o=r?.renderBefore??t,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Bt(t.insertBefore(Sr(),i),i,void 0,r??{})}return a._$AI(e),a};var hn=globalThis,je=class extends Me{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=pn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ce}};je._$litElement$=!0,je.finalized=!0,hn.litElementHydrateSupport?.({LitElement:je});var Kd=hn.litElementPolyfillSupport;Kd?.({LitElement:je});var Zd={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(hn.litElementVersions??=[]).push("4.2.0");var jg=!1;var gn={};Y(gn,{customElement:()=>qd,eventOptions:()=>Xd,property:()=>M,query:()=>mn,queryAll:()=>eu,queryAssignedElements:()=>ru,queryAssignedNodes:()=>ou,queryAsync:()=>tu,standardProperty:()=>Zi,state:()=>$t});var qd=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Jd={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:xr},Zi=(e=Jd,t,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),o==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(o==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+o)};function M(e){return(t,r)=>typeof r=="object"?Zi(e,t,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function $t(e){return M({...e,state:!0,attribute:!1})}function Xd(e){return(t,r)=>{let o=typeof t=="function"?t:t[r];Object.assign(o,e)}}var Ae=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function mn(e,t){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ae(r,o,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ae(r,o,{get(){return i(this)}})}}var Qd;function eu(e){return(t,r)=>Ae(t,r,{get(){return(this.renderRoot??(Qd??=document.createDocumentFragment())).querySelectorAll(e)}})}function tu(e){return(t,r)=>Ae(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function ru(e){return(t,r)=>{let{slot:o,selector:a}=e??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Ae(t,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(e)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function ou(e){return(t,r)=>{let{slot:o}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ae(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var bn={};Y(bn,{repeat:()=>ts});var Fe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Re=e=>(...t)=>({_$litDirective$:e,values:t}),Se=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:nu}=fn;var Ji=e=>e.strings===void 0,qi=()=>document.createComment(""),zt=(e,t,r)=>{let o=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=o.insertBefore(qi(),a),s=o.insertBefore(qi(),a);r=new nu(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||l){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;o.insertBefore(d,a),d=f}}}return r},it=(e,t,r=e)=>(e._$AI(t,r),e),au={},Xi=(e,t=au)=>e._$AH=t,Qi=e=>e._$AH,fo=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let o=t.nextSibling;t.remove(),t=o}};var es=(e,t,r)=>{let o=new Map;for(let a=t;a<=r;a++)o.set(e[a],a);return o},ts=Re(class extends Se{constructor(e){if(super(e),e.type!==Fe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let o;r===void 0?r=t:t!==void 0&&(o=t);let a=[],i=[],s=0;for(let l of e)a[s]=o?o(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,o]){let a=Qi(e),{values:i,keys:s}=this.dt(t,r,o);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,m=a.length-1,b=0,g=i.length-1;for(;p<=m&&b<=g;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(l[p]===s[b])d[b]=it(a[p],i[b]),p++,b++;else if(l[m]===s[g])d[g]=it(a[m],i[g]),m--,g--;else if(l[p]===s[g])d[g]=it(a[p],i[g]),zt(e,d[g+1],a[p]),p++,g--;else if(l[m]===s[b])d[b]=it(a[m],i[b]),zt(e,a[p],a[m]),m--,b++;else if(f===void 0&&(f=es(s,b,g),h=es(l,p,m)),f.has(l[p]))if(f.has(l[m])){let S=h.get(s[b]),A=S!==void 0?a[S]:null;if(A===null){let C=zt(e,a[p]);it(C,i[b]),d[b]=C}else d[b]=it(A,i[b]),zt(e,a[p],A),a[S]=null;b++}else fo(a[m]),m--;else fo(a[p]),p++;for(;b<=g;){let S=zt(e,d[g+1]);it(S,i[b]),d[b++]=S}for(;p<=m;){let S=a[p++];S!==null&&fo(S)}return this.ut=s,Xi(e,d),ce}});var xn={};Y(xn,{classMap:()=>iu});var iu=Re(class extends Se{constructor(e){if(super(e),e.type!==Fe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let a=!!t[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return ce}});var vn={};Y(vn,{styleMap:()=>cu});var rs="important",su=" !"+rs,cu=Re(class extends Se{constructor(e){if(super(e),e.type!==Fe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let a=t[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(su);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?rs:""):r[o]=a}}return ce}});var Sn={};Y(Sn,{UnsafeHTMLDirective:()=>Gt,unsafeHTML:()=>lu});var Gt=class extends Se{constructor(t){if(super(t),this.it=J,t.type!==Fe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||t==null)return this._t=void 0,this.it=t;if(t===ce)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Gt.directiveName="unsafeHTML",Gt.resultType=1;var lu=Re(Gt);var Nn={};Y(Nn,{CacheRegistry:()=>Rn,ClearCacheEvent:()=>Cr});var wn={};Y(wn,{CancelablePromise:()=>po,CanceledPromiseError:()=>Er,cancelable:()=>On});var Er=class extends Error{constructor(t,r,o){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=o}},po=class extends Promise{constructor(t){super((r,o)=>t(a=>{this.isCanceled?o(new Er("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Er("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},On=e=>new po((t,r)=>e.then(t).catch(r));var An={};Y(An,{FtNotificationEvent:()=>En,PostResizeEvent:()=>_n,PreResizeEvent:()=>Cn,WithEventBus:()=>Ct,withEventBus:()=>os});var En=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Cn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},_n=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function os(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}var Ct=class extends os(Object){};var Cr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Rn=class extends Ct{constructor(){super(...arguments),this.content={}}register(t,r,o=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:o,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let o=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Cr(o)),o}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new Cr([t])),t}forceClear(t){var r;let o=this.content[t];o&&(this.clearClearTimeout(t),(r=o.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(t){var r,o,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,o=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:o,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,o){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=On(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,o;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[t])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var kn={};Y(kn,{ClusteringHelper:()=>In,formatHierarchicalValues:()=>Tn});function Tn(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var In=class e{constructor(t,r,o,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(t){var r,o,a,i,s;let l=((i=(o=(r=t.result)===null||r===void 0?void 0:r.map)!==null&&o!==void 0?o:(a=t.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(l,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(l.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,o){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(l=>{i.push(Tn(l)),s.push(Tn(l,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(l=>o?o(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,o="No value",a,i){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:o}).filter(p=>p.value!=d?.value).filter((p,m,b)=>b.findIndex(g=>g.value===p.value)===m).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,m)=>this.compareMetadata(p.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,o,a){if(t==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let o=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,i);if(f>l&&(l=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Pn={};Y(Pn,{Debouncer:()=>_r});var _r=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let o=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mn={};Y(Mn,{customElement:()=>Ve,isNumber:()=>ds,jsonProperty:()=>At,numberProperty:()=>ls,optionalNumberProperty:()=>gu});var Ln={};Y(Ln,{dateReviver:()=>uu,deepCopy:()=>yu,deepEqual:()=>Ar,delay:()=>ns,eventPathContainsMatchingElement:()=>pu,flatDeep:()=>is,getComposedPathTo:()=>Dn,hasChanged:()=>_t,last:()=>hu,minmax:()=>Rr,parseDate:()=>ss,randomId:()=>mu,unslotText:()=>cs,waitFor:()=>as,waitUntil:()=>du});var ns=e=>new Promise(t=>setTimeout(t,e));async function du(e,t=10,r=2e4){await as(async()=>await e()||void 0,t,r)}async function as(e,t=10,r=2e4){let o=await e(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await ns(t),o=await e(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function is(e,t){return e.flatMap(r=>[r,...is(t(r),t)])}function uu(...e){return(t,r)=>e.includes(t)?ss(r):r}function ss(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,o,a)=>r+o+":"+a),new Date(e)}function fu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,o,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!Ar(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!Ar(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!Ar(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Ar(e,t){try{return fu(e,t)}catch{return!1}}function _t(e,t){return!Ar(e,t)}function pu(e,t,r=window.document.body){if(t.length>0){let o=e.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function Rr(e,t,r){return Math.min(Math.max(e,t),r)}function hu(e){return e[e.length-1]}function cs(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>cs(t)).join(""):e?.textContent||""}function Dn(e){let t=[],r=o=>{o.stopPropagation(),t=o.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function yu(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function mu(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}var Ve=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function At(e,t){let r=()=>JSON.parse(JSON.stringify(e));return M({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:_t,...t??{}})}function gu(e){return ls(e)}function ls(e){return M({type:Object,converter:{fromAttribute:t=>{if(console.log("from attribute",t,e),t!=null)return ds(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function ds(e){return!isNaN(parseFloat(e))}var Bn={};Y(Bn,{designSystemVariables:()=>Qu});var Wn={};Y(Wn,{DesignSystemFamily:()=>Nr,DesignSystemSize:()=>Tr,FtCssVariableFactory:()=>n,badge:()=>Ru,banner:()=>Au,button:()=>vu,chart:()=>Gu,checkbox:()=>Su,chip:()=>Cu,chipChoice:()=>Eu,collapsible:()=>$u,comboboxMultiSelect:()=>Bu,comboboxSingleSelect:()=>Wu,dateRangePicker:()=>Xu,drawer:()=>Du,floatingMenu:()=>Uu,foundation:()=>c,link:()=>_u,modal:()=>Pu,notice:()=>ju,notification:()=>Ku,pageDesigner:()=>Yu,pageFooter:()=>Iu,pageHeader:()=>Tu,pageLayout:()=>ku,popover:()=>Hu,radio:()=>Ou,reorderableList:()=>qu,resolveFamilyClass:()=>Fn,resolveSizeClass:()=>Un,semantic:()=>u,setVariable:()=>Yt,switch_:()=>zu,table:()=>wu,tabs:()=>Lu,textArea:()=>Fu,textInput:()=>Mu,titleBreadcrumb:()=>Nu,toggle:()=>Vu,tooltip:()=>Zu,treeList:()=>Ju,typographies:()=>bu,typographyBody1Medium:()=>ms,typographyBody1Regular:()=>ys,typographyBody1Semibold:()=>gs,typographyBody2Medium:()=>xs,typographyBody2MediumUnderline:()=>vs,typographyBody2Regular:()=>bs,typographyBody2Semibold:()=>Ss,typographyCaption1Bold:()=>Ts,typographyCaption1Medium:()=>Rs,typographyCaption1Semibold:()=>Ns,typographyCaption2Bold:()=>Ps,typographyCaption2Medium:()=>Is,typographyCaption2Semibold:()=>ks,typographyCaption3Bold:()=>Ms,typographyCaption3Medium:()=>Ds,typographyCaption3Semibold:()=>Ls,typographyDisplay:()=>us,typographyLabel1Bold:()=>Es,typographyLabel1Medium:()=>Os,typographyLabel1Semibold:()=>ws,typographyLabel2Bold:()=>As,typographyLabel2Medium:()=>Cs,typographyLabel2Semibold:()=>_s,typographyTitle1:()=>fs,typographyTitle2:()=>ps,typographyTitle3:()=>hs,typographyVariants:()=>xu});var st=e=>typeof e=="string"?mr(e):e,n=class{static create(t,r,o,a){let i=l=>st(l??a),s=ee`var(${st(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Yt(s,l??i(a)),s.get=l=>ee`var(${st(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,o,a){let i=l=>o.get(l??a),s=ee`var(${st(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Yt(s,l??i(a)),s.get=l=>ee`var(${st(t)}, ${i(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(t,r){let o=i=>t.defaultCssValue(i),a=ee`var(${st(t.name)}, ${o(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>t.set(i),a.get=i=>ee`var(${st(t.name)}, ${o(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Yt(e,t){return st(`${e.name}: ${t}`)}var c={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(0.25rem*2)"),spacing3:n.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:n.create("--ft-opacity-12","","NUMBER","0.12"),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"),opacity48:n.create("--ft-opacity-48","","NUMBER","0.48"),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)")},us={fontFamily:n.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:n.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:n.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-display-text-case","","UNKNOWN","none")},fs={fontFamily:n.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:n.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:n.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},ps={fontFamily:n.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:n.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:n.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},hs={fontFamily:n.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:n.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:n.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},ys={fontFamily:n.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},ms={fontFamily:n.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},gs={fontFamily:n.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},bs={fontFamily:n.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},xs={fontFamily:n.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},vs={fontFamily:n.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:n.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:n.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ss={fontFamily:n.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},Os={fontFamily:n.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},ws={fontFamily:n.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Es={fontFamily:n.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Cs={fontFamily:n.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},_s={fontFamily:n.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},As={fontFamily:n.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Rs={fontFamily:n.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ns={fontFamily:n.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ts={fontFamily:n.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Is={fontFamily:n.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ks={fontFamily:n.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ps={fontFamily:n.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Ds={fontFamily:n.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Ls={fontFamily:n.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Ms={fontFamily:n.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},bu={display:us,"title-1":fs,"title-2":ps,"title-3":hs,"body-1-regular":ys,"body-1-medium":ms,"body-1-semibold":gs,"body-2-regular":bs,"body-2-medium":xs,"body-2-medium-underline":vs,"body-2-semibold":Ss,"label-1-medium":Os,"label-1-semibold":ws,"label-1-bold":Es,"label-2-medium":Cs,"label-2-semibold":_s,"label-2-bold":As,"caption-1-medium":Rs,"caption-1-semibold":Ns,"caption-1-bold":Ts,"caption-2-medium":Is,"caption-2-semibold":ks,"caption-2-bold":Ps,"caption-3-medium":Ds,"caption-3-semibold":Ls,"caption-3-bold":Ms},xu=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:n.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:n.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:n.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:n.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:n.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:n.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:n.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:n.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:n.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:n.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:n.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:n.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:n.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:n.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:n.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:n.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:n.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:n.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:n.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:n.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:n.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:n.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:n.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:n.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:n.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:n.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:n.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:n.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:n.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:n.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:n.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:n.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:n.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var vu={largeHeight:n.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:n.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:n.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:n.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:n.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:n.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:n.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:n.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:n.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:n.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:n.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:n.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:n.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:n.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:n.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.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","",u.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:n.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:n.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:n.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:n.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ft-button-secondary-info-disabled-component-opacity","",c.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","",u.borderInfoPrimary),secondaryInfoColor:n.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ft-button-secondary-success-disabled-component-opacity","",c.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","",u.borderSuccessPrimary),secondarySuccessColor:n.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.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","",u.borderWarningPrimary),secondaryWarningColor:n.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ft-button-secondary-error-disabled-component-opacity","",c.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","",u.contentErrorPrimary),secondaryErrorColor:n.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Su={iconSize:n.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:n.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:n.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:n.create("--ft-checkbox-border-radius","","SIZE","1px"),color:n.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:n.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:n.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:n.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:n.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:n.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:n.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:n.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:n.extend("--ft-checkbox-left-padding","",c.spacing2)};var Ou={circleSize:n.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ft-radio-border-width","","SIZE","2px"),color:n.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:n.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:n.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:n.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:n.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:n.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:n.extend("--ft-radio-vertical-gap","",c.spacing3),horizontalGap:n.extend("--ft-radio-horizontal-gap","",c.spacing3)};var wu={headerRowBorderWidth:n.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:n.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:n.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:n.extend("--ft-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:n.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:n.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:n.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:n.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:n.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:n.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:n.extend("--ft-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:n.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:n.extend("--ft-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:n.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:n.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:n.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:n.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:n.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:n.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:n.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:n.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)};var Eu={neutralOffHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:n.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:n.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:n.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:n.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:n.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:n.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:n.extend("--ft-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:n.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:n.extend("--ft-chip-choice-medium-gap","",c.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","",c.iconSize2)};var Cu={largeMinHeight:n.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:n.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:n.extend("--ft-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:n.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:n.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:n.extend("--ft-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:n.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:n.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:n.extend("--ft-chip-small-gap","",c.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","",c.iconSize1),neutralBackgroundColor:n.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:n.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:n.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:n.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var _u={brandHoverOpacity:n.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:n.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:n.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:n.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:n.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:n.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:n.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:n.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:n.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:n.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:n.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:n.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:n.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:n.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:n.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Au={iconSize:n.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:n.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:n.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:n.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:n.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:n.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:n.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:n.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:n.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Ru={horizontalPadding:n.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:n.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:n.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:n.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Nu={horizontalGap:n.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:n.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:n.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:n.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Tu={parentHorizontalPadding:n.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:n.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:n.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:n.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:n.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:n.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:n.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:n.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:n.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:n.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:n.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:n.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:n.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:n.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:n.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:n.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:n.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:n.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:n.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:n.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:n.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:n.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:n.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:n.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:n.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:n.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Iu={horizontalPadding:n.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:n.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:n.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:n.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:n.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:n.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var ku={contentHorizontalPadding:n.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:n.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Pu={smallContainerTargetWidth:n.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:n.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:n.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:n.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:n.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:n.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:n.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:n.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:n.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:n.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:n.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:n.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:n.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:n.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:n.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:n.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Du={overlayOpacity:n.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:n.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:n.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:n.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:n.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:n.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:n.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:n.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:n.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:n.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:n.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Lu={offBorderBottomWidth:n.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:n.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:n.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:n.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:n.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:n.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:n.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:n.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:n.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:n.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:n.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:n.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:n.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:n.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:n.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:n.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:n.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Mu={largeFieldHorizontalPadding:n.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:n.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ft-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),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","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Fu={backgroundColor:n.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:n.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:n.extend("--ft-text-area-focus-focus-ring-color","",u.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","",c.opacity40),fieldHorizontalLeftPadding:n.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:n.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ft-text-area-border-radius","",c.borderRadiusS)};var Uu={height:n.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:n.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:n.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:n.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:n.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:n.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:n.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:n.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Wu={largeFieldHorizontalPadding:n.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:n.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:n.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:n.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:n.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:n.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:n.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-single-select-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:n.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:n.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Bu={backgroundColor:n.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:n.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:n.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:n.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:n.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.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","",c.opacity40),helperHorizontalPadding:n.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:n.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:n.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:n.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:n.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:n.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:n.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:n.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)};var Hu={backgroundColor:n.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:n.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:n.extend("--ft-popover-body-color","",u.contentGlobalSecondary),gap:n.extend("--ft-popover-gap","",c.spacing2),borderRadius:n.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:n.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:n.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:n.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:n.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)};var $u={hoverStateLayerOpacity:n.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:n.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:n.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:n.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:n.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:n.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ft-collapsible-icon-size","",c.iconSize3)};var zu={groupHorizontalPadding:n.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:n.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:n.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:n.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:n.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:n.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:n.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:n.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:n.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:n.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:n.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:n.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:n.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:n.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:n.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:n.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Gu={color1Light:n.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:n.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:n.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:n.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:n.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:n.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:n.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:n.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:n.extend("--ft-chart-5-light","",c.colorRed40),color5Base:n.extend("--ft-chart-5-base","",c.colorRed60),color6Light:n.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:n.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:n.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:n.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:n.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:n.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:n.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:n.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:n.extend("--ft-chart-10-light","",c.colorGray50),color10Base:n.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:n.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:n.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:n.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:n.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:n.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:n.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:n.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:n.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:n.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:n.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:n.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:n.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:n.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:n.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Yu={color1IconColor:n.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:n.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:n.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:n.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:n.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:n.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:n.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:n.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:n.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:n.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:n.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:n.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:n.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:n.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:n.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:n.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var ju={borderWidth:n.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:n.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:n.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:n.extend("--ft-notice-gap","",c.spacing2),iconSize:n.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:n.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:n.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:n.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:n.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:n.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:n.create("--ft-notice-dense-border-width","","SIZE","0")};var Vu={offHoverStateLayerOpacity:n.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:n.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:n.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:n.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:n.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:n.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:n.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:n.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:n.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ft-toggle-gap","",c.spacing3)};var Ku={iconSize:n.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:n.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:n.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:n.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:n.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:n.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:n.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:n.extend("--ft-notification-trailing-gap","",c.spacing8)};var Zu={horizontalPadding:n.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:n.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:n.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:n.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:n.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:n.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ft-tooltip-gap","",c.spacing05)};var qu={verticalPadding:n.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:n.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:n.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:n.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:n.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:n.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:n.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:n.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:n.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:n.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:n.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:n.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:n.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:n.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:n.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:n.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:n.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:n.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:n.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:n.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:n.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Ju={nodeHeight:n.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:n.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:n.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:n.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:n.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:n.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:n.extend("--ft-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ft-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ft-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ft-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ft-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ft-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ft-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ft-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ft-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ft-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:n.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:n.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ft-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:n.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:n.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:n.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:n.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:n.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:n.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:n.extend("--ft-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ft-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:n.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ft-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ft-tree-list-list-container-border-color","",u.borderGlobalSubtle),loadMorePaddingLeft:n.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:n.extend("--ft-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:n.extend("--ft-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:n.extend("--ft-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:n.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:n.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:n.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:n.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:n.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:n.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:n.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary)};var Xu={menuHorizontalPadding:n.extend("--ft-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:n.extend("--ft-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:n.extend("--ft-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:n.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Nr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Nr||(Nr={}));var Tr;(function(e){e.large="large",e.medium="medium",e.small="small"})(Tr||(Tr={}));function Fn(e){return`ftds--family-${e}`}function Un(e){return`ftds--size-${e}`}var Qu={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 Hn={};Y(Hn,{DynamicImporter:()=>ho,dynamicImporter:()=>ef});var ho=class{async import(t){return import(t)}},ef=new ho;var ta={};Y(ta,{computeOffsetAutoPosition:()=>Of,computeOffsetPosition:()=>Sf});var Us=["top","right","bottom","left"],Fs=["start","end"],zn=Us.reduce((e,t)=>e.concat(t,t+"-"+Fs[0],t+"-"+Fs[1]),[]),yo=Math.min,ct=Math.max;var tf={left:"right",right:"left",bottom:"top",top:"bottom"},rf={start:"end",end:"start"};function Gn(e,t,r){return ct(e,yo(t,r))}function jt(e,t){return typeof e=="function"?e(t):e}function lt(e){return e.split("-")[0]}function Ue(e){return e.split("-")[1]}function Yn(e){return e==="x"?"y":"x"}function jn(e){return e==="y"?"height":"width"}function Vt(e){return["top","bottom"].includes(lt(e))?"y":"x"}function Vn(e){return Yn(Vt(e))}function Ws(e,t,r){r===void 0&&(r=!1);let o=Ue(e),a=Vn(e),i=jn(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=$n(s)),[s,$n(s)]}function Bs(e){return e.replace(/start|end/g,t=>rf[t])}function $n(e){return e.replace(/left|right|bottom|top/g,t=>tf[t])}function of(e){return{top:0,right:0,bottom:0,left:0,...e}}function Hs(e){return typeof e!="number"?of(e):{top:e,right:e,bottom:e,left:e}}function Rt(e){let{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function $s(e,t,r){let{reference:o,floating:a}=e,i=Vt(t),s=Vn(t),l=jn(s),d=lt(t),f=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,m=o[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:o.y-a.height};break;case"bottom":b={x:h,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:p};break;case"left":b={x:o.x-a.width,y:p};break;default:b={x:o.x,y:o.y}}switch(Ue(t)){case"start":b[s]-=m*(r&&f?-1:1);break;case"end":b[s]+=m*(r&&f?-1:1);break}return b}var zs=async(e,t,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=$s(f,o,d),m=o,b={},g=0;for(let S=0;S<l.length;S++){let{name:A,fn:C}=l[S],{x:N,y:O,data:x,reset:w}=await C({x:h,y:p,initialPlacement:o,placement:m,strategy:a,middlewareData:b,rects:f,platform:s,elements:{reference:e,floating:t}});h=N??h,p=O??p,b={...b,[A]:{...b[A],...x}},w&&g<=50&&(g++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(f=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):w.rects),{x:h,y:p}=$s(f,m,d)),S=-1)}return{x:h,y:p,placement:m,strategy:a,middlewareData:b}};async function mo(e,t){var r;t===void 0&&(t={});let{x:o,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:b=0}=jt(t,e),g=Hs(b),A=l[m?p==="floating"?"reference":"floating":p],C=Rt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(A)))==null||r?A:A.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),N=p==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},w=Rt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:O,strategy:d}):N);return{top:(C.top-w.top+g.top)/x.y,bottom:(w.bottom-C.bottom+g.bottom)/x.y,left:(C.left-w.left+g.left)/x.x,right:(w.right-C.right+g.right)/x.x}}function nf(e,t,r){return(e?[...r.filter(a=>Ue(a)===e),...r.filter(a=>Ue(a)!==e)]:r.filter(a=>lt(a)===a)).filter(a=>e?Ue(a)===e||(t?Bs(a)!==a:!1):!0)}var go=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:m=zn,autoAlignment:b=!0,...g}=jt(e,t),S=p!==void 0||m===zn?nf(p||null,b,m):m,A=await mo(t,g),C=((r=s.autoPlacement)==null?void 0:r.index)||0,N=S[C];if(N==null)return{};let O=Ws(N,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==N)return{reset:{placement:S[0]}};let x=[A[lt(N)],A[O[0]],A[O[1]]],w=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:N,overflows:x}],I=S[C+1];if(I)return{data:{index:C+1,overflows:w},reset:{placement:I}};let D=w.map(k=>{let y=Ue(k.placement);return[k.placement,y&&h?k.overflows.slice(0,2).reduce((v,T)=>v+T,0):k.overflows[0],k.overflows]}).sort((k,y)=>k[1]-y[1]),U=((a=D.filter(k=>k[2].slice(0,Ue(k[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||D[0][0];return U!==l?{data:{index:C+1,overflows:w},reset:{placement:U}}:{}}}};async function af(e,t){let{placement:r,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=lt(r),l=Ue(r),d=Vt(r)==="y",f=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,p=jt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(b=l==="end"?g*-1:g),d?{x:b*h,y:m*f}:{x:m*f,y:b*h}}var Kn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await af(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Zn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:A=>{let{x:C,y:N}=A;return{x:C,y:N}}},...d}=jt(e,t),f={x:r,y:o},h=await mo(t,d),p=Vt(lt(a)),m=Yn(p),b=f[m],g=f[p];if(i){let A=m==="y"?"top":"left",C=m==="y"?"bottom":"right",N=b+h[A],O=b-h[C];b=Gn(N,b,O)}if(s){let A=p==="y"?"top":"left",C=p==="y"?"bottom":"right",N=g+h[A],O=g-h[C];g=Gn(N,g,O)}let S=l.fn({...t,[m]:b,[p]:g});return{...S,data:{x:S.x-r,y:S.y-o,enabled:{[m]:i,[p]:s}}}}}};var qn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;let{placement:a,rects:i,platform:s,elements:l}=t,{apply:d=()=>{},...f}=jt(e,t),h=await mo(t,f),p=lt(a),m=Ue(a),b=Vt(a)==="y",{width:g,height:S}=i.floating,A,C;p==="top"||p==="bottom"?(A=p,C=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(C=p,A=m==="end"?"top":"bottom");let N=S-h.top-h.bottom,O=g-h.left-h.right,x=yo(S-h[A],N),w=yo(g-h[C],O),I=!t.middlewareData.shift,D=x,H=w;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(H=O),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(D=N),I&&!m){let k=ct(h.left,0),y=ct(h.right,0),v=ct(h.top,0),T=ct(h.bottom,0);b?H=g-2*(k!==0||y!==0?k+y:ct(h.left,h.right)):D=S-2*(v!==0||T!==0?v+T:ct(h.top,h.bottom))}await d({...t,availableWidth:H,availableHeight:D});let U=await s.getDimensions(l.floating);return g!==U.width||S!==U.height?{reset:{rects:!0}}:{}}}};var Jn=Math.min,Kt=Math.max,Ir=Math.round;var Ke=e=>({x:e,y:e});function Ze(e){return Ys(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qe(e){var t;return(t=(Ys(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ys(e){return e instanceof Node||e instanceof ye(e).Node}function We(e){return e instanceof Element||e instanceof ye(e).Element}function Ne(e){return e instanceof HTMLElement||e instanceof ye(e).HTMLElement}function Gs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot}function Zt(e){let{overflow:t,overflowX:r,overflowY:o,display:a}=ge(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(a)}function js(e){return["table","td","th"].includes(Ze(e))}function xo(e){let t=vo(),r=ge(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function Vs(e){let t=Nt(e);for(;Ne(t)&&!kr(t);){if(xo(t))return t;t=Nt(t)}return null}function vo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function kr(e){return["html","body","#document"].includes(Ze(e))}function ge(e){return ye(e).getComputedStyle(e)}function Pr(e){return We(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nt(e){if(Ze(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Gs(e)&&e.host||qe(e);return Gs(t)?t.host:t}function Ks(e){let t=Nt(e);return kr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ne(t)&&Zt(t)?t:Ks(t)}function bo(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=Ks(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=ye(a);return i?t.concat(s,s.visualViewport||[],Zt(a)?a:[],s.frameElement&&r?bo(s.frameElement):[]):t.concat(a,bo(a,[],r))}function Js(e){let t=ge(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=Ne(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:o,l=Ir(r)!==i||Ir(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$:l}}function Xs(e){return We(e)?e:e.contextElement}function qt(e){let t=Xs(e);if(!Ne(t))return Ke(1);let r=t.getBoundingClientRect(),{width:o,height:a,$:i}=Js(t),s=(i?Ir(r.width):r.width)/o,l=(i?Ir(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var sf=Ke(0);function Qs(e){let t=ye(e);return!vo()||!t.visualViewport?sf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ye(e)?!1:t}function Dr(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=Xs(e),s=Ke(1);t&&(o?We(o)&&(s=qt(o)):s=qt(e));let l=cf(i,r,o)?Qs(i):Ke(0),d=(a.left+l.x)/s.x,f=(a.top+l.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let m=ye(i),b=o&&We(o)?ye(o):o,g=m.frameElement;for(;g&&o&&b!==m;){let S=qt(g),A=g.getBoundingClientRect(),C=ge(g),N=A.left+(g.clientLeft+parseFloat(C.paddingLeft))*S.x,O=A.top+(g.clientTop+parseFloat(C.paddingTop))*S.y;d*=S.x,f*=S.y,h*=S.x,p*=S.y,d+=N,f+=O,g=ye(g).frameElement}}return Rt({width:h,height:p,x:d,y:f})}function lf(e){let{rect:t,offsetParent:r,strategy:o}=e,a=Ne(r),i=qe(r);if(r===i)return t;let s={scrollLeft:0,scrollTop:0},l=Ke(1),d=Ke(0);if((a||!a&&o!=="fixed")&&((Ze(r)!=="body"||Zt(i))&&(s=Pr(r)),Ne(r))){let f=Dr(r);l=qt(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function df(e){return Array.from(e.getClientRects())}function ec(e){return Dr(qe(e)).left+Pr(e).scrollLeft}function uf(e){let t=qe(e),r=Pr(e),o=e.ownerDocument.body,a=Kt(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Kt(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+ec(e),l=-r.scrollTop;return ge(o).direction==="rtl"&&(s+=Kt(t.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function ff(e,t){let r=ye(e),o=qe(e),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let f=vo();(!f||f&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function pf(e,t){let r=Dr(e,!0,t==="fixed"),o=r.top+e.clientTop,a=r.left+e.clientLeft,i=Ne(e)?qt(e):Ke(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:l,x:d,y:f}}function Zs(e,t,r){let o;if(t==="viewport")o=ff(e,r);else if(t==="document")o=uf(qe(e));else if(We(t))o=pf(t,r);else{let a=Qs(e);o={...t,x:t.x-a.x,y:t.y-a.y}}return Rt(o)}function tc(e,t){let r=Nt(e);return r===t||!We(r)||kr(r)?!1:ge(r).position==="fixed"||tc(r,t)}function hf(e,t){let r=t.get(e);if(r)return r;let o=bo(e,[],!1).filter(l=>We(l)&&Ze(l)!=="body"),a=null,i=ge(e).position==="fixed",s=i?Nt(e):e;for(;We(s)&&!kr(s);){let l=ge(s),d=xo(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Zt(s)&&!d&&tc(e,s))?o=o.filter(h=>h!==s):a=l,s=Nt(s)}return t.set(e,o),o}function yf(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e,s=[...r==="clippingAncestors"?hf(t,this._c):[].concat(r),o],l=s[0],d=s.reduce((f,h)=>{let p=Zs(t,h,a);return f.top=Kt(p.top,f.top),f.right=Jn(p.right,f.right),f.bottom=Jn(p.bottom,f.bottom),f.left=Kt(p.left,f.left),f},Zs(t,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function mf(e){return Js(e)}function gf(e,t,r){let o=Ne(t),a=qe(t),i=r==="fixed",s=Dr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=Ke(0);if(o||!o&&!i)if((Ze(t)!=="body"||Zt(a))&&(l=Pr(t)),o){let f=Dr(t,!0,i,t);d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}else a&&(d.x=ec(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function qs(e,t){return!Ne(e)||ge(e).position==="fixed"?null:t?t(e):e.offsetParent}function rc(e,t){let r=ye(e);if(!Ne(e))return r;let o=qs(e,t);for(;o&&js(o)&&ge(o).position==="static";)o=qs(o,t);return o&&(Ze(o)==="html"||Ze(o)==="body"&&ge(o).position==="static"&&!xo(o))?r:o||Vs(e)||r}var bf=async function(e){let{reference:t,floating:r,strategy:o}=e,a=this.getOffsetParent||rc,i=this.getDimensions;return{reference:gf(t,await a(r),o),floating:{x:0,y:0,...await i(r)}}};function xf(e){return ge(e).direction==="rtl"}var Jt={convertOffsetParentRelativeRectToViewportRelativeRect:lf,getDocumentElement:qe,getClippingRect:yf,getOffsetParent:rc,getElementRects:bf,getClientRects:df,getDimensions:mf,getScale:qt,isElement:We,isRTL:xf};var Xn=(e,t,r)=>{let o=new Map,a={platform:Jt,...r},i={...a.platform,_c:o};return zs(e,t,{...a,platform:i})};function ea(e){return vf(e)}function Qn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function vf(e){for(let t=e;t;t=Qn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Qn(e);t;t=Qn(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Sf(e,t,r){return Xn(e,t,{platform:{...Jt,getOffsetParent:o=>Jt.getOffsetParent(o,ea)},middleware:[Zn({crossAxis:!0}),go({allowedPlacements:[r]})]})}async function Of(e,t,r,o,a,i,s=4){return Xn(e,t,{placement:r,strategy:a,platform:{...Jt,getOffsetParent:l=>Jt.getOffsetParent(l,ea)},middleware:[Kn(s),go({allowedPlacements:o}),qn({apply({availableHeight:l,elements:d}){typeof i=="string"&&(i=`var(${i})`),i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${i})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var sa={};Y(sa,{FtdsBase:()=>ia,toFtdsBase:()=>lc});var aa={};Y(aa,{FtLitElement:()=>le});var ra={};Y(ra,{ScopedRegistryLitElement:()=>Lr});var Lr=class extends je{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return gr(o,t.elementStyles),o}};var na={};Y(na,{shadowQuerySelector:()=>oa,shadowQuerySelectorAll:()=>wf});function oa(e,t,...r){var o;let a=e.querySelector(t);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function wf(e,t,...r){let o=[...e.querySelectorAll(t)];for(let a of r)o=o.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return o}var Mr=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ic,oc=Symbol("constructorPrototype"),nc=Symbol("constructorName"),sc=Symbol("exportpartsDebouncer"),ac=Symbol("dynamicDependenciesLoaded"),le=class extends Lr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ic]=new _r(5),this[nc]=this.constructor.name,this[oc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[nc]&&Object.setPrototypeOf(this,this[oc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let t=this.constructor;t[ac]||(t[ac]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=oa(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,r,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[sc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,o,a,i,s,l;let d=m=>m!=null&&m.trim().length>0,f=t.filter(d).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...g).filter(d).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};ic=sc;Mr([M()],le.prototype,"exportpartsPrefix",void 0);Mr([At([])],le.prototype,"exportpartsPrefixes",void 0);Mr([M()],le.prototype,"customStylesheet",void 0);Mr([M()],le.prototype,"elementToFocus",void 0);Mr([$t()],le.prototype,"useAdoptedStyleSheets",void 0);var cc=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};function lc(e){class t extends e{constructor(){super(...arguments),this.size=Tr.medium,this.family=Nr.neutral}getDesignSystemBaseClasses(){return{[Fn(this.family)]:!0,[Un(this.size)]:!0}}}return cc([M()],t.prototype,"size",void 0),cc([M()],t.prototype,"family",void 0),t}var ia=class extends lc(le){};var dc={};var la={};Y(la,{highlightHtml:()=>_f,highlightHtmlColorCssVariable:()=>uc,highlightHtmlStyles:()=>Cf});var Tt=class e{constructor(t,r=!0,o=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(t,r){let o=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(t,r,o=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(t){let r="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(t,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,o))}catch{o()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,o){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,o):this.getIframeContents(t,r,o):this.observeIframeLoad(t,r,o)}catch{o()}}waitForIframes(t,r){let o=0;this.forEachIframe(t,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(t,r,o,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,o(h)),d()},d)})}createIterator(t,r,o){return document.createNodeIterator(t,r,o,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,o){let a=t.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),o;return r===null?o=t.nextNode():o=t.nextNode()&&t.nextNode(),{prevNode:r,node:o}}checkIframeFilter(t,r,o,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===o&&(i=d,s=l.handled)}),this.compareNodeIframe(t,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(t,r,o,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(t,r,o,a,i){let s=this.createIterator(r,t,a),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),a)}),d.push(f);d.forEach(m=>{o(m)}),this.iframes&&this.handleOpenIframes(l,t,o,a),i()}forEachNode(t,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Fr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Tt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],o=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,o);l&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(t,r){let o,a,i=!1;return t&&typeof t.start<"u"?(o=parseInt(t.start,10),a=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:a,valid:i}}checkWhitespaceRanges(t,r,o){let a,i=!0,s=o.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:o})})}matchesExclude(t){return Tt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,o){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(r),s=i.splitText(o-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(t,r,o,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(o>s.end?s.end:o)-s.start,p=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+m,t.nodes.forEach((b,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,p=>o(d[s],p),(p,m)=>{t.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(t,r,o,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,m=>r(m,l,i.value.substring(f,h),d),m=>{o(m,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));r.replaceChild(o,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),i,()=>{o===0&&this.opt.noMatch(t),this.opt.done(o)})}mark(t,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,b)=>this.opt.filter(b,f,o,p),m=>{p++,o++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(o):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(t,r){this.opt=r;let o=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=Tt.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ca(e){let t=new Fr(e);return this.mark=(r,o)=>(t.mark(r,o),this),this.markRegExp=(r,o)=>(t.markRegExp(r,o),this),this.markRanges=(r,o)=>(t.markRanges(r,o),this),this.unmark=r=>(t.unmark(r),this),this}var Ef=ca,uc=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Cf=ee`
6
6
  .highlight-html-match {
7
7
  background: ${uc};
8
8
  }
9
- `;function Cf(e,t,r){var o,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new wf(e);if(s.unmark(),t&&t.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let h in r.attributes)f.setAttribute(h,r.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var da={};Y(da,{noTextInputDefaultClearButton:()=>Nf,noTextSelect:()=>_f,safariEllipsisFix:()=>Rf,wordWrap:()=>Af});var _f=ee`
9
+ `;function _f(e,t,r){var o,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new Ef(e);if(s.unmark(),t&&t.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let h in r.attributes)f.setAttribute(h,r.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var da={};Y(da,{noTextInputDefaultClearButton:()=>Tf,noTextSelect:()=>Af,safariEllipsisFix:()=>Nf,wordWrap:()=>Rf});var Af=ee`
10
10
  .ft-no-text-select {
11
11
  -webkit-touch-callout: none;
12
12
  -webkit-user-select: none;
@@ -15,7 +15,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ft-conte
15
15
  -ms-user-select: none;
16
16
  user-select: none;
17
17
  }
18
- `,Af=ee`
18
+ `,Rf=ee`
19
19
  .ft-word-wrap {
20
20
  white-space: normal;
21
21
  word-wrap: break-word;
@@ -27,7 +27,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ft-conte
27
27
  -webkit-hyphens: auto;
28
28
  hyphens: auto
29
29
  }
30
- `,Rf=ee`
30
+ `,Nf=ee`
31
31
  .ft-safari-ellipsis-fix {
32
32
  margin-right: 0;
33
33
 
@@ -38,14 +38,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ft-conte
38
38
  display: inline-block;
39
39
  width: 0;
40
40
  }
41
- `,Nf=ee`
41
+ `,Tf=ee`
42
42
  input::-webkit-search-cancel-button,
43
43
  input::-webkit-search-decoration,
44
44
  input::-webkit-search-results-button,
45
45
  input::-webkit-search-results-decoration {
46
46
  display: none;
47
47
  }
48
- `;var fc={};var fa={};Y(fa,{ParametrizedLabelResolver:()=>ua});var ua=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var Ua={};Y(Ua,{FtCommandQueue:()=>Ur,FtLitElementRedux:()=>pa,FtReduxStore:()=>Fa,ReduxWatcher:()=>_o,clearAllStores:()=>yp,isFtReduxStore:()=>Xt,redux:()=>kf,reduxEventListener:()=>If,reduxReactive:()=>Tf,watch:()=>mp,withRedux:()=>pc});var Tf=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},kf=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:_t,attribute:!1,...t};F(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[o],store:t.store})}},If=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,e)};var Ur=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Xt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Wr=Symbol("internalReduxEventsUnsubscribers"),dt=Symbol("internalStoresUnsubscribers"),kt=Symbol("internalStores");function pc(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[kt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[kt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[kt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[kt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[kt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[kt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(s.store);f&&(s.store?this[dt].has(s.store):this[dt].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[dt].set(s,l.subscribe(()=>this.updateFromStores())),this[Wr].set(s,[]),Xt(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||l.name===f.store)){let p=m=>this[h](m);l.addEventListener(f.eventName,p),this[Wr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[dt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[dt].has(s)&&this[dt].get(s)(),this[dt].delete(s),(l=this[Wr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Wr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=dt,r=kt,o=Wr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}var pa=class extends pc(le){};function Oe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[X]}function Te(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Bf}(e)||Array.isArray(e)||!!e[vc]||!!(!((t=e.constructor)===null||t===void 0)&&t[vc])||Oa(e)||wa(e))}function It(e,t,r){r===void 0&&(r=!1),tr(e)===0?(r?Object.keys:er)(e).forEach(function(o){r&&typeof o=="symbol"||t(o,e[o],e)}):e.forEach(function(o,a){return t(a,o,e)})}function tr(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Oa(e)?2:wa(e)?3:0}function Qt(e,t){return tr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Pf(e,t){return tr(e)===2?e.get(t):e[t]}function Sc(e,t,r){var o=tr(e);o===2?e.set(t,r):o===3?e.add(r):e[t]=r}function Oc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Oa(e){return Uf&&e instanceof Map}function wa(e){return Wf&&e instanceof Set}function ut(e){return e.o||e.t}function Ea(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Cc(e);delete t[X];for(var r=er(t),o=0;o<r.length;o++){var a=r[o],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ca(e,t){return t===void 0&&(t=!1),_a(e)||Je(e)||!Te(e)||(tr(e)>1&&(e.set=e.add=e.clear=e.delete=Df),Object.freeze(e),t&&It(e,function(r,o){return Ca(o,!0)},!0)),e}function Df(){Oe(2)}function _a(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Be(e){var t=Sa[e];return t||Oe(18,e),t}function Lf(e,t){Sa[e]||(Sa[e]=t)}function ba(){return Hr}function ha(e,t){t&&(Be("Patches"),e.u=[],e.s=[],e.v=t)}function So(e){xa(e),e.p.forEach(Mf),e.p=null}function xa(e){e===Hr&&(Hr=e.l)}function hc(e){return Hr={p:[],l:Hr,h:e,m:!0,_:0}}function Mf(e){var t=e[X];t.i===0||t.i===1?t.j():t.g=!0}function ya(e,t){t._=t.p.length;var r=t.p[0],o=e!==void 0&&e!==r;return t.h.O||Be("ES5").S(t,e,o),o?(r[X].P&&(So(t),Oe(4)),Te(e)&&(e=Oo(t,e),t.l||wo(t,e)),t.u&&Be("Patches").M(r[X].t,e,t.u,t.s)):e=Oo(t,r,[]),So(t),t.u&&t.v(t.u,t.s),e!==Ec?e:void 0}function Oo(e,t,r){if(_a(t))return t;var o=t[X];if(!o)return It(t,function(l,d){return yc(e,o,t,l,d,r)},!0),t;if(o.A!==e)return t;if(!o.P)return wo(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Ea(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),It(i,function(l,d){return yc(e,o,a,l,d,r,s)}),wo(e,a,!1),r&&e.u&&Be("Patches").N(o,r,e.u,e.s)}return o.o}function yc(e,t,r,o,a,i,s){if(Je(a)){var l=Oo(e,a,i&&t&&t.i!==3&&!Qt(t.R,o)?i.concat(o):void 0);if(Sc(r,o,l),!Je(l))return;e.m=!1}else s&&r.add(a);if(Te(a)&&!_a(a)){if(!e.h.D&&e._<1)return;Oo(e,a),t&&t.A.l||wo(e,a)}}function wo(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Ca(t,r)}function ma(e,t){var r=e[X];return(r?ut(r):e)[t]}function mc(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function ga(e){e.o||(e.o=Ea(e.t))}function va(e,t,r){var o=Oa(t)?Be("MapSet").F(t,r):wa(t)?Be("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:ba(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,f=$r;s&&(d=[l],f=Br);var h=Proxy.revocable(d,f),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(t,r):Be("ES5").J(t,r);return(r?r.A:ba()).p.push(o),o}function Ff(e){return Je(e)||Oe(22,e),function t(r){if(!Te(r))return r;var o,a=r[X],i=tr(r);if(a){if(!a.P&&(a.i<4||!Be("ES5").K(a)))return a.t;a.I=!0,o=gc(r,i),a.I=!1}else o=gc(r,i);return It(o,function(s,l){a&&Pf(a.t,s)===l||Sc(o,s,t(l))}),i===3?new Set(o):o}(e)}function gc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ea(e)}function wc(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[X];return $r.get(f,s)},set:function(f){var h=this[X];$r.set(h,s,f)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][X];if(!d.P)switch(d.i){case 5:o(d)&&ft(d);break;case 4:r(d)&&ft(d)}}}function r(s){for(var l=s.t,d=s.k,f=er(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==X){var m=l[p];if(m===void 0&&!Qt(l,p))return!0;var b=d[p],g=b&&b[X];if(g?g.t!==m:!Oc(b,m))return!0}}var v=!!l[X];return f.length!==er(l).length+(v?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&Oe(3,JSON.stringify(ut(s)))}var i={};Lf("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(p,m){if(p){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=Cc(m);delete v[X];for(var _=er(v),C=0;C<_.length;C++){var N=_[C];v[N]=e(N,p||!!v[N].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(d,s),h={i:d?5:4,A:l?l.A:ba(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,X,{value:h,writable:!0}),f},S:function(s,l,d){d?Je(l)&&l[X].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[X];if(p){var m=p.t,b=p.k,g=p.R,v=p.i;if(v===4)It(b,function(w){w!==X&&(m[w]!==void 0||Qt(m,w)?g[w]||f(b[w]):(g[w]=!0,ft(p)))}),It(m,function(w){b[w]!==void 0||Qt(b,w)||(g[w]=!1,ft(p))});else if(v===5){if(o(p)&&(ft(p),g.length=!0),b.length<m.length)for(var _=b.length;_<m.length;_++)g[_]=!1;else for(var C=m.length;C<b.length;C++)g[C]=!0;for(var N=Math.min(b.length,m.length),O=0;O<N;O++)b.hasOwnProperty(O)||(g[O]=!0),g[O]===void 0&&f(b[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var bc,Hr,Aa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Uf=typeof Map<"u",Wf=typeof Set<"u",xc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ec=Aa?Symbol.for("immer-nothing"):((bc={})["immer-nothing"]=!0,bc),vc=Aa?Symbol.for("immer-draftable"):"__$immer_draftable",X=Aa?Symbol.for("immer-state"):"__$immer_state";var Bf=""+Object.prototype.constructor,er=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Cc=Object.getOwnPropertyDescriptors||function(e){var t={};return er(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Sa={},$r={get:function(e,t){if(t===X)return e;var r=ut(e);if(!Qt(r,t))return function(a,i,s){var l,d=mc(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,r,t);var o=r[t];return e.I||!Te(o)?o:o===ma(e.t,t)?(ga(e),e.o[t]=va(e.A.h,o,e)):o},has:function(e,t){return t in ut(e)},ownKeys:function(e){return Reflect.ownKeys(ut(e))},set:function(e,t,r){var o=mc(ut(e),t);if(o?.set)return o.set.call(e.k,r),!0;if(!e.P){var a=ma(ut(e),t),i=a?.[X];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Oc(r,a)&&(r!==void 0||Qt(e.t,t)))return!0;ga(e),ft(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return ma(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ga(e),ft(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ut(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:r[t]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Oe(12)}},Br={};It($r,function(e,t){Br[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Br.deleteProperty=function(e,t){return Br.set.call(this,e,t,void 0)},Br.set=function(e,t,r){return $r.set.call(this,e[0],t,r,e[0])};var Hf=function(){function e(r){var o=this;this.O=xc,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=o;return function(v){var _=this;v===void 0&&(v=l);for(var C=arguments.length,N=Array(C>1?C-1:0),O=1;O<C;O++)N[O-1]=arguments[O];return d.produce(v,function(w){var S;return(S=i).call.apply(S,[_,w].concat(N))})}}var f;if(typeof i!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Te(a)){var h=hc(o),p=va(o,a,void 0),m=!0;try{f=i(p),m=!1}finally{m?So(h):xa(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return ha(h,s),ya(v,h)},function(v){throw So(h),v}):(ha(h,s),ya(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Ec&&(f=void 0),o.D&&Ca(f,!0),s){var b=[],g=[];Be("Patches").M(a,f,b,g),s(b,g)}return f}Oe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return o.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(p))})};var s,l,d=o.produce(a,i,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Te(r)||Oe(8),Je(r)&&(r=Ff(r));var o=hc(this),a=va(this,r,void 0);return a[X].C=!0,xa(o),a},t.finishDraft=function(r,o){var a=r&&r[X],i=a.A;return ha(i,o),ya(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!xc&&Oe(20),this.O=r},t.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=Be("Patches").$;return Je(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},e}(),be=new Hf,$f=be.produce,cO=be.produceWithPatches.bind(be),lO=be.setAutoFreeze.bind(be),dO=be.setUseProxies.bind(be),uO=be.applyPatches.bind(be),fO=be.createDraft.bind(be),pO=be.finishDraft.bind(be),Eo=$f;function Pt(e){"@babel/helpers - typeof";return Pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pt(e)}function _c(e,t){if(Pt(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(Pt(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ac(e){var t=_c(e,"string");return Pt(t)=="symbol"?t:t+""}function Rc(e,t,r){return(t=Ac(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Ra(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nc(Object(r),!0).forEach(function(o){Rc(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nc(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function de(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Tc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Na=function(){return Math.random().toString(36).substring(7).split("").join(".")},Co={INIT:"@@redux/INIT"+Na(),REPLACE:"@@redux/REPLACE"+Na(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Na()}};function zf(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ta(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(de(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(de(1));return r(Ta)(e,t)}if(typeof e!="function")throw new Error(de(2));var a=e,i=t,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(de(3));return i}function p(v){if(typeof v!="function")throw new Error(de(4));if(d)throw new Error(de(5));var _=!0;return f(),l.push(v),function(){if(_){if(d)throw new Error(de(6));_=!1,f();var N=l.indexOf(v);l.splice(N,1),s=null}}}function m(v){if(!zf(v))throw new Error(de(7));if(typeof v.type>"u")throw new Error(de(8));if(d)throw new Error(de(9));try{d=!0,i=a(i,v)}finally{d=!1}for(var _=s=l,C=0;C<_.length;C++){var N=_[C];N()}return v}function b(v){if(typeof v!="function")throw new Error(de(10));a=v,m({type:Co.REPLACE})}function g(){var v,_=p;return v={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(de(11));function O(){N.next&&N.next(h())}O();var w=_(O);return{unsubscribe:w}}},v[Tc]=function(){return this},v}return m({type:Co.INIT}),o={dispatch:m,subscribe:p,getState:h,replaceReducer:b},o[Tc]=g,o}function Gf(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:Co.INIT});if(typeof o>"u")throw new Error(de(12));if(typeof r(void 0,{type:Co.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(de(13))})}function kc(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{Gf(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var m=!1,b={},g=0;g<i.length;g++){var v=i[g],_=r[v],C=f[v],N=_(C,h);if(typeof N>"u"){var O=h&&h.type;throw new Error(de(14))}b[v]=N,m=m||N!==C}return m=m||i.length!==Object.keys(f).length,m?b:f}}function rr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Ic(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(de(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=rr.apply(void 0,l)(a.dispatch),Ra(Ra({},a),{},{dispatch:i})}}}function Pc(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Dc=Pc();Dc.withExtraArgument=Pc;var ka=Dc;var Wc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),Yf=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{o=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},or=function(e,t){for(var r=0,o=t.length,a=e.length;r<o;r++,a++)e[a]=t[r];return e},jf=Object.defineProperty,Vf=Object.defineProperties,Kf=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,Zf=Object.prototype.hasOwnProperty,qf=Object.prototype.propertyIsEnumerable,Mc=function(e,t,r){return t in e?jf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},pt=function(e,t){for(var r in t||(t={}))Zf.call(t,r)&&Mc(e,r,t[r]);if(Lc)for(var o=0,a=Lc(t);o<a.length;o++){var r=a[o];qf.call(t,r)&&Mc(e,r,t[r])}return e},Ia=function(e,t){return Vf(e,Kf(t))},Jf=function(e,t,r){return new Promise(function(o,a){var i=function(d){try{l(r.next(d))}catch(f){a(f)}},s=function(d){try{l(r.throw(d))}catch(f){a(f)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(e,t)).next())})};var Xf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?rr:rr.apply(null,arguments)},kO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Qf(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var ep=function(e){Wc(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,or([void 0],r[0].concat(this)))):new(t.bind.apply(t,or([void 0],r.concat(this))))},t}(Array),tp=function(e){Wc(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,or([void 0],r[0].concat(this)))):new(t.bind.apply(t,or([void 0],r.concat(this))))},t}(Array);function La(e){return Te(e)?Eo(e,function(){}):e}function rp(e){return typeof e=="boolean"}function op(){return function(t){return np(t)}}function np(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,l=new ep;if(r&&(rp(r)?l.push(ka):l.push(ka.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return l}var Pa=!0;function Bc(e){var t=op(),r=e||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?t():i,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,m=p===void 0?void 0:p,b;if(typeof a=="function")b=a;else if(Qf(a))b=kc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(t),!Pa&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Pa&&g.some(function(w){return typeof w!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Ic.apply(void 0,g),_=rr;d&&(_=Xf(pt({trace:!Pa},typeof d=="object"&&d)));var C=new tp(v),N=C;Array.isArray(m)?N=or([v],m):typeof m=="function"&&(N=m(C));var O=_.apply(void 0,N);return Ta(b,h,O)}function ht(e,t){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return pt(pt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(o){return o.type===e},r}function Hc(e){var t={},r=[],o,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return e(a),[t,r,o]}function ap(e){return typeof e=="function"}function ip(e,t,r,o){r===void 0&&(r=[]);var a=typeof t=="function"?Hc(t):[t,r,o],i=a[0],s=a[1],l=a[2],d;if(ap(e))d=function(){return La(e())};else{var f=La(e);d=function(){return f}}function h(p,m){p===void 0&&(p=d());var b=or([i[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[l]),b.reduce(function(g,v){if(v)if(Je(g)){var _=g,C=v(_,m);return C===void 0?g:C}else{if(Te(g))return Eo(g,function(N){return v(N,m)});var C=v(g,m);if(C===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return g},p)}return h.getInitialState=d,h}function sp(e,t){return e+"/"+t}function $c(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:La(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},l={};a.forEach(function(h){var p=o[h],m=sp(t,h),b,g;"reducer"in p?(b=p.reducer,g=p.prepare):b=p,i[h]=b,s[m]=b,l[h]=g?ht(m,g):ht(m)});function d(){var h=typeof e.extraReducers=="function"?Hc(e.extraReducers):[e.extraReducers],p=h[0],m=p===void 0?{}:p,b=h[1],g=b===void 0?[]:b,v=h[2],_=v===void 0?void 0:v,C=pt(pt({},m),s);return ip(r,function(N){for(var O in C)N.addCase(O,C[O]);for(var w=0,S=g;w<S.length;w++){var I=S[w];N.addMatcher(I.matcher,I.reducer)}_&&N.addDefaultCase(_)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:l,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var cp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",lp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=cp[Math.random()*64|0];return t},dp=["name","message","stack","code"],Da=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Fc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),up=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,o=dp;r<o.length;r++){var a=o[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},LO=function(){function e(t,r,o){var a=ht(t+"/fulfilled",function(h,p,m,b){return{payload:h,meta:Ia(pt({},b||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=ht(t+"/pending",function(h,p,m){return{payload:void 0,meta:Ia(pt({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(h,p,m,b,g){return{payload:b,error:(o&&o.serializeError||up)(h||"Rejected"),meta:Ia(pt({},g||{}),{arg:m,requestId:p,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,b){var g=o?.idGenerator?o.idGenerator(h):lp(),v=new d,_,C=!1;function N(w){_=w,v.abort()}var O=function(){return Jf(this,null,function(){var w,S,I,D,M,H,T;return Yf(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),D=(w=o?.condition)==null?void 0:w.call(o,h,{getState:m,extra:b}),pp(D)?[4,D]:[3,2];case 1:D=y.sent(),y.label=2;case 2:if(D===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,M=new Promise(function(x,k){return v.signal.addEventListener("abort",function(){return k({name:"AbortError",message:_||"Aborted"})})}),p(i(g,h,(S=o?.getPendingMeta)==null?void 0:S.call(o,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([M,Promise.resolve(r(h,{dispatch:p,getState:m,extra:b,requestId:g,signal:v.signal,abort:N,rejectWithValue:function(x,k){return new Da(x,k)},fulfillWithValue:function(x,k){return new Fc(x,k)}})).then(function(x){if(x instanceof Da)throw x;return x instanceof Fc?a(x.payload,g,h,x.meta):a(x,g,h)})])];case 3:return I=y.sent(),[3,5];case 4:return H=y.sent(),I=H instanceof Da?s(null,g,h,H.payload,H.meta):s(H,g,h),[3,5];case 5:return T=o&&!o.dispatchConditionRejection&&s.match(I)&&I.meta.condition,T||p(I),[2,I]}})})}();return Object.assign(O,{abort:N,requestId:g,arg:h,unwrap:function(){return O.then(fp)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function fp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function pp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var zc="listener",Gc="completed",Yc="cancelled",MO="task-"+Yc,FO="task-"+Gc,UO=zc+"-"+Yc,WO=zc+"-"+Gc;var Ma="listenerMiddleware";var BO=ht(Ma+"/add"),HO=ht(Ma+"/removeAll"),$O=ht(Ma+"/remove");var Uc,zO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Uc||(Uc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},hp=function(e){return function(t){setTimeout(t,e)}},GO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:hp(10);wc();window.ftReduxStores||(window.ftReduxStores={});var Fa=class e extends Ct{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(Xt(i))return i;if(a==null)return;let s=$c({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Bc({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Ur;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function yp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Xt(t)&&t.clear()}var _o=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);_t(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function mp(e,t,r){return new _o(e,t,r).watch()}var Ha={};Y(Ha,{scrollHelper:()=>gp});var Wa,Ao=new Map,Ba=class{lock(t,r){if(r){let o=Ao.get(r);if(o==null||o===t)return Ao.set(r,t),r}}release(t,r){r&&Ao.get(r)===t&&Ao.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of Dn(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,l=Rr(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Wa=window.FluidTopicsScrollHelper)!==null&&Wa!==void 0?Wa:new Ba;var gp=window.FluidTopicsScrollHelper;var za={};Y(za,{SearchPlaceConverter:()=>To,SearchPlaceQueryParams:()=>j,isSearchPlaceQueryParams:()=>Ol,serializeRequest:()=>vp});var bp=Dd(Vc(),1);var Kc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Kc||(Kc={}));var Zc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Zc||(Zc={}));var qc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE"})(qc||(qc={}));var Jc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE"})(Jc||(Jc={}));var Xc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Xc||(Xc={}));var Qc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Qc||(Qc={}));var el;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(el||(el={}));var tl;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(tl||(tl={}));var rl;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(rl||(rl={}));var ol;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ol||(ol={}));var nl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(nl||(nl={}));var al;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(al||(al={}));var il;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(il||(il={}));var sl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(sl||(sl={}));var cl;(function(e){e.ASC="ASC",e.DESC="DESC"})(cl||(cl={}));var ll;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ll||(ll={}));var $a;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})($a||($a={}));var ml=e=>Object.keys($a).includes(e);var dl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(dl||(dl={}));var ul;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ul||(ul={}));var fl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(fl||(fl={}));var ar;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ar||(ar={}));var gl=e=>Object.keys(ar).includes(e);var pl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(pl||(pl={}));var hl;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(hl||(hl={}));var ie;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ie||(ie={}));var yl;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(yl||(yl={}));var bl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(bl||(bl={}));var xl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(xl||(xl={}));var vl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(vl||(vl={}));var uw={[ie.PERSONAL_BOOK_SHARE_USER]:[ie.PERSONAL_BOOK_USER],[ie.HTML_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.PDF_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.KHUB_ADMIN]:[ie.CONTENT_PUBLISHER],[ie.ADMIN]:[ie.KHUB_ADMIN,ie.USERS_ADMIN,ie.PORTAL_ADMIN],[ie.GENERATIVE_AI_EXPORT_USER]:[ie.GENERATIVE_AI_USER]};function xp(e){return`"${e}"`}function Sl(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function vp(e,t){return new To(e).serialize(t)}var j;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(j||(j={}));var Sp=new Set(Object.values(j));function Ol(e){return Sp.has(e)}var To=class{constructor(t,r={},o=20,a=!1,i="en-US"){this.baseUrl=t,this.predefinedSorts=r,this.defaultPerPage=o,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,l,d,f,h,p,m,b,g;let v=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&v.append(j.LOCALE,t.contentLocale):v.append(j.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&v.append(j.QUERY,t.query);let _=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(S=>S.valueFilter&&!S.valueFilter.negative))!==null&&i!==void 0?i:[];if(_.length>0){let S=_.map(I=>{var D,M;let H=((M=(D=I.valueFilter)===null||D===void 0?void 0:D.values)!==null&&M!==void 0?M:[]).map(T=>this.escapeFilters(T)).map(T=>xp(Sl(T))).join("_");return`${I.key}~${H}`}).join("*");v.append(j.VALUE_FILTERS,S)}let C=(l=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(S=>S.dateFilter))!==null&&l!==void 0?l:[];if(C.length>0){let S=C.map(I=>{var D;return`${I.key}~${(D=I.dateFilter)===null||D===void 0?void 0:D.type.toLowerCase()}`}).join("*");v.append(j.DATE_FILTERS,S)}let N=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(S=>S.rangeFilter))!==null&&f!==void 0?f:[];if(N.length>0){let S=N.map(I=>{var D,M;return`${I.key}~${(D=I.rangeFilter)===null||D===void 0?void 0:D.from}_${(M=I.rangeFilter)===null||M===void 0?void 0:M.to}`}).join("*");v.append(j.RANGE_FILTERS,S)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&v.append(j.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&v.append(j.SCOPE,t.scope.toLowerCase()),((h=t.sort)===null||h===void 0?void 0:h.length)>0&&t.sort[0].key==="ft:lastEdition"&&v.append(j.SORT,"last_update"),!((p=t.paging)===null||p===void 0)&&p.perPage&&((b=(m=t.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&v.append(j.PER_PAGE,String(t.paging.perPage));let O=(g=t.otherQueryParams)!==null&&g!==void 0?g:{};for(let S in O)v.append(S,O[S]);let w=new Array;return v.forEach((S,I)=>{w.push(this.encodeQueryString(I)+"="+this.encodeQueryString(S))}),encodeURI(w.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(t){var r,o,a,i,s,l,d,f;try{t=decodeURI(t).replace(/%23/g,"#")}catch(C){console.warn("Could not decode search request query params, fallback on raw value",C)}let h=new URLSearchParams(t),p=h.get(j.LOCALE)==="all"?void 0:h.get(j.LOCALE),m=((r=h.get(j.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),b=((o=h.get(j.SORT))!==null&&o!==void 0?o:"DEFAULT").toUpperCase(),g=(a=h.get(j.SCOPE))!==null&&a!==void 0?a:"default",v=+((i=h.get(j.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),_={};for(let C of h.keys())Ol(C)||(_[C]=h.get(C));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=h.get(j.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:ml(m)?m:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[b])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(h),facets:[],paging:{page:1,perPage:Rr(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:_}}parseCompatFilters(t){var r,o,a,i,s,l;let d=[];return t.has(j.FILTERS)&&(d=this.parseValueFilters((r=t.get(j.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(j.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(j.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(j.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(j.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(j.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Sl).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:ar[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}superEscapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(o,a);return t}unescapeFilterValue(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(gl(t))return[{key:"ft:lastEdition",dateFilter:{type:ar[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var Ya={};Y(Ya,{toFtFormComponent:()=>Op});var Ga=Symbol("elementInternals");function Op(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Ga].form}constructor(...o){super(o),this[Ga]=this.attachInternals()}setFormValue(o){this[Ga].setFormValue(o)}}return t}var Va={};Y(Va,{DateFormatter:()=>ja});var ja=class{static format(t,r,o,a){return window.moment?window.moment(t).locale(r).format(this.getDateFormat(o,a)):t}static getDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}};var Za={};Y(Za,{ALL_KEYS_VALUE:()=>Ka,SameWindowStorageEvent:()=>ir});var Ka="__all__",ir=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==Ka}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new ir(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new ir(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new ir(Ka))}});var Ja={};Y(Ja,{FocusMainContentEvent:()=>qa});var qa=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var wl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1};function wp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function Ep(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",wp);document.addEventListener("click",Ep);var El=ee`
48
+ `;var fc={};var fa={};Y(fa,{ParametrizedLabelResolver:()=>ua});var ua=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var Ua={};Y(Ua,{FtCommandQueue:()=>Ur,FtLitElementRedux:()=>pa,FtReduxStore:()=>Fa,ReduxWatcher:()=>_o,clearAllStores:()=>mp,isFtReduxStore:()=>Xt,redux:()=>kf,reduxEventListener:()=>Pf,reduxReactive:()=>If,watch:()=>gp,withRedux:()=>pc});var If=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},kf=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:_t,attribute:!1,...t};M(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[o],store:t.store})}},Pf=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,e)};var Ur=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Xt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Wr=Symbol("internalReduxEventsUnsubscribers"),dt=Symbol("internalStoresUnsubscribers"),It=Symbol("internalStores");function pc(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[It].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[It].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[It].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[It].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[It].delete(l)}setupStores(){this.unsubscribeFromStores(),this[It].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(s.store);f&&(s.store?this[dt].has(s.store):this[dt].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[dt].set(s,l.subscribe(()=>this.updateFromStores())),this[Wr].set(s,[]),Xt(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||l.name===f.store)){let p=m=>this[h](m);l.addEventListener(f.eventName,p),this[Wr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[dt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[dt].has(s)&&this[dt].get(s)(),this[dt].delete(s),(l=this[Wr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Wr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=dt,r=It,o=Wr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}var pa=class extends pc(le){};function Oe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[X]}function Te(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Hf}(e)||Array.isArray(e)||!!e[vc]||!!(!((t=e.constructor)===null||t===void 0)&&t[vc])||Oa(e)||wa(e))}function kt(e,t,r){r===void 0&&(r=!1),tr(e)===0?(r?Object.keys:er)(e).forEach(function(o){r&&typeof o=="symbol"||t(o,e[o],e)}):e.forEach(function(o,a){return t(a,o,e)})}function tr(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Oa(e)?2:wa(e)?3:0}function Qt(e,t){return tr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Df(e,t){return tr(e)===2?e.get(t):e[t]}function Sc(e,t,r){var o=tr(e);o===2?e.set(t,r):o===3?e.add(r):e[t]=r}function Oc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Oa(e){return Wf&&e instanceof Map}function wa(e){return Bf&&e instanceof Set}function ut(e){return e.o||e.t}function Ea(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Cc(e);delete t[X];for(var r=er(t),o=0;o<r.length;o++){var a=r[o],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ca(e,t){return t===void 0&&(t=!1),_a(e)||Je(e)||!Te(e)||(tr(e)>1&&(e.set=e.add=e.clear=e.delete=Lf),Object.freeze(e),t&&kt(e,function(r,o){return Ca(o,!0)},!0)),e}function Lf(){Oe(2)}function _a(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Be(e){var t=Sa[e];return t||Oe(18,e),t}function Mf(e,t){Sa[e]||(Sa[e]=t)}function ba(){return Hr}function ha(e,t){t&&(Be("Patches"),e.u=[],e.s=[],e.v=t)}function So(e){xa(e),e.p.forEach(Ff),e.p=null}function xa(e){e===Hr&&(Hr=e.l)}function hc(e){return Hr={p:[],l:Hr,h:e,m:!0,_:0}}function Ff(e){var t=e[X];t.i===0||t.i===1?t.j():t.g=!0}function ya(e,t){t._=t.p.length;var r=t.p[0],o=e!==void 0&&e!==r;return t.h.O||Be("ES5").S(t,e,o),o?(r[X].P&&(So(t),Oe(4)),Te(e)&&(e=Oo(t,e),t.l||wo(t,e)),t.u&&Be("Patches").M(r[X].t,e,t.u,t.s)):e=Oo(t,r,[]),So(t),t.u&&t.v(t.u,t.s),e!==Ec?e:void 0}function Oo(e,t,r){if(_a(t))return t;var o=t[X];if(!o)return kt(t,function(l,d){return yc(e,o,t,l,d,r)},!0),t;if(o.A!==e)return t;if(!o.P)return wo(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Ea(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),kt(i,function(l,d){return yc(e,o,a,l,d,r,s)}),wo(e,a,!1),r&&e.u&&Be("Patches").N(o,r,e.u,e.s)}return o.o}function yc(e,t,r,o,a,i,s){if(Je(a)){var l=Oo(e,a,i&&t&&t.i!==3&&!Qt(t.R,o)?i.concat(o):void 0);if(Sc(r,o,l),!Je(l))return;e.m=!1}else s&&r.add(a);if(Te(a)&&!_a(a)){if(!e.h.D&&e._<1)return;Oo(e,a),t&&t.A.l||wo(e,a)}}function wo(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Ca(t,r)}function ma(e,t){var r=e[X];return(r?ut(r):e)[t]}function mc(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function ga(e){e.o||(e.o=Ea(e.t))}function va(e,t,r){var o=Oa(t)?Be("MapSet").F(t,r):wa(t)?Be("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:ba(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,f=$r;s&&(d=[l],f=Br);var h=Proxy.revocable(d,f),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(t,r):Be("ES5").J(t,r);return(r?r.A:ba()).p.push(o),o}function Uf(e){return Je(e)||Oe(22,e),function t(r){if(!Te(r))return r;var o,a=r[X],i=tr(r);if(a){if(!a.P&&(a.i<4||!Be("ES5").K(a)))return a.t;a.I=!0,o=gc(r,i),a.I=!1}else o=gc(r,i);return kt(o,function(s,l){a&&Df(a.t,s)===l||Sc(o,s,t(l))}),i===3?new Set(o):o}(e)}function gc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ea(e)}function wc(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[X];return $r.get(f,s)},set:function(f){var h=this[X];$r.set(h,s,f)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][X];if(!d.P)switch(d.i){case 5:o(d)&&ft(d);break;case 4:r(d)&&ft(d)}}}function r(s){for(var l=s.t,d=s.k,f=er(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==X){var m=l[p];if(m===void 0&&!Qt(l,p))return!0;var b=d[p],g=b&&b[X];if(g?g.t!==m:!Oc(b,m))return!0}}var S=!!l[X];return f.length!==er(l).length+(S?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&Oe(3,JSON.stringify(ut(s)))}var i={};Mf("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(p,m){if(p){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var S=Cc(m);delete S[X];for(var A=er(S),C=0;C<A.length;C++){var N=A[C];S[N]=e(N,p||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(d,s),h={i:d?5:4,A:l?l.A:ba(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,X,{value:h,writable:!0}),f},S:function(s,l,d){d?Je(l)&&l[X].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[X];if(p){var m=p.t,b=p.k,g=p.R,S=p.i;if(S===4)kt(b,function(x){x!==X&&(m[x]!==void 0||Qt(m,x)?g[x]||f(b[x]):(g[x]=!0,ft(p)))}),kt(m,function(x){b[x]!==void 0||Qt(b,x)||(g[x]=!1,ft(p))});else if(S===5){if(o(p)&&(ft(p),g.length=!0),b.length<m.length)for(var A=b.length;A<m.length;A++)g[A]=!1;else for(var C=m.length;C<b.length;C++)g[C]=!0;for(var N=Math.min(b.length,m.length),O=0;O<N;O++)b.hasOwnProperty(O)||(g[O]=!0),g[O]===void 0&&f(b[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var bc,Hr,Aa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Wf=typeof Map<"u",Bf=typeof Set<"u",xc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ec=Aa?Symbol.for("immer-nothing"):((bc={})["immer-nothing"]=!0,bc),vc=Aa?Symbol.for("immer-draftable"):"__$immer_draftable",X=Aa?Symbol.for("immer-state"):"__$immer_state";var Hf=""+Object.prototype.constructor,er=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Cc=Object.getOwnPropertyDescriptors||function(e){var t={};return er(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Sa={},$r={get:function(e,t){if(t===X)return e;var r=ut(e);if(!Qt(r,t))return function(a,i,s){var l,d=mc(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,r,t);var o=r[t];return e.I||!Te(o)?o:o===ma(e.t,t)?(ga(e),e.o[t]=va(e.A.h,o,e)):o},has:function(e,t){return t in ut(e)},ownKeys:function(e){return Reflect.ownKeys(ut(e))},set:function(e,t,r){var o=mc(ut(e),t);if(o?.set)return o.set.call(e.k,r),!0;if(!e.P){var a=ma(ut(e),t),i=a?.[X];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Oc(r,a)&&(r!==void 0||Qt(e.t,t)))return!0;ga(e),ft(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return ma(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ga(e),ft(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ut(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:r[t]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Oe(12)}},Br={};kt($r,function(e,t){Br[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Br.deleteProperty=function(e,t){return Br.set.call(this,e,t,void 0)},Br.set=function(e,t,r){return $r.set.call(this,e[0],t,r,e[0])};var $f=function(){function e(r){var o=this;this.O=xc,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=o;return function(S){var A=this;S===void 0&&(S=l);for(var C=arguments.length,N=Array(C>1?C-1:0),O=1;O<C;O++)N[O-1]=arguments[O];return d.produce(S,function(x){var w;return(w=i).call.apply(w,[A,x].concat(N))})}}var f;if(typeof i!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Te(a)){var h=hc(o),p=va(o,a,void 0),m=!0;try{f=i(p),m=!1}finally{m?So(h):xa(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return ha(h,s),ya(S,h)},function(S){throw So(h),S}):(ha(h,s),ya(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Ec&&(f=void 0),o.D&&Ca(f,!0),s){var b=[],g=[];Be("Patches").M(a,f,b,g),s(b,g)}return f}Oe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return o.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(p))})};var s,l,d=o.produce(a,i,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Te(r)||Oe(8),Je(r)&&(r=Uf(r));var o=hc(this),a=va(this,r,void 0);return a[X].C=!0,xa(o),a},t.finishDraft=function(r,o){var a=r&&r[X],i=a.A;return ha(i,o),ya(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!xc&&Oe(20),this.O=r},t.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=Be("Patches").$;return Je(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},e}(),be=new $f,zf=be.produce,lO=be.produceWithPatches.bind(be),dO=be.setAutoFreeze.bind(be),uO=be.setUseProxies.bind(be),fO=be.applyPatches.bind(be),pO=be.createDraft.bind(be),hO=be.finishDraft.bind(be),Eo=zf;function Pt(e){"@babel/helpers - typeof";return Pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pt(e)}function _c(e,t){if(Pt(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(Pt(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ac(e){var t=_c(e,"string");return Pt(t)=="symbol"?t:t+""}function Rc(e,t,r){return(t=Ac(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Ra(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nc(Object(r),!0).forEach(function(o){Rc(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nc(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function de(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Tc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Na=function(){return Math.random().toString(36).substring(7).split("").join(".")},Co={INIT:"@@redux/INIT"+Na(),REPLACE:"@@redux/REPLACE"+Na(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Na()}};function Gf(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ta(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(de(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(de(1));return r(Ta)(e,t)}if(typeof e!="function")throw new Error(de(2));var a=e,i=t,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(de(3));return i}function p(S){if(typeof S!="function")throw new Error(de(4));if(d)throw new Error(de(5));var A=!0;return f(),l.push(S),function(){if(A){if(d)throw new Error(de(6));A=!1,f();var N=l.indexOf(S);l.splice(N,1),s=null}}}function m(S){if(!Gf(S))throw new Error(de(7));if(typeof S.type>"u")throw new Error(de(8));if(d)throw new Error(de(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var A=s=l,C=0;C<A.length;C++){var N=A[C];N()}return S}function b(S){if(typeof S!="function")throw new Error(de(10));a=S,m({type:Co.REPLACE})}function g(){var S,A=p;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(de(11));function O(){N.next&&N.next(h())}O();var x=A(O);return{unsubscribe:x}}},S[Tc]=function(){return this},S}return m({type:Co.INIT}),o={dispatch:m,subscribe:p,getState:h,replaceReducer:b},o[Tc]=g,o}function Yf(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:Co.INIT});if(typeof o>"u")throw new Error(de(12));if(typeof r(void 0,{type:Co.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(de(13))})}function Ic(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{Yf(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var m=!1,b={},g=0;g<i.length;g++){var S=i[g],A=r[S],C=f[S],N=A(C,h);if(typeof N>"u"){var O=h&&h.type;throw new Error(de(14))}b[S]=N,m=m||N!==C}return m=m||i.length!==Object.keys(f).length,m?b:f}}function rr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function kc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(de(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=rr.apply(void 0,l)(a.dispatch),Ra(Ra({},a),{},{dispatch:i})}}}function Pc(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Dc=Pc();Dc.withExtraArgument=Pc;var Ia=Dc;var Wc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),jf=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{o=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},or=function(e,t){for(var r=0,o=t.length,a=e.length;r<o;r++,a++)e[a]=t[r];return e},Vf=Object.defineProperty,Kf=Object.defineProperties,Zf=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,qf=Object.prototype.hasOwnProperty,Jf=Object.prototype.propertyIsEnumerable,Mc=function(e,t,r){return t in e?Vf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},pt=function(e,t){for(var r in t||(t={}))qf.call(t,r)&&Mc(e,r,t[r]);if(Lc)for(var o=0,a=Lc(t);o<a.length;o++){var r=a[o];Jf.call(t,r)&&Mc(e,r,t[r])}return e},ka=function(e,t){return Kf(e,Zf(t))},Xf=function(e,t,r){return new Promise(function(o,a){var i=function(d){try{l(r.next(d))}catch(f){a(f)}},s=function(d){try{l(r.throw(d))}catch(f){a(f)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(e,t)).next())})};var Qf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?rr:rr.apply(null,arguments)},kO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ep(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var tp=function(e){Wc(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,or([void 0],r[0].concat(this)))):new(t.bind.apply(t,or([void 0],r.concat(this))))},t}(Array),rp=function(e){Wc(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,or([void 0],r[0].concat(this)))):new(t.bind.apply(t,or([void 0],r.concat(this))))},t}(Array);function La(e){return Te(e)?Eo(e,function(){}):e}function op(e){return typeof e=="boolean"}function np(){return function(t){return ap(t)}}function ap(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,l=new tp;if(r&&(op(r)?l.push(Ia):l.push(Ia.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return l}var Pa=!0;function Bc(e){var t=np(),r=e||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?t():i,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,m=p===void 0?void 0:p,b;if(typeof a=="function")b=a;else if(ep(a))b=Ic(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(t),!Pa&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Pa&&g.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=kc.apply(void 0,g),A=rr;d&&(A=Qf(pt({trace:!Pa},typeof d=="object"&&d)));var C=new rp(S),N=C;Array.isArray(m)?N=or([S],m):typeof m=="function"&&(N=m(C));var O=A.apply(void 0,N);return Ta(b,h,O)}function ht(e,t){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return pt(pt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(o){return o.type===e},r}function Hc(e){var t={},r=[],o,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return e(a),[t,r,o]}function ip(e){return typeof e=="function"}function sp(e,t,r,o){r===void 0&&(r=[]);var a=typeof t=="function"?Hc(t):[t,r,o],i=a[0],s=a[1],l=a[2],d;if(ip(e))d=function(){return La(e())};else{var f=La(e);d=function(){return f}}function h(p,m){p===void 0&&(p=d());var b=or([i[m.type]],s.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return b.filter(function(g){return!!g}).length===0&&(b=[l]),b.reduce(function(g,S){if(S)if(Je(g)){var A=g,C=S(A,m);return C===void 0?g:C}else{if(Te(g))return Eo(g,function(N){return S(N,m)});var C=S(g,m);if(C===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return g},p)}return h.getInitialState=d,h}function cp(e,t){return e+"/"+t}function $c(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:La(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},l={};a.forEach(function(h){var p=o[h],m=cp(t,h),b,g;"reducer"in p?(b=p.reducer,g=p.prepare):b=p,i[h]=b,s[m]=b,l[h]=g?ht(m,g):ht(m)});function d(){var h=typeof e.extraReducers=="function"?Hc(e.extraReducers):[e.extraReducers],p=h[0],m=p===void 0?{}:p,b=h[1],g=b===void 0?[]:b,S=h[2],A=S===void 0?void 0:S,C=pt(pt({},m),s);return sp(r,function(N){for(var O in C)N.addCase(O,C[O]);for(var x=0,w=g;x<w.length;x++){var I=w[x];N.addMatcher(I.matcher,I.reducer)}A&&N.addDefaultCase(A)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:l,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var lp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=lp[Math.random()*64|0];return t},up=["name","message","stack","code"],Da=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Fc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),fp=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,o=up;r<o.length;r++){var a=o[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},MO=function(){function e(t,r,o){var a=ht(t+"/fulfilled",function(h,p,m,b){return{payload:h,meta:ka(pt({},b||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=ht(t+"/pending",function(h,p,m){return{payload:void 0,meta:ka(pt({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(h,p,m,b,g){return{payload:b,error:(o&&o.serializeError||fp)(h||"Rejected"),meta:ka(pt({},g||{}),{arg:m,requestId:p,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,b){var g=o?.idGenerator?o.idGenerator(h):dp(),S=new d,A,C=!1;function N(x){A=x,S.abort()}var O=function(){return Xf(this,null,function(){var x,w,I,D,H,U,k;return jf(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),D=(x=o?.condition)==null?void 0:x.call(o,h,{getState:m,extra:b}),hp(D)?[4,D]:[3,2];case 1:D=y.sent(),y.label=2;case 2:if(D===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,H=new Promise(function(v,T){return S.signal.addEventListener("abort",function(){return T({name:"AbortError",message:A||"Aborted"})})}),p(i(g,h,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([H,Promise.resolve(r(h,{dispatch:p,getState:m,extra:b,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(v,T){return new Da(v,T)},fulfillWithValue:function(v,T){return new Fc(v,T)}})).then(function(v){if(v instanceof Da)throw v;return v instanceof Fc?a(v.payload,g,h,v.meta):a(v,g,h)})])];case 3:return I=y.sent(),[3,5];case 4:return U=y.sent(),I=U instanceof Da?s(null,g,h,U.payload,U.meta):s(U,g,h),[3,5];case 5:return k=o&&!o.dispatchConditionRejection&&s.match(I)&&I.meta.condition,k||p(I),[2,I]}})})}();return Object.assign(O,{abort:N,requestId:g,arg:h,unwrap:function(){return O.then(pp)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function pp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function hp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var zc="listener",Gc="completed",Yc="cancelled",FO="task-"+Yc,UO="task-"+Gc,WO=zc+"-"+Yc,BO=zc+"-"+Gc;var Ma="listenerMiddleware";var HO=ht(Ma+"/add"),$O=ht(Ma+"/removeAll"),zO=ht(Ma+"/remove");var Uc,GO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Uc||(Uc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},yp=function(e){return function(t){setTimeout(t,e)}},YO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:yp(10);wc();window.ftReduxStores||(window.ftReduxStores={});var Fa=class e extends Ct{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(Xt(i))return i;if(a==null)return;let s=$c({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Bc({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Ur;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function mp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Xt(t)&&t.clear()}var _o=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);_t(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function gp(e,t,r){return new _o(e,t,r).watch()}var Ha={};Y(Ha,{scrollHelper:()=>bp});var Wa,Ao=new Map,Ba=class{lock(t,r){if(r){let o=Ao.get(r);if(o==null||o===t)return Ao.set(r,t),r}}release(t,r){r&&Ao.get(r)===t&&Ao.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of Dn(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,l=Rr(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Wa=window.FluidTopicsScrollHelper)!==null&&Wa!==void 0?Wa:new Ba;var bp=window.FluidTopicsScrollHelper;var za={};Y(za,{SearchPlaceConverter:()=>To,SearchPlaceQueryParams:()=>j,isSearchPlaceQueryParams:()=>wl,serializeRequest:()=>Sp});var xp=Ld(Vc(),1);var Kc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Kc||(Kc={}));var Zc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Zc||(Zc={}));var qc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE"})(qc||(qc={}));var Jc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE"})(Jc||(Jc={}));var Xc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Xc||(Xc={}));var Qc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Qc||(Qc={}));var el;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(el||(el={}));var tl;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(tl||(tl={}));var rl;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(rl||(rl={}));var ol;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ol||(ol={}));var nl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(nl||(nl={}));var al;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(al||(al={}));var il;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(il||(il={}));var sl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(sl||(sl={}));var cl;(function(e){e.ASC="ASC",e.DESC="DESC"})(cl||(cl={}));var ll;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ll||(ll={}));var $a;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})($a||($a={}));var gl=e=>Object.keys($a).includes(e);var dl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(dl||(dl={}));var ul;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ul||(ul={}));var fl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(fl||(fl={}));var ar;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ar||(ar={}));var bl=e=>Object.keys(ar).includes(e);var pl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(pl||(pl={}));var hl;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(hl||(hl={}));var yl;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(yl||(yl={}));var ie;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ie||(ie={}));var ml;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(ml||(ml={}));var xl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(xl||(xl={}));var vl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(vl||(vl={}));var Sl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Sl||(Sl={}));var fw={[ie.PERSONAL_BOOK_SHARE_USER]:[ie.PERSONAL_BOOK_USER],[ie.HTML_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.PDF_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.KHUB_ADMIN]:[ie.CONTENT_PUBLISHER],[ie.ADMIN]:[ie.KHUB_ADMIN,ie.USERS_ADMIN,ie.PORTAL_ADMIN],[ie.GENERATIVE_AI_EXPORT_USER]:[ie.GENERATIVE_AI_USER]};function vp(e){return`"${e}"`}function Ol(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Sp(e,t){return new To(e).serialize(t)}var j;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(j||(j={}));var Op=new Set(Object.values(j));function wl(e){return Op.has(e)}var To=class{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,l,d,f,h,p,m,b;let g=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&g.append(j.LOCALE,t.contentLocale):g.append(j.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&g.append(j.QUERY,t.query);let S=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(x=>x.valueFilter&&!x.valueFilter.negative))!==null&&i!==void 0?i:[];if(S.length>0){let x=S.map(w=>{var I,D;let H=((D=(I=w.valueFilter)===null||I===void 0?void 0:I.values)!==null&&D!==void 0?D:[]).map(U=>this.escapeFilters(U)).map(U=>vp(Ol(U))).join("_");return`${w.key}~${H}`}).join("*");g.append(j.VALUE_FILTERS,x)}let A=(l=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(x=>x.dateFilter))!==null&&l!==void 0?l:[];if(A.length>0){let x=A.map(w=>{var I;return`${w.key}~${(I=w.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");g.append(j.DATE_FILTERS,x)}let C=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(x=>x.rangeFilter))!==null&&f!==void 0?f:[];if(C.length>0){let x=C.map(w=>{var I,D;return`${w.key}~${(I=w.rangeFilter)===null||I===void 0?void 0:I.from}_${(D=w.rangeFilter)===null||D===void 0?void 0:D.to}`}).join("*");g.append(j.RANGE_FILTERS,x)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&g.append(j.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&g.append(j.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&g.append(j.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((m=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&m!==void 0?m:this.defaultPerPage)!=this.defaultPerPage&&g.append(j.PER_PAGE,String(t.paging.perPage));let N=(b=t.otherQueryParams)!==null&&b!==void 0?b:{};for(let x in N)g.append(x,N[x]);let O=new Array;return g.forEach((x,w)=>{O.push(this.encodeQueryString(w)+"="+this.encodeQueryString(x))}),encodeURI(O.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(t){var r,o,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(S){console.warn("Could not decode search request query params, fallback on raw value",S)}let d=new URLSearchParams(t),f=d.get(j.LOCALE)==="all"?void 0:d.get(j.LOCALE),h=((r=d.get(j.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(j.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(a=d.get(j.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=d.get(j.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),g={};for(let S of d.keys())wl(S)||(g[S]=d.get(S));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(j.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:gl(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Rr(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:g}}parseCompatFilters(t){var r,o,a,i,s,l;let d=[];return t.has(j.FILTERS)&&(d=this.parseValueFilters((r=t.get(j.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(j.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(j.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(j.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(j.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(j.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Ol).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:ar[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}superEscapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(o,a);return t}unescapeFilterValue(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(bl(t))return[{key:"ft:lastEdition",dateFilter:{type:ar[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var Ya={};Y(Ya,{toFtFormComponent:()=>wp});var Ga=Symbol("elementInternals");function wp(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Ga].form}constructor(...o){super(o),this[Ga]=this.attachInternals()}setFormValue(o){this[Ga].setFormValue(o)}}return t}var Va={};Y(Va,{DateFormatter:()=>ja});var ja=class{static format(t,r,o,a){return window.moment?window.moment(t).locale(r).format(this.getDateFormat(o,a)):t}static getDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}};var Za={};Y(Za,{ALL_KEYS_VALUE:()=>Ka,SameWindowStorageEvent:()=>ir});var Ka="__all__",ir=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==Ka}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new ir(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new ir(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new ir(Ka))}});var Ja={};Y(Ja,{FocusMainContentEvent:()=>qa});var qa=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var El={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1};function Ep(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function Cp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Ep);document.addEventListener("click",Cp);var Cl=ee`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -69,17 +69,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ft-conte
69
69
  width:auto;
70
70
  height:auto;
71
71
  }
72
- `;var Cl;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(Cl||(Cl={}));var _l;(function(e){e.default="default",e.warning="warning",e.error="error"})(_l||(_l={}));var zr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(t,!1),zr(o,t);return!0},ko=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},Al=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),Ap(t)}};function Cp(e){this._$AN!==void 0?(ko(this),this._$AM=e,Al(this)):this._$AM=e}function _p(e,t=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(o))for(let i=r;i<o.length;i++)zr(o[i],!1),ko(o[i]);else o!=null&&(zr(o,!1),ko(o));else zr(this,e)}var Ap=e=>{e.type==Fe.CHILD&&(e._$AP??=_p,e._$AQ??=Cp)},Io=class extends Se{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,o){super._$AT(t,r,o),Al(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(zr(this,t),ko(this))}setValue(t){if(Ji(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Rl;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(Rl||(Rl={}));var Rp={sm:640,md:768,lg:1024,xl:1280},Xa=class extends Io{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,o,a]){return this.lastArgs=[r,o,a],this.render(r,o,a)}render(t,r,o){let a=this.resolveThreshold(t),i=o??(()=>J);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Rp[t]}},Vw=Re(Xa);var Qa,ei,ti,ri,Np=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ti=(ei=(Qa=window.safari)===null||Qa===void 0?void 0:Qa.pushNotification)===null||ei===void 0?void 0:ei.toString())!==null&&ti!==void 0?ti:"")==="[object SafariRemoteNotification]",Tp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ri=window.ftGlobals)!==null&&ri!==void 0?ri:{lit:yn,litDecorators:gn,litRepeat:bn,litClassMap:xn,litStyleMap:vn,litUnsafeHTML:Sn,wcUtils:{...Nn,...wn,...In,...Va,...Pn,...Mn,...Bn,...An,...ta,...Ja,...wl,...Ha,...Wn,...sa,...Ya,...aa,...dc,...Ln,...la,...Hn,...da,...El,...fc,...fa,...Ua,...Za,...ra,...na,...za,isSafari:Np,isTouchScreen:Tp,setVariable:Yt}};var Dl;function A(){return Dl.apply(null,arguments)}function kp(e){Dl=e}function Ie(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Mt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function $(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function hi(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if($(e,t))return!1;return!0}function me(e){return e===void 0}function ot(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Jr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ll(e,t){var r=[],o,a=e.length;for(o=0;o<a;++o)r.push(t(e[o],o));return r}function mt(e,t){for(var r in t)$(t,r)&&(e[r]=t[r]);return $(t,"toString")&&(e.toString=t.toString),$(t,"valueOf")&&(e.valueOf=t.valueOf),e}function ze(e,t,r,o){return ad(e,t,r,o,!0).utc()}function Ip(){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 L(e){return e._pf==null&&(e._pf=Ip()),e._pf}var si;Array.prototype.some?si=Array.prototype.some:si=function(e){var t=Object(this),r=t.length>>>0,o;for(o=0;o<r;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1};function yi(e){if(e._isValid==null){var t=L(e),r=si.call(t.parsedDateParts,function(a){return a!=null}),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=o;else return o}return e._isValid}function Go(e){var t=ze(NaN);return e!=null?mt(L(t),e):L(t).userInvalidated=!0,t}var Nl=A.momentProperties=[],oi=!1;function mi(e,t){var r,o,a,i=Nl.length;if(me(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),me(t._i)||(e._i=t._i),me(t._f)||(e._f=t._f),me(t._l)||(e._l=t._l),me(t._strict)||(e._strict=t._strict),me(t._tzm)||(e._tzm=t._tzm),me(t._isUTC)||(e._isUTC=t._isUTC),me(t._offset)||(e._offset=t._offset),me(t._pf)||(e._pf=L(t)),me(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)o=Nl[r],a=t[o],me(a)||(e[o]=a);return e}function Xr(e){mi(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),oi===!1&&(oi=!0,A.updateOffset(this),oi=!1)}function Pe(e){return e instanceof Xr||e!=null&&e._isAMomentObject!=null}function Ml(e){A.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Ee(e,t){var r=!0;return mt(function(){if(A.deprecationHandler!=null&&A.deprecationHandler(null,e),r){var o=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
73
- [`+i+"] ";for(s in arguments[0])$(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}Ml(e+`
72
+ `;var _l;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(_l||(_l={}));var Al;(function(e){e.default="default",e.warning="warning",e.error="error"})(Al||(Al={}));var zr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(t,!1),zr(o,t);return!0},Io=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},Rl=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),Rp(t)}};function _p(e){this._$AN!==void 0?(Io(this),this._$AM=e,Rl(this)):this._$AM=e}function Ap(e,t=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(o))for(let i=r;i<o.length;i++)zr(o[i],!1),Io(o[i]);else o!=null&&(zr(o,!1),Io(o));else zr(this,e)}var Rp=e=>{e.type==Fe.CHILD&&(e._$AP??=Ap,e._$AQ??=_p)},ko=class extends Se{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,o){super._$AT(t,r,o),Rl(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(zr(this,t),Io(this))}setValue(t){if(Ji(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Nl;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(Nl||(Nl={}));var Np={sm:640,md:768,lg:1024,xl:1280},Xa=class extends ko{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,o,a]){return this.lastArgs=[r,o,a],this.render(r,o,a)}render(t,r,o){let a=this.resolveThreshold(t),i=o??(()=>J);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Np[t]}},Kw=Re(Xa);var Qa,ei,ti,ri,Tp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ti=(ei=(Qa=window.safari)===null||Qa===void 0?void 0:Qa.pushNotification)===null||ei===void 0?void 0:ei.toString())!==null&&ti!==void 0?ti:"")==="[object SafariRemoteNotification]",Ip="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ri=window.ftGlobals)!==null&&ri!==void 0?ri:{lit:yn,litDecorators:gn,litRepeat:bn,litClassMap:xn,litStyleMap:vn,litUnsafeHTML:Sn,wcUtils:{...Nn,...wn,...kn,...Va,...Pn,...Mn,...Bn,...An,...ta,...Ja,...El,...Ha,...Wn,...sa,...Ya,...aa,...dc,...Ln,...la,...Hn,...da,...Cl,...fc,...fa,...Ua,...Za,...ra,...na,...za,isSafari:Tp,isTouchScreen:Ip,setVariable:Yt}};var Ll;function _(){return Ll.apply(null,arguments)}function kp(e){Ll=e}function ke(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Mt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function $(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function hi(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if($(e,t))return!1;return!0}function me(e){return e===void 0}function ot(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Jr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ml(e,t){var r=[],o,a=e.length;for(o=0;o<a;++o)r.push(t(e[o],o));return r}function mt(e,t){for(var r in t)$(t,r)&&(e[r]=t[r]);return $(t,"toString")&&(e.toString=t.toString),$(t,"valueOf")&&(e.valueOf=t.valueOf),e}function ze(e,t,r,o){return id(e,t,r,o,!0).utc()}function Pp(){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 L(e){return e._pf==null&&(e._pf=Pp()),e._pf}var si;Array.prototype.some?si=Array.prototype.some:si=function(e){var t=Object(this),r=t.length>>>0,o;for(o=0;o<r;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1};function yi(e){if(e._isValid==null){var t=L(e),r=si.call(t.parsedDateParts,function(a){return a!=null}),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=o;else return o}return e._isValid}function Go(e){var t=ze(NaN);return e!=null?mt(L(t),e):L(t).userInvalidated=!0,t}var Tl=_.momentProperties=[],oi=!1;function mi(e,t){var r,o,a,i=Tl.length;if(me(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),me(t._i)||(e._i=t._i),me(t._f)||(e._f=t._f),me(t._l)||(e._l=t._l),me(t._strict)||(e._strict=t._strict),me(t._tzm)||(e._tzm=t._tzm),me(t._isUTC)||(e._isUTC=t._isUTC),me(t._offset)||(e._offset=t._offset),me(t._pf)||(e._pf=L(t)),me(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)o=Tl[r],a=t[o],me(a)||(e[o]=a);return e}function Xr(e){mi(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),oi===!1&&(oi=!0,_.updateOffset(this),oi=!1)}function Pe(e){return e instanceof Xr||e!=null&&e._isAMomentObject!=null}function Fl(e){_.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Ee(e,t){var r=!0;return mt(function(){if(_.deprecationHandler!=null&&_.deprecationHandler(null,e),r){var o=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
73
+ [`+i+"] ";for(s in arguments[0])$(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}Fl(e+`
74
74
  Arguments: `+Array.prototype.slice.call(o).join("")+`
75
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Tl={};function Fl(e,t){A.deprecationHandler!=null&&A.deprecationHandler(e,t),Tl[e]||(Ml(t),Tl[e]=!0)}A.suppressDeprecationWarnings=!1;A.deprecationHandler=null;function Ge(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Pp(e){var t,r;for(r in e)$(e,r)&&(t=e[r],Ge(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ci(e,t){var r=mt({},e),o;for(o in t)$(t,o)&&(Mt(e[o])&&Mt(t[o])?(r[o]={},mt(r[o],e[o]),mt(r[o],t[o])):t[o]!=null?r[o]=t[o]:delete r[o]);for(o in e)$(e,o)&&!$(t,o)&&Mt(e[o])&&(r[o]=mt({},r[o]));return r}function gi(e){e!=null&&this.set(e)}var li;Object.keys?li=Object.keys:li=function(e){var t,r=[];for(t in e)$(e,t)&&r.push(t);return r};var Dp={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Lp(e,t,r){var o=this._calendar[e]||this._calendar.sameElse;return Ge(o)?o.call(t,r):o}function $e(e,t,r){var o=""+Math.abs(e),a=t-o.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var bi=/(\[[^\[]*\])|(\\)?([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,Po=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ni={},dr={};function P(e,t,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),e&&(dr[e]=a),t&&(dr[t[0]]=function(){return $e(a.apply(this,arguments),t[1],t[2])}),r&&(dr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Mp(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Fp(e){var t=e.match(bi),r,o;for(r=0,o=t.length;r<o;r++)dr[t[r]]?t[r]=dr[t[r]]:t[r]=Mp(t[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=Ge(t[s])?t[s].call(a,e):t[s];return i}}function Lo(e,t){return e.isValid()?(t=Ul(t,e.localeData()),ni[t]=ni[t]||Fp(t),ni[t](e)):e.localeData().invalidDate()}function Ul(e,t){var r=5;function o(a){return t.longDateFormat(a)||a}for(Po.lastIndex=0;r>=0&&Po.test(e);)e=e.replace(Po,o),Po.lastIndex=0,r-=1;return e}var Up={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 Wp(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(bi).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[e])}var Bp="Invalid date";function Hp(){return this._invalidDate}var $p="%d",zp=/\d{1,2}/;function Gp(e){return this._ordinal.replace("%d",e)}var Yp={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 jp(e,t,r,o){var a=this._relativeTime[r];return Ge(a)?a(e,t,r,o):a.replace(/%d/i,e)}function Vp(e,t){var r=this._relativeTime[e>0?"future":"past"];return Ge(r)?r(t):r.replace(/%s/i,t)}var jr={};function fe(e,t){var r=e.toLowerCase();jr[r]=jr[r+"s"]=jr[t]=e}function Ce(e){return typeof e=="string"?jr[e]||jr[e.toLowerCase()]:void 0}function xi(e){var t={},r,o;for(o in e)$(e,o)&&(r=Ce(o),r&&(t[r]=e[o]));return t}var Wl={};function pe(e,t){Wl[e]=t}function Kp(e){var t=[],r;for(r in e)$(e,r)&&t.push({unit:r,priority:Wl[r]});return t.sort(function(o,a){return o.priority-a.priority}),t}function Yo(e){return e%4===0&&e%100!==0||e%400===0}function we(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function U(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=we(t)),r}function pr(e,t){return function(r){return r!=null?(Bl(this,e,r),A.updateOffset(this,t),this):Uo(this,e)}}function Uo(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Bl(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Yo(e.year())&&e.month()===1&&e.date()===29?(r=U(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Jo(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function Zp(e){return e=Ce(e),Ge(this[e])?this[e]():this}function qp(e,t){if(typeof e=="object"){e=xi(e);var r=Kp(e),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](e[r[o].unit])}else if(e=Ce(e),Ge(this[e]))return this[e](t);return this}var Hl=/\d/,ve=/\d\d/,$l=/\d{3}/,vi=/\d{4}/,jo=/[+-]?\d{6}/,q=/\d\d?/,zl=/\d\d\d\d?/,Gl=/\d\d\d\d\d\d?/,Vo=/\d{1,3}/,Si=/\d{1,4}/,Ko=/[+-]?\d{1,6}/,hr=/\d+/,Zo=/[+-]?\d+/,Jp=/Z|[+-]\d\d:?\d\d/gi,qo=/Z|[+-]\d\d(?::?\d\d)?/gi,Xp=/[+-]?\d+(\.\d{1,3})?/,Qr=/[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,Wo;Wo={};function R(e,t,r){Wo[e]=Ge(t)?t:function(o,a){return o&&r?r:t}}function Qp(e,t){return $(Wo,e)?Wo[e](t._strict,t._locale):new RegExp(eh(e))}function eh(e){return xe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,o,a,i){return r||o||a||i}))}function xe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var di={};function V(e,t){var r,o=t,a;for(typeof e=="string"&&(e=[e]),ot(t)&&(o=function(i,s){s[t]=U(i)}),a=e.length,r=0;r<a;r++)di[e[r]]=o}function eo(e,t){V(e,function(r,o,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function th(e,t,r){t!=null&&$(di,e)&&di[e](t,r._a,r,e)}var ue=0,et=1,He=2,oe=3,ke=4,tt=5,Lt=6,rh=7,oh=8;function nh(e,t){return(e%t+t)%t}var te;Array.prototype.indexOf?te=Array.prototype.indexOf:te=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Jo(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=nh(t,12);return e+=(t-r)/12,r===1?Yo(e)?29:28:31-r%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1});P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});P("MMMM",0,0,function(e){return this.localeData().months(this,e)});fe("month","M");pe("month",8);R("M",q);R("MM",q,ve);R("MMM",function(e,t){return t.monthsShortRegex(e)});R("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[et]=U(e)-1});V(["MMM","MMMM"],function(e,t,r,o){var a=r._locale.monthsParse(e,o,r._strict);a!=null?t[et]=a:L(r).invalidMonth=e});var ah="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Yl="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),jl=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ih=Qr,sh=Qr;function ch(e,t){return e?Ie(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||jl).test(t)?"format":"standalone"][e.month()]:Ie(this._months)?this._months:this._months.standalone}function lh(e,t){return e?Ie(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[jl.test(t)?"format":"standalone"][e.month()]:Ie(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dh(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=ze([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=te.call(this._shortMonthsParse,s),a!==-1?a:null):(a=te.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=te.call(this._shortMonthsParse,s),a!==-1?a:(a=te.call(this._longMonthsParse,s),a!==-1?a:null)):(a=te.call(this._longMonthsParse,s),a!==-1?a:(a=te.call(this._shortMonthsParse,s),a!==-1?a:null))}function uh(e,t,r){var o,a,i;if(this._monthsParseExact)return dh.call(this,e,t,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&&t==="MMMM"&&this._longMonthsParse[o].test(e))return o;if(r&&t==="MMM"&&this._shortMonthsParse[o].test(e))return o;if(!r&&this._monthsParse[o].test(e))return o}}function Vl(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=U(t);else if(t=e.localeData().monthsParse(t),!ot(t))return e}return r=Math.min(e.date(),Jo(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Kl(e){return e!=null?(Vl(this,e),A.updateOffset(this,!0),this):Uo(this,"Month")}function fh(){return Jo(this.year(),this.month())}function ph(e){return this._monthsParseExact?($(this,"_monthsRegex")||Zl.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):($(this,"_monthsShortRegex")||(this._monthsShortRegex=ih),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function hh(e){return this._monthsParseExact?($(this,"_monthsRegex")||Zl.call(this),e?this._monthsStrictRegex:this._monthsRegex):($(this,"_monthsRegex")||(this._monthsRegex=sh),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Zl(){function e(s,l){return l.length-s.length}var t=[],r=[],o=[],a,i;for(a=0;a<12;a++)i=ze([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),o.sort(e),a=0;a<12;a++)t[a]=xe(t[a]),r[a]=xe(r[a]);for(a=0;a<24;a++)o[a]=xe(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}P("Y",0,0,function(){var e=this.year();return e<=9999?$e(e,4):"+"+e});P(0,["YY",2],0,function(){return this.year()%100});P(0,["YYYY",4],0,"year");P(0,["YYYYY",5],0,"year");P(0,["YYYYYY",6,!0],0,"year");fe("year","y");pe("year",1);R("Y",Zo);R("YY",q,ve);R("YYYY",Si,vi);R("YYYYY",Ko,jo);R("YYYYYY",Ko,jo);V(["YYYYY","YYYYYY"],ue);V("YYYY",function(e,t){t[ue]=e.length===2?A.parseTwoDigitYear(e):U(e)});V("YY",function(e,t){t[ue]=A.parseTwoDigitYear(e)});V("Y",function(e,t){t[ue]=parseInt(e,10)});function Vr(e){return Yo(e)?366:365}A.parseTwoDigitYear=function(e){return U(e)+(U(e)>68?1900:2e3)};var ql=pr("FullYear",!0);function yh(){return Yo(this.year())}function mh(e,t,r,o,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,o,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,o,a,i,s),l}function Kr(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Bo(e,t,r){var o=7+t-r,a=(7+Kr(e,0,o).getUTCDay()-t)%7;return-a+o-1}function Jl(e,t,r,o,a){var i=(7+r-o)%7,s=Bo(e,o,a),l=1+7*(t-1)+i+s,d,f;return l<=0?(d=e-1,f=Vr(d)+l):l>Vr(e)?(d=e+1,f=l-Vr(e)):(d=e,f=l),{year:d,dayOfYear:f}}function Zr(e,t,r){var o=Bo(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+rt(s,t,r)):a>rt(e.year(),t,r)?(i=a-rt(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function rt(e,t,r){var o=Bo(e,t,r),a=Bo(e+1,t,r);return(Vr(e)-o+a)/7}P("w",["ww",2],"wo","week");P("W",["WW",2],"Wo","isoWeek");fe("week","w");fe("isoWeek","W");pe("week",5);pe("isoWeek",5);R("w",q);R("ww",q,ve);R("W",q);R("WW",q,ve);eo(["w","ww","W","WW"],function(e,t,r,o){t[o.substr(0,1)]=U(e)});function gh(e){return Zr(e,this._week.dow,this._week.doy).week}var bh={dow:0,doy:6};function xh(){return this._week.dow}function vh(){return this._week.doy}function Sh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Oh(e){var t=Zr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}P("d",0,"do","day");P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});P("e",0,0,"weekday");P("E",0,0,"isoWeekday");fe("day","d");fe("weekday","e");fe("isoWeekday","E");pe("day",11);pe("weekday",11);pe("isoWeekday",11);R("d",q);R("e",q);R("E",q);R("dd",function(e,t){return t.weekdaysMinRegex(e)});R("ddd",function(e,t){return t.weekdaysShortRegex(e)});R("dddd",function(e,t){return t.weekdaysRegex(e)});eo(["dd","ddd","dddd"],function(e,t,r,o){var a=r._locale.weekdaysParse(e,o,r._strict);a!=null?t.d=a:L(r).invalidWeekday=e});eo(["d","e","E"],function(e,t,r,o){t[o]=U(e)});function wh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Eh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oi(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ch="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),_h="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ah=Qr,Rh=Qr,Nh=Qr;function Th(e,t){var r=Ie(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Oi(r,this._week.dow):e?r[e.day()]:r}function kh(e){return e===!0?Oi(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ih(e){return e===!0?Oi(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ph(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=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?t==="dddd"?(a=te.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=te.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=te.call(this._weekdaysParse,s),a!==-1||(a=te.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=te.call(this._shortWeekdaysParse,s),a!==-1||(a=te.call(this._weekdaysParse,s),a!==-1)?a:(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=te.call(this._minWeekdaysParse,s),a!==-1||(a=te.call(this._weekdaysParse,s),a!==-1)?a:(a=te.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Dh(e,t,r){var o,a,i;if(this._weekdaysParseExact)return Ph.call(this,e,t,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&&t==="dddd"&&this._fullWeekdaysParse[o].test(e))return o;if(r&&t==="ddd"&&this._shortWeekdaysParse[o].test(e))return o;if(r&&t==="dd"&&this._minWeekdaysParse[o].test(e))return o;if(!r&&this._weekdaysParse[o].test(e))return o}}function Lh(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=wh(e,this.localeData()),this.add(e-t,"d")):t}function Mh(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Fh(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Eh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Uh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||wi.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):($(this,"_weekdaysRegex")||(this._weekdaysRegex=Ah),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Wh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||wi.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):($(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||wi.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):($(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Nh),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function wi(){function e(h,p){return p.length-h.length}var t=[],r=[],o=[],a=[],i,s,l,d,f;for(i=0;i<7;i++)s=ze([2e3,1]).day(i),l=xe(this.weekdaysMin(s,"")),d=xe(this.weekdaysShort(s,"")),f=xe(this.weekdays(s,"")),t.push(l),r.push(d),o.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ei(){return this.hours()%12||12}function Hh(){return this.hours()||24}P("H",["HH",2],0,"hour");P("h",["hh",2],0,Ei);P("k",["kk",2],0,Hh);P("hmm",0,0,function(){return""+Ei.apply(this)+$e(this.minutes(),2)});P("hmmss",0,0,function(){return""+Ei.apply(this)+$e(this.minutes(),2)+$e(this.seconds(),2)});P("Hmm",0,0,function(){return""+this.hours()+$e(this.minutes(),2)});P("Hmmss",0,0,function(){return""+this.hours()+$e(this.minutes(),2)+$e(this.seconds(),2)});function Ql(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Ql("a",!0);Ql("A",!1);fe("hour","h");pe("hour",13);function ed(e,t){return t._meridiemParse}R("a",ed);R("A",ed);R("H",q);R("h",q);R("k",q);R("HH",q,ve);R("hh",q,ve);R("kk",q,ve);R("hmm",zl);R("hmmss",Gl);R("Hmm",zl);R("Hmmss",Gl);V(["H","HH"],oe);V(["k","kk"],function(e,t,r){var o=U(e);t[oe]=o===24?0:o});V(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});V(["h","hh"],function(e,t,r){t[oe]=U(e),L(r).bigHour=!0});V("hmm",function(e,t,r){var o=e.length-2;t[oe]=U(e.substr(0,o)),t[ke]=U(e.substr(o)),L(r).bigHour=!0});V("hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[oe]=U(e.substr(0,o)),t[ke]=U(e.substr(o,2)),t[tt]=U(e.substr(a)),L(r).bigHour=!0});V("Hmm",function(e,t,r){var o=e.length-2;t[oe]=U(e.substr(0,o)),t[ke]=U(e.substr(o))});V("Hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[oe]=U(e.substr(0,o)),t[ke]=U(e.substr(o,2)),t[tt]=U(e.substr(a))});function $h(e){return(e+"").toLowerCase().charAt(0)==="p"}var zh=/[ap]\.?m?\.?/i,Gh=pr("Hours",!0);function Yh(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var td={calendar:Dp,longDateFormat:Up,invalidDate:Bp,ordinal:$p,dayOfMonthOrdinalParse:zp,relativeTime:Yp,months:ah,monthsShort:Yl,week:bh,weekdays:Ch,weekdaysMin:_h,weekdaysShort:Xl,meridiemParse:zh},Q={},Gr={},qr;function jh(e,t){var r,o=Math.min(e.length,t.length);for(r=0;r<o;r+=1)if(e[r]!==t[r])return r;return o}function kl(e){return e&&e.toLowerCase().replace("_","-")}function Vh(e){for(var t=0,r,o,a,i;t<e.length;){for(i=kl(e[t]).split("-"),r=i.length,o=kl(e[t+1]),o=o?o.split("-"):null;r>0;){if(a=Xo(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&jh(i,o)>=r-1)break;r--}t++}return qr}function Kh(e){return e.match("^[^/\\\\]*$")!=null}function Xo(e){var t=null,r;if(Q[e]===void 0&&typeof module<"u"&&module&&module.exports&&Kh(e))try{t=qr._abbr,r=Li,r("./locale/"+e),bt(t)}catch{Q[e]=null}return Q[e]}function bt(e,t){var r;return e&&(me(t)?r=nt(e):r=Ci(e,t),r?qr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),qr._abbr}function Ci(e,t){if(t!==null){var r,o=td;if(t.abbr=e,Q[e]!=null)Fl("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)o=Q[t.parentLocale]._config;else if(r=Xo(t.parentLocale),r!=null)o=r._config;else return Gr[t.parentLocale]||(Gr[t.parentLocale]=[]),Gr[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new gi(ci(o,t)),Gr[e]&&Gr[e].forEach(function(a){Ci(a.name,a.config)}),bt(e),Q[e]}else return delete Q[e],null}function Zh(e,t){if(t!=null){var r,o,a=td;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(ci(Q[e]._config,t)):(o=Xo(e),o!=null&&(a=o._config),t=ci(a,t),o==null&&(t.abbr=e),r=new gi(t),r.parentLocale=Q[e],Q[e]=r),bt(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===bt()&&bt(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return qr;if(!Ie(e)){if(t=Xo(e),t)return t;e=[e]}return Vh(e)}function qh(){return li(Q)}function _i(e){var t,r=e._a;return r&&L(e).overflow===-2&&(t=r[et]<0||r[et]>11?et:r[He]<1||r[He]>Jo(r[ue],r[et])?He:r[oe]<0||r[oe]>24||r[oe]===24&&(r[ke]!==0||r[tt]!==0||r[Lt]!==0)?oe:r[ke]<0||r[ke]>59?ke:r[tt]<0||r[tt]>59?tt:r[Lt]<0||r[Lt]>999?Lt:-1,L(e)._overflowDayOfYear&&(t<ue||t>He)&&(t=He),L(e)._overflowWeeks&&t===-1&&(t=rh),L(e)._overflowWeekday&&t===-1&&(t=oh),L(e).overflow=t),e}var Jh=/^\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)?)?$/,Xh=/^\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)?)?$/,Qh=/Z|[+-]\d\d(?::?\d\d)?/,Do=[["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]],ai=[["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/]],ey=/^\/?Date\((-?\d+)/i,ty=/^(?:(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}))$/,ry={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 rd(e){var t,r,o=e._i,a=Jh.exec(o)||Xh.exec(o),i,s,l,d,f=Do.length,h=ai.length;if(a){for(L(e).iso=!0,t=0,r=f;t<r;t++)if(Do[t][1].exec(a[1])){s=Do[t][0],i=Do[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(ai[t][1].exec(a[3])){l=(a[2]||" ")+ai[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Qh.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Ri(e)}else e._isValid=!1}function oy(e,t,r,o,a,i){var s=[ny(e),Yl.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function ny(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ay(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function iy(e,t,r){if(e){var o=Xl.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(o!==a)return L(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function sy(e,t,r){if(e)return ry[e];if(t)return 0;var o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function od(e){var t=ty.exec(ay(e._i)),r;if(t){if(r=oy(t[4],t[3],t[2],t[5],t[6],t[7]),!iy(t[1],r,e))return;e._a=r,e._tzm=sy(t[8],t[9],t[10]),e._d=Kr.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),L(e).rfc2822=!0}else e._isValid=!1}function cy(e){var t=ey.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(rd(e),e._isValid===!1)delete e._isValid;else return;if(od(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:A.createFromInputFallback(e)}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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function cr(e,t,r){return e??t??r}function ly(e){var t=new Date(A.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ai(e){var t,r,o=[],a,i,s;if(!e._d){for(a=ly(e),e._w&&e._a[He]==null&&e._a[et]==null&&dy(e),e._dayOfYear!=null&&(s=cr(e._a[ue],a[ue]),(e._dayOfYear>Vr(s)||e._dayOfYear===0)&&(L(e)._overflowDayOfYear=!0),r=Kr(s,0,e._dayOfYear),e._a[et]=r.getUTCMonth(),e._a[He]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=o[t]=a[t];for(;t<7;t++)e._a[t]=o[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[oe]===24&&e._a[ke]===0&&e._a[tt]===0&&e._a[Lt]===0&&(e._nextDay=!0,e._a[oe]=0),e._d=(e._useUTC?Kr:mh).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oe]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(L(e).weekdayMismatch=!0)}}function dy(e){var t,r,o,a,i,s,l,d,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=cr(t.GG,e._a[ue],Zr(Z(),1,4).year),o=cr(t.W,1),a=cr(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,f=Zr(Z(),i,s),r=cr(t.gg,e._a[ue],f.year),o=cr(t.w,f.week),t.d!=null?(a=t.d,(a<0||a>6)&&(d=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(d=!0)):a=i),o<1||o>rt(r,i,s)?L(e)._overflowWeeks=!0:d!=null?L(e)._overflowWeekday=!0:(l=Jl(r,o,a,i,s),e._a[ue]=l.year,e._dayOfYear=l.dayOfYear)}A.ISO_8601=function(){};A.RFC_2822=function(){};function Ri(e){if(e._f===A.ISO_8601){rd(e);return}if(e._f===A.RFC_2822){od(e);return}e._a=[],L(e).empty=!0;var t=""+e._i,r,o,a,i,s,l=t.length,d=0,f,h;for(a=Ul(e._f,e._locale).match(bi)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(t.match(Qp(i,e))||[])[0],o&&(s=t.substr(0,t.indexOf(o)),s.length>0&&L(e).unusedInput.push(s),t=t.slice(t.indexOf(o)+o.length),d+=o.length),dr[i]?(o?L(e).empty=!1:L(e).unusedTokens.push(i),th(i,o,e)):e._strict&&!o&&L(e).unusedTokens.push(i);L(e).charsLeftOver=l-d,t.length>0&&L(e).unusedInput.push(t),e._a[oe]<=12&&L(e).bigHour===!0&&e._a[oe]>0&&(L(e).bigHour=void 0),L(e).parsedDateParts=e._a.slice(0),L(e).meridiem=e._meridiem,e._a[oe]=uy(e._locale,e._a[oe],e._meridiem),f=L(e).era,f!==null&&(e._a[ue]=e._locale.erasConvertYear(f,e._a[ue])),Ai(e),_i(e)}function uy(e,t,r){var o;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(o=e.isPM(r),o&&t<12&&(t+=12),!o&&t===12&&(t=0)),t)}function fy(e){var t,r,o,a,i,s,l=!1,d=e._f.length;if(d===0){L(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,t=mi({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Ri(t),yi(t)&&(s=!0),i+=L(t).charsLeftOver,i+=L(t).unusedTokens.length*10,L(t).score=i,l?i<o&&(o=i,r=t):(o==null||i<o||s)&&(o=i,r=t,s&&(l=!0));mt(e,r||t)}function py(e){if(!e._d){var t=xi(e._i),r=t.day===void 0?t.date:t.day;e._a=Ll([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(o){return o&&parseInt(o,10)}),Ai(e)}}function hy(e){var t=new Xr(_i(nd(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function nd(e){var t=e._i,r=e._f;return e._locale=e._locale||nt(e._l),t===null||r===void 0&&t===""?Go({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Pe(t)?new Xr(_i(t)):(Jr(t)?e._d=t:Ie(r)?fy(e):r?Ri(e):yy(e),yi(e)||(e._d=null),e))}function yy(e){var t=e._i;me(t)?e._d=new Date(A.now()):Jr(t)?e._d=new Date(t.valueOf()):typeof t=="string"?cy(e):Ie(t)?(e._a=Ll(t.slice(0),function(r){return parseInt(r,10)}),Ai(e)):Mt(t)?py(e):ot(t)?e._d=new Date(t):A.createFromInputFallback(e)}function ad(e,t,r,o,a){var i={};return(t===!0||t===!1)&&(o=t,t=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(Mt(e)&&hi(e)||Ie(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=o,hy(i)}function Z(e,t,r,o){return ad(e,t,r,o,!1)}var my=Ee("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Z.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Go()}),gy=Ee("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Z.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Go()});function id(e,t){var r,o;if(t.length===1&&Ie(t[0])&&(t=t[0]),!t.length)return Z();for(r=t[0],o=1;o<t.length;++o)(!t[o].isValid()||t[o][e](r))&&(r=t[o]);return r}function by(){var e=[].slice.call(arguments,0);return id("isBefore",e)}function xy(){var e=[].slice.call(arguments,0);return id("isAfter",e)}var vy=function(){return Date.now?Date.now():+new Date},Yr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Sy(e){var t,r=!1,o,a=Yr.length;for(t in e)if($(e,t)&&!(te.call(Yr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(o=0;o<a;++o)if(e[Yr[o]]){if(r)return!1;parseFloat(e[Yr[o]])!==U(e[Yr[o]])&&(r=!0)}return!0}function Oy(){return this._isValid}function wy(){return De(NaN)}function Qo(e){var t=xi(e),r=t.year||0,o=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,h=t.millisecond||0;this._isValid=Sy(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=nt(),this._bubble()}function Mo(e){return e instanceof Qo}function ui(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ey(e,t,r){var o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<o;s++)(r&&e[s]!==t[s]||!r&&U(e[s])!==U(t[s]))&&i++;return i+a}function sd(e,t){P(e,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+$e(~~(r/60),2)+t+$e(~~r%60,2)})}sd("Z",":");sd("ZZ","");R("Z",qo);R("ZZ",qo);V(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ni(qo,e)});var Cy=/([\+\-]|\d\d)/gi;function Ni(e,t){var r=(t||"").match(e),o,a,i;return r===null?null:(o=r[r.length-1]||[],a=(o+"").match(Cy)||["-",0,0],i=+(a[1]*60)+U(a[2]),i===0?0:a[0]==="+"?i:-i)}function Ti(e,t){var r,o;return t._isUTC?(r=t.clone(),o=(Pe(e)||Jr(e)?e.valueOf():Z(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),A.updateOffset(r,!1),r):Z(e).local()}function fi(e){return-Math.round(e._d.getTimezoneOffset())}A.updateOffset=function(){};function _y(e,t,r){var o=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ni(qo,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=fi(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?dd(this,De(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:fi(this)}function Ay(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ry(e){return this.utcOffset(0,e)}function Ny(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(fi(this),"m")),this}function Ty(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ni(Jp,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ky(e){return this.isValid()?(e=e?Z(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Iy(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Py(){if(!me(this._isDSTShifted))return this._isDSTShifted;var e={},t;return mi(e,this),e=nd(e),e._a?(t=e._isUTC?ze(e._a):Z(e._a),this._isDSTShifted=this.isValid()&&Ey(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Dy(){return this.isValid()?!this._isUTC:!1}function Ly(){return this.isValid()?this._isUTC:!1}function cd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var My=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fy=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function De(e,t){var r=e,o=null,a,i,s;return Mo(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ot(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=My.exec(e))?(a=o[1]==="-"?-1:1,r={y:0,d:U(o[He])*a,h:U(o[oe])*a,m:U(o[ke])*a,s:U(o[tt])*a,ms:U(ui(o[Lt]*1e3))*a}):(o=Fy.exec(e))?(a=o[1]==="-"?-1:1,r={y:Dt(o[2],a),M:Dt(o[3],a),w:Dt(o[4],a),d:Dt(o[5],a),h:Dt(o[6],a),m:Dt(o[7],a),s:Dt(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Uy(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new Qo(r),Mo(e)&&$(e,"_locale")&&(i._locale=e._locale),Mo(e)&&$(e,"_isValid")&&(i._isValid=e._isValid),i}De.fn=Qo.prototype;De.invalid=wy;function Dt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Il(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Uy(e,t){var r;return e.isValid()&&t.isValid()?(t=Ti(t,e),e.isBefore(t)?r=Il(e,t):(r=Il(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function ld(e,t){return function(r,o){var a,i;return o!==null&&!isNaN(+o)&&(Fl(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=o,o=i),a=De(r,o),dd(this,a,e),this}}function dd(e,t,r,o){var a=t._milliseconds,i=ui(t._days),s=ui(t._months);e.isValid()&&(o=o??!0,s&&Vl(e,Uo(e,"Month")+s*r),i&&Bl(e,"Date",Uo(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),o&&A.updateOffset(e,i||s))}var Wy=ld(1,"add"),By=ld(-1,"subtract");function ud(e){return typeof e=="string"||e instanceof String}function Hy(e){return Pe(e)||Jr(e)||ud(e)||ot(e)||zy(e)||$y(e)||e===null||e===void 0}function $y(e){var t=Mt(e)&&!hi(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||$(e,i);return t&&r}function zy(e){var t=Ie(e),r=!1;return t&&(r=e.filter(function(o){return!ot(o)&&ud(e)}).length===0),t&&r}function Gy(e){var t=Mt(e)&&!hi(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||$(e,i);return t&&r}function Yy(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function jy(e,t){arguments.length===1&&(arguments[0]?Hy(arguments[0])?(e=arguments[0],t=void 0):Gy(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Z(),o=Ti(r,this).startOf("day"),a=A.calendarFormat(this,o)||"sameElse",i=t&&(Ge(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,Z(r)))}function Vy(){return new Xr(this)}function Ky(e,t){var r=Pe(e)?e:Z(e);return this.isValid()&&r.isValid()?(t=Ce(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Zy(e,t){var r=Pe(e)?e:Z(e);return this.isValid()&&r.isValid()?(t=Ce(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function qy(e,t,r,o){var a=Pe(e)?e:Z(e),i=Pe(t)?t:Z(t);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Jy(e,t){var r=Pe(e)?e:Z(e),o;return this.isValid()&&r.isValid()?(t=Ce(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(t).valueOf()<=o&&o<=this.clone().endOf(t).valueOf())):!1}function Xy(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Qy(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function em(e,t,r){var o,a,i;if(!this.isValid())return NaN;if(o=Ti(e,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,t=Ce(t),t){case"year":i=Fo(this,o)/12;break;case"month":i=Fo(this,o);break;case"quarter":i=Fo(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 Fo(e,t){if(e.date()<t.date())return-Fo(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),o=e.clone().add(r,"months"),a,i;return t-o<0?(a=e.clone().add(r-1,"months"),i=(t-o)/(o-a)):(a=e.clone().add(r+1,"months"),i=(t-o)/(a-o)),-(r+i)||0}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";A.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function tm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function rm(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Lo(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ge(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Lo(r,"Z")):Lo(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function om(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,o,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+o+a+i)}function nm(e){e||(e=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var t=Lo(this,e);return this.localeData().postformat(t)}function am(e,t){return this.isValid()&&(Pe(e)&&e.isValid()||Z(e).isValid())?De({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function im(e){return this.from(Z(),e)}function sm(e,t){return this.isValid()&&(Pe(e)&&e.isValid()||Z(e).isValid())?De({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function cm(e){return this.to(Z(),e)}function fd(e){var t;return e===void 0?this._locale._abbr:(t=nt(e),t!=null&&(this._locale=t),this)}var pd=Ee("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function hd(){return this._locale}var Ho=1e3,ur=60*Ho,$o=60*ur,yd=(365*400+97)*24*$o;function fr(e,t){return(e%t+t)%t}function md(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-yd:new Date(e,t,r).valueOf()}function gd(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-yd:Date.UTC(e,t,r)}function lm(e){var t,r;if(e=Ce(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?gd:md,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fr(t+(this._isUTC?0:this.utcOffset()*ur),$o);break;case"minute":t=this._d.valueOf(),t-=fr(t,ur);break;case"second":t=this._d.valueOf(),t-=fr(t,Ho);break}return this._d.setTime(t),A.updateOffset(this,!0),this}function dm(e){var t,r;if(e=Ce(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?gd:md,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=$o-fr(t+(this._isUTC?0:this.utcOffset()*ur),$o)-1;break;case"minute":t=this._d.valueOf(),t+=ur-fr(t,ur)-1;break;case"second":t=this._d.valueOf(),t+=Ho-fr(t,Ho)-1;break}return this._d.setTime(t),A.updateOffset(this,!0),this}function um(){return this._d.valueOf()-(this._offset||0)*6e4}function fm(){return Math.floor(this.valueOf()/1e3)}function pm(){return new Date(this.valueOf())}function hm(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ym(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function mm(){return this.isValid()?this.toISOString():null}function gm(){return yi(this)}function bm(){return mt({},L(this))}function xm(){return L(this).overflow}function vm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr");P("NN",0,0,"eraAbbr");P("NNN",0,0,"eraAbbr");P("NNNN",0,0,"eraName");P("NNNNN",0,0,"eraNarrow");P("y",["y",1],"yo","eraYear");P("y",["yy",2],0,"eraYear");P("y",["yyy",3],0,"eraYear");P("y",["yyyy",4],0,"eraYear");R("N",ki);R("NN",ki);R("NNN",ki);R("NNNN",km);R("NNNNN",Im);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,o){var a=r._locale.erasParse(e,o,r._strict);a?L(r).era=a:L(r).invalidEra=e});R("y",hr);R("yy",hr);R("yyy",hr);R("yyyy",hr);R("yo",Pm);V(["y","yy","yyy","yyyy"],ue);V(["yo"],function(e,t,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ue]=r._locale.eraYearOrdinalParse(e,a):t[ue]=parseInt(e,10)});function Sm(e,t){var r,o,a,i=this._eras||nt("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 Om(e,t,r){var o,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),l=i[o].abbr.toUpperCase(),d=i[o].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[o];break;case"NNNN":if(s===e)return i[o];break;case"NNNNN":if(d===e)return i[o];break}else if([s,l,d].indexOf(e)>=0)return i[o]}function wm(e,t){var r=e.since<=e.until?1:-1;return t===void 0?A(e.since).year():A(e.since).year()+(t-e.offset)*r}function Em(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].name;return""}function Cm(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].narrow;return""}function _m(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].abbr;return""}function Am(){var e,t,r,o,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,o=this.clone().startOf("day").valueOf(),a[e].since<=o&&o<=a[e].until||a[e].until<=o&&o<=a[e].since)return(this.year()-A(a[e].since).year())*r+a[e].offset;return this.year()}function Rm(e){return $(this,"_erasNameRegex")||Ii.call(this),e?this._erasNameRegex:this._erasRegex}function Nm(e){return $(this,"_erasAbbrRegex")||Ii.call(this),e?this._erasAbbrRegex:this._erasRegex}function Tm(e){return $(this,"_erasNarrowRegex")||Ii.call(this),e?this._erasNarrowRegex:this._erasRegex}function ki(e,t){return t.erasAbbrRegex(e)}function km(e,t){return t.erasNameRegex(e)}function Im(e,t){return t.erasNarrowRegex(e)}function Pm(e,t){return t._eraYearOrdinalRegex||hr}function Ii(){var e=[],t=[],r=[],o=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)t.push(xe(s[a].name)),e.push(xe(s[a].abbr)),r.push(xe(s[a].narrow)),o.push(xe(s[a].name)),o.push(xe(s[a].abbr)),o.push(xe(s[a].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100});P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function en(e,t){P(0,[e,e.length],0,t)}en("gggg","weekYear");en("ggggg","weekYear");en("GGGG","isoWeekYear");en("GGGGG","isoWeekYear");fe("weekYear","gg");fe("isoWeekYear","GG");pe("weekYear",1);pe("isoWeekYear",1);R("G",Zo);R("g",Zo);R("GG",q,ve);R("gg",q,ve);R("GGGG",Si,vi);R("gggg",Si,vi);R("GGGGG",Ko,jo);R("ggggg",Ko,jo);eo(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,o){t[o.substr(0,2)]=U(e)});eo(["gg","GG"],function(e,t,r,o){t[o]=A.parseTwoDigitYear(e)});function Dm(e){return bd.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Lm(e){return bd.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Mm(){return rt(this.year(),1,4)}function Fm(){return rt(this.isoWeekYear(),1,4)}function Um(){var e=this.localeData()._week;return rt(this.year(),e.dow,e.doy)}function Wm(){var e=this.localeData()._week;return rt(this.weekYear(),e.dow,e.doy)}function bd(e,t,r,o,a){var i;return e==null?Zr(this,o,a).year:(i=rt(e,o,a),t>i&&(t=i),Bm.call(this,e,t,r,o,a))}function Bm(e,t,r,o,a){var i=Jl(e,t,r,o,a),s=Kr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}P("Q",0,"Qo","quarter");fe("quarter","Q");pe("quarter",7);R("Q",Hl);V("Q",function(e,t){t[et]=(U(e)-1)*3});function Hm(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}P("D",["DD",2],"Do","date");fe("date","D");pe("date",9);R("D",q);R("DD",q,ve);R("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],He);V("Do",function(e,t){t[He]=U(e.match(q)[0])});var xd=pr("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear");fe("dayOfYear","DDD");pe("dayOfYear",4);R("DDD",Vo);R("DDDD",$l);V(["DDD","DDDD"],function(e,t,r){r._dayOfYear=U(e)});function $m(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}P("m",["mm",2],0,"minute");fe("minute","m");pe("minute",14);R("m",q);R("mm",q,ve);V(["m","mm"],ke);var zm=pr("Minutes",!1);P("s",["ss",2],0,"second");fe("second","s");pe("second",15);R("s",q);R("ss",q,ve);V(["s","ss"],tt);var Gm=pr("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)});P(0,["SS",2],0,function(){return~~(this.millisecond()/10)});P(0,["SSS",3],0,"millisecond");P(0,["SSSS",4],0,function(){return this.millisecond()*10});P(0,["SSSSS",5],0,function(){return this.millisecond()*100});P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});fe("millisecond","ms");pe("millisecond",16);R("S",Vo,Hl);R("SS",Vo,ve);R("SSS",Vo,$l);var gt,vd;for(gt="SSSS";gt.length<=9;gt+="S")R(gt,hr);function Ym(e,t){t[Lt]=U(("0."+e)*1e3)}for(gt="S";gt.length<=9;gt+="S")V(gt,Ym);vd=pr("Milliseconds",!1);P("z",0,0,"zoneAbbr");P("zz",0,0,"zoneName");function jm(){return this._isUTC?"UTC":""}function Vm(){return this._isUTC?"Coordinated Universal Time":""}var E=Xr.prototype;E.add=Wy;E.calendar=jy;E.clone=Vy;E.diff=em;E.endOf=dm;E.format=nm;E.from=am;E.fromNow=im;E.to=sm;E.toNow=cm;E.get=Zp;E.invalidAt=xm;E.isAfter=Ky;E.isBefore=Zy;E.isBetween=qy;E.isSame=Jy;E.isSameOrAfter=Xy;E.isSameOrBefore=Qy;E.isValid=gm;E.lang=pd;E.locale=fd;E.localeData=hd;E.max=gy;E.min=my;E.parsingFlags=bm;E.set=qp;E.startOf=lm;E.subtract=By;E.toArray=hm;E.toObject=ym;E.toDate=pm;E.toISOString=rm;E.inspect=om;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=mm;E.toString=tm;E.unix=fm;E.valueOf=um;E.creationData=vm;E.eraName=Em;E.eraNarrow=Cm;E.eraAbbr=_m;E.eraYear=Am;E.year=ql;E.isLeapYear=yh;E.weekYear=Dm;E.isoWeekYear=Lm;E.quarter=E.quarters=Hm;E.month=Kl;E.daysInMonth=fh;E.week=E.weeks=Sh;E.isoWeek=E.isoWeeks=Oh;E.weeksInYear=Um;E.weeksInWeekYear=Wm;E.isoWeeksInYear=Mm;E.isoWeeksInISOWeekYear=Fm;E.date=xd;E.day=E.days=Lh;E.weekday=Mh;E.isoWeekday=Fh;E.dayOfYear=$m;E.hour=E.hours=Gh;E.minute=E.minutes=zm;E.second=E.seconds=Gm;E.millisecond=E.milliseconds=vd;E.utcOffset=_y;E.utc=Ry;E.local=Ny;E.parseZone=Ty;E.hasAlignedHourOffset=ky;E.isDST=Iy;E.isLocal=Dy;E.isUtcOffset=Ly;E.isUtc=cd;E.isUTC=cd;E.zoneAbbr=jm;E.zoneName=Vm;E.dates=Ee("dates accessor is deprecated. Use date instead.",xd);E.months=Ee("months accessor is deprecated. Use month instead",Kl);E.years=Ee("years accessor is deprecated. Use year instead",ql);E.zone=Ee("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ay);E.isDSTShifted=Ee("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Py);function Km(e){return Z(e*1e3)}function Zm(){return Z.apply(null,arguments).parseZone()}function Sd(e){return e}var z=gi.prototype;z.calendar=Lp;z.longDateFormat=Wp;z.invalidDate=Hp;z.ordinal=Gp;z.preparse=Sd;z.postformat=Sd;z.relativeTime=jp;z.pastFuture=Vp;z.set=Pp;z.eras=Sm;z.erasParse=Om;z.erasConvertYear=wm;z.erasAbbrRegex=Nm;z.erasNameRegex=Rm;z.erasNarrowRegex=Tm;z.months=ch;z.monthsShort=lh;z.monthsParse=uh;z.monthsRegex=hh;z.monthsShortRegex=ph;z.week=gh;z.firstDayOfYear=vh;z.firstDayOfWeek=xh;z.weekdays=Th;z.weekdaysMin=Ih;z.weekdaysShort=kh;z.weekdaysParse=Dh;z.weekdaysRegex=Uh;z.weekdaysShortRegex=Wh;z.weekdaysMinRegex=Bh;z.isPM=$h;z.meridiem=Yh;function zo(e,t,r,o){var a=nt(),i=ze().set(o,t);return a[r](i,e)}function Od(e,t,r){if(ot(e)&&(t=e,e=void 0),e=e||"",t!=null)return zo(e,t,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=zo(e,o,r,"month");return a}function Pi(e,t,r,o){typeof e=="boolean"?(ot(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ot(t)&&(r=t,t=void 0),t=t||"");var a=nt(),i=e?a._week.dow:0,s,l=[];if(r!=null)return zo(t,(r+i)%7,o,"day");for(s=0;s<7;s++)l[s]=zo(t,(s+i)%7,o,"day");return l}function qm(e,t){return Od(e,t,"months")}function Jm(e,t){return Od(e,t,"monthsShort")}function Xm(e,t,r){return Pi(e,t,r,"weekdays")}function Qm(e,t,r){return Pi(e,t,r,"weekdaysShort")}function eg(e,t,r){return Pi(e,t,r,"weekdaysMin")}bt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=U(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});A.lang=Ee("moment.lang is deprecated. Use moment.locale instead.",bt);A.langData=Ee("moment.langData is deprecated. Use moment.localeData instead.",nt);var Xe=Math.abs;function tg(){var e=this._data;return this._milliseconds=Xe(this._milliseconds),this._days=Xe(this._days),this._months=Xe(this._months),e.milliseconds=Xe(e.milliseconds),e.seconds=Xe(e.seconds),e.minutes=Xe(e.minutes),e.hours=Xe(e.hours),e.months=Xe(e.months),e.years=Xe(e.years),this}function wd(e,t,r,o){var a=De(t,r);return e._milliseconds+=o*a._milliseconds,e._days+=o*a._days,e._months+=o*a._months,e._bubble()}function rg(e,t){return wd(this,e,t,1)}function og(e,t){return wd(this,e,t,-1)}function Pl(e){return e<0?Math.floor(e):Math.ceil(e)}function ng(){var e=this._milliseconds,t=this._days,r=this._months,o=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Pl(pi(r)+t)*864e5,t=0,r=0),o.milliseconds=e%1e3,a=we(e/1e3),o.seconds=a%60,i=we(a/60),o.minutes=i%60,s=we(i/60),o.hours=s%24,t+=we(s/24),d=we(Ed(t)),r+=d,t-=Pl(pi(d)),l=we(r/12),r%=12,o.days=t,o.months=r,o.years=l,this}function Ed(e){return e*4800/146097}function pi(e){return e*146097/4800}function ag(e){if(!this.isValid())return NaN;var t,r,o=this._milliseconds;if(e=Ce(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+o/864e5,r=this._months+Ed(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(pi(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return t*24+o/36e5;case"minute":return t*1440+o/6e4;case"second":return t*86400+o/1e3;case"millisecond":return Math.floor(t*864e5)+o;default:throw new Error("Unknown unit "+e)}}function ig(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+U(this._months/12)*31536e6:NaN}function at(e){return function(){return this.as(e)}}var sg=at("ms"),cg=at("s"),lg=at("m"),dg=at("h"),ug=at("d"),fg=at("w"),pg=at("M"),hg=at("Q"),yg=at("y");function mg(){return De(this)}function gg(e){return e=Ce(e),this.isValid()?this[e+"s"]():NaN}function Ft(e){return function(){return this.isValid()?this._data[e]:NaN}}var bg=Ft("milliseconds"),xg=Ft("seconds"),vg=Ft("minutes"),Sg=Ft("hours"),Og=Ft("days"),wg=Ft("months"),Eg=Ft("years");function Cg(){return we(this.days()/7)}var Qe=Math.round,lr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function _g(e,t,r,o,a){return a.relativeTime(t||1,!!r,e,o)}function Ag(e,t,r,o){var a=De(e).abs(),i=Qe(a.as("s")),s=Qe(a.as("m")),l=Qe(a.as("h")),d=Qe(a.as("d")),f=Qe(a.as("M")),h=Qe(a.as("w")),p=Qe(a.as("y")),m=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||l<=1&&["h"]||l<r.h&&["hh",l]||d<=1&&["d"]||d<r.d&&["dd",d];return r.w!=null&&(m=m||h<=1&&["w"]||h<r.w&&["ww",h]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||p<=1&&["y"]||["yy",p],m[2]=t,m[3]=+e>0,m[4]=o,_g.apply(null,m)}function Rg(e){return e===void 0?Qe:typeof e=="function"?(Qe=e,!0):!1}function Ng(e,t){return lr[e]===void 0?!1:t===void 0?lr[e]:(lr[e]=t,e==="s"&&(lr.ss=t-1),!0)}function Tg(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=lr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(o=Object.assign({},lr,t),t.s!=null&&t.ss==null&&(o.ss=t.s-1)),a=this.localeData(),i=Ag(this,!r,o,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ii=Math.abs;function sr(e){return(e>0)-(e<0)||+e}function tn(){if(!this.isValid())return this.localeData().invalidDate();var e=ii(this._milliseconds)/1e3,t=ii(this._days),r=ii(this._months),o,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(o=we(e/60),a=we(o/60),e%=60,o%=60,i=we(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=sr(this._months)!==sr(l)?"-":"",h=sr(this._days)!==sr(l)?"-":"",p=sr(this._milliseconds)!==sr(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||o||e?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(e?p+s+"S":"")):"P0D"}var B=Qo.prototype;B.isValid=Oy;B.abs=tg;B.add=rg;B.subtract=og;B.as=ag;B.asMilliseconds=sg;B.asSeconds=cg;B.asMinutes=lg;B.asHours=dg;B.asDays=ug;B.asWeeks=fg;B.asMonths=pg;B.asQuarters=hg;B.asYears=yg;B.valueOf=ig;B._bubble=ng;B.clone=mg;B.get=gg;B.milliseconds=bg;B.seconds=xg;B.minutes=vg;B.hours=Sg;B.days=Og;B.weeks=Cg;B.months=wg;B.years=Eg;B.humanize=Tg;B.toISOString=tn;B.toString=tn;B.toJSON=tn;B.locale=fd;B.localeData=hd;B.toIsoString=Ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tn);B.lang=pd;P("X",0,0,"unix");P("x",0,0,"valueOf");R("x",Zo);R("X",Xp);V("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,r){r._d=new Date(U(e))});A.version="2.29.4";kp(Z);A.fn=E;A.min=by;A.max=xy;A.now=vy;A.utc=ze;A.unix=Km;A.months=qm;A.isDate=Jr;A.locale=bt;A.invalid=Go;A.duration=De;A.isMoment=Pe;A.weekdays=Xm;A.parseZone=Zm;A.localeData=nt;A.isDuration=Mo;A.monthsShort=Jm;A.weekdaysMin=eg;A.defineLocale=Ci;A.updateLocale=Zh;A.locales=qh;A.weekdaysShort=Qm;A.normalizeUnits=Ce;A.relativeTimeRounding=Rg;A.relativeTimeThreshold=Ng;A.calendarFormat=Yy;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 Le=A;var ne;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(ne||(ne={}));var Cd=ee`
75
+ `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Il={};function Ul(e,t){_.deprecationHandler!=null&&_.deprecationHandler(e,t),Il[e]||(Fl(t),Il[e]=!0)}_.suppressDeprecationWarnings=!1;_.deprecationHandler=null;function Ge(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Dp(e){var t,r;for(r in e)$(e,r)&&(t=e[r],Ge(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ci(e,t){var r=mt({},e),o;for(o in t)$(t,o)&&(Mt(e[o])&&Mt(t[o])?(r[o]={},mt(r[o],e[o]),mt(r[o],t[o])):t[o]!=null?r[o]=t[o]:delete r[o]);for(o in e)$(e,o)&&!$(t,o)&&Mt(e[o])&&(r[o]=mt({},r[o]));return r}function gi(e){e!=null&&this.set(e)}var li;Object.keys?li=Object.keys:li=function(e){var t,r=[];for(t in e)$(e,t)&&r.push(t);return r};var Lp={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Mp(e,t,r){var o=this._calendar[e]||this._calendar.sameElse;return Ge(o)?o.call(t,r):o}function $e(e,t,r){var o=""+Math.abs(e),a=t-o.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var bi=/(\[[^\[]*\])|(\\)?([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,Po=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ni={},dr={};function P(e,t,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),e&&(dr[e]=a),t&&(dr[t[0]]=function(){return $e(a.apply(this,arguments),t[1],t[2])}),r&&(dr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Fp(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Up(e){var t=e.match(bi),r,o;for(r=0,o=t.length;r<o;r++)dr[t[r]]?t[r]=dr[t[r]]:t[r]=Fp(t[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=Ge(t[s])?t[s].call(a,e):t[s];return i}}function Lo(e,t){return e.isValid()?(t=Wl(t,e.localeData()),ni[t]=ni[t]||Up(t),ni[t](e)):e.localeData().invalidDate()}function Wl(e,t){var r=5;function o(a){return t.longDateFormat(a)||a}for(Po.lastIndex=0;r>=0&&Po.test(e);)e=e.replace(Po,o),Po.lastIndex=0,r-=1;return e}var Wp={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 Bp(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(bi).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[e])}var Hp="Invalid date";function $p(){return this._invalidDate}var zp="%d",Gp=/\d{1,2}/;function Yp(e){return this._ordinal.replace("%d",e)}var jp={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 Vp(e,t,r,o){var a=this._relativeTime[r];return Ge(a)?a(e,t,r,o):a.replace(/%d/i,e)}function Kp(e,t){var r=this._relativeTime[e>0?"future":"past"];return Ge(r)?r(t):r.replace(/%s/i,t)}var jr={};function fe(e,t){var r=e.toLowerCase();jr[r]=jr[r+"s"]=jr[t]=e}function Ce(e){return typeof e=="string"?jr[e]||jr[e.toLowerCase()]:void 0}function xi(e){var t={},r,o;for(o in e)$(e,o)&&(r=Ce(o),r&&(t[r]=e[o]));return t}var Bl={};function pe(e,t){Bl[e]=t}function Zp(e){var t=[],r;for(r in e)$(e,r)&&t.push({unit:r,priority:Bl[r]});return t.sort(function(o,a){return o.priority-a.priority}),t}function Yo(e){return e%4===0&&e%100!==0||e%400===0}function we(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function F(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=we(t)),r}function pr(e,t){return function(r){return r!=null?(Hl(this,e,r),_.updateOffset(this,t),this):Uo(this,e)}}function Uo(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Hl(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Yo(e.year())&&e.month()===1&&e.date()===29?(r=F(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Jo(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function qp(e){return e=Ce(e),Ge(this[e])?this[e]():this}function Jp(e,t){if(typeof e=="object"){e=xi(e);var r=Zp(e),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](e[r[o].unit])}else if(e=Ce(e),Ge(this[e]))return this[e](t);return this}var $l=/\d/,ve=/\d\d/,zl=/\d{3}/,vi=/\d{4}/,jo=/[+-]?\d{6}/,q=/\d\d?/,Gl=/\d\d\d\d?/,Yl=/\d\d\d\d\d\d?/,Vo=/\d{1,3}/,Si=/\d{1,4}/,Ko=/[+-]?\d{1,6}/,hr=/\d+/,Zo=/[+-]?\d+/,Xp=/Z|[+-]\d\d:?\d\d/gi,qo=/Z|[+-]\d\d(?::?\d\d)?/gi,Qp=/[+-]?\d+(\.\d{1,3})?/,Qr=/[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,Wo;Wo={};function R(e,t,r){Wo[e]=Ge(t)?t:function(o,a){return o&&r?r:t}}function eh(e,t){return $(Wo,e)?Wo[e](t._strict,t._locale):new RegExp(th(e))}function th(e){return xe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,o,a,i){return r||o||a||i}))}function xe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var di={};function V(e,t){var r,o=t,a;for(typeof e=="string"&&(e=[e]),ot(t)&&(o=function(i,s){s[t]=F(i)}),a=e.length,r=0;r<a;r++)di[e[r]]=o}function eo(e,t){V(e,function(r,o,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function rh(e,t,r){t!=null&&$(di,e)&&di[e](t,r._a,r,e)}var ue=0,et=1,He=2,oe=3,Ie=4,tt=5,Lt=6,oh=7,nh=8;function ah(e,t){return(e%t+t)%t}var te;Array.prototype.indexOf?te=Array.prototype.indexOf:te=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Jo(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=ah(t,12);return e+=(t-r)/12,r===1?Yo(e)?29:28:31-r%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1});P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});P("MMMM",0,0,function(e){return this.localeData().months(this,e)});fe("month","M");pe("month",8);R("M",q);R("MM",q,ve);R("MMM",function(e,t){return t.monthsShortRegex(e)});R("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[et]=F(e)-1});V(["MMM","MMMM"],function(e,t,r,o){var a=r._locale.monthsParse(e,o,r._strict);a!=null?t[et]=a:L(r).invalidMonth=e});var ih="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),jl="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Vl=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,sh=Qr,ch=Qr;function lh(e,t){return e?ke(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Vl).test(t)?"format":"standalone"][e.month()]:ke(this._months)?this._months:this._months.standalone}function dh(e,t){return e?ke(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Vl.test(t)?"format":"standalone"][e.month()]:ke(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function uh(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=ze([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=te.call(this._shortMonthsParse,s),a!==-1?a:null):(a=te.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=te.call(this._shortMonthsParse,s),a!==-1?a:(a=te.call(this._longMonthsParse,s),a!==-1?a:null)):(a=te.call(this._longMonthsParse,s),a!==-1?a:(a=te.call(this._shortMonthsParse,s),a!==-1?a:null))}function fh(e,t,r){var o,a,i;if(this._monthsParseExact)return uh.call(this,e,t,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&&t==="MMMM"&&this._longMonthsParse[o].test(e))return o;if(r&&t==="MMM"&&this._shortMonthsParse[o].test(e))return o;if(!r&&this._monthsParse[o].test(e))return o}}function Kl(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=F(t);else if(t=e.localeData().monthsParse(t),!ot(t))return e}return r=Math.min(e.date(),Jo(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Zl(e){return e!=null?(Kl(this,e),_.updateOffset(this,!0),this):Uo(this,"Month")}function ph(){return Jo(this.year(),this.month())}function hh(e){return this._monthsParseExact?($(this,"_monthsRegex")||ql.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):($(this,"_monthsShortRegex")||(this._monthsShortRegex=sh),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function yh(e){return this._monthsParseExact?($(this,"_monthsRegex")||ql.call(this),e?this._monthsStrictRegex:this._monthsRegex):($(this,"_monthsRegex")||(this._monthsRegex=ch),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ql(){function e(s,l){return l.length-s.length}var t=[],r=[],o=[],a,i;for(a=0;a<12;a++)i=ze([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),o.sort(e),a=0;a<12;a++)t[a]=xe(t[a]),r[a]=xe(r[a]);for(a=0;a<24;a++)o[a]=xe(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}P("Y",0,0,function(){var e=this.year();return e<=9999?$e(e,4):"+"+e});P(0,["YY",2],0,function(){return this.year()%100});P(0,["YYYY",4],0,"year");P(0,["YYYYY",5],0,"year");P(0,["YYYYYY",6,!0],0,"year");fe("year","y");pe("year",1);R("Y",Zo);R("YY",q,ve);R("YYYY",Si,vi);R("YYYYY",Ko,jo);R("YYYYYY",Ko,jo);V(["YYYYY","YYYYYY"],ue);V("YYYY",function(e,t){t[ue]=e.length===2?_.parseTwoDigitYear(e):F(e)});V("YY",function(e,t){t[ue]=_.parseTwoDigitYear(e)});V("Y",function(e,t){t[ue]=parseInt(e,10)});function Vr(e){return Yo(e)?366:365}_.parseTwoDigitYear=function(e){return F(e)+(F(e)>68?1900:2e3)};var Jl=pr("FullYear",!0);function mh(){return Yo(this.year())}function gh(e,t,r,o,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,o,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,o,a,i,s),l}function Kr(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Bo(e,t,r){var o=7+t-r,a=(7+Kr(e,0,o).getUTCDay()-t)%7;return-a+o-1}function Xl(e,t,r,o,a){var i=(7+r-o)%7,s=Bo(e,o,a),l=1+7*(t-1)+i+s,d,f;return l<=0?(d=e-1,f=Vr(d)+l):l>Vr(e)?(d=e+1,f=l-Vr(e)):(d=e,f=l),{year:d,dayOfYear:f}}function Zr(e,t,r){var o=Bo(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+rt(s,t,r)):a>rt(e.year(),t,r)?(i=a-rt(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function rt(e,t,r){var o=Bo(e,t,r),a=Bo(e+1,t,r);return(Vr(e)-o+a)/7}P("w",["ww",2],"wo","week");P("W",["WW",2],"Wo","isoWeek");fe("week","w");fe("isoWeek","W");pe("week",5);pe("isoWeek",5);R("w",q);R("ww",q,ve);R("W",q);R("WW",q,ve);eo(["w","ww","W","WW"],function(e,t,r,o){t[o.substr(0,1)]=F(e)});function bh(e){return Zr(e,this._week.dow,this._week.doy).week}var xh={dow:0,doy:6};function vh(){return this._week.dow}function Sh(){return this._week.doy}function Oh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function wh(e){var t=Zr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}P("d",0,"do","day");P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});P("e",0,0,"weekday");P("E",0,0,"isoWeekday");fe("day","d");fe("weekday","e");fe("isoWeekday","E");pe("day",11);pe("weekday",11);pe("isoWeekday",11);R("d",q);R("e",q);R("E",q);R("dd",function(e,t){return t.weekdaysMinRegex(e)});R("ddd",function(e,t){return t.weekdaysShortRegex(e)});R("dddd",function(e,t){return t.weekdaysRegex(e)});eo(["dd","ddd","dddd"],function(e,t,r,o){var a=r._locale.weekdaysParse(e,o,r._strict);a!=null?t.d=a:L(r).invalidWeekday=e});eo(["d","e","E"],function(e,t,r,o){t[o]=F(e)});function Eh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Ch(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oi(e,t){return e.slice(t,7).concat(e.slice(0,t))}var _h="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ql="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ah="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rh=Qr,Nh=Qr,Th=Qr;function Ih(e,t){var r=ke(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Oi(r,this._week.dow):e?r[e.day()]:r}function kh(e){return e===!0?Oi(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ph(e){return e===!0?Oi(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Dh(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=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?t==="dddd"?(a=te.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=te.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=te.call(this._weekdaysParse,s),a!==-1||(a=te.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=te.call(this._shortWeekdaysParse,s),a!==-1||(a=te.call(this._weekdaysParse,s),a!==-1)?a:(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=te.call(this._minWeekdaysParse,s),a!==-1||(a=te.call(this._weekdaysParse,s),a!==-1)?a:(a=te.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Lh(e,t,r){var o,a,i;if(this._weekdaysParseExact)return Dh.call(this,e,t,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&&t==="dddd"&&this._fullWeekdaysParse[o].test(e))return o;if(r&&t==="ddd"&&this._shortWeekdaysParse[o].test(e))return o;if(r&&t==="dd"&&this._minWeekdaysParse[o].test(e))return o;if(!r&&this._weekdaysParse[o].test(e))return o}}function Mh(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Eh(e,this.localeData()),this.add(e-t,"d")):t}function Fh(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Uh(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Ch(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Wh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||wi.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):($(this,"_weekdaysRegex")||(this._weekdaysRegex=Rh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Bh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||wi.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):($(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Hh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||wi.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):($(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Th),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function wi(){function e(h,p){return p.length-h.length}var t=[],r=[],o=[],a=[],i,s,l,d,f;for(i=0;i<7;i++)s=ze([2e3,1]).day(i),l=xe(this.weekdaysMin(s,"")),d=xe(this.weekdaysShort(s,"")),f=xe(this.weekdays(s,"")),t.push(l),r.push(d),o.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ei(){return this.hours()%12||12}function $h(){return this.hours()||24}P("H",["HH",2],0,"hour");P("h",["hh",2],0,Ei);P("k",["kk",2],0,$h);P("hmm",0,0,function(){return""+Ei.apply(this)+$e(this.minutes(),2)});P("hmmss",0,0,function(){return""+Ei.apply(this)+$e(this.minutes(),2)+$e(this.seconds(),2)});P("Hmm",0,0,function(){return""+this.hours()+$e(this.minutes(),2)});P("Hmmss",0,0,function(){return""+this.hours()+$e(this.minutes(),2)+$e(this.seconds(),2)});function ed(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ed("a",!0);ed("A",!1);fe("hour","h");pe("hour",13);function td(e,t){return t._meridiemParse}R("a",td);R("A",td);R("H",q);R("h",q);R("k",q);R("HH",q,ve);R("hh",q,ve);R("kk",q,ve);R("hmm",Gl);R("hmmss",Yl);R("Hmm",Gl);R("Hmmss",Yl);V(["H","HH"],oe);V(["k","kk"],function(e,t,r){var o=F(e);t[oe]=o===24?0:o});V(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});V(["h","hh"],function(e,t,r){t[oe]=F(e),L(r).bigHour=!0});V("hmm",function(e,t,r){var o=e.length-2;t[oe]=F(e.substr(0,o)),t[Ie]=F(e.substr(o)),L(r).bigHour=!0});V("hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[oe]=F(e.substr(0,o)),t[Ie]=F(e.substr(o,2)),t[tt]=F(e.substr(a)),L(r).bigHour=!0});V("Hmm",function(e,t,r){var o=e.length-2;t[oe]=F(e.substr(0,o)),t[Ie]=F(e.substr(o))});V("Hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[oe]=F(e.substr(0,o)),t[Ie]=F(e.substr(o,2)),t[tt]=F(e.substr(a))});function zh(e){return(e+"").toLowerCase().charAt(0)==="p"}var Gh=/[ap]\.?m?\.?/i,Yh=pr("Hours",!0);function jh(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var rd={calendar:Lp,longDateFormat:Wp,invalidDate:Hp,ordinal:zp,dayOfMonthOrdinalParse:Gp,relativeTime:jp,months:ih,monthsShort:jl,week:xh,weekdays:_h,weekdaysMin:Ah,weekdaysShort:Ql,meridiemParse:Gh},Q={},Gr={},qr;function Vh(e,t){var r,o=Math.min(e.length,t.length);for(r=0;r<o;r+=1)if(e[r]!==t[r])return r;return o}function kl(e){return e&&e.toLowerCase().replace("_","-")}function Kh(e){for(var t=0,r,o,a,i;t<e.length;){for(i=kl(e[t]).split("-"),r=i.length,o=kl(e[t+1]),o=o?o.split("-"):null;r>0;){if(a=Xo(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&Vh(i,o)>=r-1)break;r--}t++}return qr}function Zh(e){return e.match("^[^/\\\\]*$")!=null}function Xo(e){var t=null,r;if(Q[e]===void 0&&typeof module<"u"&&module&&module.exports&&Zh(e))try{t=qr._abbr,r=Li,r("./locale/"+e),bt(t)}catch{Q[e]=null}return Q[e]}function bt(e,t){var r;return e&&(me(t)?r=nt(e):r=Ci(e,t),r?qr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),qr._abbr}function Ci(e,t){if(t!==null){var r,o=rd;if(t.abbr=e,Q[e]!=null)Ul("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)o=Q[t.parentLocale]._config;else if(r=Xo(t.parentLocale),r!=null)o=r._config;else return Gr[t.parentLocale]||(Gr[t.parentLocale]=[]),Gr[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new gi(ci(o,t)),Gr[e]&&Gr[e].forEach(function(a){Ci(a.name,a.config)}),bt(e),Q[e]}else return delete Q[e],null}function qh(e,t){if(t!=null){var r,o,a=rd;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(ci(Q[e]._config,t)):(o=Xo(e),o!=null&&(a=o._config),t=ci(a,t),o==null&&(t.abbr=e),r=new gi(t),r.parentLocale=Q[e],Q[e]=r),bt(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===bt()&&bt(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return qr;if(!ke(e)){if(t=Xo(e),t)return t;e=[e]}return Kh(e)}function Jh(){return li(Q)}function _i(e){var t,r=e._a;return r&&L(e).overflow===-2&&(t=r[et]<0||r[et]>11?et:r[He]<1||r[He]>Jo(r[ue],r[et])?He:r[oe]<0||r[oe]>24||r[oe]===24&&(r[Ie]!==0||r[tt]!==0||r[Lt]!==0)?oe:r[Ie]<0||r[Ie]>59?Ie:r[tt]<0||r[tt]>59?tt:r[Lt]<0||r[Lt]>999?Lt:-1,L(e)._overflowDayOfYear&&(t<ue||t>He)&&(t=He),L(e)._overflowWeeks&&t===-1&&(t=oh),L(e)._overflowWeekday&&t===-1&&(t=nh),L(e).overflow=t),e}var Xh=/^\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)?)?$/,Qh=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ey=/Z|[+-]\d\d(?::?\d\d)?/,Do=[["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]],ai=[["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/]],ty=/^\/?Date\((-?\d+)/i,ry=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,oy={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function od(e){var t,r,o=e._i,a=Xh.exec(o)||Qh.exec(o),i,s,l,d,f=Do.length,h=ai.length;if(a){for(L(e).iso=!0,t=0,r=f;t<r;t++)if(Do[t][1].exec(a[1])){s=Do[t][0],i=Do[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(ai[t][1].exec(a[3])){l=(a[2]||" ")+ai[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(ey.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Ri(e)}else e._isValid=!1}function ny(e,t,r,o,a,i){var s=[ay(e),jl.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function ay(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function iy(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function sy(e,t,r){if(e){var o=Ql.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(o!==a)return L(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function cy(e,t,r){if(e)return oy[e];if(t)return 0;var o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function nd(e){var t=ry.exec(iy(e._i)),r;if(t){if(r=ny(t[4],t[3],t[2],t[5],t[6],t[7]),!sy(t[1],r,e))return;e._a=r,e._tzm=cy(t[8],t[9],t[10]),e._d=Kr.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),L(e).rfc2822=!0}else e._isValid=!1}function ly(e){var t=ty.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(od(e),e._isValid===!1)delete e._isValid;else return;if(nd(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:_.createFromInputFallback(e)}_.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function cr(e,t,r){return e??t??r}function dy(e){var t=new Date(_.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ai(e){var t,r,o=[],a,i,s;if(!e._d){for(a=dy(e),e._w&&e._a[He]==null&&e._a[et]==null&&uy(e),e._dayOfYear!=null&&(s=cr(e._a[ue],a[ue]),(e._dayOfYear>Vr(s)||e._dayOfYear===0)&&(L(e)._overflowDayOfYear=!0),r=Kr(s,0,e._dayOfYear),e._a[et]=r.getUTCMonth(),e._a[He]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=o[t]=a[t];for(;t<7;t++)e._a[t]=o[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[oe]===24&&e._a[Ie]===0&&e._a[tt]===0&&e._a[Lt]===0&&(e._nextDay=!0,e._a[oe]=0),e._d=(e._useUTC?Kr:gh).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oe]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(L(e).weekdayMismatch=!0)}}function uy(e){var t,r,o,a,i,s,l,d,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=cr(t.GG,e._a[ue],Zr(Z(),1,4).year),o=cr(t.W,1),a=cr(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,f=Zr(Z(),i,s),r=cr(t.gg,e._a[ue],f.year),o=cr(t.w,f.week),t.d!=null?(a=t.d,(a<0||a>6)&&(d=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(d=!0)):a=i),o<1||o>rt(r,i,s)?L(e)._overflowWeeks=!0:d!=null?L(e)._overflowWeekday=!0:(l=Xl(r,o,a,i,s),e._a[ue]=l.year,e._dayOfYear=l.dayOfYear)}_.ISO_8601=function(){};_.RFC_2822=function(){};function Ri(e){if(e._f===_.ISO_8601){od(e);return}if(e._f===_.RFC_2822){nd(e);return}e._a=[],L(e).empty=!0;var t=""+e._i,r,o,a,i,s,l=t.length,d=0,f,h;for(a=Wl(e._f,e._locale).match(bi)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(t.match(eh(i,e))||[])[0],o&&(s=t.substr(0,t.indexOf(o)),s.length>0&&L(e).unusedInput.push(s),t=t.slice(t.indexOf(o)+o.length),d+=o.length),dr[i]?(o?L(e).empty=!1:L(e).unusedTokens.push(i),rh(i,o,e)):e._strict&&!o&&L(e).unusedTokens.push(i);L(e).charsLeftOver=l-d,t.length>0&&L(e).unusedInput.push(t),e._a[oe]<=12&&L(e).bigHour===!0&&e._a[oe]>0&&(L(e).bigHour=void 0),L(e).parsedDateParts=e._a.slice(0),L(e).meridiem=e._meridiem,e._a[oe]=fy(e._locale,e._a[oe],e._meridiem),f=L(e).era,f!==null&&(e._a[ue]=e._locale.erasConvertYear(f,e._a[ue])),Ai(e),_i(e)}function fy(e,t,r){var o;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(o=e.isPM(r),o&&t<12&&(t+=12),!o&&t===12&&(t=0)),t)}function py(e){var t,r,o,a,i,s,l=!1,d=e._f.length;if(d===0){L(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,t=mi({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Ri(t),yi(t)&&(s=!0),i+=L(t).charsLeftOver,i+=L(t).unusedTokens.length*10,L(t).score=i,l?i<o&&(o=i,r=t):(o==null||i<o||s)&&(o=i,r=t,s&&(l=!0));mt(e,r||t)}function hy(e){if(!e._d){var t=xi(e._i),r=t.day===void 0?t.date:t.day;e._a=Ml([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(o){return o&&parseInt(o,10)}),Ai(e)}}function yy(e){var t=new Xr(_i(ad(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ad(e){var t=e._i,r=e._f;return e._locale=e._locale||nt(e._l),t===null||r===void 0&&t===""?Go({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Pe(t)?new Xr(_i(t)):(Jr(t)?e._d=t:ke(r)?py(e):r?Ri(e):my(e),yi(e)||(e._d=null),e))}function my(e){var t=e._i;me(t)?e._d=new Date(_.now()):Jr(t)?e._d=new Date(t.valueOf()):typeof t=="string"?ly(e):ke(t)?(e._a=Ml(t.slice(0),function(r){return parseInt(r,10)}),Ai(e)):Mt(t)?hy(e):ot(t)?e._d=new Date(t):_.createFromInputFallback(e)}function id(e,t,r,o,a){var i={};return(t===!0||t===!1)&&(o=t,t=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(Mt(e)&&hi(e)||ke(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=o,yy(i)}function Z(e,t,r,o){return id(e,t,r,o,!1)}var gy=Ee("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Z.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Go()}),by=Ee("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Z.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Go()});function sd(e,t){var r,o;if(t.length===1&&ke(t[0])&&(t=t[0]),!t.length)return Z();for(r=t[0],o=1;o<t.length;++o)(!t[o].isValid()||t[o][e](r))&&(r=t[o]);return r}function xy(){var e=[].slice.call(arguments,0);return sd("isBefore",e)}function vy(){var e=[].slice.call(arguments,0);return sd("isAfter",e)}var Sy=function(){return Date.now?Date.now():+new Date},Yr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Oy(e){var t,r=!1,o,a=Yr.length;for(t in e)if($(e,t)&&!(te.call(Yr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(o=0;o<a;++o)if(e[Yr[o]]){if(r)return!1;parseFloat(e[Yr[o]])!==F(e[Yr[o]])&&(r=!0)}return!0}function wy(){return this._isValid}function Ey(){return De(NaN)}function Qo(e){var t=xi(e),r=t.year||0,o=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,h=t.millisecond||0;this._isValid=Oy(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=nt(),this._bubble()}function Mo(e){return e instanceof Qo}function ui(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Cy(e,t,r){var o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<o;s++)(r&&e[s]!==t[s]||!r&&F(e[s])!==F(t[s]))&&i++;return i+a}function cd(e,t){P(e,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+$e(~~(r/60),2)+t+$e(~~r%60,2)})}cd("Z",":");cd("ZZ","");R("Z",qo);R("ZZ",qo);V(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ni(qo,e)});var _y=/([\+\-]|\d\d)/gi;function Ni(e,t){var r=(t||"").match(e),o,a,i;return r===null?null:(o=r[r.length-1]||[],a=(o+"").match(_y)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function Ti(e,t){var r,o;return t._isUTC?(r=t.clone(),o=(Pe(e)||Jr(e)?e.valueOf():Z(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),_.updateOffset(r,!1),r):Z(e).local()}function fi(e){return-Math.round(e._d.getTimezoneOffset())}_.updateOffset=function(){};function Ay(e,t,r){var o=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ni(qo,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=fi(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?ud(this,De(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:fi(this)}function Ry(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ny(e){return this.utcOffset(0,e)}function Ty(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(fi(this),"m")),this}function Iy(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ni(Xp,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ky(e){return this.isValid()?(e=e?Z(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Py(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Dy(){if(!me(this._isDSTShifted))return this._isDSTShifted;var e={},t;return mi(e,this),e=ad(e),e._a?(t=e._isUTC?ze(e._a):Z(e._a),this._isDSTShifted=this.isValid()&&Cy(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ly(){return this.isValid()?!this._isUTC:!1}function My(){return this.isValid()?this._isUTC:!1}function ld(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Fy=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Uy=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function De(e,t){var r=e,o=null,a,i,s;return Mo(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ot(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Fy.exec(e))?(a=o[1]==="-"?-1:1,r={y:0,d:F(o[He])*a,h:F(o[oe])*a,m:F(o[Ie])*a,s:F(o[tt])*a,ms:F(ui(o[Lt]*1e3))*a}):(o=Uy.exec(e))?(a=o[1]==="-"?-1:1,r={y:Dt(o[2],a),M:Dt(o[3],a),w:Dt(o[4],a),d:Dt(o[5],a),h:Dt(o[6],a),m:Dt(o[7],a),s:Dt(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Wy(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new Qo(r),Mo(e)&&$(e,"_locale")&&(i._locale=e._locale),Mo(e)&&$(e,"_isValid")&&(i._isValid=e._isValid),i}De.fn=Qo.prototype;De.invalid=Ey;function Dt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Pl(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Wy(e,t){var r;return e.isValid()&&t.isValid()?(t=Ti(t,e),e.isBefore(t)?r=Pl(e,t):(r=Pl(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function dd(e,t){return function(r,o){var a,i;return o!==null&&!isNaN(+o)&&(Ul(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=o,o=i),a=De(r,o),ud(this,a,e),this}}function ud(e,t,r,o){var a=t._milliseconds,i=ui(t._days),s=ui(t._months);e.isValid()&&(o=o??!0,s&&Kl(e,Uo(e,"Month")+s*r),i&&Hl(e,"Date",Uo(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),o&&_.updateOffset(e,i||s))}var By=dd(1,"add"),Hy=dd(-1,"subtract");function fd(e){return typeof e=="string"||e instanceof String}function $y(e){return Pe(e)||Jr(e)||fd(e)||ot(e)||Gy(e)||zy(e)||e===null||e===void 0}function zy(e){var t=Mt(e)&&!hi(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||$(e,i);return t&&r}function Gy(e){var t=ke(e),r=!1;return t&&(r=e.filter(function(o){return!ot(o)&&fd(e)}).length===0),t&&r}function Yy(e){var t=Mt(e)&&!hi(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||$(e,i);return t&&r}function jy(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Vy(e,t){arguments.length===1&&(arguments[0]?$y(arguments[0])?(e=arguments[0],t=void 0):Yy(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Z(),o=Ti(r,this).startOf("day"),a=_.calendarFormat(this,o)||"sameElse",i=t&&(Ge(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,Z(r)))}function Ky(){return new Xr(this)}function Zy(e,t){var r=Pe(e)?e:Z(e);return this.isValid()&&r.isValid()?(t=Ce(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function qy(e,t){var r=Pe(e)?e:Z(e);return this.isValid()&&r.isValid()?(t=Ce(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Jy(e,t,r,o){var a=Pe(e)?e:Z(e),i=Pe(t)?t:Z(t);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Xy(e,t){var r=Pe(e)?e:Z(e),o;return this.isValid()&&r.isValid()?(t=Ce(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(t).valueOf()<=o&&o<=this.clone().endOf(t).valueOf())):!1}function Qy(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function em(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function tm(e,t,r){var o,a,i;if(!this.isValid())return NaN;if(o=Ti(e,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,t=Ce(t),t){case"year":i=Fo(this,o)/12;break;case"month":i=Fo(this,o);break;case"quarter":i=Fo(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 Fo(e,t){if(e.date()<t.date())return-Fo(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),o=e.clone().add(r,"months"),a,i;return t-o<0?(a=e.clone().add(r-1,"months"),i=(t-o)/(o-a)):(a=e.clone().add(r+1,"months"),i=(t-o)/(a-o)),-(r+i)||0}_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";_.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function rm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function om(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Lo(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ge(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Lo(r,"Z")):Lo(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function nm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,o,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+o+a+i)}function am(e){e||(e=this.isUtc()?_.defaultFormatUtc:_.defaultFormat);var t=Lo(this,e);return this.localeData().postformat(t)}function im(e,t){return this.isValid()&&(Pe(e)&&e.isValid()||Z(e).isValid())?De({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sm(e){return this.from(Z(),e)}function cm(e,t){return this.isValid()&&(Pe(e)&&e.isValid()||Z(e).isValid())?De({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function lm(e){return this.to(Z(),e)}function pd(e){var t;return e===void 0?this._locale._abbr:(t=nt(e),t!=null&&(this._locale=t),this)}var hd=Ee("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function yd(){return this._locale}var Ho=1e3,ur=60*Ho,$o=60*ur,md=(365*400+97)*24*$o;function fr(e,t){return(e%t+t)%t}function gd(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-md:new Date(e,t,r).valueOf()}function bd(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-md:Date.UTC(e,t,r)}function dm(e){var t,r;if(e=Ce(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?bd:gd,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fr(t+(this._isUTC?0:this.utcOffset()*ur),$o);break;case"minute":t=this._d.valueOf(),t-=fr(t,ur);break;case"second":t=this._d.valueOf(),t-=fr(t,Ho);break}return this._d.setTime(t),_.updateOffset(this,!0),this}function um(e){var t,r;if(e=Ce(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?bd:gd,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=$o-fr(t+(this._isUTC?0:this.utcOffset()*ur),$o)-1;break;case"minute":t=this._d.valueOf(),t+=ur-fr(t,ur)-1;break;case"second":t=this._d.valueOf(),t+=Ho-fr(t,Ho)-1;break}return this._d.setTime(t),_.updateOffset(this,!0),this}function fm(){return this._d.valueOf()-(this._offset||0)*6e4}function pm(){return Math.floor(this.valueOf()/1e3)}function hm(){return new Date(this.valueOf())}function ym(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function mm(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function gm(){return this.isValid()?this.toISOString():null}function bm(){return yi(this)}function xm(){return mt({},L(this))}function vm(){return L(this).overflow}function Sm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr");P("NN",0,0,"eraAbbr");P("NNN",0,0,"eraAbbr");P("NNNN",0,0,"eraName");P("NNNNN",0,0,"eraNarrow");P("y",["y",1],"yo","eraYear");P("y",["yy",2],0,"eraYear");P("y",["yyy",3],0,"eraYear");P("y",["yyyy",4],0,"eraYear");R("N",Ii);R("NN",Ii);R("NNN",Ii);R("NNNN",km);R("NNNNN",Pm);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,o){var a=r._locale.erasParse(e,o,r._strict);a?L(r).era=a:L(r).invalidEra=e});R("y",hr);R("yy",hr);R("yyy",hr);R("yyyy",hr);R("yo",Dm);V(["y","yy","yyy","yyyy"],ue);V(["yo"],function(e,t,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ue]=r._locale.eraYearOrdinalParse(e,a):t[ue]=parseInt(e,10)});function Om(e,t){var r,o,a,i=this._eras||nt("en")._eras;for(r=0,o=i.length;r<o;++r){switch(typeof i[r].since){case"string":a=_(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=_(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function wm(e,t,r){var o,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),l=i[o].abbr.toUpperCase(),d=i[o].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[o];break;case"NNNN":if(s===e)return i[o];break;case"NNNNN":if(d===e)return i[o];break}else if([s,l,d].indexOf(e)>=0)return i[o]}function Em(e,t){var r=e.since<=e.until?1:-1;return t===void 0?_(e.since).year():_(e.since).year()+(t-e.offset)*r}function Cm(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].name;return""}function _m(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].narrow;return""}function Am(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].abbr;return""}function Rm(){var e,t,r,o,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,o=this.clone().startOf("day").valueOf(),a[e].since<=o&&o<=a[e].until||a[e].until<=o&&o<=a[e].since)return(this.year()-_(a[e].since).year())*r+a[e].offset;return this.year()}function Nm(e){return $(this,"_erasNameRegex")||ki.call(this),e?this._erasNameRegex:this._erasRegex}function Tm(e){return $(this,"_erasAbbrRegex")||ki.call(this),e?this._erasAbbrRegex:this._erasRegex}function Im(e){return $(this,"_erasNarrowRegex")||ki.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ii(e,t){return t.erasAbbrRegex(e)}function km(e,t){return t.erasNameRegex(e)}function Pm(e,t){return t.erasNarrowRegex(e)}function Dm(e,t){return t._eraYearOrdinalRegex||hr}function ki(){var e=[],t=[],r=[],o=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)t.push(xe(s[a].name)),e.push(xe(s[a].abbr)),r.push(xe(s[a].narrow)),o.push(xe(s[a].name)),o.push(xe(s[a].abbr)),o.push(xe(s[a].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100});P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function en(e,t){P(0,[e,e.length],0,t)}en("gggg","weekYear");en("ggggg","weekYear");en("GGGG","isoWeekYear");en("GGGGG","isoWeekYear");fe("weekYear","gg");fe("isoWeekYear","GG");pe("weekYear",1);pe("isoWeekYear",1);R("G",Zo);R("g",Zo);R("GG",q,ve);R("gg",q,ve);R("GGGG",Si,vi);R("gggg",Si,vi);R("GGGGG",Ko,jo);R("ggggg",Ko,jo);eo(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,o){t[o.substr(0,2)]=F(e)});eo(["gg","GG"],function(e,t,r,o){t[o]=_.parseTwoDigitYear(e)});function Lm(e){return xd.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Mm(e){return xd.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Fm(){return rt(this.year(),1,4)}function Um(){return rt(this.isoWeekYear(),1,4)}function Wm(){var e=this.localeData()._week;return rt(this.year(),e.dow,e.doy)}function Bm(){var e=this.localeData()._week;return rt(this.weekYear(),e.dow,e.doy)}function xd(e,t,r,o,a){var i;return e==null?Zr(this,o,a).year:(i=rt(e,o,a),t>i&&(t=i),Hm.call(this,e,t,r,o,a))}function Hm(e,t,r,o,a){var i=Xl(e,t,r,o,a),s=Kr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}P("Q",0,"Qo","quarter");fe("quarter","Q");pe("quarter",7);R("Q",$l);V("Q",function(e,t){t[et]=(F(e)-1)*3});function $m(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}P("D",["DD",2],"Do","date");fe("date","D");pe("date",9);R("D",q);R("DD",q,ve);R("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],He);V("Do",function(e,t){t[He]=F(e.match(q)[0])});var vd=pr("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear");fe("dayOfYear","DDD");pe("dayOfYear",4);R("DDD",Vo);R("DDDD",zl);V(["DDD","DDDD"],function(e,t,r){r._dayOfYear=F(e)});function zm(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}P("m",["mm",2],0,"minute");fe("minute","m");pe("minute",14);R("m",q);R("mm",q,ve);V(["m","mm"],Ie);var Gm=pr("Minutes",!1);P("s",["ss",2],0,"second");fe("second","s");pe("second",15);R("s",q);R("ss",q,ve);V(["s","ss"],tt);var Ym=pr("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)});P(0,["SS",2],0,function(){return~~(this.millisecond()/10)});P(0,["SSS",3],0,"millisecond");P(0,["SSSS",4],0,function(){return this.millisecond()*10});P(0,["SSSSS",5],0,function(){return this.millisecond()*100});P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});fe("millisecond","ms");pe("millisecond",16);R("S",Vo,$l);R("SS",Vo,ve);R("SSS",Vo,zl);var gt,Sd;for(gt="SSSS";gt.length<=9;gt+="S")R(gt,hr);function jm(e,t){t[Lt]=F(("0."+e)*1e3)}for(gt="S";gt.length<=9;gt+="S")V(gt,jm);Sd=pr("Milliseconds",!1);P("z",0,0,"zoneAbbr");P("zz",0,0,"zoneName");function Vm(){return this._isUTC?"UTC":""}function Km(){return this._isUTC?"Coordinated Universal Time":""}var E=Xr.prototype;E.add=By;E.calendar=Vy;E.clone=Ky;E.diff=tm;E.endOf=um;E.format=am;E.from=im;E.fromNow=sm;E.to=cm;E.toNow=lm;E.get=qp;E.invalidAt=vm;E.isAfter=Zy;E.isBefore=qy;E.isBetween=Jy;E.isSame=Xy;E.isSameOrAfter=Qy;E.isSameOrBefore=em;E.isValid=bm;E.lang=hd;E.locale=pd;E.localeData=yd;E.max=by;E.min=gy;E.parsingFlags=xm;E.set=Jp;E.startOf=dm;E.subtract=Hy;E.toArray=ym;E.toObject=mm;E.toDate=hm;E.toISOString=om;E.inspect=nm;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=gm;E.toString=rm;E.unix=pm;E.valueOf=fm;E.creationData=Sm;E.eraName=Cm;E.eraNarrow=_m;E.eraAbbr=Am;E.eraYear=Rm;E.year=Jl;E.isLeapYear=mh;E.weekYear=Lm;E.isoWeekYear=Mm;E.quarter=E.quarters=$m;E.month=Zl;E.daysInMonth=ph;E.week=E.weeks=Oh;E.isoWeek=E.isoWeeks=wh;E.weeksInYear=Wm;E.weeksInWeekYear=Bm;E.isoWeeksInYear=Fm;E.isoWeeksInISOWeekYear=Um;E.date=vd;E.day=E.days=Mh;E.weekday=Fh;E.isoWeekday=Uh;E.dayOfYear=zm;E.hour=E.hours=Yh;E.minute=E.minutes=Gm;E.second=E.seconds=Ym;E.millisecond=E.milliseconds=Sd;E.utcOffset=Ay;E.utc=Ny;E.local=Ty;E.parseZone=Iy;E.hasAlignedHourOffset=ky;E.isDST=Py;E.isLocal=Ly;E.isUtcOffset=My;E.isUtc=ld;E.isUTC=ld;E.zoneAbbr=Vm;E.zoneName=Km;E.dates=Ee("dates accessor is deprecated. Use date instead.",vd);E.months=Ee("months accessor is deprecated. Use month instead",Zl);E.years=Ee("years accessor is deprecated. Use year instead",Jl);E.zone=Ee("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ry);E.isDSTShifted=Ee("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Dy);function Zm(e){return Z(e*1e3)}function qm(){return Z.apply(null,arguments).parseZone()}function Od(e){return e}var z=gi.prototype;z.calendar=Mp;z.longDateFormat=Bp;z.invalidDate=$p;z.ordinal=Yp;z.preparse=Od;z.postformat=Od;z.relativeTime=Vp;z.pastFuture=Kp;z.set=Dp;z.eras=Om;z.erasParse=wm;z.erasConvertYear=Em;z.erasAbbrRegex=Tm;z.erasNameRegex=Nm;z.erasNarrowRegex=Im;z.months=lh;z.monthsShort=dh;z.monthsParse=fh;z.monthsRegex=yh;z.monthsShortRegex=hh;z.week=bh;z.firstDayOfYear=Sh;z.firstDayOfWeek=vh;z.weekdays=Ih;z.weekdaysMin=Ph;z.weekdaysShort=kh;z.weekdaysParse=Lh;z.weekdaysRegex=Wh;z.weekdaysShortRegex=Bh;z.weekdaysMinRegex=Hh;z.isPM=zh;z.meridiem=jh;function zo(e,t,r,o){var a=nt(),i=ze().set(o,t);return a[r](i,e)}function wd(e,t,r){if(ot(e)&&(t=e,e=void 0),e=e||"",t!=null)return zo(e,t,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=zo(e,o,r,"month");return a}function Pi(e,t,r,o){typeof e=="boolean"?(ot(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ot(t)&&(r=t,t=void 0),t=t||"");var a=nt(),i=e?a._week.dow:0,s,l=[];if(r!=null)return zo(t,(r+i)%7,o,"day");for(s=0;s<7;s++)l[s]=zo(t,(s+i)%7,o,"day");return l}function Jm(e,t){return wd(e,t,"months")}function Xm(e,t){return wd(e,t,"monthsShort")}function Qm(e,t,r){return Pi(e,t,r,"weekdays")}function eg(e,t,r){return Pi(e,t,r,"weekdaysShort")}function tg(e,t,r){return Pi(e,t,r,"weekdaysMin")}bt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=F(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});_.lang=Ee("moment.lang is deprecated. Use moment.locale instead.",bt);_.langData=Ee("moment.langData is deprecated. Use moment.localeData instead.",nt);var Xe=Math.abs;function rg(){var e=this._data;return this._milliseconds=Xe(this._milliseconds),this._days=Xe(this._days),this._months=Xe(this._months),e.milliseconds=Xe(e.milliseconds),e.seconds=Xe(e.seconds),e.minutes=Xe(e.minutes),e.hours=Xe(e.hours),e.months=Xe(e.months),e.years=Xe(e.years),this}function Ed(e,t,r,o){var a=De(t,r);return e._milliseconds+=o*a._milliseconds,e._days+=o*a._days,e._months+=o*a._months,e._bubble()}function og(e,t){return Ed(this,e,t,1)}function ng(e,t){return Ed(this,e,t,-1)}function Dl(e){return e<0?Math.floor(e):Math.ceil(e)}function ag(){var e=this._milliseconds,t=this._days,r=this._months,o=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Dl(pi(r)+t)*864e5,t=0,r=0),o.milliseconds=e%1e3,a=we(e/1e3),o.seconds=a%60,i=we(a/60),o.minutes=i%60,s=we(i/60),o.hours=s%24,t+=we(s/24),d=we(Cd(t)),r+=d,t-=Dl(pi(d)),l=we(r/12),r%=12,o.days=t,o.months=r,o.years=l,this}function Cd(e){return e*4800/146097}function pi(e){return e*146097/4800}function ig(e){if(!this.isValid())return NaN;var t,r,o=this._milliseconds;if(e=Ce(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+o/864e5,r=this._months+Cd(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(pi(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return t*24+o/36e5;case"minute":return t*1440+o/6e4;case"second":return t*86400+o/1e3;case"millisecond":return Math.floor(t*864e5)+o;default:throw new Error("Unknown unit "+e)}}function sg(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+F(this._months/12)*31536e6:NaN}function at(e){return function(){return this.as(e)}}var cg=at("ms"),lg=at("s"),dg=at("m"),ug=at("h"),fg=at("d"),pg=at("w"),hg=at("M"),yg=at("Q"),mg=at("y");function gg(){return De(this)}function bg(e){return e=Ce(e),this.isValid()?this[e+"s"]():NaN}function Ft(e){return function(){return this.isValid()?this._data[e]:NaN}}var xg=Ft("milliseconds"),vg=Ft("seconds"),Sg=Ft("minutes"),Og=Ft("hours"),wg=Ft("days"),Eg=Ft("months"),Cg=Ft("years");function _g(){return we(this.days()/7)}var Qe=Math.round,lr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ag(e,t,r,o,a){return a.relativeTime(t||1,!!r,e,o)}function Rg(e,t,r,o){var a=De(e).abs(),i=Qe(a.as("s")),s=Qe(a.as("m")),l=Qe(a.as("h")),d=Qe(a.as("d")),f=Qe(a.as("M")),h=Qe(a.as("w")),p=Qe(a.as("y")),m=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||l<=1&&["h"]||l<r.h&&["hh",l]||d<=1&&["d"]||d<r.d&&["dd",d];return r.w!=null&&(m=m||h<=1&&["w"]||h<r.w&&["ww",h]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||p<=1&&["y"]||["yy",p],m[2]=t,m[3]=+e>0,m[4]=o,Ag.apply(null,m)}function Ng(e){return e===void 0?Qe:typeof e=="function"?(Qe=e,!0):!1}function Tg(e,t){return lr[e]===void 0?!1:t===void 0?lr[e]:(lr[e]=t,e==="s"&&(lr.ss=t-1),!0)}function Ig(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=lr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(o=Object.assign({},lr,t),t.s!=null&&t.ss==null&&(o.ss=t.s-1)),a=this.localeData(),i=Rg(this,!r,o,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ii=Math.abs;function sr(e){return(e>0)-(e<0)||+e}function tn(){if(!this.isValid())return this.localeData().invalidDate();var e=ii(this._milliseconds)/1e3,t=ii(this._days),r=ii(this._months),o,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(o=we(e/60),a=we(o/60),e%=60,o%=60,i=we(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=sr(this._months)!==sr(l)?"-":"",h=sr(this._days)!==sr(l)?"-":"",p=sr(this._milliseconds)!==sr(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||o||e?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(e?p+s+"S":"")):"P0D"}var B=Qo.prototype;B.isValid=wy;B.abs=rg;B.add=og;B.subtract=ng;B.as=ig;B.asMilliseconds=cg;B.asSeconds=lg;B.asMinutes=dg;B.asHours=ug;B.asDays=fg;B.asWeeks=pg;B.asMonths=hg;B.asQuarters=yg;B.asYears=mg;B.valueOf=sg;B._bubble=ag;B.clone=gg;B.get=bg;B.milliseconds=xg;B.seconds=vg;B.minutes=Sg;B.hours=Og;B.days=wg;B.weeks=_g;B.months=Eg;B.years=Cg;B.humanize=Ig;B.toISOString=tn;B.toString=tn;B.toJSON=tn;B.locale=pd;B.localeData=yd;B.toIsoString=Ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tn);B.lang=hd;P("X",0,0,"unix");P("x",0,0,"valueOf");R("x",Zo);R("X",Qp);V("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,r){r._d=new Date(F(e))});_.version="2.29.4";kp(Z);_.fn=E;_.min=xy;_.max=vy;_.now=Sy;_.utc=ze;_.unix=Zm;_.months=Jm;_.isDate=Jr;_.locale=bt;_.invalid=Go;_.duration=De;_.isMoment=Pe;_.weekdays=Qm;_.parseZone=qm;_.localeData=nt;_.isDuration=Mo;_.monthsShort=Xm;_.weekdaysMin=tg;_.defineLocale=Ci;_.updateLocale=qh;_.locales=Jh;_.weekdaysShort=eg;_.normalizeUnits=Ce;_.relativeTimeRounding=Ng;_.relativeTimeThreshold=Tg;_.calendarFormat=jy;_.prototype=E;_.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var Le=_;var ne;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(ne||(ne={}));var _d=ee`
76
76
  .sessions-chart {
77
77
  height: 100%;
78
78
  width: 100%;
79
79
  }
80
80
  `;var he=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};window.echarts==null&&console.warn("Echarts is not available");var re=class extends le{constructor(){super(...arguments),this.xAxisName="date",this.yAxisName="",this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.valueLabels=void 0,this.valueLabelsSingular=void 0,this.barChart=!1,this.period=ne.DAY,this.data=[]}render(){return Ht`
81
81
  <div class="sessions-chart"></div>
82
- `}firstUpdated(t){var r;super.firstUpdated(t),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var o;(o=this.myChart)===null||o===void 0||o.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===ne.DAY||t.period===ne.WEEK?Le.utc(r*1e3).format("DD MMM YYYY"):t.period===ne.MONTH?Le.utc(r*1e3).format("MMMM YYYY"):Le.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=Le.utc(t[0].data.value[0]*1e3),o=t.map(d=>d.data.value[1]),a,i,s="";switch(this.period){case ne.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,ne.DAY)&&(s=" so far");break}case ne.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,ne.WEEK)&&(s=" so far");break}case ne.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,ne.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<o.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,p=o[d]===1?h:f;l+=`${o[d].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,o=Le.utc()){switch(r){case ne.DAY:return t.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case ne.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case ne.MONTH:return t.month()===o.month()&&t.year()===o.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let o=0;o<t;o++)r[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(Le.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};re.styles=Cd;he([F({type:String})],re.prototype,"xAxisName",void 0);he([F({type:String})],re.prototype,"yAxisName",void 0);he([F({type:String})],re.prototype,"graphColor",void 0);he([F({type:String})],re.prototype,"hoverColor",void 0);he([F({type:String})],re.prototype,"tooltipBackgroundColor",void 0);he([F({type:String})],re.prototype,"tooltipBorderColor",void 0);he([F({type:String})],re.prototype,"tooltipTextColor",void 0);he([F({type:String})],re.prototype,"tooltipBorderRadius",void 0);he([At(void 0)],re.prototype,"valueLabels",void 0);he([At(void 0)],re.prototype,"valueLabelsSingular",void 0);he([F({type:Boolean})],re.prototype,"barChart",void 0);he([F({type:String})],re.prototype,"period",void 0);he([At([])],re.prototype,"data",void 0);he([mn(".sessions-chart")],re.prototype,"container",void 0);re=he([Ve("ft-chart")],re);Ve("ft-chart")(re);var _d=ee`
82
+ `}firstUpdated(t){var r;super.firstUpdated(t),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var o;(o=this.myChart)===null||o===void 0||o.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===ne.DAY||t.period===ne.WEEK?Le.utc(r*1e3).format("DD MMM YYYY"):t.period===ne.MONTH?Le.utc(r*1e3).format("MMMM YYYY"):Le.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=Le.utc(t[0].data.value[0]*1e3),o=t.map(d=>d.data.value[1]),a,i,s="";switch(this.period){case ne.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,ne.DAY)&&(s=" so far");break}case ne.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,ne.WEEK)&&(s=" so far");break}case ne.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,ne.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<o.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,p=o[d]===1?h:f;l+=`${o[d].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,o=Le.utc()){switch(r){case ne.DAY:return t.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case ne.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case ne.MONTH:return t.month()===o.month()&&t.year()===o.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let o=0;o<t;o++)r[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(Le.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};re.styles=_d;he([M({type:String})],re.prototype,"xAxisName",void 0);he([M({type:String})],re.prototype,"yAxisName",void 0);he([M({type:String})],re.prototype,"graphColor",void 0);he([M({type:String})],re.prototype,"hoverColor",void 0);he([M({type:String})],re.prototype,"tooltipBackgroundColor",void 0);he([M({type:String})],re.prototype,"tooltipBorderColor",void 0);he([M({type:String})],re.prototype,"tooltipTextColor",void 0);he([M({type:String})],re.prototype,"tooltipBorderRadius",void 0);he([At(void 0)],re.prototype,"valueLabels",void 0);he([At(void 0)],re.prototype,"valueLabelsSingular",void 0);he([M({type:Boolean})],re.prototype,"barChart",void 0);he([M({type:String})],re.prototype,"period",void 0);he([At([])],re.prototype,"data",void 0);he([mn(".sessions-chart")],re.prototype,"container",void 0);re=he([Ve("ft-chart")],re);Ve("ft-chart")(re);var Ad=ee`
83
83
  .session-chart {
84
84
  width: 100%;
85
85
  height: 100%;
@@ -102,7 +102,7 @@ Arguments: `+Array.prototype.slice.call(o).join("")+`
102
102
  data="${JSON.stringify(this.data)}"
103
103
  ></ft-chart>
104
104
  </div>
105
- `}update(t){super.update(t),t.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(t.ok){let r=(await t.json()).results;this.data=this.getData(r)}else console.log((await t.json()).message)}}getData(t){return t.map(r=>[Le.utc(r.periodStartDate,"YYYY-MM-DD").unix(),r.sessionCount])}};se.elementDefinitions={"ft-chart":re};se.styles=_d;_e([F({type:String})],se.prototype,"baseUrl",void 0);_e([F({type:String})],se.prototype,"period",void 0);_e([F({type:String})],se.prototype,"startDate",void 0);_e([F({type:String})],se.prototype,"endDate",void 0);_e([F({type:String})],se.prototype,"graphColor",void 0);_e([F({type:String})],se.prototype,"hoverColor",void 0);_e([F({type:String})],se.prototype,"tooltipBackgroundColor",void 0);_e([F({type:String})],se.prototype,"tooltipBorderColor",void 0);_e([F({type:String})],se.prototype,"tooltipTextColor",void 0);_e([F({type:String})],se.prototype,"tooltipBorderRadius",void 0);_e([$t()],se.prototype,"data",void 0);se=_e([Ve("ft-analytics-sessions-chart")],se);Ve("ft-analytics-sessions-chart")(se);})();
105
+ `}update(t){super.update(t),t.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(t.ok){let r=(await t.json()).results;this.data=this.getData(r)}else console.log((await t.json()).message)}}getData(t){return t.map(r=>[Le.utc(r.periodStartDate,"YYYY-MM-DD").unix(),r.sessionCount])}};se.elementDefinitions={"ft-chart":re};se.styles=Ad;_e([M({type:String})],se.prototype,"baseUrl",void 0);_e([M({type:String})],se.prototype,"period",void 0);_e([M({type:String})],se.prototype,"startDate",void 0);_e([M({type:String})],se.prototype,"endDate",void 0);_e([M({type:String})],se.prototype,"graphColor",void 0);_e([M({type:String})],se.prototype,"hoverColor",void 0);_e([M({type:String})],se.prototype,"tooltipBackgroundColor",void 0);_e([M({type:String})],se.prototype,"tooltipBorderColor",void 0);_e([M({type:String})],se.prototype,"tooltipTextColor",void 0);_e([M({type:String})],se.prototype,"tooltipBorderRadius",void 0);_e([$t()],se.prototype,"data",void 0);se=_e([Ve("ft-analytics-sessions-chart")],se);Ve("ft-analytics-sessions-chart")(se);})();
106
106
  /*! Bundled license information:
107
107
 
108
108
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: