@fluid-topics/ft-tooltip 1.2.8 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- "use strict";(()=>{var Oc=Object.create;var ao=Object.defineProperty;var Ec=Object.getOwnPropertyDescriptor;var wc=Object.getOwnPropertyNames;var Cc=Object.getPrototypeOf,Ac=Object.prototype.hasOwnProperty;var Rc=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),D=(r,t)=>{for(var o in t)ao(r,o,{get:t[o],enumerable:!0})},Nc=(r,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of wc(t))!Ac.call(r,a)&&a!==o&&ao(r,a,{get:()=>t[a],enumerable:!(n=Ec(t,a))||n.enumerable});return r};var Ic=(r,t,o)=>(o=r!=null?Oc(Cc(r)):{},Nc(t||!r||!r.__esModule?ao(o,"default",{value:r,enumerable:!0}):o,r));var ks=Rc((Lt,Ls)=>{var to=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,eo=function(){function r(){this.fetch=!1,this.DOMException=to.DOMException}return r.prototype=to,new r}();(function(r){var t=function(o){var n=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};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 u(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var x={next:function(){var N=y.shift();return{done:N===void 0,value:N}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(y){this.map={},y instanceof f?y.forEach(function(x,N){this.append(N,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)}f.prototype.append=function(y,x){y=d(y),x=u(x);var N=this.map[y];this.map[y]=N?N+", "+x:x},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,x){this.map[d(y)]=u(x)},f.prototype.forEach=function(y,x){for(var N in this.map)this.map.hasOwnProperty(N)&&y.call(x,this.map[N],N,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(x,N){y.push(N)}),h(y)},f.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),h(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(x,N){y.push([N,x])}),h(y)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function m(y){return new Promise(function(x,N){y.onload=function(){x(y.result)},y.onerror=function(){N(y.error)}})}function b(y){var x=new FileReader,N=m(x);return x.readAsArrayBuffer(y),N}function S(y){var x=new FileReader,N=m(x),L=/charset=([A-Za-z0-9_-]+)/.exec(y.type),$=L?L[1]:"utf-8";return x.readAsText(y,$),N}function w(y){for(var x=new Uint8Array(y),N=new Array(x.length),L=0;L<x.length;L++)N[L]=String.fromCharCode(x[L]);return N.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 A(){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=g(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=g(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(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(w(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(R)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(y){var x=y.toUpperCase();return O.indexOf(x)>-1?x:y}function E(y,x){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var N=x.body;if(y instanceof E){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!N&&y._bodyInit!=null&&(N=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 f(x.headers)),this.method=v(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var T=new AbortController;return T.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(N),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var $=/\?/;this.url+=($.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function R(y){var x=new FormData;return y.trim().split("&").forEach(function(N){if(N){var L=N.split("="),$=L.shift().replace(/\+/g," "),T=L.join("=").replace(/\+/g," ");x.append(decodeURIComponent($),decodeURIComponent(T))}}),x}function _(y){var x=new f,N=y.replace(/\r?\n[\t ]+/g," ");return N.split("\r").map(function(L){return L.indexOf(`
2
- `)===0?L.substr(1,L.length):L}).forEach(function(L){var $=L.split(":"),T=$.shift().trim();if(T){var nt=$.join(":").trim();try{x.append(T,nt)}catch(Ie){console.warn("Response "+Ie.message)}}}),x}A.call(E.prototype);function F(y,x){if(!(this instanceof F))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 f(x.headers),this.url=x.url||"",this._initBody(y)}A.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},F.error=function(){var y=new F(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var k=[301,302,303,307,308];F.redirect=function(y,x){if(k.indexOf(x)===-1)throw new RangeError("Invalid status code");return new F(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,N){this.message=x,this.name=N;var L=Error(x);this.stack=L.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function I(y,x){return new Promise(function(N,L){var $=new E(y,x);if($.signal&&$.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var T=new XMLHttpRequest;function nt(){T.abort()}T.onload=function(){var G={statusText:T.statusText,headers:_(T.getAllResponseHeaders()||"")};$.url.indexOf("file://")===0&&(T.status<200||T.status>599)?G.status=200:G.status=T.status,G.url="responseURL"in T?T.responseURL:G.headers.get("X-Request-URL");var kt="response"in T?T.response:T.responseText;setTimeout(function(){N(new F(kt,G))},0)},T.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},T.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request timed out"))},0)},T.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function Ie(G){try{return G===""&&n.location.href?n.location.href:G}catch{return G}}if(T.open($.method,Ie($.url),!0),$.credentials==="include"?T.withCredentials=!0:$.credentials==="omit"&&(T.withCredentials=!1),"responseType"in T&&(a.blob?T.responseType="blob":a.arrayBuffer&&(T.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var Na=[];Object.getOwnPropertyNames(x.headers).forEach(function(G){Na.push(d(G)),T.setRequestHeader(G,u(x.headers[G]))}),$.headers.forEach(function(G,kt){Na.indexOf(kt)===-1&&T.setRequestHeader(kt,G)})}else $.headers.forEach(function(G,kt){T.setRequestHeader(kt,G)});$.signal&&($.signal.addEventListener("abort",nt),T.onreadystatechange=function(){T.readyState===4&&$.signal.removeEventListener("abort",nt)}),T.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return I.polyfill=!0,n.fetch||(n.fetch=I,n.Headers=f,n.Request=E,n.Response=F),o.Headers=f,o.Request=E,o.Response=F,o.fetch=I,o}({})})(eo);eo.fetch.ponyfill=!0;delete eo.fetch.polyfill;var me=to.fetch?to:eo;Lt=me.fetch;Lt.default=me.fetch;Lt.fetch=me.fetch;Lt.Headers=me.Headers;Lt.Request=me.Request;Lt.Response=me.Response;Ls.exports=Lt});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,v){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(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=v.prototype.attributeChangedCallback,R=new Set(v.observedAttributes||[]);g(v,R,E);let _={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:R};this._definitionsByTag.set(O,_),this._definitionsByClass.set(v,_);let F=o.call(n,O);F||(F=f(O),t.call(n,O,F)),this===window.customElements&&(s.set(v,_),_.standInClass=F);let k=this._awaitingUpgrade.get(O);if(k){this._awaitingUpgrade.delete(O);for(let y of k)i.delete(y),b(y,_,!0)}let I=this._whenDefinedPromises.get(O);return I!==void 0&&(I.resolve(v),this._whenDefinedPromises.delete(O)),v}upgrade(){w.push(this),n.upgrade.apply(n,arguments),w.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let v=this._getDefinition(O);if(v!==void 0)return Promise.resolve(v.elementClass);let E=this._whenDefinedPromises.get(O);return E===void 0&&(E={},E.promise=new Promise(R=>E.resolve=R),this._whenDefinedPromises.set(O,E)),E.promise}_upgradeWhenDefined(O,v,E){let R=this._awaitingUpgrade.get(v);R||this._awaitingUpgrade.set(v,R=new Set),E?R.add(O):R.delete(O)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(r,[],E.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),a.set(v,E),v},window.HTMLElement.prototype=r.prototype;let u=O=>O===document||O instanceof ShadowRoot,h=O=>{let v=O.getRootNode();if(!u(v)){let E=w[w.length-1];if(E instanceof CustomElementRegistry)return E;v=E.getRootNode(),u(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},f=O=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let R=h(E)||window.customElements,_=R._getDefinition(O);return _?b(E,_):i.set(E,R),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,v,E)=>{if(v.size===0||E===void 0)return;let R=O.prototype.setAttribute;R&&(O.prototype.setAttribute=function(k,I){let y=k.toLowerCase();if(v.has(y)){let x=this.getAttribute(y);R.call(this,y,I),E.call(this,y,x,I)}else R.call(this,y,I)});let _=O.prototype.removeAttribute;_&&(O.prototype.removeAttribute=function(k){let I=k.toLowerCase();if(v.has(I)){let y=this.getAttribute(I);_.call(this,I),E.call(this,I,y,null)}else _.call(this,I)});let F=O.prototype.toggleAttribute;F&&(O.prototype.toggleAttribute=function(k,I){let y=k.toLowerCase();if(v.has(y)){let x=this.getAttribute(y);F.call(this,y,I);let N=this.getAttribute(y);E.call(this,y,x,N)}else F.call(this,y,I)})},m=O=>{let v=Object.getPrototypeOf(O);if(v!==window.HTMLElement)return v===r?Object.setPrototypeOf(O,window.HTMLElement):m(v)},b=(O,v,E=!1)=>{Object.setPrototypeOf(O,v.elementClass.prototype),a.set(O,v),d=O;try{new v.elementClass}catch{m(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(R=>{O.hasAttribute(R)&&v.attributeChangedCallback.call(O,R,null,O.getAttribute(R))}),E&&v.connectedCallback&&O.isConnected&&v.connectedCallback.call(O)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let v=S.apply(this,arguments);return O.customElements&&(v.customElements=O.customElements),v};let w=[document],C=(O,v,E=void 0)=>{let R=(E?Object.getPrototypeOf(E):O.prototype)[v];O.prototype[v]=function(){w.push(this);let _=R.apply(E||this,arguments);return _!==void 0&&l.set(_,this),w.pop(),_}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let A=(O,v)=>{let E=Object.getOwnPropertyDescriptor(O.prototype,v);Object.defineProperty(O.prototype,v,{...E,set(R){w.push(this),E.set.call(this,R),w.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,v=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...k){let I=v.call(this,...k);return O.set(I,this),I},E.forEach(k=>{let I=window.ElementInternals.prototype,y=I[k];I[k]=function(...x){let N=O.get(this);if(a.get(N).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 R extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class _{constructor(I){let y=new Map;I.forEach((x,N)=>{let L=x.getAttribute("name"),$=y.get(L)||[];this[+N]=x,$.push(x),y.set(L,$)}),this.length=I.length,y.forEach((x,N)=>{x&&(x.length===1?this[N]=x[0]:this[N]=new R(x))})}namedItem(I){return this[I]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let k=F.get.call(this,[]),I=[];for(let y of k){let x=a.get(y);(!x||x.formAssociated===!0)&&I.push(y)}return new _(I)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{t.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var vo={};D(vo,{CSSResult:()=>te,LitElement:()=>ft,ReactiveElement:()=>at,_$LE:()=>Qc,_$LH:()=>Yc,adoptStyles:()=>Ir,css:()=>U,defaultConverter:()=>Pr,getCompatibleStyle:()=>Ue,html:()=>bo,isServer:()=>Wu,noChange:()=>St,notEqual:()=>fo,nothing:()=>j,render:()=>xo,supportsAdoptingStyleSheets:()=>$e,svg:()=>qc,unsafeCSS:()=>Wt});var yr=globalThis,mr=yr.ShadowRoot&&(yr.ShadyCSS===void 0||yr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pa=Symbol(),Ia=new WeakMap,gr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Pa)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(mr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ia.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ia.set(o,t))}return t}toString(){return this.cssText}},_a=r=>new gr(typeof r=="string"?r:r+"",void 0,Pa);var io=(r,t)=>{if(mr)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=yr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},br=mr?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return _a(o)})(r):r;var{is:Pc,defineProperty:_c,getOwnPropertyDescriptor:Tc,getOwnPropertyNames:Lc,getOwnPropertySymbols:kc,getPrototypeOf:Fc}=Object,xr=globalThis,Ta=xr.trustedTypes,$c=Ta?Ta.emptyScript:"",Uc=xr.reactiveElementPolyfillSupport,Pe=(r,t)=>r,_e={toAttribute(r,t){switch(t){case Boolean:r=r?$c:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let o=r;switch(t){case Boolean:o=r!==null;break;case Number:o=r===null?null:Number(r);break;case Object:case Array:try{o=JSON.parse(r)}catch{o=null}}return o}},vr=(r,t)=>!Pc(r,t),La={attribute:!0,type:String,converter:_e,reflect:!1,hasChanged:vr};Symbol.metadata??=Symbol("metadata"),xr.litPropertyMetadata??=new WeakMap;var Ft=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,o=La){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,o);a!==void 0&&_c(this.prototype,t,a)}}static getPropertyDescriptor(t,o,n){let{get:a,set:i}=Tc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??La}static _$Ei(){if(this.hasOwnProperty(Pe("elementProperties")))return;let t=Fc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Pe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Pe("properties"))){let o=this.properties,n=[...Lc(o),...kc(o)];for(let a of n)this.createProperty(a,o[a])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)o.unshift(br(a))}else t!==void 0&&o.push(br(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return io(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:_e).toAttribute(o,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,o){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:_e;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(t,o,n,a=!1,i){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??vr)(a?i:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Ft.elementStyles=[],Ft.shadowRootOptions={mode:"open"},Ft[Pe("elementProperties")]=new Map,Ft[Pe("finalized")]=new Map,Uc?.({ReactiveElement:Ft}),(xr.reactiveElementVersions??=[]).push("2.0.2");var co=globalThis,Sr=co.trustedTypes,ka=Sr?Sr.createPolicy("lit-html",{createHTML:r=>r}):void 0,lo="$lit$",ut=`lit$${(Math.random()+"").slice(9)}$`,uo="?"+ut,Dc=`<${uo}>`,Dt=document,Or=()=>Dt.createComment(""),Le=r=>r===null||typeof r!="object"&&typeof r!="function",Ba=Array.isArray,Wa=r=>Ba(r)||typeof r?.[Symbol.iterator]=="function",so=`[
1
+ "use strict";(()=>{var Ec=Object.create;var ao=Object.defineProperty;var wc=Object.getOwnPropertyDescriptor;var Cc=Object.getOwnPropertyNames;var Ac=Object.getPrototypeOf,Rc=Object.prototype.hasOwnProperty;var Nc=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),D=(r,t)=>{for(var o in t)ao(r,o,{get:t[o],enumerable:!0})},Ic=(r,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Cc(t))!Rc.call(r,a)&&a!==o&&ao(r,a,{get:()=>t[a],enumerable:!(n=wc(t,a))||n.enumerable});return r};var Pc=(r,t,o)=>(o=r!=null?Ec(Ac(r)):{},Ic(t||!r||!r.__esModule?ao(o,"default",{value:r,enumerable:!0}):o,r));var ks=Nc((Lt,Ls)=>{var to=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,eo=function(){function r(){this.fetch=!1,this.DOMException=to.DOMException}return r.prototype=to,new r}();(function(r){var t=function(o){var n=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};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 u(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var x={next:function(){var N=y.shift();return{done:N===void 0,value:N}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(y){this.map={},y instanceof f?y.forEach(function(x,N){this.append(N,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)}f.prototype.append=function(y,x){y=d(y),x=u(x);var N=this.map[y];this.map[y]=N?N+", "+x:x},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,x){this.map[d(y)]=u(x)},f.prototype.forEach=function(y,x){for(var N in this.map)this.map.hasOwnProperty(N)&&y.call(x,this.map[N],N,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(x,N){y.push(N)}),h(y)},f.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),h(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(x,N){y.push([N,x])}),h(y)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function m(y){return new Promise(function(x,N){y.onload=function(){x(y.result)},y.onerror=function(){N(y.error)}})}function b(y){var x=new FileReader,N=m(x);return x.readAsArrayBuffer(y),N}function S(y){var x=new FileReader,N=m(x),L=/charset=([A-Za-z0-9_-]+)/.exec(y.type),$=L?L[1]:"utf-8";return x.readAsText(y,$),N}function w(y){for(var x=new Uint8Array(y),N=new Array(x.length),L=0;L<x.length;L++)N[L]=String.fromCharCode(x[L]);return N.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 A(){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=g(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=g(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(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(w(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(R)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(y){var x=y.toUpperCase();return O.indexOf(x)>-1?x:y}function E(y,x){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var N=x.body;if(y instanceof E){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!N&&y._bodyInit!=null&&(N=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 f(x.headers)),this.method=v(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var T=new AbortController;return T.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(N),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var $=/\?/;this.url+=($.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function R(y){var x=new FormData;return y.trim().split("&").forEach(function(N){if(N){var L=N.split("="),$=L.shift().replace(/\+/g," "),T=L.join("=").replace(/\+/g," ");x.append(decodeURIComponent($),decodeURIComponent(T))}}),x}function _(y){var x=new f,N=y.replace(/\r?\n[\t ]+/g," ");return N.split("\r").map(function(L){return L.indexOf(`
2
+ `)===0?L.substr(1,L.length):L}).forEach(function(L){var $=L.split(":"),T=$.shift().trim();if(T){var nt=$.join(":").trim();try{x.append(T,nt)}catch(Ie){console.warn("Response "+Ie.message)}}}),x}A.call(E.prototype);function F(y,x){if(!(this instanceof F))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 f(x.headers),this.url=x.url||"",this._initBody(y)}A.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},F.error=function(){var y=new F(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var k=[301,302,303,307,308];F.redirect=function(y,x){if(k.indexOf(x)===-1)throw new RangeError("Invalid status code");return new F(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,N){this.message=x,this.name=N;var L=Error(x);this.stack=L.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function I(y,x){return new Promise(function(N,L){var $=new E(y,x);if($.signal&&$.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var T=new XMLHttpRequest;function nt(){T.abort()}T.onload=function(){var G={statusText:T.statusText,headers:_(T.getAllResponseHeaders()||"")};$.url.indexOf("file://")===0&&(T.status<200||T.status>599)?G.status=200:G.status=T.status,G.url="responseURL"in T?T.responseURL:G.headers.get("X-Request-URL");var kt="response"in T?T.response:T.responseText;setTimeout(function(){N(new F(kt,G))},0)},T.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},T.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request timed out"))},0)},T.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function Ie(G){try{return G===""&&n.location.href?n.location.href:G}catch{return G}}if(T.open($.method,Ie($.url),!0),$.credentials==="include"?T.withCredentials=!0:$.credentials==="omit"&&(T.withCredentials=!1),"responseType"in T&&(a.blob?T.responseType="blob":a.arrayBuffer&&(T.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var Na=[];Object.getOwnPropertyNames(x.headers).forEach(function(G){Na.push(d(G)),T.setRequestHeader(G,u(x.headers[G]))}),$.headers.forEach(function(G,kt){Na.indexOf(kt)===-1&&T.setRequestHeader(kt,G)})}else $.headers.forEach(function(G,kt){T.setRequestHeader(kt,G)});$.signal&&($.signal.addEventListener("abort",nt),T.onreadystatechange=function(){T.readyState===4&&$.signal.removeEventListener("abort",nt)}),T.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return I.polyfill=!0,n.fetch||(n.fetch=I,n.Headers=f,n.Request=E,n.Response=F),o.Headers=f,o.Request=E,o.Response=F,o.fetch=I,o}({})})(eo);eo.fetch.ponyfill=!0;delete eo.fetch.polyfill;var me=to.fetch?to:eo;Lt=me.fetch;Lt.default=me.fetch;Lt.fetch=me.fetch;Lt.Headers=me.Headers;Lt.Request=me.Request;Lt.Response=me.Response;Ls.exports=Lt});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,v){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(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=v.prototype.attributeChangedCallback,R=new Set(v.observedAttributes||[]);g(v,R,E);let _={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:R};this._definitionsByTag.set(O,_),this._definitionsByClass.set(v,_);let F=o.call(n,O);F||(F=f(O),t.call(n,O,F)),this===window.customElements&&(s.set(v,_),_.standInClass=F);let k=this._awaitingUpgrade.get(O);if(k){this._awaitingUpgrade.delete(O);for(let y of k)i.delete(y),b(y,_,!0)}let I=this._whenDefinedPromises.get(O);return I!==void 0&&(I.resolve(v),this._whenDefinedPromises.delete(O)),v}upgrade(){w.push(this),n.upgrade.apply(n,arguments),w.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let v=this._getDefinition(O);if(v!==void 0)return Promise.resolve(v.elementClass);let E=this._whenDefinedPromises.get(O);return E===void 0&&(E={},E.promise=new Promise(R=>E.resolve=R),this._whenDefinedPromises.set(O,E)),E.promise}_upgradeWhenDefined(O,v,E){let R=this._awaitingUpgrade.get(v);R||this._awaitingUpgrade.set(v,R=new Set),E?R.add(O):R.delete(O)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(r,[],E.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),a.set(v,E),v},window.HTMLElement.prototype=r.prototype;let u=O=>O===document||O instanceof ShadowRoot,h=O=>{let v=O.getRootNode();if(!u(v)){let E=w[w.length-1];if(E instanceof CustomElementRegistry)return E;v=E.getRootNode(),u(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},f=O=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let R=h(E)||window.customElements,_=R._getDefinition(O);return _?b(E,_):i.set(E,R),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,v,E)=>{if(v.size===0||E===void 0)return;let R=O.prototype.setAttribute;R&&(O.prototype.setAttribute=function(k,I){let y=k.toLowerCase();if(v.has(y)){let x=this.getAttribute(y);R.call(this,y,I),E.call(this,y,x,I)}else R.call(this,y,I)});let _=O.prototype.removeAttribute;_&&(O.prototype.removeAttribute=function(k){let I=k.toLowerCase();if(v.has(I)){let y=this.getAttribute(I);_.call(this,I),E.call(this,I,y,null)}else _.call(this,I)});let F=O.prototype.toggleAttribute;F&&(O.prototype.toggleAttribute=function(k,I){let y=k.toLowerCase();if(v.has(y)){let x=this.getAttribute(y);F.call(this,y,I);let N=this.getAttribute(y);E.call(this,y,x,N)}else F.call(this,y,I)})},m=O=>{let v=Object.getPrototypeOf(O);if(v!==window.HTMLElement)return v===r?Object.setPrototypeOf(O,window.HTMLElement):m(v)},b=(O,v,E=!1)=>{Object.setPrototypeOf(O,v.elementClass.prototype),a.set(O,v),d=O;try{new v.elementClass}catch{m(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(R=>{O.hasAttribute(R)&&v.attributeChangedCallback.call(O,R,null,O.getAttribute(R))}),E&&v.connectedCallback&&O.isConnected&&v.connectedCallback.call(O)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let v=S.apply(this,arguments);return O.customElements&&(v.customElements=O.customElements),v};let w=[document],C=(O,v,E=void 0)=>{let R=(E?Object.getPrototypeOf(E):O.prototype)[v];O.prototype[v]=function(){w.push(this);let _=R.apply(E||this,arguments);return _!==void 0&&l.set(_,this),w.pop(),_}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let A=(O,v)=>{let E=Object.getOwnPropertyDescriptor(O.prototype,v);Object.defineProperty(O.prototype,v,{...E,set(R){w.push(this),E.set.call(this,R),w.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,v=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...k){let I=v.call(this,...k);return O.set(I,this),I},E.forEach(k=>{let I=window.ElementInternals.prototype,y=I[k];I[k]=function(...x){let N=O.get(this);if(a.get(N).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 R extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class _{constructor(I){let y=new Map;I.forEach((x,N)=>{let L=x.getAttribute("name"),$=y.get(L)||[];this[+N]=x,$.push(x),y.set(L,$)}),this.length=I.length,y.forEach((x,N)=>{x&&(x.length===1?this[N]=x[0]:this[N]=new R(x))})}namedItem(I){return this[I]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let k=F.get.call(this,[]),I=[];for(let y of k){let x=a.get(y);(!x||x.formAssociated===!0)&&I.push(y)}return new _(I)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{t.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var vo={};D(vo,{CSSResult:()=>te,LitElement:()=>ft,ReactiveElement:()=>at,_$LE:()=>tl,_$LH:()=>Jc,adoptStyles:()=>Ir,css:()=>U,defaultConverter:()=>Pr,getCompatibleStyle:()=>Ue,html:()=>bo,isServer:()=>Hu,noChange:()=>St,notEqual:()=>fo,nothing:()=>j,render:()=>xo,supportsAdoptingStyleSheets:()=>$e,svg:()=>Yc,unsafeCSS:()=>Wt});var yr=globalThis,mr=yr.ShadowRoot&&(yr.ShadyCSS===void 0||yr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pa=Symbol(),Ia=new WeakMap,gr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Pa)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(mr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ia.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ia.set(o,t))}return t}toString(){return this.cssText}},_a=r=>new gr(typeof r=="string"?r:r+"",void 0,Pa);var io=(r,t)=>{if(mr)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=yr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},br=mr?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return _a(o)})(r):r;var{is:_c,defineProperty:Tc,getOwnPropertyDescriptor:Lc,getOwnPropertyNames:kc,getOwnPropertySymbols:Fc,getPrototypeOf:$c}=Object,xr=globalThis,Ta=xr.trustedTypes,Uc=Ta?Ta.emptyScript:"",Dc=xr.reactiveElementPolyfillSupport,Pe=(r,t)=>r,_e={toAttribute(r,t){switch(t){case Boolean:r=r?Uc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let o=r;switch(t){case Boolean:o=r!==null;break;case Number:o=r===null?null:Number(r);break;case Object:case Array:try{o=JSON.parse(r)}catch{o=null}}return o}},vr=(r,t)=>!_c(r,t),La={attribute:!0,type:String,converter:_e,reflect:!1,hasChanged:vr};Symbol.metadata??=Symbol("metadata"),xr.litPropertyMetadata??=new WeakMap;var Ft=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,o=La){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,o);a!==void 0&&Tc(this.prototype,t,a)}}static getPropertyDescriptor(t,o,n){let{get:a,set:i}=Lc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??La}static _$Ei(){if(this.hasOwnProperty(Pe("elementProperties")))return;let t=$c(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Pe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Pe("properties"))){let o=this.properties,n=[...kc(o),...Fc(o)];for(let a of n)this.createProperty(a,o[a])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)o.unshift(br(a))}else t!==void 0&&o.push(br(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return io(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:_e).toAttribute(o,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,o){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:_e;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(t,o,n,a=!1,i){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??vr)(a?i:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Ft.elementStyles=[],Ft.shadowRootOptions={mode:"open"},Ft[Pe("elementProperties")]=new Map,Ft[Pe("finalized")]=new Map,Dc?.({ReactiveElement:Ft}),(xr.reactiveElementVersions??=[]).push("2.0.2");var co=globalThis,Sr=co.trustedTypes,ka=Sr?Sr.createPolicy("lit-html",{createHTML:r=>r}):void 0,lo="$lit$",ut=`lit$${(Math.random()+"").slice(9)}$`,uo="?"+ut,Mc=`<${uo}>`,Dt=document,Or=()=>Dt.createComment(""),Le=r=>r===null||typeof r!="object"&&typeof r!="function",Ba=Array.isArray,Wa=r=>Ba(r)||typeof r?.[Symbol.iterator]=="function",so=`[
3
3
  \f\r]`,Te=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Fa=/-->/g,$a=/>/g,$t=RegExp(`>|${so}(?:([^\\s"'>=/]+)(${so}*=${so}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ua=/'/g,Da=/"/g,Ha=/^(?:script|style|textarea|title)$/i,za=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),ja=za(1),Va=za(2),J=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Ma=new WeakMap,Ut=Dt.createTreeWalker(Dt,129);function Ga(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ka!==void 0?ka.createHTML(t):t}var Ka=(r,t)=>{let o=r.length-1,n=[],a,i=t===2?"<svg>":"",s=Te;for(let l=0;l<o;l++){let d=r[l],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Te?h[1]==="!--"?s=Fa:h[1]!==void 0?s=$a:h[2]!==void 0?(Ha.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=$t):h[3]!==void 0&&(s=$t):s===$t?h[0]===">"?(s=a??Te,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?$t:h[3]==='"'?Da:Ua):s===Da||s===Ua?s=$t:s===Fa||s===$a?s=Te:(s=$t,a=void 0);let m=s===$t&&r[l+1].startsWith("/>")?" ":"";i+=s===Te?d+Dc:f>=0?(n.push(u),d.slice(0,f)+lo+d.slice(f)+ut+m):d+ut+(f===-2?l:m)}return[Ga(r,i+(r[o]||"<?>")+(t===2?"</svg>":"")),n]},ke=class r{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[u,h]=Ka(t,o);if(this.el=r.createElement(u,n),Ut.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=Ut.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(lo)){let g=h[s++],m=a.getAttribute(f).split(ut),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?wr:b[1]==="?"?Cr:b[1]==="@"?Ar:Bt}),a.removeAttribute(f)}else f.startsWith(ut)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Ha.test(a.tagName)){let f=a.textContent.split(ut),g=f.length-1;if(g>0){a.textContent=Sr?Sr.emptyScript:"";for(let m=0;m<g;m++)a.append(f[m],Or()),Ut.nextNode(),d.push({type:2,index:++i});a.append(f[g],Or())}}}else if(a.nodeType===8)if(a.data===uo)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(ut,f+1))!==-1;)d.push({type:7,index:i}),f+=ut.length-1}i++}}static createElement(t,o){let n=Dt.createElement("template");return n.innerHTML=t,n}};function Mt(r,t,o=r,n){if(t===J)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Le(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Mt(r,a._$AS(r,t.values),a,n)),t}var Er=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??Dt).importNode(o,!0);Ut.currentNode=a;let i=Ut.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Fe(i,i.nextSibling,this,t):d.type===1?u=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(u=new Rr(i,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(i=Ut.nextNode(),s++)}return Ut.currentNode=Dt,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Fe=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Mt(this,t,o),Le(t)?t===H||t==null||t===""?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==J&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Wa(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&Le(this._$AH)?this._$AA.nextSibling.data=t:this.$(Dt.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ke.createElement(Ga(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Er(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(t){let o=Ma.get(t.strings);return o===void 0&&Ma.set(t.strings,o=new ke(t)),o}T(t){Ba(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new r(this.k(Or()),this.k(Or()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Bt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=Mt(this,t,o,0),s=!Le(t)||t!==this._$AH&&t!==J,s&&(this._$AH=t);else{let l=t,d,u;for(t=i[0],d=0;d<i.length-1;d++)u=Mt(this,l[n+d],o,d),u===J&&(u=this._$AH[d]),s||=!Le(u)||u!==this._$AH[d],u===H?t=H:t!==H&&(t+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},wr=class extends Bt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},Cr=class extends Bt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},Ar=class extends Bt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Mt(this,t,o,0)??H)===J)return;let n=this._$AH,a=t===H&&n!==H||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Rr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Mt(this,t)}},Za={j:lo,P:ut,A:uo,C:1,M:Ka,L:Er,R:Wa,V:Mt,D:Fe,I:Bt,H:Cr,N:Ar,U:wr,B:Rr},Mc=co.litHtmlPolyfillSupport;Mc?.(ke,Fe),(co.litHtmlVersions??=[]).push("3.1.0");var Nr=globalThis,$e=Nr.ShadowRoot&&(Nr.ShadyCSS===void 0||Nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,po=Symbol(),qa=new WeakMap,te=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==po)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if($e&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=qa.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&qa.set(o,t))}return t}toString(){return this.cssText}},Wt=r=>new te(typeof r=="string"?r:r+"",void 0,po),U=(r,...t)=>{let o=r.length===1?r[0]:t.reduce((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+r[i+1],r[0]);return new te(o,r,po)},Ir=(r,t)=>{if($e)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Nr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},Ue=$e?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Wt(o)})(r):r;var{is:Bc,defineProperty:Wc,getOwnPropertyDescriptor:Hc,getOwnPropertyNames:zc,getOwnPropertySymbols:jc,getPrototypeOf:Vc}=Object,_r=globalThis,Ya=_r.trustedTypes,Gc=Ya?Ya.emptyScript:"",Kc=_r.reactiveElementPolyfillSupport,De=(r,t)=>r,Pr={toAttribute(r,t){switch(t){case Boolean:r=r?Gc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let o=r;switch(t){case Boolean:o=r!==null;break;case Number:o=r===null?null:Number(r);break;case Object:case Array:try{o=JSON.parse(r)}catch{o=null}}return o}},fo=(r,t)=>!Bc(r,t),Ja={attribute:!0,type:String,converter:Pr,reflect:!1,hasChanged:fo};Symbol.metadata??=Symbol("metadata"),_r.litPropertyMetadata??=new WeakMap;var at=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,o=Ja){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,o);a!==void 0&&Wc(this.prototype,t,a)}}static getPropertyDescriptor(t,o,n){let{get:a,set:i}=Hc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ja}static _$Ei(){if(this.hasOwnProperty(De("elementProperties")))return;let t=Vc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(De("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(De("properties"))){let o=this.properties,n=[...zc(o),...jc(o)];for(let a of n)this.createProperty(a,o[a])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)o.unshift(Ue(a))}else t!==void 0&&o.push(Ue(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ir(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Pr).toAttribute(o,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,o){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Pr;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(t,o,n,a=!1,i){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??fo)(a?i:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};at.elementStyles=[],at.shadowRootOptions={mode:"open"},at[De("elementProperties")]=new Map,at[De("finalized")]=new Map,Kc?.({ReactiveElement:at}),(_r.reactiveElementVersions??=[]).push("2.0.2");var yo=globalThis,Tr=yo.trustedTypes,Xa=Tr?Tr.createPolicy("lit-html",{createHTML:r=>r}):void 0,go="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,mo="?"+pt,Zc=`<${mo}>`,jt=document,Be=()=>jt.createComment(""),We=r=>r===null||typeof r!="object"&&typeof r!="function",ni=Array.isArray,ai=r=>ni(r)||typeof r?.[Symbol.iterator]=="function",ho=`[
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ua=/'/g,Da=/"/g,Ha=/^(?:script|style|textarea|title)$/i,za=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),ja=za(1),Va=za(2),J=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Ma=new WeakMap,Ut=Dt.createTreeWalker(Dt,129);function Ga(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ka!==void 0?ka.createHTML(t):t}var Ka=(r,t)=>{let o=r.length-1,n=[],a,i=t===2?"<svg>":"",s=Te;for(let l=0;l<o;l++){let d=r[l],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Te?h[1]==="!--"?s=Fa:h[1]!==void 0?s=$a:h[2]!==void 0?(Ha.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=$t):h[3]!==void 0&&(s=$t):s===$t?h[0]===">"?(s=a??Te,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?$t:h[3]==='"'?Da:Ua):s===Da||s===Ua?s=$t:s===Fa||s===$a?s=Te:(s=$t,a=void 0);let m=s===$t&&r[l+1].startsWith("/>")?" ":"";i+=s===Te?d+Mc:f>=0?(n.push(u),d.slice(0,f)+lo+d.slice(f)+ut+m):d+ut+(f===-2?l:m)}return[Ga(r,i+(r[o]||"<?>")+(t===2?"</svg>":"")),n]},ke=class r{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[u,h]=Ka(t,o);if(this.el=r.createElement(u,n),Ut.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=Ut.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(lo)){let g=h[s++],m=a.getAttribute(f).split(ut),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?wr:b[1]==="?"?Cr:b[1]==="@"?Ar:Bt}),a.removeAttribute(f)}else f.startsWith(ut)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Ha.test(a.tagName)){let f=a.textContent.split(ut),g=f.length-1;if(g>0){a.textContent=Sr?Sr.emptyScript:"";for(let m=0;m<g;m++)a.append(f[m],Or()),Ut.nextNode(),d.push({type:2,index:++i});a.append(f[g],Or())}}}else if(a.nodeType===8)if(a.data===uo)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(ut,f+1))!==-1;)d.push({type:7,index:i}),f+=ut.length-1}i++}}static createElement(t,o){let n=Dt.createElement("template");return n.innerHTML=t,n}};function Mt(r,t,o=r,n){if(t===J)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Le(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Mt(r,a._$AS(r,t.values),a,n)),t}var Er=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??Dt).importNode(o,!0);Ut.currentNode=a;let i=Ut.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Fe(i,i.nextSibling,this,t):d.type===1?u=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(u=new Rr(i,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(i=Ut.nextNode(),s++)}return Ut.currentNode=Dt,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Fe=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Mt(this,t,o),Le(t)?t===H||t==null||t===""?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==J&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Wa(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&Le(this._$AH)?this._$AA.nextSibling.data=t:this.$(Dt.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ke.createElement(Ga(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Er(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(t){let o=Ma.get(t.strings);return o===void 0&&Ma.set(t.strings,o=new ke(t)),o}T(t){Ba(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new r(this.k(Or()),this.k(Or()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Bt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=Mt(this,t,o,0),s=!Le(t)||t!==this._$AH&&t!==J,s&&(this._$AH=t);else{let l=t,d,u;for(t=i[0],d=0;d<i.length-1;d++)u=Mt(this,l[n+d],o,d),u===J&&(u=this._$AH[d]),s||=!Le(u)||u!==this._$AH[d],u===H?t=H:t!==H&&(t+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},wr=class extends Bt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},Cr=class extends Bt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},Ar=class extends Bt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Mt(this,t,o,0)??H)===J)return;let n=this._$AH,a=t===H&&n!==H||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Rr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Mt(this,t)}},Za={j:lo,P:ut,A:uo,C:1,M:Ka,L:Er,R:Wa,V:Mt,D:Fe,I:Bt,H:Cr,N:Ar,U:wr,B:Rr},Bc=co.litHtmlPolyfillSupport;Bc?.(ke,Fe),(co.litHtmlVersions??=[]).push("3.1.0");var Nr=globalThis,$e=Nr.ShadowRoot&&(Nr.ShadyCSS===void 0||Nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,po=Symbol(),qa=new WeakMap,te=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==po)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if($e&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=qa.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&qa.set(o,t))}return t}toString(){return this.cssText}},Wt=r=>new te(typeof r=="string"?r:r+"",void 0,po),U=(r,...t)=>{let o=r.length===1?r[0]:t.reduce((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+r[i+1],r[0]);return new te(o,r,po)},Ir=(r,t)=>{if($e)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Nr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},Ue=$e?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Wt(o)})(r):r;var{is:Wc,defineProperty:Hc,getOwnPropertyDescriptor:zc,getOwnPropertyNames:jc,getOwnPropertySymbols:Vc,getPrototypeOf:Gc}=Object,_r=globalThis,Ya=_r.trustedTypes,Kc=Ya?Ya.emptyScript:"",Zc=_r.reactiveElementPolyfillSupport,De=(r,t)=>r,Pr={toAttribute(r,t){switch(t){case Boolean:r=r?Kc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let o=r;switch(t){case Boolean:o=r!==null;break;case Number:o=r===null?null:Number(r);break;case Object:case Array:try{o=JSON.parse(r)}catch{o=null}}return o}},fo=(r,t)=>!Wc(r,t),Ja={attribute:!0,type:String,converter:Pr,reflect:!1,hasChanged:fo};Symbol.metadata??=Symbol("metadata"),_r.litPropertyMetadata??=new WeakMap;var at=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,o=Ja){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,o);a!==void 0&&Hc(this.prototype,t,a)}}static getPropertyDescriptor(t,o,n){let{get:a,set:i}=zc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ja}static _$Ei(){if(this.hasOwnProperty(De("elementProperties")))return;let t=Gc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(De("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(De("properties"))){let o=this.properties,n=[...jc(o),...Vc(o)];for(let a of n)this.createProperty(a,o[a])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)o.unshift(Ue(a))}else t!==void 0&&o.push(Ue(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ir(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Pr).toAttribute(o,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,o){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Pr;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(t,o,n,a=!1,i){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??fo)(a?i:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};at.elementStyles=[],at.shadowRootOptions={mode:"open"},at[De("elementProperties")]=new Map,at[De("finalized")]=new Map,Zc?.({ReactiveElement:at}),(_r.reactiveElementVersions??=[]).push("2.0.2");var yo=globalThis,Tr=yo.trustedTypes,Xa=Tr?Tr.createPolicy("lit-html",{createHTML:r=>r}):void 0,go="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,mo="?"+pt,qc=`<${mo}>`,jt=document,Be=()=>jt.createComment(""),We=r=>r===null||typeof r!="object"&&typeof r!="function",ni=Array.isArray,ai=r=>ni(r)||typeof r?.[Symbol.iterator]=="function",ho=`[
5
5
  \f\r]`,Me=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qa=/-->/g,ti=/>/g,Ht=RegExp(`>|${ho}(?:([^\\s"'>=/]+)(${ho}*=${ho}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ei=/'/g,ri=/"/g,ii=/^(?:script|style|textarea|title)$/i,si=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),bo=si(1),qc=si(2),St=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),oi=new WeakMap,zt=jt.createTreeWalker(jt,129);function ci(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xa!==void 0?Xa.createHTML(t):t}var li=(r,t)=>{let o=r.length-1,n=[],a,i=t===2?"<svg>":"",s=Me;for(let l=0;l<o;l++){let d=r[l],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Me?h[1]==="!--"?s=Qa:h[1]!==void 0?s=ti:h[2]!==void 0?(ii.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Ht):h[3]!==void 0&&(s=Ht):s===Ht?h[0]===">"?(s=a??Me,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ht:h[3]==='"'?ri:ei):s===ri||s===ei?s=Ht:s===Qa||s===ti?s=Me:(s=Ht,a=void 0);let m=s===Ht&&r[l+1].startsWith("/>")?" ":"";i+=s===Me?d+Zc:f>=0?(n.push(u),d.slice(0,f)+go+d.slice(f)+pt+m):d+pt+(f===-2?l:m)}return[ci(r,i+(r[o]||"<?>")+(t===2?"</svg>":"")),n]},He=class r{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[u,h]=li(t,o);if(this.el=r.createElement(u,n),zt.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=zt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(go)){let g=h[s++],m=a.getAttribute(f).split(pt),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?kr:b[1]==="?"?Fr:b[1]==="@"?$r:Gt}),a.removeAttribute(f)}else f.startsWith(pt)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(ii.test(a.tagName)){let f=a.textContent.split(pt),g=f.length-1;if(g>0){a.textContent=Tr?Tr.emptyScript:"";for(let m=0;m<g;m++)a.append(f[m],Be()),zt.nextNode(),d.push({type:2,index:++i});a.append(f[g],Be())}}}else if(a.nodeType===8)if(a.data===mo)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(pt,f+1))!==-1;)d.push({type:7,index:i}),f+=pt.length-1}i++}}static createElement(t,o){let n=jt.createElement("template");return n.innerHTML=t,n}};function Vt(r,t,o=r,n){if(t===St)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=We(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Vt(r,a._$AS(r,t.values),a,n)),t}var Lr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??jt).importNode(o,!0);zt.currentNode=a;let i=zt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new ee(i,i.nextSibling,this,t):d.type===1?u=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(u=new Ur(i,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(i=zt.nextNode(),s++)}return zt.currentNode=jt,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},ee=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Vt(this,t,o),We(t)?t===j||t==null||t===""?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==St&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ai(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==j&&We(this._$AH)?this._$AA.nextSibling.data=t:this.$(jt.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=He.createElement(ci(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Lr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(t){let o=oi.get(t.strings);return o===void 0&&oi.set(t.strings,o=new He(t)),o}T(t){ni(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new r(this.k(Be()),this.k(Be()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=Vt(this,t,o,0),s=!We(t)||t!==this._$AH&&t!==St,s&&(this._$AH=t);else{let l=t,d,u;for(t=i[0],d=0;d<i.length-1;d++)u=Vt(this,l[n+d],o,d),u===St&&(u=this._$AH[d]),s||=!We(u)||u!==this._$AH[d],u===j?t=j:t!==j&&(t+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.O(t)}O(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},kr=class extends Gt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===j?void 0:t}},Fr=class extends Gt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},$r=class extends Gt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Vt(this,t,o,0)??j)===St)return;let n=this._$AH,a=t===j&&n!==j||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==j&&(n===j||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ur=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Vt(this,t)}},Yc={j:go,P:pt,A:mo,C:1,M:li,L:Lr,R:ai,V:Vt,D:ee,I:Gt,H:Fr,N:$r,U:kr,B:Ur},Jc=yo.litHtmlPolyfillSupport;Jc?.(He,ee),(yo.litHtmlVersions??=[]).push("3.1.0");var xo=(r,t,o)=>{let n=o?.renderBefore??t,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new ee(t.insertBefore(Be(),i),i,void 0,o??{})}return a._$AI(r),a};var ft=class extends at{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=xo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return St}};ft._$litElement$=!0,ft.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ft});var Xc=globalThis.litElementPolyfillSupport;Xc?.({LitElement:ft});var Qc={_$AK:(r,t,o)=>{r._$AK(t,o)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Wu=!1;var Oo={};D(Oo,{customElement:()=>tl,eventOptions:()=>re,property:()=>W,query:()=>je,queryAll:()=>ol,queryAssignedElements:()=>al,queryAssignedNodes:()=>So,queryAsync:()=>nl,standardProperty:()=>di,state:()=>ze});var tl=r=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(r,t)}):customElements.define(r,t)};var el={attribute:!0,type:String,converter:_e,reflect:!1,hasChanged:vr},di=(r=el,t,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(o.name,r),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+n)};function W(r){return(t,o)=>typeof o=="object"?di(r,t,o):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(r,t,o)}function ze(r){return W({...r,state:!0,attribute:!1})}function re(r){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,r)}}var et=(r,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(r,t,o),o);function je(r,t){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(r)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return et(o,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return et(o,n,{get(){return i(this)}})}}var rl;function ol(r){return(t,o)=>et(t,o,{get(){return(this.renderRoot??(rl??=document.createDocumentFragment())).querySelectorAll(r)}})}function nl(r){return(t,o)=>et(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function al(r){return(t,o)=>{let{slot:n,selector:a}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return et(t,o,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(r)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function So(r){return(t,o)=>{let{slot:n}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return et(t,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(r)??[]}})}}var Eo={};D(Eo,{repeat:()=>cl});var Ot={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Et=r=>(...t)=>({_$litDirective$:r,values:t}),it=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:il}=Za;var ui=()=>document.createComment(""),oe=(r,t,o)=>{let n=r._$AA.parentNode,a=t===void 0?r._$AB:t._$AA;if(o===void 0){let i=n.insertBefore(ui(),a),s=n.insertBefore(ui(),a);o=new il(i,s,r,r.options)}else{let i=o._$AB.nextSibling,s=o._$AM,l=s!==r;if(l){let d;o._$AQ?.(r),o._$AM=r,o._$AP!==void 0&&(d=r._$AU)!==s._$AU&&o._$AP(d)}if(i!==a||l){let d=o._$AA;for(;d!==i;){let u=d.nextSibling;n.insertBefore(d,a),d=u}}}return o},wt=(r,t,o=r)=>(r._$AI(t,o),r),sl={},pi=(r,t=sl)=>r._$AH=t,fi=r=>r._$AH,Dr=r=>{r._$AP?.(!1,!0);let t=r._$AA,o=r._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var hi=(r,t,o)=>{let n=new Map;for(let a=t;a<=o;a++)n.set(r[a],a);return n},cl=Et(class extends it{constructor(r){if(super(r),r.type!==Ot.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let a=[],i=[],s=0;for(let l of r)a[s]=n?n(l,s):s,i[s]=o(l,s),s++;return{values:i,keys:a}}render(r,t,o){return this.ht(r,t,o).values}update(r,[t,o,n]){let a=fi(r),{values:i,keys:s}=this.ht(t,o,n);if(!Array.isArray(a))return this.dt=s,i;let l=this.dt??=[],d=[],u,h,f=0,g=a.length-1,m=0,b=i.length-1;for(;f<=g&&m<=b;)if(a[f]===null)f++;else if(a[g]===null)g--;else if(l[f]===s[m])d[m]=wt(a[f],i[m]),f++,m++;else if(l[g]===s[b])d[b]=wt(a[g],i[b]),g--,b--;else if(l[f]===s[b])d[b]=wt(a[f],i[b]),oe(r,d[b+1],a[f]),f++,b--;else if(l[g]===s[m])d[m]=wt(a[g],i[m]),oe(r,a[f],a[g]),g--,m++;else if(u===void 0&&(u=hi(s,m,b),h=hi(l,f,g)),u.has(l[f]))if(u.has(l[g])){let S=h.get(s[m]),w=S!==void 0?a[S]:null;if(w===null){let C=oe(r,a[f]);wt(C,i[m]),d[m]=C}else d[m]=wt(w,i[m]),oe(r,a[f],w),a[S]=null;m++}else Dr(a[g]),g--;else Dr(a[f]),f++;for(;m<=b;){let S=oe(r,d[b+1]);wt(S,i[m]),d[m++]=S}for(;f<=g;){let S=a[f++];S!==null&&Dr(S)}return this.dt=s,pi(r,d),J}});var wo={};D(wo,{classMap:()=>ll});var ll=Et(class extends it{constructor(r){if(super(r),r.type!==Ot.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(t=>r[t]).join(" ")+" "}update(r,[t]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=r.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let a=!!t[n];a===this.it.has(n)||this.st?.has(n)||(a?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return J}});var Co={};D(Co,{styleMap:()=>ul});var yi="important",dl=" !"+yi,ul=Et(class extends it{constructor(r){if(super(r),r.type!==Ot.ATTRIBUTE||r.name!=="style"||r.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(r){return Object.keys(r).reduce((t,o)=>{let n=r[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(r,[t]){let{style:o}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let a=t[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(dl);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?yi:""):o[n]=a}}return J}});var Ao={};D(Ao,{UnsafeHTMLDirective:()=>ne,unsafeHTML:()=>pl});var ne=class extends it{constructor(t){if(super(t),this.et=H,t.type!==Ot.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||t==null)return this.vt=void 0,this.et=t;if(t===J)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ne.directiveName="unsafeHTML",ne.resultType=1;var pl=Et(ne);var ko={};D(ko,{CacheRegistry:()=>Lo,ClearCacheEvent:()=>Ge});var No={};D(No,{CancelablePromise:()=>ae,CanceledPromiseError:()=>Ve,cancelable:()=>Ro});var Ve=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},ae=class extends Promise{constructor(t){super((o,n)=>t(a=>{this.isCanceled?n(new Ve("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new Ve("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ro=r=>new ae((t,o)=>r.then(t).catch(o));var To={};D(To,{FtNotificationEvent:()=>Io,PostResizeEvent:()=>_o,PreResizeEvent:()=>Po,WithEventBus:()=>Kt,withEventBus:()=>gi});var Io=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Po=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},_o=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function gi(r,t){return class extends r{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Kt=class extends gi(Object){};var Ge=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Lo=class extends Kt{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new Ge(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new Ge([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof ae&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let a=Ro(o());return this.content[t]=a,a.then(i=>(this.content[t]=i,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),i))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var $o={};D($o,{ClusteringHelper:()=>Fo});var Fo=class r{constructor(t,o,n,a){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(t,o){var n,a;let i=((a=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&a!==void 0?a:t?.topic).metadata;return o==null?r.flattenMetadata(i):r.flattenMetadata(i.find(s=>s.key===o))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>r.flattenMetadata(n)).filter(n=>n!=null);let o=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!o))if(o){let n=[],a=[];return t.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,o,n="No value"){var a,i;let s=r.extractResultMetadata(this.selectedResult,t),l=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(t))===null||i===void 0?void 0:i.label;return this.allResults.map(u=>r.extractResultMetadata(u,t)).map(u=>u??{key:t,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,f)=>f.findIndex(g=>g.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(t,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,t,o))}compareMetadata(t,o,n,a){if(t==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var u;return((u=r.extractResultMetadata(d,t))===null||u===void 0?void 0:u.value)==o}),i=[...r.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,i);if(u>l&&(l=u,s=d,u===i.length))break}return s}countMatchingMetadata(t,o){return r.extractResultMetadata(t).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Uo={};D(Uo,{Debouncer:()=>Ct});var Ct=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bo={};D(Bo,{customElement:()=>Ye,isNumber:()=>Oi,jsonProperty:()=>Mo,optionalNumberProperty:()=>bl});var Do={};D(Do,{dateReviver:()=>hl,deepEqual:()=>Ke,delay:()=>mi,eventPathContainsMatchingElement:()=>gl,flatDeep:()=>xi,hasChanged:()=>Ze,last:()=>ml,minmax:()=>qe,parseDate:()=>vi,unslotText:()=>Si,waitFor:()=>bi,waitUntil:()=>fl});var mi=r=>new Promise(t=>setTimeout(t,r));async function fl(r,t=10,o=2e4){await bi(async()=>await r()||void 0,t,o)}async function bi(r,t=10,o=2e4){let n=await r(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await mi(t),n=await r(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function xi(r,t){return r.flatMap(o=>[o,...xi(t(o),t)])}function hl(...r){return function(t,o){return r.includes(t)?vi(o):o}}function vi(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,a)=>o+n+":"+a),new Date(r)}function yl(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Ke(r[n],t[n]))return!1;return!0}if(r instanceof Map&&t instanceof Map){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;for(n of r.entries())if(!Ke(n[1],t.get(n[0])))return!1;return!0}if(r instanceof Set&&t instanceof Set){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();if(a=Object.keys(r),o=a.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Ke(r[i],t[i]))return!1}return!0}return r!==r&&t!==t}function Ke(r,t){try{return yl(r,t)}catch{return!1}}function Ze(r,t){return!Ke(r,t)}function gl(r,t,o=window.document.body){if(t.length>0){let n=r.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function qe(r,t,o){return Math.min(Math.max(r,t),o)}function ml(r){return r[r.length-1]}function Si(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(t=>Si(t)).join(""):r?.textContent||""}var Ye=r=>t=>{window.customElements.get(r)||window.customElements.define(r,t)};function Mo(r,t){let o=()=>JSON.parse(JSON.stringify(r));return W({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ze,...t??{}})}function bl(r){return W({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Oi(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...r??{}})}function Oi(r){return!isNaN(parseFloat(r))}var gn={};D(gn,{designSystemVariables:()=>ie});var yn={};D(yn,{DesignSystemFamily:()=>Xe,DesignSystemSize:()=>Qe,FtCssVariableFactory:()=>e,badge:()=>Cl,banner:()=>wl,button:()=>vl,chart:()=>Wl,checkbox:()=>jl,chip:()=>Ol,chipChoice:()=>Sl,collapsible:()=>Ml,comboboxMultiSelect:()=>Ul,comboboxSingleSelect:()=>$l,drawer:()=>_l,floatingMenu:()=>Fl,foundation:()=>c,link:()=>El,modal:()=>Pl,notice:()=>zl,notification:()=>Kl,pageDesigner:()=>Hl,pageFooter:()=>Nl,pageHeader:()=>Rl,pageLayout:()=>Il,popover:()=>Dl,radio:()=>Gl,resolveFamilyClass:()=>fn,resolveSizeClass:()=>hn,semantic:()=>p,setVariable:()=>Mr,switch_:()=>Bl,tabs:()=>Tl,textArea:()=>kl,textInput:()=>Ll,titleBreadcrumb:()=>Al,toggle:()=>Vl,tooltip:()=>Zl,typographies:()=>Je,typographyBody1Medium:()=>Go,typographyBody1Regular:()=>Vo,typographyBody1Semibold:()=>Ko,typographyBody2Medium:()=>qo,typographyBody2MediumUnderline:()=>Ei,typographyBody2Regular:()=>Zo,typographyBody2Semibold:()=>Yo,typographyCaption1Bold:()=>an,typographyCaption1Medium:()=>on,typographyCaption1Semibold:()=>nn,typographyCaption2Bold:()=>ln,typographyCaption2Medium:()=>sn,typographyCaption2Semibold:()=>cn,typographyCaption3Bold:()=>pn,typographyCaption3Medium:()=>dn,typographyCaption3Semibold:()=>un,typographyDisplay:()=>Wo,typographyLabel1Bold:()=>Qo,typographyLabel1Medium:()=>Jo,typographyLabel1Semibold:()=>Xo,typographyLabel2Bold:()=>rn,typographyLabel2Medium:()=>tn,typographyLabel2Semibold:()=>en,typographyTitle1:()=>Ho,typographyTitle2:()=>zo,typographyTitle3:()=>jo,typographyVariants:()=>xl});var ht=r=>typeof r=="string"?Wt(r):r,e=class{static create(t,o,n,a){let i=l=>ht(l??a),s=U`var(${ht(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>U`var(${ht(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,o,n,a){let i=l=>n.get(l??a),s=U`var(${ht(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>U`var(${ht(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,o){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):ht(i??t.lastResortDefaultValue()),a=U`var(${ht(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>U`var(${ht(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Mr(r,t){return ht(`${r.name}: ${t}`)}var c={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},Wo={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ho={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},zo={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},jo={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Vo={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Go={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ko={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Zo={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},qo={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ei={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Yo={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Jo={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Xo={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Qo={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},tn={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},en={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},rn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},on={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},nn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},an={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},sn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},cn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ln={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},dn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},un={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},pn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Je={display:Wo,"title-1":Ho,"title-2":zo,"title-3":jo,"body-1-regular":Vo,"body-1-medium":Go,"body-1-semibold":Ko,"body-2-regular":Zo,"body-2-medium":qo,"body-2-medium-underline":Ei,"body-2-semibold":Yo,"label-1-medium":Jo,"label-1-semibold":Xo,"label-1-bold":Qo,"label-2-medium":tn,"label-2-semibold":en,"label-2-bold":rn,"caption-1-medium":on,"caption-1-semibold":nn,"caption-1-bold":an,"caption-2-medium":sn,"caption-2-semibold":cn,"caption-2-bold":ln,"caption-3-medium":dn,"caption-3-semibold":un,"caption-3-bold":pn},xl=["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 p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:e.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var vl={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:e.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:e.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:e.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:e.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:e.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:e.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:e.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:e.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:e.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:e.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:e.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:e.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:e.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:e.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:e.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:e.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Sl={neutralOffHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:e.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:e.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:e.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:e.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:e.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:e.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:e.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var Ol={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:e.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:e.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var El={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var wl={iconSize:e.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Cl={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:e.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Al={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Rl={parentHorizontalPadding:e.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:e.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:e.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:e.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:e.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:e.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:e.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:e.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:e.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:e.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:e.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:e.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:e.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:e.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:e.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:e.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:e.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:e.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:e.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Nl={horizontalPadding:e.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:e.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:e.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:e.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Il={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Pl={smallContainerTargetWidth:e.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:e.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:e.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:e.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:e.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",c.borderRadiusM)};var _l={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Tl={offBorderBottomWidth:e.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Ll={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var kl={backgroundColor:e.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Fl={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var $l={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Ul={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Dl={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",c.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-popover-max-width","","SIZE","440px")};var Ml={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Bl={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:e.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Wl={color1Light:e.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",c.colorRed40),color5Base:e.extend("--ft-chart-5-base","",c.colorRed60),color6Light:e.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",c.colorGray50),color10Base:e.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Hl={color1IconColor:e.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:e.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:e.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:e.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:e.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:e.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:e.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:e.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:e.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:e.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:e.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:e.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:e.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:e.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:e.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:e.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var zl={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:e.extend("--ft-notice-gap","",c.spacing2),iconSize:e.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var jl={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",c.spacing3)};var Vl={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",c.spacing3)};var Gl={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",c.spacing3)};var Kl={iconSize:e.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",c.spacing8)};var Zl={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:e.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",c.spacing05)};var Xe;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Xe||(Xe={}));var Qe;(function(r){r.large="large",r.medium="medium",r.small="small"})(Qe||(Qe={}));function fn(r){return`ftds--family-${r}`}function hn(r){return`ftds--size-${r}`}var ie={colorPrimary:e.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:e.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:e.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:e.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:e.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:e.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:e.create("--ft-color-error","","COLOR","#B00020"),colorOutline:e.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:e.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:e.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:e.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:e.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:e.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:e.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:e.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:e.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:e.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:e.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:e.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:e.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:e.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:e.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:e.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:e.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:e.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:e.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:e.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:e.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:e.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:e.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:e.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:e.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:e.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:e.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:e.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:e.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:e.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:e.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:e.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:e.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:e.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:e.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:e.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:e.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:e.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:e.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:e.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:e.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:e.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var _n={};D(_n,{computeFlipOffsetPosition:()=>yd,computeOffsetPosition:()=>Pn});var Ci=["top","right","bottom","left"],wi=["start","end"],mn=Ci.reduce((r,t)=>r.concat(t,t+"-"+wi[0],t+"-"+wi[1]),[]),rr=Math.min,At=Math.max,or=Math.round;var yt=r=>({x:r,y:r}),ql={left:"right",right:"left",bottom:"top",top:"bottom"},Yl={start:"end",end:"start"};function bn(r,t,o){return At(r,rr(t,o))}function se(r,t){return typeof r=="function"?r(t):r}function st(r){return r.split("-")[0]}function ct(r){return r.split("-")[1]}function xn(r){return r==="x"?"y":"x"}function vn(r){return r==="y"?"height":"width"}function nr(r){return["top","bottom"].includes(st(r))?"y":"x"}function Sn(r){return xn(nr(r))}function On(r,t,o){o===void 0&&(o=!1);let n=ct(r),a=Sn(r),i=vn(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=er(s)),[s,er(s)]}function Ai(r){let t=er(r);return[tr(r),t,tr(t)]}function tr(r){return r.replace(/start|end/g,t=>Yl[t])}function Jl(r,t,o){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return o?t?a:n:t?n:a;case"left":case"right":return t?i:s;default:return[]}}function Ri(r,t,o,n){let a=ct(r),i=Jl(st(r),o==="start",n);return a&&(i=i.map(s=>s+"-"+a),t&&(i=i.concat(i.map(tr)))),i}function er(r){return r.replace(/left|right|bottom|top/g,t=>ql[t])}function Xl(r){return{top:0,right:0,bottom:0,left:0,...r}}function Ni(r){return typeof r!="number"?Xl(r):{top:r,right:r,bottom:r,left:r}}function Zt(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Ii(r,t,o){let{reference:n,floating:a}=r,i=nr(t),s=Sn(t),l=vn(s),d=st(t),u=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,m;switch(d){case"top":m={x:h,y:n.y-a.height};break;case"bottom":m={x:h,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:f};break;case"left":m={x:n.x-a.width,y:f};break;default:m={x:n.x,y:n.y}}switch(ct(t)){case"start":m[s]-=g*(o&&u?-1:1);break;case"end":m[s]+=g*(o&&u?-1:1);break}return m}var Pi=async(r,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:r,floating:t,strategy:a}),{x:h,y:f}=Ii(u,n,d),g=n,m={},b=0;for(let S=0;S<l.length;S++){let{name:w,fn:C}=l[S],{x:A,y:O,data:v,reset:E}=await C({x:h,y:f,initialPlacement:n,placement:g,strategy:a,middlewareData:m,rects:u,platform:s,elements:{reference:r,floating:t}});if(h=A??h,f=O??f,m={...m,[w]:{...m[w],...v}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:r,floating:t,strategy:a}):E.rects),{x:h,y:f}=Ii(u,g,d)),S=-1;continue}}return{x:h,y:f,placement:g,strategy:a,middlewareData:m}};async function Br(r,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=r,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:g=!1,padding:m=0}=se(t,r),b=Ni(m),w=l[g?f==="floating"?"reference":"floating":f],C=Zt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(w)))==null||o?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),A=f==="floating"?{...s.floating,x:n,y:a}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),v=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},E=Zt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:O,strategy:d}):A);return{top:(C.top-E.top+b.top)/v.y,bottom:(E.bottom-C.bottom+b.bottom)/v.y,left:(C.left-E.left+b.left)/v.x,right:(E.right-C.right+b.right)/v.x}}function Ql(r,t,o){return(r?[...o.filter(a=>ct(a)===r),...o.filter(a=>ct(a)!==r)]:o.filter(a=>st(a)===a)).filter(a=>r?ct(a)===r||(t?tr(a)!==a:!1):!0)}var En=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(t){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:u}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:g=mn,autoAlignment:m=!0,...b}=se(r,t),S=f!==void 0||g===mn?Ql(f||null,m,g):g,w=await Br(t,b),C=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[C];if(A==null)return{};let O=On(A,i,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==A)return{reset:{placement:S[0]}};let v=[w[st(A)],w[O[0]],w[O[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:v}],R=S[C+1];if(R)return{data:{index:C+1,overflows:E},reset:{placement:R}};let _=E.map(I=>{let y=ct(I.placement);return[I.placement,y&&h?I.overflows.slice(0,2).reduce((x,N)=>x+N,0):I.overflows[0],I.overflows]}).sort((I,y)=>I[1]-y[1]),k=((a=_.filter(I=>I[2].slice(0,ct(I[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||_[0][0];return k!==l?{data:{index:C+1,overflows:E},reset:{placement:k}}:{}}}},wn=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(t){var o,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:d,elements:u}=t,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...w}=se(r,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};let C=st(a),A=st(l)===l,O=await(d.isRTL==null?void 0:d.isRTL(u.floating)),v=g||(A||!S?[er(l)]:Ai(l));!g&&b!=="none"&&v.push(...Ri(l,S,b,O));let E=[l,...v],R=await Br(t,w),_=[],F=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&_.push(R[C]),f){let x=On(a,s,O);_.push(R[x[0]],R[x[1]])}if(F=[...F,{placement:a,overflows:_}],!_.every(x=>x<=0)){var k,I;let x=(((k=i.flip)==null?void 0:k.index)||0)+1,N=E[x];if(N)return{data:{index:x,overflows:F},reset:{placement:N}};let L=(I=F.filter($=>$.overflows[0]<=0).sort(($,T)=>$.overflows[1]-T.overflows[1])[0])==null?void 0:I.placement;if(!L)switch(m){case"bestFit":{var y;let $=(y=F.map(T=>[T.placement,T.overflows.filter(nt=>nt>0).reduce((nt,Ie)=>nt+Ie,0)]).sort((T,nt)=>T[1]-nt[1])[0])==null?void 0:y[0];$&&(L=$);break}case"initialPlacement":L=l;break}if(a!==L)return{reset:{placement:L}}}return{}}}};async function td(r,t){let{placement:o,platform:n,elements:a}=r,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=st(o),l=ct(o),d=nr(o)==="y",u=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,f=se(t,r),{mainAxis:g,crossAxis:m,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof b=="number"&&(m=l==="end"?b*-1:b),d?{x:m*h,y:g*u}:{x:g*u,y:m*h}}var Cn=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(t){var o,n;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await td(t,r);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},An=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:C,y:A}=w;return{x:C,y:A}}},...d}=se(r,t),u={x:o,y:n},h=await Br(t,d),f=nr(st(a)),g=xn(f),m=u[g],b=u[f];if(i){let w=g==="y"?"top":"left",C=g==="y"?"bottom":"right",A=m+h[w],O=m-h[C];m=bn(A,m,O)}if(s){let w=f==="y"?"top":"left",C=f==="y"?"bottom":"right",A=b+h[w],O=b-h[C];b=bn(A,b,O)}let S=l.fn({...t,[g]:m,[f]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function gt(r){return Ti(r)?(r.nodeName||"").toLowerCase():"#document"}function q(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function mt(r){var t;return(t=(Ti(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function Ti(r){return r instanceof Node||r instanceof q(r).Node}function lt(r){return r instanceof Element||r instanceof q(r).Element}function rt(r){return r instanceof HTMLElement||r instanceof q(r).HTMLElement}function _i(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof q(r).ShadowRoot}function ce(r){let{overflow:t,overflowX:o,overflowY:n,display:a}=X(r);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function Li(r){return["table","td","th"].includes(gt(r))}function Hr(r){let t=zr(),o=X(r);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ki(r){let t=qt(r);for(;rt(t)&&!ar(t);){if(Hr(t))return t;t=qt(t)}return null}function zr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ar(r){return["html","body","#document"].includes(gt(r))}function X(r){return q(r).getComputedStyle(r)}function ir(r){return lt(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function qt(r){if(gt(r)==="html")return r;let t=r.assignedSlot||r.parentNode||_i(r)&&r.host||mt(r);return _i(t)?t.host:t}function Fi(r){let t=qt(r);return ar(t)?r.ownerDocument?r.ownerDocument.body:r.body:rt(t)&&ce(t)?t:Fi(t)}function Wr(r,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Fi(r),i=a===((n=r.ownerDocument)==null?void 0:n.body),s=q(a);return i?t.concat(s,s.visualViewport||[],ce(a)?a:[],s.frameElement&&o?Wr(s.frameElement):[]):t.concat(a,Wr(a,[],o))}function Di(r){let t=X(r),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=rt(r),i=a?r.offsetWidth:o,s=a?r.offsetHeight:n,l=or(o)!==i||or(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Mi(r){return lt(r)?r:r.contextElement}function le(r){let t=Mi(r);if(!rt(t))return yt(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=Di(t),s=(i?or(o.width):o.width)/n,l=(i?or(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var ed=yt(0);function Bi(r){let t=q(r);return!zr()||!t.visualViewport?ed:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function rd(r,t,o){return t===void 0&&(t=!1),!o||t&&o!==q(r)?!1:t}function sr(r,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=r.getBoundingClientRect(),i=Mi(r),s=yt(1);t&&(n?lt(n)&&(s=le(n)):s=le(r));let l=rd(i,o,n)?Bi(i):yt(0),d=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(i){let g=q(i),m=n&&lt(n)?q(n):n,b=g.frameElement;for(;b&&n&&m!==g;){let S=le(b),w=b.getBoundingClientRect(),C=X(b),A=w.left+(b.clientLeft+parseFloat(C.paddingLeft))*S.x,O=w.top+(b.clientTop+parseFloat(C.paddingTop))*S.y;d*=S.x,u*=S.y,h*=S.x,f*=S.y,d+=A,u+=O,b=q(b).frameElement}}return Zt({width:h,height:f,x:d,y:u})}function od(r){let{rect:t,offsetParent:o,strategy:n}=r,a=rt(o),i=mt(o);if(o===i)return t;let s={scrollLeft:0,scrollTop:0},l=yt(1),d=yt(0);if((a||!a&&n!=="fixed")&&((gt(o)!=="body"||ce(i))&&(s=ir(o)),rt(o))){let u=sr(o);l=le(o),d.x=u.x+o.clientLeft,d.y=u.y+o.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 nd(r){return Array.from(r.getClientRects())}function Wi(r){return sr(mt(r)).left+ir(r).scrollLeft}function ad(r){let t=mt(r),o=ir(r),n=r.ownerDocument.body,a=At(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=At(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Wi(r),l=-o.scrollTop;return X(n).direction==="rtl"&&(s+=At(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function id(r,t){let o=q(r),n=mt(r),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let u=zr();(!u||u&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function sd(r,t){let o=sr(r,!0,t==="fixed"),n=o.top+r.clientTop,a=o.left+r.clientLeft,i=rt(r)?le(r):yt(1),s=r.clientWidth*i.x,l=r.clientHeight*i.y,d=a*i.x,u=n*i.y;return{width:s,height:l,x:d,y:u}}function $i(r,t,o){let n;if(t==="viewport")n=id(r,o);else if(t==="document")n=ad(mt(r));else if(lt(t))n=sd(t,o);else{let a=Bi(r);n={...t,x:t.x-a.x,y:t.y-a.y}}return Zt(n)}function Hi(r,t){let o=qt(r);return o===t||!lt(o)||ar(o)?!1:X(o).position==="fixed"||Hi(o,t)}function cd(r,t){let o=t.get(r);if(o)return o;let n=Wr(r,[],!1).filter(l=>lt(l)&&gt(l)!=="body"),a=null,i=X(r).position==="fixed",s=i?qt(r):r;for(;lt(s)&&!ar(s);){let l=X(s),d=Hr(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||ce(s)&&!d&&Hi(r,s))?n=n.filter(h=>h!==s):a=l,s=qt(s)}return t.set(r,n),n}function ld(r){let{element:t,boundary:o,rootBoundary:n,strategy:a}=r,s=[...o==="clippingAncestors"?cd(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((u,h)=>{let f=$i(t,h,a);return u.top=At(f.top,u.top),u.right=rr(f.right,u.right),u.bottom=rr(f.bottom,u.bottom),u.left=At(f.left,u.left),u},$i(t,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function dd(r){return Di(r)}function ud(r,t,o){let n=rt(t),a=mt(t),i=o==="fixed",s=sr(r,!0,i,t),l={scrollLeft:0,scrollTop:0},d=yt(0);if(n||!n&&!i)if((gt(t)!=="body"||ce(a))&&(l=ir(t)),n){let u=sr(t,!0,i,t);d.x=u.x+t.clientLeft,d.y=u.y+t.clientTop}else a&&(d.x=Wi(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Ui(r,t){return!rt(r)||X(r).position==="fixed"?null:t?t(r):r.offsetParent}function zi(r,t){let o=q(r);if(!rt(r))return o;let n=Ui(r,t);for(;n&&Li(n)&&X(n).position==="static";)n=Ui(n,t);return n&&(gt(n)==="html"||gt(n)==="body"&&X(n).position==="static"&&!Hr(n))?o:n||ki(r)||o}var pd=async function(r){let{reference:t,floating:o,strategy:n}=r,a=this.getOffsetParent||zi,i=this.getDimensions;return{reference:ud(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function fd(r){return X(r).direction==="rtl"}var de={convertOffsetParentRelativeRectToViewportRelativeRect:od,getDocumentElement:mt,getClippingRect:ld,getOffsetParent:zi,getElementRects:pd,getClientRects:nd,getDimensions:dd,getScale:le,isElement:lt,isRTL:fd};var Rn=(r,t,o)=>{let n=new Map,a={platform:de,...o},i={...a.platform,_c:n};return Pi(r,t,{...a,platform:i})};function In(r){return hd(r)}function Nn(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function hd(r){for(let t=r;t;t=Nn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Nn(r);t;t=Nn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Pn(r,t,o){return Rn(r,t,{platform:{...de,getOffsetParent:n=>de.getOffsetParent(n,In)},middleware:[An({crossAxis:!0}),En({allowedPlacements:[o]})]})}async function yd(r,t,o,n,a){return Rn(r,t,{placement:o,strategy:a,platform:{...de,getOffsetParent:i=>de.getOffsetParent(i,In)},middleware:[Cn(4),wn({fallbackPlacements:n})]})}var Fn={};D(Fn,{FtdsBase:()=>kn,toFtdsBase:()=>Ji});var Ln={};D(Ln,{FtLitElement:()=>Z});var Tn={};D(Tn,{ScopedRegistryLitElement:()=>cr});var jr=window,gd=jr.ShadowRoot&&(jr.ShadyCSS===void 0||jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dg=Symbol();var ji=(r,t)=>{gd?r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),a=jr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)})};var cr=class extends ft{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 o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return ji(n,t.elementStyles),n}};var Vr=function(r,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,t,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Zi,Vi=Symbol("constructorPrototype"),Gi=Symbol("constructorName"),qi=Symbol("exportpartsDebouncer"),Ki=Symbol("dynamicDependenciesLoaded"),Z=class extends cr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Zi]=new Ct(5),this[Gi]=this.constructor.name,this[Vi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Gi]&&Object.setPrototypeOf(this,this[Vi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[Ki]||(t[Ki]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[qi].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 o,n,a,i,s,l;let d=g=>g!=null&&g.trim().length>0,u=t.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let m=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...m,...b).filter(d).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(g=>u.map(m=>`${g}:${m}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Zi=qi;Vr([W()],Z.prototype,"exportpartsPrefix",void 0);Vr([Mo([])],Z.prototype,"exportpartsPrefixes",void 0);Vr([W()],Z.prototype,"customStylesheet",void 0);Vr([ze()],Z.prototype,"useAdoptedStyleSheets",void 0);var Yi=function(r,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,t,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i};function Ji(r){class t extends r{constructor(){super(...arguments),this.size=Qe.medium,this.family=Xe.neutral}getDesignSystemBaseClasses(){return{[fn(this.family)]:!0,[hn(this.size)]:!0}}}return Yi([W()],t.prototype,"size",void 0),Yi([W()],t.prototype,"family",void 0),t}var kn=class extends Ji(Z){};var Xi={};var Un={};D(Un,{highlightHtml:()=>xd,highlightHtmlColorCssVariable:()=>Qi,highlightHtmlStyles:()=>bd});var Yt=class r{constructor(t,o=!0,n=[],a=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(t,o){let n=typeof o=="string"?[o]:o,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(t,o,n,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(u=>{r.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{o(u)&&(l++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new r(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let a=t.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(t,o,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(t,o,n,a,i){let s=this.createIterator(o,t,a),l=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(u,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(t,m=>d.push(m),a)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,t,n,a),i()}forEachNode(t,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var lr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Yt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.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 o=[],n=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,a,i=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),a=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:a,valid:i}}checkWhitespaceRanges(t,o,n){let a,i=!0,s=n.length,l=o-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Yt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(o),s=i.splitText(n-o),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,o,n,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>o){if(!a(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),g=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),t.value=f+g,t.nodes.forEach((m,b)=>{b>=l&&(t.nodes[b].start>0&&b!==l&&(t.nodes[b].start-=h),t.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=t.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,f=>n(d[s],f),(f,g)=>{t.lastIndex=g,a(f)})}i()})}wrapRangeFromIndex(t,o,n,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(l,s,i.value);f&&this.wrapRangeInMappedTextNode(i,u,h,g=>o(g,l,i.value.substring(u,h),d),g=>{n(g,l)})}),a()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,m)=>this.opt.filter(m,u,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(n):d(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(t,o){this.opt=o;let n=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Yt.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function $n(r){let t=new lr(r);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var md=$n,Qi=e.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),bd=U`
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ei=/'/g,ri=/"/g,ii=/^(?:script|style|textarea|title)$/i,si=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),bo=si(1),Yc=si(2),St=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),oi=new WeakMap,zt=jt.createTreeWalker(jt,129);function ci(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xa!==void 0?Xa.createHTML(t):t}var li=(r,t)=>{let o=r.length-1,n=[],a,i=t===2?"<svg>":"",s=Me;for(let l=0;l<o;l++){let d=r[l],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Me?h[1]==="!--"?s=Qa:h[1]!==void 0?s=ti:h[2]!==void 0?(ii.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Ht):h[3]!==void 0&&(s=Ht):s===Ht?h[0]===">"?(s=a??Me,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ht:h[3]==='"'?ri:ei):s===ri||s===ei?s=Ht:s===Qa||s===ti?s=Me:(s=Ht,a=void 0);let m=s===Ht&&r[l+1].startsWith("/>")?" ":"";i+=s===Me?d+qc:f>=0?(n.push(u),d.slice(0,f)+go+d.slice(f)+pt+m):d+pt+(f===-2?l:m)}return[ci(r,i+(r[o]||"<?>")+(t===2?"</svg>":"")),n]},He=class r{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[u,h]=li(t,o);if(this.el=r.createElement(u,n),zt.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=zt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(go)){let g=h[s++],m=a.getAttribute(f).split(pt),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?kr:b[1]==="?"?Fr:b[1]==="@"?$r:Gt}),a.removeAttribute(f)}else f.startsWith(pt)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(ii.test(a.tagName)){let f=a.textContent.split(pt),g=f.length-1;if(g>0){a.textContent=Tr?Tr.emptyScript:"";for(let m=0;m<g;m++)a.append(f[m],Be()),zt.nextNode(),d.push({type:2,index:++i});a.append(f[g],Be())}}}else if(a.nodeType===8)if(a.data===mo)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(pt,f+1))!==-1;)d.push({type:7,index:i}),f+=pt.length-1}i++}}static createElement(t,o){let n=jt.createElement("template");return n.innerHTML=t,n}};function Vt(r,t,o=r,n){if(t===St)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=We(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Vt(r,a._$AS(r,t.values),a,n)),t}var Lr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??jt).importNode(o,!0);zt.currentNode=a;let i=zt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new ee(i,i.nextSibling,this,t):d.type===1?u=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(u=new Ur(i,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(i=zt.nextNode(),s++)}return zt.currentNode=jt,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},ee=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Vt(this,t,o),We(t)?t===j||t==null||t===""?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==St&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ai(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==j&&We(this._$AH)?this._$AA.nextSibling.data=t:this.$(jt.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=He.createElement(ci(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Lr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(t){let o=oi.get(t.strings);return o===void 0&&oi.set(t.strings,o=new He(t)),o}T(t){ni(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new r(this.k(Be()),this.k(Be()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=Vt(this,t,o,0),s=!We(t)||t!==this._$AH&&t!==St,s&&(this._$AH=t);else{let l=t,d,u;for(t=i[0],d=0;d<i.length-1;d++)u=Vt(this,l[n+d],o,d),u===St&&(u=this._$AH[d]),s||=!We(u)||u!==this._$AH[d],u===j?t=j:t!==j&&(t+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.O(t)}O(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},kr=class extends Gt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===j?void 0:t}},Fr=class extends Gt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},$r=class extends Gt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Vt(this,t,o,0)??j)===St)return;let n=this._$AH,a=t===j&&n!==j||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==j&&(n===j||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ur=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Vt(this,t)}},Jc={j:go,P:pt,A:mo,C:1,M:li,L:Lr,R:ai,V:Vt,D:ee,I:Gt,H:Fr,N:$r,U:kr,B:Ur},Xc=yo.litHtmlPolyfillSupport;Xc?.(He,ee),(yo.litHtmlVersions??=[]).push("3.1.0");var xo=(r,t,o)=>{let n=o?.renderBefore??t,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new ee(t.insertBefore(Be(),i),i,void 0,o??{})}return a._$AI(r),a};var ft=class extends at{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=xo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return St}};ft._$litElement$=!0,ft.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ft});var Qc=globalThis.litElementPolyfillSupport;Qc?.({LitElement:ft});var tl={_$AK:(r,t,o)=>{r._$AK(t,o)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Hu=!1;var Oo={};D(Oo,{customElement:()=>el,eventOptions:()=>re,property:()=>W,query:()=>je,queryAll:()=>nl,queryAssignedElements:()=>il,queryAssignedNodes:()=>So,queryAsync:()=>al,standardProperty:()=>di,state:()=>ze});var el=r=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(r,t)}):customElements.define(r,t)};var rl={attribute:!0,type:String,converter:_e,reflect:!1,hasChanged:vr},di=(r=rl,t,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(o.name,r),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+n)};function W(r){return(t,o)=>typeof o=="object"?di(r,t,o):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(r,t,o)}function ze(r){return W({...r,state:!0,attribute:!1})}function re(r){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,r)}}var et=(r,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(r,t,o),o);function je(r,t){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(r)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return et(o,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return et(o,n,{get(){return i(this)}})}}var ol;function nl(r){return(t,o)=>et(t,o,{get(){return(this.renderRoot??(ol??=document.createDocumentFragment())).querySelectorAll(r)}})}function al(r){return(t,o)=>et(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function il(r){return(t,o)=>{let{slot:n,selector:a}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return et(t,o,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(r)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function So(r){return(t,o)=>{let{slot:n}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return et(t,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(r)??[]}})}}var Eo={};D(Eo,{repeat:()=>ll});var Ot={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Et=r=>(...t)=>({_$litDirective$:r,values:t}),it=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:sl}=Za;var ui=()=>document.createComment(""),oe=(r,t,o)=>{let n=r._$AA.parentNode,a=t===void 0?r._$AB:t._$AA;if(o===void 0){let i=n.insertBefore(ui(),a),s=n.insertBefore(ui(),a);o=new sl(i,s,r,r.options)}else{let i=o._$AB.nextSibling,s=o._$AM,l=s!==r;if(l){let d;o._$AQ?.(r),o._$AM=r,o._$AP!==void 0&&(d=r._$AU)!==s._$AU&&o._$AP(d)}if(i!==a||l){let d=o._$AA;for(;d!==i;){let u=d.nextSibling;n.insertBefore(d,a),d=u}}}return o},wt=(r,t,o=r)=>(r._$AI(t,o),r),cl={},pi=(r,t=cl)=>r._$AH=t,fi=r=>r._$AH,Dr=r=>{r._$AP?.(!1,!0);let t=r._$AA,o=r._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var hi=(r,t,o)=>{let n=new Map;for(let a=t;a<=o;a++)n.set(r[a],a);return n},ll=Et(class extends it{constructor(r){if(super(r),r.type!==Ot.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let a=[],i=[],s=0;for(let l of r)a[s]=n?n(l,s):s,i[s]=o(l,s),s++;return{values:i,keys:a}}render(r,t,o){return this.ht(r,t,o).values}update(r,[t,o,n]){let a=fi(r),{values:i,keys:s}=this.ht(t,o,n);if(!Array.isArray(a))return this.dt=s,i;let l=this.dt??=[],d=[],u,h,f=0,g=a.length-1,m=0,b=i.length-1;for(;f<=g&&m<=b;)if(a[f]===null)f++;else if(a[g]===null)g--;else if(l[f]===s[m])d[m]=wt(a[f],i[m]),f++,m++;else if(l[g]===s[b])d[b]=wt(a[g],i[b]),g--,b--;else if(l[f]===s[b])d[b]=wt(a[f],i[b]),oe(r,d[b+1],a[f]),f++,b--;else if(l[g]===s[m])d[m]=wt(a[g],i[m]),oe(r,a[f],a[g]),g--,m++;else if(u===void 0&&(u=hi(s,m,b),h=hi(l,f,g)),u.has(l[f]))if(u.has(l[g])){let S=h.get(s[m]),w=S!==void 0?a[S]:null;if(w===null){let C=oe(r,a[f]);wt(C,i[m]),d[m]=C}else d[m]=wt(w,i[m]),oe(r,a[f],w),a[S]=null;m++}else Dr(a[g]),g--;else Dr(a[f]),f++;for(;m<=b;){let S=oe(r,d[b+1]);wt(S,i[m]),d[m++]=S}for(;f<=g;){let S=a[f++];S!==null&&Dr(S)}return this.dt=s,pi(r,d),J}});var wo={};D(wo,{classMap:()=>dl});var dl=Et(class extends it{constructor(r){if(super(r),r.type!==Ot.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(t=>r[t]).join(" ")+" "}update(r,[t]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=r.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let a=!!t[n];a===this.it.has(n)||this.st?.has(n)||(a?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return J}});var Co={};D(Co,{styleMap:()=>pl});var yi="important",ul=" !"+yi,pl=Et(class extends it{constructor(r){if(super(r),r.type!==Ot.ATTRIBUTE||r.name!=="style"||r.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(r){return Object.keys(r).reduce((t,o)=>{let n=r[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(r,[t]){let{style:o}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let a=t[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(ul);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?yi:""):o[n]=a}}return J}});var Ao={};D(Ao,{UnsafeHTMLDirective:()=>ne,unsafeHTML:()=>fl});var ne=class extends it{constructor(t){if(super(t),this.et=H,t.type!==Ot.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||t==null)return this.vt=void 0,this.et=t;if(t===J)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ne.directiveName="unsafeHTML",ne.resultType=1;var fl=Et(ne);var ko={};D(ko,{CacheRegistry:()=>Lo,ClearCacheEvent:()=>Ge});var No={};D(No,{CancelablePromise:()=>ae,CanceledPromiseError:()=>Ve,cancelable:()=>Ro});var Ve=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},ae=class extends Promise{constructor(t){super((o,n)=>t(a=>{this.isCanceled?n(new Ve("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new Ve("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ro=r=>new ae((t,o)=>r.then(t).catch(o));var To={};D(To,{FtNotificationEvent:()=>Io,PostResizeEvent:()=>_o,PreResizeEvent:()=>Po,WithEventBus:()=>Kt,withEventBus:()=>gi});var Io=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Po=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},_o=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function gi(r,t){return class extends r{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Kt=class extends gi(Object){};var Ge=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Lo=class extends Kt{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new Ge(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new Ge([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof ae&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let a=Ro(o());return this.content[t]=a,a.then(i=>(this.content[t]=i,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),i))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var $o={};D($o,{ClusteringHelper:()=>Fo});var Fo=class r{constructor(t,o,n,a){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(t,o){var n,a;let i=((a=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&a!==void 0?a:t?.topic).metadata;return o==null?r.flattenMetadata(i):r.flattenMetadata(i.find(s=>s.key===o))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>r.flattenMetadata(n)).filter(n=>n!=null);let o=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!o))if(o){let n=[],a=[];return t.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,o,n="No value"){var a,i;let s=r.extractResultMetadata(this.selectedResult,t),l=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(t))===null||i===void 0?void 0:i.label;return this.allResults.map(u=>r.extractResultMetadata(u,t)).map(u=>u??{key:t,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,f)=>f.findIndex(g=>g.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(t,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,t,o))}compareMetadata(t,o,n,a){if(t==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var u;return((u=r.extractResultMetadata(d,t))===null||u===void 0?void 0:u.value)==o}),i=[...r.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,i);if(u>l&&(l=u,s=d,u===i.length))break}return s}countMatchingMetadata(t,o){return r.extractResultMetadata(t).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Uo={};D(Uo,{Debouncer:()=>Ct});var Ct=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bo={};D(Bo,{customElement:()=>Ye,isNumber:()=>Oi,jsonProperty:()=>Mo,optionalNumberProperty:()=>xl});var Do={};D(Do,{dateReviver:()=>yl,deepEqual:()=>Ke,delay:()=>mi,eventPathContainsMatchingElement:()=>ml,flatDeep:()=>xi,hasChanged:()=>Ze,last:()=>bl,minmax:()=>qe,parseDate:()=>vi,unslotText:()=>Si,waitFor:()=>bi,waitUntil:()=>hl});var mi=r=>new Promise(t=>setTimeout(t,r));async function hl(r,t=10,o=2e4){await bi(async()=>await r()||void 0,t,o)}async function bi(r,t=10,o=2e4){let n=await r(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await mi(t),n=await r(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function xi(r,t){return r.flatMap(o=>[o,...xi(t(o),t)])}function yl(...r){return function(t,o){return r.includes(t)?vi(o):o}}function vi(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,a)=>o+n+":"+a),new Date(r)}function gl(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Ke(r[n],t[n]))return!1;return!0}if(r instanceof Map&&t instanceof Map){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;for(n of r.entries())if(!Ke(n[1],t.get(n[0])))return!1;return!0}if(r instanceof Set&&t instanceof Set){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();if(a=Object.keys(r),o=a.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Ke(r[i],t[i]))return!1}return!0}return r!==r&&t!==t}function Ke(r,t){try{return gl(r,t)}catch{return!1}}function Ze(r,t){return!Ke(r,t)}function ml(r,t,o=window.document.body){if(t.length>0){let n=r.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function qe(r,t,o){return Math.min(Math.max(r,t),o)}function bl(r){return r[r.length-1]}function Si(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(t=>Si(t)).join(""):r?.textContent||""}var Ye=r=>t=>{window.customElements.get(r)||window.customElements.define(r,t)};function Mo(r,t){let o=()=>JSON.parse(JSON.stringify(r));return W({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ze,...t??{}})}function xl(r){return W({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Oi(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...r??{}})}function Oi(r){return!isNaN(parseFloat(r))}var gn={};D(gn,{designSystemVariables:()=>ie});var yn={};D(yn,{DesignSystemFamily:()=>Xe,DesignSystemSize:()=>Qe,FtCssVariableFactory:()=>e,badge:()=>Al,banner:()=>Cl,button:()=>Sl,chart:()=>Hl,checkbox:()=>Vl,chip:()=>El,chipChoice:()=>Ol,collapsible:()=>Bl,comboboxMultiSelect:()=>Dl,comboboxSingleSelect:()=>Ul,drawer:()=>Tl,floatingMenu:()=>$l,foundation:()=>c,link:()=>wl,modal:()=>_l,notice:()=>jl,notification:()=>Zl,pageDesigner:()=>zl,pageFooter:()=>Il,pageHeader:()=>Nl,pageLayout:()=>Pl,popover:()=>Ml,radio:()=>Kl,resolveFamilyClass:()=>fn,resolveSizeClass:()=>hn,semantic:()=>p,setVariable:()=>Mr,switch_:()=>Wl,tabs:()=>Ll,textArea:()=>Fl,textInput:()=>kl,titleBreadcrumb:()=>Rl,toggle:()=>Gl,tooltip:()=>ql,typographies:()=>Je,typographyBody1Medium:()=>Go,typographyBody1Regular:()=>Vo,typographyBody1Semibold:()=>Ko,typographyBody2Medium:()=>qo,typographyBody2MediumUnderline:()=>Ei,typographyBody2Regular:()=>Zo,typographyBody2Semibold:()=>Yo,typographyCaption1Bold:()=>an,typographyCaption1Medium:()=>on,typographyCaption1Semibold:()=>nn,typographyCaption2Bold:()=>ln,typographyCaption2Medium:()=>sn,typographyCaption2Semibold:()=>cn,typographyCaption3Bold:()=>pn,typographyCaption3Medium:()=>dn,typographyCaption3Semibold:()=>un,typographyDisplay:()=>Wo,typographyLabel1Bold:()=>Qo,typographyLabel1Medium:()=>Jo,typographyLabel1Semibold:()=>Xo,typographyLabel2Bold:()=>rn,typographyLabel2Medium:()=>tn,typographyLabel2Semibold:()=>en,typographyTitle1:()=>Ho,typographyTitle2:()=>zo,typographyTitle3:()=>jo,typographyVariants:()=>vl});var ht=r=>typeof r=="string"?Wt(r):r,e=class{static create(t,o,n,a){let i=l=>ht(l??a),s=U`var(${ht(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>U`var(${ht(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,o,n,a){let i=l=>n.get(l??a),s=U`var(${ht(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>U`var(${ht(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,o){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):ht(i??t.lastResortDefaultValue()),a=U`var(${ht(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>U`var(${ht(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Mr(r,t){return ht(`${r.name}: ${t}`)}var c={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},Wo={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ho={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},zo={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},jo={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Vo={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Go={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ko={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Zo={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},qo={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ei={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Yo={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Jo={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Xo={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Qo={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},tn={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},en={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},rn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},on={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},nn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},an={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},sn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},cn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ln={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},dn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},un={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},pn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Je={display:Wo,"title-1":Ho,"title-2":zo,"title-3":jo,"body-1-regular":Vo,"body-1-medium":Go,"body-1-semibold":Ko,"body-2-regular":Zo,"body-2-medium":qo,"body-2-medium-underline":Ei,"body-2-semibold":Yo,"label-1-medium":Jo,"label-1-semibold":Xo,"label-1-bold":Qo,"label-2-medium":tn,"label-2-semibold":en,"label-2-bold":rn,"caption-1-medium":on,"caption-1-semibold":nn,"caption-1-bold":an,"caption-2-medium":sn,"caption-2-semibold":cn,"caption-2-bold":ln,"caption-3-medium":dn,"caption-3-semibold":un,"caption-3-bold":pn},vl=["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 p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:e.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Sl={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:e.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:e.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:e.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:e.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:e.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:e.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:e.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:e.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:e.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:e.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:e.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:e.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:e.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:e.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:e.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:e.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Ol={neutralOffHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:e.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:e.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:e.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:e.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:e.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:e.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:e.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var El={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:e.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:e.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var wl={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Cl={iconSize:e.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Al={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:e.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Rl={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Nl={parentHorizontalPadding:e.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:e.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:e.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:e.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:e.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:e.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:e.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:e.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:e.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:e.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:e.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:e.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:e.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:e.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:e.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:e.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:e.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:e.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:e.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Il={horizontalPadding:e.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:e.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:e.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:e.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Pl={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var _l={smallContainerTargetWidth:e.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:e.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:e.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:e.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:e.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Tl={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Ll={offBorderBottomWidth:e.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var kl={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Fl={backgroundColor:e.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var $l={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Ul={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Dl={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Ml={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",c.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-popover-max-width","","SIZE","440px")};var Bl={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Wl={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:e.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Hl={color1Light:e.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",c.colorRed40),color5Base:e.extend("--ft-chart-5-base","",c.colorRed60),color6Light:e.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",c.colorGray50),color10Base:e.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var zl={color1IconColor:e.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:e.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:e.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:e.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:e.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:e.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:e.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:e.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:e.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:e.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:e.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:e.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:e.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:e.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:e.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:e.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var jl={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:e.extend("--ft-notice-gap","",c.spacing2),iconSize:e.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var Vl={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",c.spacing3)};var Gl={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",c.spacing3)};var Kl={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",c.spacing3)};var Zl={iconSize:e.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",c.spacing8)};var ql={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:e.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",c.spacing05)};var Xe;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Xe||(Xe={}));var Qe;(function(r){r.large="large",r.medium="medium",r.small="small"})(Qe||(Qe={}));function fn(r){return`ftds--family-${r}`}function hn(r){return`ftds--size-${r}`}var ie={colorPrimary:e.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:e.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:e.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:e.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:e.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:e.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:e.create("--ft-color-error","","COLOR","#B00020"),colorOutline:e.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:e.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:e.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:e.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:e.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:e.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:e.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:e.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:e.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:e.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:e.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:e.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:e.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:e.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:e.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:e.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:e.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:e.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:e.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:e.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:e.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:e.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:e.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:e.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:e.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:e.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:e.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:e.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:e.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:e.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:e.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:e.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:e.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:e.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:e.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:e.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:e.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:e.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:e.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:e.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:e.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:e.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var _n={};D(_n,{computeFlipOffsetPosition:()=>gd,computeOffsetPosition:()=>Pn});var Ci=["top","right","bottom","left"],wi=["start","end"],mn=Ci.reduce((r,t)=>r.concat(t,t+"-"+wi[0],t+"-"+wi[1]),[]),rr=Math.min,At=Math.max,or=Math.round;var yt=r=>({x:r,y:r}),Yl={left:"right",right:"left",bottom:"top",top:"bottom"},Jl={start:"end",end:"start"};function bn(r,t,o){return At(r,rr(t,o))}function se(r,t){return typeof r=="function"?r(t):r}function st(r){return r.split("-")[0]}function ct(r){return r.split("-")[1]}function xn(r){return r==="x"?"y":"x"}function vn(r){return r==="y"?"height":"width"}function nr(r){return["top","bottom"].includes(st(r))?"y":"x"}function Sn(r){return xn(nr(r))}function On(r,t,o){o===void 0&&(o=!1);let n=ct(r),a=Sn(r),i=vn(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=er(s)),[s,er(s)]}function Ai(r){let t=er(r);return[tr(r),t,tr(t)]}function tr(r){return r.replace(/start|end/g,t=>Jl[t])}function Xl(r,t,o){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return o?t?a:n:t?n:a;case"left":case"right":return t?i:s;default:return[]}}function Ri(r,t,o,n){let a=ct(r),i=Xl(st(r),o==="start",n);return a&&(i=i.map(s=>s+"-"+a),t&&(i=i.concat(i.map(tr)))),i}function er(r){return r.replace(/left|right|bottom|top/g,t=>Yl[t])}function Ql(r){return{top:0,right:0,bottom:0,left:0,...r}}function Ni(r){return typeof r!="number"?Ql(r):{top:r,right:r,bottom:r,left:r}}function Zt(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Ii(r,t,o){let{reference:n,floating:a}=r,i=nr(t),s=Sn(t),l=vn(s),d=st(t),u=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,m;switch(d){case"top":m={x:h,y:n.y-a.height};break;case"bottom":m={x:h,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:f};break;case"left":m={x:n.x-a.width,y:f};break;default:m={x:n.x,y:n.y}}switch(ct(t)){case"start":m[s]-=g*(o&&u?-1:1);break;case"end":m[s]+=g*(o&&u?-1:1);break}return m}var Pi=async(r,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:r,floating:t,strategy:a}),{x:h,y:f}=Ii(u,n,d),g=n,m={},b=0;for(let S=0;S<l.length;S++){let{name:w,fn:C}=l[S],{x:A,y:O,data:v,reset:E}=await C({x:h,y:f,initialPlacement:n,placement:g,strategy:a,middlewareData:m,rects:u,platform:s,elements:{reference:r,floating:t}});if(h=A??h,f=O??f,m={...m,[w]:{...m[w],...v}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:r,floating:t,strategy:a}):E.rects),{x:h,y:f}=Ii(u,g,d)),S=-1;continue}}return{x:h,y:f,placement:g,strategy:a,middlewareData:m}};async function Br(r,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=r,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:g=!1,padding:m=0}=se(t,r),b=Ni(m),w=l[g?f==="floating"?"reference":"floating":f],C=Zt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(w)))==null||o?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),A=f==="floating"?{...s.floating,x:n,y:a}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),v=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},E=Zt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:O,strategy:d}):A);return{top:(C.top-E.top+b.top)/v.y,bottom:(E.bottom-C.bottom+b.bottom)/v.y,left:(C.left-E.left+b.left)/v.x,right:(E.right-C.right+b.right)/v.x}}function td(r,t,o){return(r?[...o.filter(a=>ct(a)===r),...o.filter(a=>ct(a)!==r)]:o.filter(a=>st(a)===a)).filter(a=>r?ct(a)===r||(t?tr(a)!==a:!1):!0)}var En=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(t){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:u}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:g=mn,autoAlignment:m=!0,...b}=se(r,t),S=f!==void 0||g===mn?td(f||null,m,g):g,w=await Br(t,b),C=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[C];if(A==null)return{};let O=On(A,i,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==A)return{reset:{placement:S[0]}};let v=[w[st(A)],w[O[0]],w[O[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:v}],R=S[C+1];if(R)return{data:{index:C+1,overflows:E},reset:{placement:R}};let _=E.map(I=>{let y=ct(I.placement);return[I.placement,y&&h?I.overflows.slice(0,2).reduce((x,N)=>x+N,0):I.overflows[0],I.overflows]}).sort((I,y)=>I[1]-y[1]),k=((a=_.filter(I=>I[2].slice(0,ct(I[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||_[0][0];return k!==l?{data:{index:C+1,overflows:E},reset:{placement:k}}:{}}}},wn=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(t){var o,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:d,elements:u}=t,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...w}=se(r,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};let C=st(a),A=st(l)===l,O=await(d.isRTL==null?void 0:d.isRTL(u.floating)),v=g||(A||!S?[er(l)]:Ai(l));!g&&b!=="none"&&v.push(...Ri(l,S,b,O));let E=[l,...v],R=await Br(t,w),_=[],F=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&_.push(R[C]),f){let x=On(a,s,O);_.push(R[x[0]],R[x[1]])}if(F=[...F,{placement:a,overflows:_}],!_.every(x=>x<=0)){var k,I;let x=(((k=i.flip)==null?void 0:k.index)||0)+1,N=E[x];if(N)return{data:{index:x,overflows:F},reset:{placement:N}};let L=(I=F.filter($=>$.overflows[0]<=0).sort(($,T)=>$.overflows[1]-T.overflows[1])[0])==null?void 0:I.placement;if(!L)switch(m){case"bestFit":{var y;let $=(y=F.map(T=>[T.placement,T.overflows.filter(nt=>nt>0).reduce((nt,Ie)=>nt+Ie,0)]).sort((T,nt)=>T[1]-nt[1])[0])==null?void 0:y[0];$&&(L=$);break}case"initialPlacement":L=l;break}if(a!==L)return{reset:{placement:L}}}return{}}}};async function ed(r,t){let{placement:o,platform:n,elements:a}=r,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=st(o),l=ct(o),d=nr(o)==="y",u=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,f=se(t,r),{mainAxis:g,crossAxis:m,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof b=="number"&&(m=l==="end"?b*-1:b),d?{x:m*h,y:g*u}:{x:g*u,y:m*h}}var Cn=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(t){var o,n;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await ed(t,r);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},An=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:C,y:A}=w;return{x:C,y:A}}},...d}=se(r,t),u={x:o,y:n},h=await Br(t,d),f=nr(st(a)),g=xn(f),m=u[g],b=u[f];if(i){let w=g==="y"?"top":"left",C=g==="y"?"bottom":"right",A=m+h[w],O=m-h[C];m=bn(A,m,O)}if(s){let w=f==="y"?"top":"left",C=f==="y"?"bottom":"right",A=b+h[w],O=b-h[C];b=bn(A,b,O)}let S=l.fn({...t,[g]:m,[f]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function gt(r){return Ti(r)?(r.nodeName||"").toLowerCase():"#document"}function q(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function mt(r){var t;return(t=(Ti(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function Ti(r){return r instanceof Node||r instanceof q(r).Node}function lt(r){return r instanceof Element||r instanceof q(r).Element}function rt(r){return r instanceof HTMLElement||r instanceof q(r).HTMLElement}function _i(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof q(r).ShadowRoot}function ce(r){let{overflow:t,overflowX:o,overflowY:n,display:a}=X(r);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function Li(r){return["table","td","th"].includes(gt(r))}function Hr(r){let t=zr(),o=X(r);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ki(r){let t=qt(r);for(;rt(t)&&!ar(t);){if(Hr(t))return t;t=qt(t)}return null}function zr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ar(r){return["html","body","#document"].includes(gt(r))}function X(r){return q(r).getComputedStyle(r)}function ir(r){return lt(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function qt(r){if(gt(r)==="html")return r;let t=r.assignedSlot||r.parentNode||_i(r)&&r.host||mt(r);return _i(t)?t.host:t}function Fi(r){let t=qt(r);return ar(t)?r.ownerDocument?r.ownerDocument.body:r.body:rt(t)&&ce(t)?t:Fi(t)}function Wr(r,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Fi(r),i=a===((n=r.ownerDocument)==null?void 0:n.body),s=q(a);return i?t.concat(s,s.visualViewport||[],ce(a)?a:[],s.frameElement&&o?Wr(s.frameElement):[]):t.concat(a,Wr(a,[],o))}function Di(r){let t=X(r),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=rt(r),i=a?r.offsetWidth:o,s=a?r.offsetHeight:n,l=or(o)!==i||or(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Mi(r){return lt(r)?r:r.contextElement}function le(r){let t=Mi(r);if(!rt(t))return yt(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=Di(t),s=(i?or(o.width):o.width)/n,l=(i?or(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var rd=yt(0);function Bi(r){let t=q(r);return!zr()||!t.visualViewport?rd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function od(r,t,o){return t===void 0&&(t=!1),!o||t&&o!==q(r)?!1:t}function sr(r,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=r.getBoundingClientRect(),i=Mi(r),s=yt(1);t&&(n?lt(n)&&(s=le(n)):s=le(r));let l=od(i,o,n)?Bi(i):yt(0),d=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(i){let g=q(i),m=n&&lt(n)?q(n):n,b=g.frameElement;for(;b&&n&&m!==g;){let S=le(b),w=b.getBoundingClientRect(),C=X(b),A=w.left+(b.clientLeft+parseFloat(C.paddingLeft))*S.x,O=w.top+(b.clientTop+parseFloat(C.paddingTop))*S.y;d*=S.x,u*=S.y,h*=S.x,f*=S.y,d+=A,u+=O,b=q(b).frameElement}}return Zt({width:h,height:f,x:d,y:u})}function nd(r){let{rect:t,offsetParent:o,strategy:n}=r,a=rt(o),i=mt(o);if(o===i)return t;let s={scrollLeft:0,scrollTop:0},l=yt(1),d=yt(0);if((a||!a&&n!=="fixed")&&((gt(o)!=="body"||ce(i))&&(s=ir(o)),rt(o))){let u=sr(o);l=le(o),d.x=u.x+o.clientLeft,d.y=u.y+o.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 ad(r){return Array.from(r.getClientRects())}function Wi(r){return sr(mt(r)).left+ir(r).scrollLeft}function id(r){let t=mt(r),o=ir(r),n=r.ownerDocument.body,a=At(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=At(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Wi(r),l=-o.scrollTop;return X(n).direction==="rtl"&&(s+=At(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function sd(r,t){let o=q(r),n=mt(r),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let u=zr();(!u||u&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function cd(r,t){let o=sr(r,!0,t==="fixed"),n=o.top+r.clientTop,a=o.left+r.clientLeft,i=rt(r)?le(r):yt(1),s=r.clientWidth*i.x,l=r.clientHeight*i.y,d=a*i.x,u=n*i.y;return{width:s,height:l,x:d,y:u}}function $i(r,t,o){let n;if(t==="viewport")n=sd(r,o);else if(t==="document")n=id(mt(r));else if(lt(t))n=cd(t,o);else{let a=Bi(r);n={...t,x:t.x-a.x,y:t.y-a.y}}return Zt(n)}function Hi(r,t){let o=qt(r);return o===t||!lt(o)||ar(o)?!1:X(o).position==="fixed"||Hi(o,t)}function ld(r,t){let o=t.get(r);if(o)return o;let n=Wr(r,[],!1).filter(l=>lt(l)&&gt(l)!=="body"),a=null,i=X(r).position==="fixed",s=i?qt(r):r;for(;lt(s)&&!ar(s);){let l=X(s),d=Hr(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||ce(s)&&!d&&Hi(r,s))?n=n.filter(h=>h!==s):a=l,s=qt(s)}return t.set(r,n),n}function dd(r){let{element:t,boundary:o,rootBoundary:n,strategy:a}=r,s=[...o==="clippingAncestors"?ld(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((u,h)=>{let f=$i(t,h,a);return u.top=At(f.top,u.top),u.right=rr(f.right,u.right),u.bottom=rr(f.bottom,u.bottom),u.left=At(f.left,u.left),u},$i(t,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function ud(r){return Di(r)}function pd(r,t,o){let n=rt(t),a=mt(t),i=o==="fixed",s=sr(r,!0,i,t),l={scrollLeft:0,scrollTop:0},d=yt(0);if(n||!n&&!i)if((gt(t)!=="body"||ce(a))&&(l=ir(t)),n){let u=sr(t,!0,i,t);d.x=u.x+t.clientLeft,d.y=u.y+t.clientTop}else a&&(d.x=Wi(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Ui(r,t){return!rt(r)||X(r).position==="fixed"?null:t?t(r):r.offsetParent}function zi(r,t){let o=q(r);if(!rt(r))return o;let n=Ui(r,t);for(;n&&Li(n)&&X(n).position==="static";)n=Ui(n,t);return n&&(gt(n)==="html"||gt(n)==="body"&&X(n).position==="static"&&!Hr(n))?o:n||ki(r)||o}var fd=async function(r){let{reference:t,floating:o,strategy:n}=r,a=this.getOffsetParent||zi,i=this.getDimensions;return{reference:pd(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function hd(r){return X(r).direction==="rtl"}var de={convertOffsetParentRelativeRectToViewportRelativeRect:nd,getDocumentElement:mt,getClippingRect:dd,getOffsetParent:zi,getElementRects:fd,getClientRects:ad,getDimensions:ud,getScale:le,isElement:lt,isRTL:hd};var Rn=(r,t,o)=>{let n=new Map,a={platform:de,...o},i={...a.platform,_c:n};return Pi(r,t,{...a,platform:i})};function In(r){return yd(r)}function Nn(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function yd(r){for(let t=r;t;t=Nn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Nn(r);t;t=Nn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Pn(r,t,o){return Rn(r,t,{platform:{...de,getOffsetParent:n=>de.getOffsetParent(n,In)},middleware:[An({crossAxis:!0}),En({allowedPlacements:[o]})]})}async function gd(r,t,o,n,a){return Rn(r,t,{placement:o,strategy:a,platform:{...de,getOffsetParent:i=>de.getOffsetParent(i,In)},middleware:[Cn(4),wn({fallbackPlacements:n})]})}var Fn={};D(Fn,{FtdsBase:()=>kn,toFtdsBase:()=>Ji});var Ln={};D(Ln,{FtLitElement:()=>Z});var Tn={};D(Tn,{ScopedRegistryLitElement:()=>cr});var jr=window,md=jr.ShadowRoot&&(jr.ShadyCSS===void 0||jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ug=Symbol();var ji=(r,t)=>{md?r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),a=jr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)})};var cr=class extends ft{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 o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return ji(n,t.elementStyles),n}};var Vr=function(r,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,t,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Zi,Vi=Symbol("constructorPrototype"),Gi=Symbol("constructorName"),qi=Symbol("exportpartsDebouncer"),Ki=Symbol("dynamicDependenciesLoaded"),Z=class extends cr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Zi]=new Ct(5),this[Gi]=this.constructor.name,this[Vi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Gi]&&Object.setPrototypeOf(this,this[Vi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[Ki]||(t[Ki]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[qi].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 o,n,a,i,s,l;let d=g=>g!=null&&g.trim().length>0,u=t.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let m=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...m,...b).filter(d).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(g=>u.map(m=>`${g}:${m}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Zi=qi;Vr([W()],Z.prototype,"exportpartsPrefix",void 0);Vr([Mo([])],Z.prototype,"exportpartsPrefixes",void 0);Vr([W()],Z.prototype,"customStylesheet",void 0);Vr([ze()],Z.prototype,"useAdoptedStyleSheets",void 0);var Yi=function(r,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,t,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i};function Ji(r){class t extends r{constructor(){super(...arguments),this.size=Qe.medium,this.family=Xe.neutral}getDesignSystemBaseClasses(){return{[fn(this.family)]:!0,[hn(this.size)]:!0}}}return Yi([W()],t.prototype,"size",void 0),Yi([W()],t.prototype,"family",void 0),t}var kn=class extends Ji(Z){};var Xi={};var Un={};D(Un,{highlightHtml:()=>vd,highlightHtmlColorCssVariable:()=>Qi,highlightHtmlStyles:()=>xd});var Yt=class r{constructor(t,o=!0,n=[],a=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(t,o){let n=typeof o=="string"?[o]:o,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(t,o,n,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(u=>{r.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{o(u)&&(l++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new r(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let a=t.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(t,o,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(t,o,n,a,i){let s=this.createIterator(o,t,a),l=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(u,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(t,m=>d.push(m),a)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,t,n,a),i()}forEachNode(t,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var lr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Yt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.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 o=[],n=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,a,i=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),a=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:a,valid:i}}checkWhitespaceRanges(t,o,n){let a,i=!0,s=n.length,l=o-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Yt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(o),s=i.splitText(n-o),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,o,n,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>o){if(!a(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),g=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),t.value=f+g,t.nodes.forEach((m,b)=>{b>=l&&(t.nodes[b].start>0&&b!==l&&(t.nodes[b].start-=h),t.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=t.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,f=>n(d[s],f),(f,g)=>{t.lastIndex=g,a(f)})}i()})}wrapRangeFromIndex(t,o,n,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(l,s,i.value);f&&this.wrapRangeInMappedTextNode(i,u,h,g=>o(g,l,i.value.substring(u,h),d),g=>{n(g,l)})}),a()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,m)=>this.opt.filter(m,u,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(n):d(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(t,o){this.opt=o;let n=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Yt.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function $n(r){let t=new lr(r);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var bd=$n,Qi=e.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),xd=U`
8
8
  .highlight-html-match {
9
9
  background: ${Qi};
10
10
  }
11
- `;function xd(r,t,o){var n,a;let i=r.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new md(r);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(l.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",t??"")}var Dn={};D(Dn,{noTextInputDefaultClearButton:()=>Ed,noTextSelect:()=>vd,safariEllipsisFix:()=>Od,wordWrap:()=>Sd});var vd=U`
11
+ `;function vd(r,t,o){var n,a;let i=r.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new bd(r);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(l.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",t??"")}var Dn={};D(Dn,{noTextInputDefaultClearButton:()=>wd,noTextSelect:()=>Sd,safariEllipsisFix:()=>Ed,wordWrap:()=>Od});var Sd=U`
12
12
  .ft-no-text-select {
13
13
  -webkit-touch-callout: none;
14
14
  -webkit-user-select: none;
@@ -17,7 +17,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
17
17
  -ms-user-select: none;
18
18
  user-select: none;
19
19
  }
20
- `,Sd=U`
20
+ `,Od=U`
21
21
  .ft-word-wrap {
22
22
  white-space: normal;
23
23
  word-wrap: break-word;
@@ -29,7 +29,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
29
29
  -webkit-hyphens: auto;
30
30
  hyphens: auto
31
31
  }
32
- `,Od=U`
32
+ `,Ed=U`
33
33
  .ft-safari-ellipsis-fix {
34
34
  margin-right: 0;
35
35
 
@@ -40,14 +40,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
40
40
  display: inline-block;
41
41
  width: 0;
42
42
  }
43
- `,Ed=U`
43
+ `,wd=U`
44
44
  input::-webkit-search-cancel-button,
45
45
  input::-webkit-search-decoration,
46
46
  input::-webkit-search-results-button,
47
47
  input::-webkit-search-results-decoration {
48
48
  display: none;
49
49
  }
50
- `;var ts={};var Bn={};D(Bn,{ParametrizedLabelResolver:()=>Mn});var Mn=class r{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,a;t=this.resolvePluralKey(t,o);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return r.replaceParameters(i,...o)}static replaceParameters(t,...o){return o.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>r.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,o){return t instanceof Date?r.formatDate(t,o):t??""}static formatDate(t,o){let n=a=>o?.includes("date")?t.toLocaleDateString(a):o?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var fa={};D(fa,{FtCommandQueue:()=>dr,FtLitElementRedux:()=>ue,FtReduxStore:()=>pa,clearAllStores:()=>lu,isFtReduxStore:()=>Jt,redux:()=>Cd,reduxEventListener:()=>Ad,reduxReactive:()=>wd});var wd=()=>(r,t)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},Cd=r=>{let t=r??{};return(o,n)=>{var a;let i={hasChanged:Ze,attribute:!1,...t};W(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}},Ad=r=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var dr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function Jt(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var es,rs,os,Gr=Symbol("internalReduxEventsUnsubscribers"),Rt=Symbol("internalStoresUnsubscribers"),Xt=Symbol("internalStores"),ue=class extends Z{constructor(){super(...arguments),this[es]=new Map,this[rs]=new Map,this[os]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Xt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Xt].get(t)}addStore(t,o){var n;o=(n=o??(Jt(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Xt].delete(o)}setupStore(t,o){this[Xt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xt].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[Rt].has(t.store):this[Rt].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[Rt].set(t,o.subscribe(()=>this.updateFromStores())),Jt(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[Gr].push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Rt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[Gr].forEach(t=>t()),this[Gr]=[]}unsubscribeFromStore(t){this[Rt].has(t)&&this[Rt].get(t)(),this[Rt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};es=Rt,rs=Xt,os=Gr;ue.reduxProperties=new Map;ue.reduxReactiveProperties=new Set;ue.reduxEventListeners=new Map;function tt(r){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function bt(r){return!!r&&!!r[B]}function ot(r){var t;return!!r&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===kd}(r)||Array.isArray(r)||!!r[ds]||!!(!((t=r.constructor)===null||t===void 0)&&t[ds])||qn(r)||Yn(r))}function Qt(r,t,o){o===void 0&&(o=!1),he(r)===0?(o?Object.keys:fe)(r).forEach(function(n){o&&typeof n=="symbol"||t(n,r[n],r)}):r.forEach(function(n,a){return t(a,n,r)})}function he(r){var t=r[B];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:qn(r)?2:Yn(r)?3:0}function pe(r,t){return he(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function Rd(r,t){return he(r)===2?r.get(t):r[t]}function us(r,t,o){var n=he(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function ps(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function qn(r){return Td&&r instanceof Map}function Yn(r){return Ld&&r instanceof Set}function Nt(r){return r.o||r.t}function Jn(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=ys(r);delete t[B];for(var o=fe(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:r[a]})}return Object.create(Object.getPrototypeOf(r),t)}function Xn(r,t){return t===void 0&&(t=!1),Qn(r)||bt(r)||!ot(r)||(he(r)>1&&(r.set=r.add=r.clear=r.delete=Nd),Object.freeze(r),t&&Qt(r,function(o,n){return Xn(n,!0)},!0)),r}function Nd(){tt(2)}function Qn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function dt(r){var t=Zn[r];return t||tt(18,r),t}function Id(r,t){Zn[r]||(Zn[r]=t)}function Vn(){return pr}function Wn(r,t){t&&(dt("Patches"),r.u=[],r.s=[],r.v=t)}function Kr(r){Gn(r),r.p.forEach(Pd),r.p=null}function Gn(r){r===pr&&(pr=r.l)}function ns(r){return pr={p:[],l:pr,h:r,m:!0,_:0}}function Pd(r){var t=r[B];t.i===0||t.i===1?t.j():t.g=!0}function Hn(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||dt("ES5").S(t,r,n),n?(o[B].P&&(Kr(t),tt(4)),ot(r)&&(r=Zr(t,r),t.l||qr(t,r)),t.u&&dt("Patches").M(o[B].t,r,t.u,t.s)):r=Zr(t,o,[]),Kr(t),t.u&&t.v(t.u,t.s),r!==hs?r:void 0}function Zr(r,t,o){if(Qn(t))return t;var n=t[B];if(!n)return Qt(t,function(l,d){return as(r,n,t,l,d,o)},!0),t;if(n.A!==r)return t;if(!n.P)return qr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Jn(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Qt(i,function(l,d){return as(r,n,a,l,d,o,s)}),qr(r,a,!1),o&&r.u&&dt("Patches").N(n,o,r.u,r.s)}return n.o}function as(r,t,o,n,a,i,s){if(bt(a)){var l=Zr(r,a,i&&t&&t.i!==3&&!pe(t.R,n)?i.concat(n):void 0);if(us(o,n,l),!bt(l))return;r.m=!1}else s&&o.add(a);if(ot(a)&&!Qn(a)){if(!r.h.D&&r._<1)return;Zr(r,a),t&&t.A.l||qr(r,a)}}function qr(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Xn(t,o)}function zn(r,t){var o=r[B];return(o?Nt(o):r)[t]}function is(r,t){if(t in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function It(r){r.P||(r.P=!0,r.l&&It(r.l))}function jn(r){r.o||(r.o=Jn(r.t))}function Kn(r,t,o){var n=qn(t)?dt("MapSet").F(t,o):Yn(t)?dt("MapSet").T(t,o):r.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Vn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=fr;s&&(d=[l],u=ur);var h=Proxy.revocable(d,u),f=h.revoke,g=h.proxy;return l.k=g,l.j=f,g}(t,o):dt("ES5").J(t,o);return(o?o.A:Vn()).p.push(n),n}function _d(r){return bt(r)||tt(22,r),function t(o){if(!ot(o))return o;var n,a=o[B],i=he(o);if(a){if(!a.P&&(a.i<4||!dt("ES5").K(a)))return a.t;a.I=!0,n=ss(o,i),a.I=!1}else n=ss(o,i);return Qt(n,function(s,l){a&&Rd(a.t,s)===l||us(n,s,t(l))}),i===3?new Set(n):n}(r)}function ss(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return Jn(r)}function fs(){function r(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[B];return fr.get(u,s)},set:function(u){var h=this[B];fr.set(h,s,u)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][B];if(!d.P)switch(d.i){case 5:n(d)&&It(d);break;case 4:o(d)&&It(d)}}}function o(s){for(var l=s.t,d=s.k,u=fe(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==B){var g=l[f];if(g===void 0&&!pe(l,f))return!0;var m=d[f],b=m&&m[B];if(b?b.t!==g:!ps(m,g))return!0}}var S=!!l[B];return u.length!==fe(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&tt(3,JSON.stringify(Nt(s)))}var i={};Id("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,g){if(f){for(var m=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(m,""+b,r(b,!0));return m}var S=ys(g);delete S[B];for(var w=fe(S),C=0;C<w.length;C++){var A=w[C];S[A]=r(A,f||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),h={i:d?5:4,A:l?l.A:Vn(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,B,{value:h,writable:!0}),u},S:function(s,l,d){d?bt(l)&&l[B].A===s&&t(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[B];if(f){var g=f.t,m=f.k,b=f.R,S=f.i;if(S===4)Qt(m,function(v){v!==B&&(g[v]!==void 0||pe(g,v)?b[v]||u(m[v]):(b[v]=!0,It(f)))}),Qt(g,function(v){m[v]!==void 0||pe(m,v)||(b[v]=!1,It(f))});else if(S===5){if(n(f)&&(It(f),b.length=!0),m.length<g.length)for(var w=m.length;w<g.length;w++)b[w]=!1;else for(var C=g.length;C<m.length;C++)b[C]=!0;for(var A=Math.min(m.length,g.length),O=0;O<A;O++)m.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&u(m[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var cs,pr,ta=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Td=typeof Map<"u",Ld=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hs=ta?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),ds=ta?Symbol.for("immer-draftable"):"__$immer_draftable",B=ta?Symbol.for("immer-state"):"__$immer_state";var kd=""+Object.prototype.constructor,fe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,ys=Object.getOwnPropertyDescriptors||function(r){var t={};return fe(r).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)}),t},Zn={},fr={get:function(r,t){if(t===B)return r;var o=Nt(r);if(!pe(o,t))return function(a,i,s){var l,d=is(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(r,o,t);var n=o[t];return r.I||!ot(n)?n:n===zn(r.t,t)?(jn(r),r.o[t]=Kn(r.A.h,n,r)):n},has:function(r,t){return t in Nt(r)},ownKeys:function(r){return Reflect.ownKeys(Nt(r))},set:function(r,t,o){var n=is(Nt(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=zn(Nt(r),t),i=a?.[B];if(i&&i.t===o)return r.o[t]=o,r.R[t]=!1,!0;if(ps(o,a)&&(o!==void 0||pe(r.t,t)))return!0;jn(r),It(r)}return r.o[t]===o&&(o!==void 0||t in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[t])||(r.o[t]=o,r.R[t]=!0),!0},deleteProperty:function(r,t){return zn(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,jn(r),It(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=Nt(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){tt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){tt(12)}},ur={};Qt(fr,function(r,t){ur[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ur.deleteProperty=function(r,t){return ur.set.call(this,r,t,void 0)},ur.set=function(r,t,o){return fr.set.call(this,r[0],t,o,r[0])};var Fd=function(){function r(o){var n=this;this.O=ls,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(S){var w=this;S===void 0&&(S=l);for(var C=arguments.length,A=Array(C>1?C-1:0),O=1;O<C;O++)A[O-1]=arguments[O];return d.produce(S,function(v){var E;return(E=i).call.apply(E,[w,v].concat(A))})}}var u;if(typeof i!="function"&&tt(6),s!==void 0&&typeof s!="function"&&tt(7),ot(a)){var h=ns(n),f=Kn(n,a,void 0),g=!0;try{u=i(f),g=!1}finally{g?Kr(h):Gn(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return Wn(h,s),Hn(S,h)},function(S){throw Kr(h),S}):(Wn(h,s),Hn(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===hs&&(u=void 0),n.D&&Xn(u,!0),s){var m=[],b=[];dt("Patches").M(a,u,m,b),s(m,b)}return u}tt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(u,function(m){return a.apply(void 0,[m].concat(f))})};var s,l,d=n.produce(a,i,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=r.prototype;return t.createDraft=function(o){ot(o)||tt(8),bt(o)&&(o=_d(o));var n=ns(this),a=Kn(this,o,void 0);return a[B].C=!0,Gn(n),a},t.finishDraft=function(o,n){var a=o&&o[B],i=a.A;return Wn(i,n),Hn(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ls&&tt(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=dt("Patches").$;return bt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},r}(),Q=new Fd,$d=Q.produce,Dg=Q.produceWithPatches.bind(Q),Mg=Q.setAutoFreeze.bind(Q),Bg=Q.setUseProxies.bind(Q),Wg=Q.applyPatches.bind(Q),Hg=Q.createDraft.bind(Q),zg=Q.finishDraft.bind(Q),Yr=$d;function Pt(r){"@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(r)}function ea(r,t){if(Pt(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(Pt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function ra(r){var t=ea(r,"string");return Pt(t)==="symbol"?t:String(t)}function oa(r,t,o){return t=ra(t),t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function gs(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,n)}return o}function Jr(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?gs(Object(o),!0).forEach(function(n){oa(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):gs(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function K(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var ms=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),na=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xr={INIT:"@@redux/INIT"+na(),REPLACE:"@@redux/REPLACE"+na(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+na()}};function Ud(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function aa(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(K(1));return o(aa)(r,t)}if(typeof r!="function")throw new Error(K(2));var a=r,i=t,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(K(3));return i}function f(S){if(typeof S!="function")throw new Error(K(4));if(d)throw new Error(K(5));var w=!0;return u(),l.push(S),function(){if(w){if(d)throw new Error(K(6));w=!1,u();var A=l.indexOf(S);l.splice(A,1),s=null}}}function g(S){if(!Ud(S))throw new Error(K(7));if(typeof S.type>"u")throw new Error(K(8));if(d)throw new Error(K(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var w=s=l,C=0;C<w.length;C++){var A=w[C];A()}return S}function m(S){if(typeof S!="function")throw new Error(K(10));a=S,g({type:Xr.REPLACE})}function b(){var S,w=f;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(K(11));function O(){A.next&&A.next(h())}O();var v=w(O);return{unsubscribe:v}}},S[ms]=function(){return this},S}return g({type:Xr.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:m},n[ms]=b,n}function Dd(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:Xr.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof o(void 0,{type:Xr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function bs(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var a=t[n];typeof r[a]=="function"&&(o[a]=r[a])}var i=Object.keys(o),s,l;try{Dd(o)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var g=!1,m={},b=0;b<i.length;b++){var S=i[b],w=o[S],C=u[S],A=w(C,h);if(typeof A>"u"){var O=h&&h.type;throw new Error(K(14))}m[S]=A,g=g||A!==C}return g=g||i.length!==Object.keys(u).length,g?m:u}}function ye(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function xs(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(K(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=ye.apply(void 0,l)(a.dispatch),Jr(Jr({},a),{},{dispatch:i})}}}function vs(r){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,r):s(l)}}};return t}var Ss=vs();Ss.withExtraArgument=vs;var ia=Ss;var As=function(){var r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},r(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Md=function(r,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(r,o)}catch(h){u=[6,h],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},ge=function(r,t){for(var o=0,n=t.length,a=r.length;o<n;o++,a++)r[a]=t[o];return r},Bd=Object.defineProperty,Wd=Object.defineProperties,Hd=Object.getOwnPropertyDescriptors,Os=Object.getOwnPropertySymbols,zd=Object.prototype.hasOwnProperty,jd=Object.prototype.propertyIsEnumerable,Es=function(r,t,o){return t in r?Bd(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},_t=function(r,t){for(var o in t||(t={}))zd.call(t,o)&&Es(r,o,t[o]);if(Os)for(var n=0,a=Os(t);n<a.length;n++){var o=a[n];jd.call(t,o)&&Es(r,o,t[o])}return r},sa=function(r,t){return Wd(r,Hd(t))},Vd=function(r,t,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(u){a(u)}},s=function(d){try{l(o.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(r,t)).next())})};var Gd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ye:ye.apply(null,arguments)},sm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Kd(r){if(typeof r!="object"||r===null)return!1;var t=Object.getPrototypeOf(r);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Zd=function(r){As(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,ge([void 0],o[0].concat(this)))):new(t.bind.apply(t,ge([void 0],o.concat(this))))},t}(Array),qd=function(r){As(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,ge([void 0],o[0].concat(this)))):new(t.bind.apply(t,ge([void 0],o.concat(this))))},t}(Array);function da(r){return ot(r)?Yr(r,function(){}):r}function Yd(r){return typeof r=="boolean"}function Jd(){return function(t){return Xd(t)}}function Xd(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,a=n===void 0?!0:n,i=r.serializableCheck,s=i===void 0?!0:i,l=new Zd;if(o&&(Yd(o)?l.push(ia):l.push(ia.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var u}return l}var ca=!0;function Rs(r){var t=Jd(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,d=l===void 0?!0:l,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,g=f===void 0?void 0:f,m;if(typeof a=="function")m=a;else if(Kd(a))m=bs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(t),!ca&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ca&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=xs.apply(void 0,b),w=ye;d&&(w=Gd(_t({trace:!ca},typeof d=="object"&&d)));var C=new qd(S),A=C;Array.isArray(g)?A=ge([S],g):typeof g=="function"&&(A=g(C));var O=w.apply(void 0,A);return aa(m,h,O)}function Tt(r,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return _t(_t({type:r,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function Ns(r){var t={},o=[],n,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 o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return r(a),[t,o,n]}function Qd(r){return typeof r=="function"}function tu(r,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Ns(t):[t,o,n],i=a[0],s=a[1],l=a[2],d;if(Qd(r))d=function(){return da(r())};else{var u=da(r);d=function(){return u}}function h(f,g){f===void 0&&(f=d());var m=ge([i[g.type]],s.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return m.filter(function(b){return!!b}).length===0&&(m=[l]),m.reduce(function(b,S){if(S)if(bt(b)){var w=b,C=S(w,g);return C===void 0?b:C}else{if(ot(b))return Yr(b,function(A){return S(A,g)});var C=S(b,g);if(C===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return b},f)}return h.getInitialState=d,h}function eu(r,t){return r+"/"+t}function Is(r){var t=r.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:da(r.initialState),n=r.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],g=eu(t,h),m,b;"reducer"in f?(m=f.reducer,b=f.prepare):m=f,i[h]=m,s[g]=m,l[h]=b?Tt(g,b):Tt(g)});function d(){var h=typeof r.extraReducers=="function"?Ns(r.extraReducers):[r.extraReducers],f=h[0],g=f===void 0?{}:f,m=h[1],b=m===void 0?[]:m,S=h[2],w=S===void 0?void 0:S,C=_t(_t({},g),s);return tu(o,function(A){for(var O in C)A.addCase(O,C[O]);for(var v=0,E=b;v<E.length;v++){var R=E[v];A.addMatcher(R.matcher,R.reducer)}w&&A.addDefaultCase(w)})}var u;return{name:t,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var ru="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ou=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=ru[Math.random()*64|0];return t},nu=["name","message","stack","code"],la=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),ws=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),au=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=nu;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(t[a]=r[a])}return t}return{message:String(r)}},um=function(){function r(t,o,n){var a=Tt(t+"/fulfilled",function(h,f,g,m){return{payload:h,meta:sa(_t({},m||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=Tt(t+"/pending",function(h,f,g){return{payload:void 0,meta:sa(_t({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Tt(t+"/rejected",function(h,f,g,m,b){return{payload:m,error:(n&&n.serializeError||au)(h||"Rejected"),meta:sa(_t({},b||{}),{arg:g,requestId:f,rejectedWithValue:!!m,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 u(h){return function(f,g,m){var b=n?.idGenerator?n.idGenerator(h):ou(),S=new d,w,C=!1;function A(v){w=v,S.abort()}var O=function(){return Vd(this,null,function(){var v,E,R,_,F,k,I;return Md(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),_=(v=n?.condition)==null?void 0:v.call(n,h,{getState:g,extra:m}),su(_)?[4,_]:[3,2];case 1:_=y.sent(),y.label=2;case 2:if(_===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,F=new Promise(function(x,N){return S.signal.addEventListener("abort",function(){return N({name:"AbortError",message:w||"Aborted"})})}),f(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:m}))),[4,Promise.race([F,Promise.resolve(o(h,{dispatch:f,getState:g,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(x,N){return new la(x,N)},fulfillWithValue:function(x,N){return new ws(x,N)}})).then(function(x){if(x instanceof la)throw x;return x instanceof ws?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return R=y.sent(),[3,5];case 4:return k=y.sent(),R=k instanceof la?s(null,b,h,k.payload,k.meta):s(k,b,h),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,I||f(R),[2,R]}})})}();return Object.assign(O,{abort:A,requestId:b,arg:h,unwrap:function(){return O.then(iu)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return r.withTypes=function(){return r},r}();function iu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function su(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ps="listener",_s="completed",Ts="cancelled",pm="task-"+Ts,fm="task-"+_s,hm=Ps+"-"+Ts,ym=Ps+"-"+_s;var ua="listenerMiddleware";var gm=Tt(ua+"/add"),mm=Tt(ua+"/removeAll"),bm=Tt(ua+"/remove");var Cs,xm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Cs||(Cs=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},cu=function(r){return function(t){setTimeout(t,r)}},vm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:cu(10);fs();window.ftReduxStores||(window.ftReduxStores={});var pa=class r extends Kt{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Jt(i))return i;if(a==null)return;let s=Is({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Rs({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[a.name]=new r(s,l)}constructor(t,o){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new dr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}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 lu(){var r;for(let t of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Jt(t)&&t.clear()}var ga={};D(ga,{scrollHelper:()=>du});var ha,Qr=new Map,ya=class{lock(t,o){if(o){let n=Qr.get(o);if(n==null||n===t)return Qr.set(o,t),o}}release(t,o){o&&Qr.get(o)===t&&Qr.delete(o)}findFirstScrollableParent(t){let o,n=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let u=d,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&l==null&&(l=u)}o=(i=s??l)!==null&&i!==void 0?i:document.body};return t.addEventListener("find-scrollable-parent",n),t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),t.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){let n=0;for(;o&&o.offsetParent!==t.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=qe(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(ha=window.FluidTopicsScrollHelper)!==null&&ha!==void 0?ha:new ya;var du=window.FluidTopicsScrollHelper;var ma={};D(ma,{shadowQuerySelector:()=>uu,shadowQuerySelectorAll:()=>pu});function uu(r,t,...o){var n;let a=r.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function pu(r,t,...o){let n=[...r.querySelectorAll(t)];for(let a of o)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var ba={};D(ba,{SearchPlaceConverter:()=>ro,SearchPlaceQueryParams:()=>M,isSearchPlaceQueryParams:()=>rc,serializeRequest:()=>yu});var fu=Ic(ks(),1);var Fs;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Fs||(Fs={}));var $s;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})($s||($s={}));var Us;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Us||(Us={}));var Ds;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(Ds||(Ds={}));var Ms;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Ms||(Ms={}));var Bs;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Bs||(Bs={}));var Ws;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Ws||(Ws={}));var Hs;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(Hs||(Hs={}));var zs;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(zs||(zs={}));var js;(function(r){r.ASC="ASC",r.DESC="DESC"})(js||(js={}));var Vs;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Vs||(Vs={}));var Gs;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Gs||(Gs={}));var Xs=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Ks;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Ks||(Ks={}));var Zs;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Zs||(Zs={}));var qs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(qs||(qs={}));var hr;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(hr||(hr={}));var Qs=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Ys;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Ys||(Ys={}));var Js;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Js||(Js={}));var V;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(V||(V={}));var tc;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(tc||(tc={}));var Dm={[V.PERSONAL_BOOK_SHARE_USER]:[V.PERSONAL_BOOK_USER],[V.HTML_EXPORT_USER]:[V.PERSONAL_BOOK_USER],[V.PDF_EXPORT_USER]:[V.PERSONAL_BOOK_USER],[V.KHUB_ADMIN]:[V.CONTENT_PUBLISHER],[V.ADMIN]:[V.KHUB_ADMIN,V.USERS_ADMIN,V.PORTAL_ADMIN],[V.DEVELOPER]:[V.BETA_USER,V.DEBUG_USER]};function hu(r){return`"${r}"`}function ec(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function yu(r,t){return new ro(r).serialize(t)}var M;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(M||(M={}));var gu=new Set(Object.values(M));function rc(r){return gu.has(r)}var ro=class{constructor(t,o={},n=20,a=!1,i="en-US"){this.baseUrl=t,this.predefinedSorts=o,this.defaultPerPage=n,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,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).toString(),a=o==null||o.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=n,i.toString()}toURLSearchParams(t,o=!1){var n,a,i,s,l,d,u,h,f,g,m,b;let S=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&S.append(M.LOCALE,t.contentLocale):S.append(M.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&S.append(M.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&S.append(M.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&S.append(M.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((a=t.sort)===null||a===void 0?void 0:a.length)>0&&t.sort[0].key==="ft:lastEdition"&&S.append(M.SORT,"last_update");let w=(s=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(w.length>0){let v=w.map(E=>{var R,_;let F=((_=(R=E.valueFilter)===null||R===void 0?void 0:R.values)!==null&&_!==void 0?_:[]).map(k=>this.escapeFilters(k)).map(k=>encodeURIComponent(hu(ec(k)))).join("_");return`${E.key}~${F}`}).join("*");S.append(M.VALUE_FILTERS,v)}let C=(d=(l=t.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(C.length>0){let v=C.map(E=>{var R;return`${E.key}~${(R=E.dateFilter)===null||R===void 0?void 0:R.type.toLowerCase()}`}).join("*");S.append(M.DATE_FILTERS,v)}let A=(h=(u=t.metadataFilters)===null||u===void 0?void 0:u.filter(v=>v.rangeFilter))!==null&&h!==void 0?h:[];if(A.length>0){let v=A.map(E=>{var R,_;return`${E.key}~${(R=E.rangeFilter)===null||R===void 0?void 0:R.from}_${(_=E.rangeFilter)===null||_===void 0?void 0:_.to}`}).join("*");S.append(M.RANGE_FILTERS,v)}let O=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let v in O)S.append(v,O[v]);return!((g=t.paging)===null||g===void 0)&&g.perPage&&((b=(m=t.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(M.PER_PAGE,String(t.paging.perPage)),S}parse(t){var o;let n=t.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(t){var o,n,a,i,s,l,d,u;let h=t.get(M.LOCALE)==="all"?void 0:t.get(M.LOCALE),f=((o=t.get(M.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),g=((n=t.get(M.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),m=(a=t.get(M.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=t.get(M.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let w of t.keys())rc(w)||(S[w]=t.get(w));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(M.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Xs(f)?f:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:qe(1,isNaN(b)?this.defaultPerPage:b,40)},otherQueryParams:S}}parseCompatFilters(t){var o,n,a,i,s,l;let d=[];return t.has(M.FILTERS)&&(d=this.parseValueFilters((o=t.get(M.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(M.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(M.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(M.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(M.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(M.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(ec).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:hr[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replace(a,o);return t}parseLegacyPeriodFilter(t){if(Qs(t))return[{key:"ft:lastEdition",dateFilter:{type:hr[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var xa={};D(xa,{toFtFormComponent:()=>mu});var oo=Symbol("elementInternals");function mu(r,t){class o extends r{static get formAssociated(){return!0}get form(){return this[oo].form}constructor(...a){super(a),this[oo]=this.attachInternals(),this[oo].role=t}setFormValue(a){this[oo].setFormValue(a)}}return o}var Sa={};D(Sa,{DateFormatter:()=>va});var va=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,a)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var Oa,Ea,wa,Ca,bu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wa=(Ea=(Oa=window.safari)===null||Oa===void 0?void 0:Oa.pushNotification)===null||Ea===void 0?void 0:Ea.toString())!==null&&wa!==void 0?wa:"")==="[object SafariRemoteNotification]",xu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ca=window.ftGlobals)!==null&&Ca!==void 0?Ca:{lit:vo,litDecorators:Oo,litRepeat:Eo,litClassMap:wo,litStyleMap:Co,litUnsafeHTML:Ao,wcUtils:{...ko,...No,...$o,...Sa,...Uo,...Bo,...gn,...To,..._n,...yn,...Fn,...Ln,...Xi,...Do,...Un,...Dn,...ts,...Bn,...fa,...Tn,...ga,...ma,...ba,...xa,isSafari:bu,isTouchScreen:xu,setVariable:Mr}};var nc=Symbol.for(""),vu=r=>{if(r?.r===nc)return r?._$litStatic$},Aa=r=>({_$litStatic$:r,r:nc});var oc=new Map,ac=r=>(t,...o)=>{let n=o.length,a,i,s=[],l=[],d,u=0,h=!1;for(;u<n;){for(d=t[u];u<n&&(i=o[u],(a=vu(i))!==void 0);)d+=a+t[++u],h=!0;u!==n&&l.push(i),s.push(d),u++}if(u===n&&s.push(t[n]),h){let f=s.join("$$lit$$");(t=oc.get(f))===void 0&&(s.raw=s,oc.set(f,t=s)),o=l}return r(t,...o)},Ra=ac(ja),Cb=ac(Va);var no;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(no||(no={}));function ic(r){let t=Je[r];return U`
50
+ `;var ts={};var Bn={};D(Bn,{ParametrizedLabelResolver:()=>Mn});var Mn=class r{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,a;t=this.resolvePluralKey(t,o);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return r.replaceParameters(i,...o)}static replaceParameters(t,...o){return o.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>r.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,o){return t instanceof Date?r.formatDate(t,o):t??""}static formatDate(t,o){let n=a=>o?.includes("date")?t.toLocaleDateString(a):o?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var fa={};D(fa,{FtCommandQueue:()=>dr,FtLitElementRedux:()=>ue,FtReduxStore:()=>pa,clearAllStores:()=>du,isFtReduxStore:()=>Jt,redux:()=>Ad,reduxEventListener:()=>Rd,reduxReactive:()=>Cd});var Cd=()=>(r,t)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},Ad=r=>{let t=r??{};return(o,n)=>{var a;let i={hasChanged:Ze,attribute:!1,...t};W(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}},Rd=r=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var dr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function Jt(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var es,rs,os,Gr=Symbol("internalReduxEventsUnsubscribers"),Rt=Symbol("internalStoresUnsubscribers"),Xt=Symbol("internalStores"),ue=class extends Z{constructor(){super(...arguments),this[es]=new Map,this[rs]=new Map,this[os]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Xt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Xt].get(t)}addStore(t,o){var n;o=(n=o??(Jt(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Xt].delete(o)}setupStore(t,o){this[Xt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xt].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[Rt].has(t.store):this[Rt].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[Rt].set(t,o.subscribe(()=>this.updateFromStores())),Jt(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[Gr].push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Rt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[Gr].forEach(t=>t()),this[Gr]=[]}unsubscribeFromStore(t){this[Rt].has(t)&&this[Rt].get(t)(),this[Rt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};es=Rt,rs=Xt,os=Gr;ue.reduxProperties=new Map;ue.reduxReactiveProperties=new Set;ue.reduxEventListeners=new Map;function tt(r){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function bt(r){return!!r&&!!r[B]}function ot(r){var t;return!!r&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Fd}(r)||Array.isArray(r)||!!r[ds]||!!(!((t=r.constructor)===null||t===void 0)&&t[ds])||qn(r)||Yn(r))}function Qt(r,t,o){o===void 0&&(o=!1),he(r)===0?(o?Object.keys:fe)(r).forEach(function(n){o&&typeof n=="symbol"||t(n,r[n],r)}):r.forEach(function(n,a){return t(a,n,r)})}function he(r){var t=r[B];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:qn(r)?2:Yn(r)?3:0}function pe(r,t){return he(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function Nd(r,t){return he(r)===2?r.get(t):r[t]}function us(r,t,o){var n=he(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function ps(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function qn(r){return Ld&&r instanceof Map}function Yn(r){return kd&&r instanceof Set}function Nt(r){return r.o||r.t}function Jn(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=ys(r);delete t[B];for(var o=fe(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:r[a]})}return Object.create(Object.getPrototypeOf(r),t)}function Xn(r,t){return t===void 0&&(t=!1),Qn(r)||bt(r)||!ot(r)||(he(r)>1&&(r.set=r.add=r.clear=r.delete=Id),Object.freeze(r),t&&Qt(r,function(o,n){return Xn(n,!0)},!0)),r}function Id(){tt(2)}function Qn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function dt(r){var t=Zn[r];return t||tt(18,r),t}function Pd(r,t){Zn[r]||(Zn[r]=t)}function Vn(){return pr}function Wn(r,t){t&&(dt("Patches"),r.u=[],r.s=[],r.v=t)}function Kr(r){Gn(r),r.p.forEach(_d),r.p=null}function Gn(r){r===pr&&(pr=r.l)}function ns(r){return pr={p:[],l:pr,h:r,m:!0,_:0}}function _d(r){var t=r[B];t.i===0||t.i===1?t.j():t.g=!0}function Hn(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||dt("ES5").S(t,r,n),n?(o[B].P&&(Kr(t),tt(4)),ot(r)&&(r=Zr(t,r),t.l||qr(t,r)),t.u&&dt("Patches").M(o[B].t,r,t.u,t.s)):r=Zr(t,o,[]),Kr(t),t.u&&t.v(t.u,t.s),r!==hs?r:void 0}function Zr(r,t,o){if(Qn(t))return t;var n=t[B];if(!n)return Qt(t,function(l,d){return as(r,n,t,l,d,o)},!0),t;if(n.A!==r)return t;if(!n.P)return qr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Jn(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Qt(i,function(l,d){return as(r,n,a,l,d,o,s)}),qr(r,a,!1),o&&r.u&&dt("Patches").N(n,o,r.u,r.s)}return n.o}function as(r,t,o,n,a,i,s){if(bt(a)){var l=Zr(r,a,i&&t&&t.i!==3&&!pe(t.R,n)?i.concat(n):void 0);if(us(o,n,l),!bt(l))return;r.m=!1}else s&&o.add(a);if(ot(a)&&!Qn(a)){if(!r.h.D&&r._<1)return;Zr(r,a),t&&t.A.l||qr(r,a)}}function qr(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Xn(t,o)}function zn(r,t){var o=r[B];return(o?Nt(o):r)[t]}function is(r,t){if(t in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function It(r){r.P||(r.P=!0,r.l&&It(r.l))}function jn(r){r.o||(r.o=Jn(r.t))}function Kn(r,t,o){var n=qn(t)?dt("MapSet").F(t,o):Yn(t)?dt("MapSet").T(t,o):r.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Vn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=fr;s&&(d=[l],u=ur);var h=Proxy.revocable(d,u),f=h.revoke,g=h.proxy;return l.k=g,l.j=f,g}(t,o):dt("ES5").J(t,o);return(o?o.A:Vn()).p.push(n),n}function Td(r){return bt(r)||tt(22,r),function t(o){if(!ot(o))return o;var n,a=o[B],i=he(o);if(a){if(!a.P&&(a.i<4||!dt("ES5").K(a)))return a.t;a.I=!0,n=ss(o,i),a.I=!1}else n=ss(o,i);return Qt(n,function(s,l){a&&Nd(a.t,s)===l||us(n,s,t(l))}),i===3?new Set(n):n}(r)}function ss(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return Jn(r)}function fs(){function r(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[B];return fr.get(u,s)},set:function(u){var h=this[B];fr.set(h,s,u)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][B];if(!d.P)switch(d.i){case 5:n(d)&&It(d);break;case 4:o(d)&&It(d)}}}function o(s){for(var l=s.t,d=s.k,u=fe(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==B){var g=l[f];if(g===void 0&&!pe(l,f))return!0;var m=d[f],b=m&&m[B];if(b?b.t!==g:!ps(m,g))return!0}}var S=!!l[B];return u.length!==fe(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&tt(3,JSON.stringify(Nt(s)))}var i={};Pd("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,g){if(f){for(var m=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(m,""+b,r(b,!0));return m}var S=ys(g);delete S[B];for(var w=fe(S),C=0;C<w.length;C++){var A=w[C];S[A]=r(A,f||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),h={i:d?5:4,A:l?l.A:Vn(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,B,{value:h,writable:!0}),u},S:function(s,l,d){d?bt(l)&&l[B].A===s&&t(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[B];if(f){var g=f.t,m=f.k,b=f.R,S=f.i;if(S===4)Qt(m,function(v){v!==B&&(g[v]!==void 0||pe(g,v)?b[v]||u(m[v]):(b[v]=!0,It(f)))}),Qt(g,function(v){m[v]!==void 0||pe(m,v)||(b[v]=!1,It(f))});else if(S===5){if(n(f)&&(It(f),b.length=!0),m.length<g.length)for(var w=m.length;w<g.length;w++)b[w]=!1;else for(var C=g.length;C<m.length;C++)b[C]=!0;for(var A=Math.min(m.length,g.length),O=0;O<A;O++)m.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&u(m[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var cs,pr,ta=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ld=typeof Map<"u",kd=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hs=ta?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),ds=ta?Symbol.for("immer-draftable"):"__$immer_draftable",B=ta?Symbol.for("immer-state"):"__$immer_state";var Fd=""+Object.prototype.constructor,fe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,ys=Object.getOwnPropertyDescriptors||function(r){var t={};return fe(r).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)}),t},Zn={},fr={get:function(r,t){if(t===B)return r;var o=Nt(r);if(!pe(o,t))return function(a,i,s){var l,d=is(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(r,o,t);var n=o[t];return r.I||!ot(n)?n:n===zn(r.t,t)?(jn(r),r.o[t]=Kn(r.A.h,n,r)):n},has:function(r,t){return t in Nt(r)},ownKeys:function(r){return Reflect.ownKeys(Nt(r))},set:function(r,t,o){var n=is(Nt(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=zn(Nt(r),t),i=a?.[B];if(i&&i.t===o)return r.o[t]=o,r.R[t]=!1,!0;if(ps(o,a)&&(o!==void 0||pe(r.t,t)))return!0;jn(r),It(r)}return r.o[t]===o&&(o!==void 0||t in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[t])||(r.o[t]=o,r.R[t]=!0),!0},deleteProperty:function(r,t){return zn(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,jn(r),It(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=Nt(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){tt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){tt(12)}},ur={};Qt(fr,function(r,t){ur[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ur.deleteProperty=function(r,t){return ur.set.call(this,r,t,void 0)},ur.set=function(r,t,o){return fr.set.call(this,r[0],t,o,r[0])};var $d=function(){function r(o){var n=this;this.O=ls,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(S){var w=this;S===void 0&&(S=l);for(var C=arguments.length,A=Array(C>1?C-1:0),O=1;O<C;O++)A[O-1]=arguments[O];return d.produce(S,function(v){var E;return(E=i).call.apply(E,[w,v].concat(A))})}}var u;if(typeof i!="function"&&tt(6),s!==void 0&&typeof s!="function"&&tt(7),ot(a)){var h=ns(n),f=Kn(n,a,void 0),g=!0;try{u=i(f),g=!1}finally{g?Kr(h):Gn(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return Wn(h,s),Hn(S,h)},function(S){throw Kr(h),S}):(Wn(h,s),Hn(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===hs&&(u=void 0),n.D&&Xn(u,!0),s){var m=[],b=[];dt("Patches").M(a,u,m,b),s(m,b)}return u}tt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(u,function(m){return a.apply(void 0,[m].concat(f))})};var s,l,d=n.produce(a,i,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=r.prototype;return t.createDraft=function(o){ot(o)||tt(8),bt(o)&&(o=Td(o));var n=ns(this),a=Kn(this,o,void 0);return a[B].C=!0,Gn(n),a},t.finishDraft=function(o,n){var a=o&&o[B],i=a.A;return Wn(i,n),Hn(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ls&&tt(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=dt("Patches").$;return bt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},r}(),Q=new $d,Ud=Q.produce,Mg=Q.produceWithPatches.bind(Q),Bg=Q.setAutoFreeze.bind(Q),Wg=Q.setUseProxies.bind(Q),Hg=Q.applyPatches.bind(Q),zg=Q.createDraft.bind(Q),jg=Q.finishDraft.bind(Q),Yr=Ud;function Pt(r){"@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(r)}function ea(r,t){if(Pt(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(Pt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function ra(r){var t=ea(r,"string");return Pt(t)==="symbol"?t:String(t)}function oa(r,t,o){return t=ra(t),t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function gs(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,n)}return o}function Jr(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?gs(Object(o),!0).forEach(function(n){oa(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):gs(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function K(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var ms=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),na=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xr={INIT:"@@redux/INIT"+na(),REPLACE:"@@redux/REPLACE"+na(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+na()}};function Dd(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function aa(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(K(1));return o(aa)(r,t)}if(typeof r!="function")throw new Error(K(2));var a=r,i=t,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(K(3));return i}function f(S){if(typeof S!="function")throw new Error(K(4));if(d)throw new Error(K(5));var w=!0;return u(),l.push(S),function(){if(w){if(d)throw new Error(K(6));w=!1,u();var A=l.indexOf(S);l.splice(A,1),s=null}}}function g(S){if(!Dd(S))throw new Error(K(7));if(typeof S.type>"u")throw new Error(K(8));if(d)throw new Error(K(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var w=s=l,C=0;C<w.length;C++){var A=w[C];A()}return S}function m(S){if(typeof S!="function")throw new Error(K(10));a=S,g({type:Xr.REPLACE})}function b(){var S,w=f;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(K(11));function O(){A.next&&A.next(h())}O();var v=w(O);return{unsubscribe:v}}},S[ms]=function(){return this},S}return g({type:Xr.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:m},n[ms]=b,n}function Md(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:Xr.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof o(void 0,{type:Xr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function bs(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var a=t[n];typeof r[a]=="function"&&(o[a]=r[a])}var i=Object.keys(o),s,l;try{Md(o)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var g=!1,m={},b=0;b<i.length;b++){var S=i[b],w=o[S],C=u[S],A=w(C,h);if(typeof A>"u"){var O=h&&h.type;throw new Error(K(14))}m[S]=A,g=g||A!==C}return g=g||i.length!==Object.keys(u).length,g?m:u}}function ye(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function xs(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(K(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=ye.apply(void 0,l)(a.dispatch),Jr(Jr({},a),{},{dispatch:i})}}}function vs(r){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,r):s(l)}}};return t}var Ss=vs();Ss.withExtraArgument=vs;var ia=Ss;var As=function(){var r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},r(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Bd=function(r,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(r,o)}catch(h){u=[6,h],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},ge=function(r,t){for(var o=0,n=t.length,a=r.length;o<n;o++,a++)r[a]=t[o];return r},Wd=Object.defineProperty,Hd=Object.defineProperties,zd=Object.getOwnPropertyDescriptors,Os=Object.getOwnPropertySymbols,jd=Object.prototype.hasOwnProperty,Vd=Object.prototype.propertyIsEnumerable,Es=function(r,t,o){return t in r?Wd(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},_t=function(r,t){for(var o in t||(t={}))jd.call(t,o)&&Es(r,o,t[o]);if(Os)for(var n=0,a=Os(t);n<a.length;n++){var o=a[n];Vd.call(t,o)&&Es(r,o,t[o])}return r},sa=function(r,t){return Hd(r,zd(t))},Gd=function(r,t,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(u){a(u)}},s=function(d){try{l(o.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(r,t)).next())})};var Kd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ye:ye.apply(null,arguments)},cm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Zd(r){if(typeof r!="object"||r===null)return!1;var t=Object.getPrototypeOf(r);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var qd=function(r){As(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,ge([void 0],o[0].concat(this)))):new(t.bind.apply(t,ge([void 0],o.concat(this))))},t}(Array),Yd=function(r){As(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,ge([void 0],o[0].concat(this)))):new(t.bind.apply(t,ge([void 0],o.concat(this))))},t}(Array);function da(r){return ot(r)?Yr(r,function(){}):r}function Jd(r){return typeof r=="boolean"}function Xd(){return function(t){return Qd(t)}}function Qd(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,a=n===void 0?!0:n,i=r.serializableCheck,s=i===void 0?!0:i,l=new qd;if(o&&(Jd(o)?l.push(ia):l.push(ia.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var u}return l}var ca=!0;function Rs(r){var t=Xd(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,d=l===void 0?!0:l,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,g=f===void 0?void 0:f,m;if(typeof a=="function")m=a;else if(Zd(a))m=bs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(t),!ca&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ca&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=xs.apply(void 0,b),w=ye;d&&(w=Kd(_t({trace:!ca},typeof d=="object"&&d)));var C=new Yd(S),A=C;Array.isArray(g)?A=ge([S],g):typeof g=="function"&&(A=g(C));var O=w.apply(void 0,A);return aa(m,h,O)}function Tt(r,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return _t(_t({type:r,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function Ns(r){var t={},o=[],n,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 o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return r(a),[t,o,n]}function tu(r){return typeof r=="function"}function eu(r,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Ns(t):[t,o,n],i=a[0],s=a[1],l=a[2],d;if(tu(r))d=function(){return da(r())};else{var u=da(r);d=function(){return u}}function h(f,g){f===void 0&&(f=d());var m=ge([i[g.type]],s.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return m.filter(function(b){return!!b}).length===0&&(m=[l]),m.reduce(function(b,S){if(S)if(bt(b)){var w=b,C=S(w,g);return C===void 0?b:C}else{if(ot(b))return Yr(b,function(A){return S(A,g)});var C=S(b,g);if(C===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return b},f)}return h.getInitialState=d,h}function ru(r,t){return r+"/"+t}function Is(r){var t=r.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:da(r.initialState),n=r.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],g=ru(t,h),m,b;"reducer"in f?(m=f.reducer,b=f.prepare):m=f,i[h]=m,s[g]=m,l[h]=b?Tt(g,b):Tt(g)});function d(){var h=typeof r.extraReducers=="function"?Ns(r.extraReducers):[r.extraReducers],f=h[0],g=f===void 0?{}:f,m=h[1],b=m===void 0?[]:m,S=h[2],w=S===void 0?void 0:S,C=_t(_t({},g),s);return eu(o,function(A){for(var O in C)A.addCase(O,C[O]);for(var v=0,E=b;v<E.length;v++){var R=E[v];A.addMatcher(R.matcher,R.reducer)}w&&A.addDefaultCase(w)})}var u;return{name:t,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var ou="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",nu=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=ou[Math.random()*64|0];return t},au=["name","message","stack","code"],la=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),ws=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),iu=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=au;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(t[a]=r[a])}return t}return{message:String(r)}},pm=function(){function r(t,o,n){var a=Tt(t+"/fulfilled",function(h,f,g,m){return{payload:h,meta:sa(_t({},m||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=Tt(t+"/pending",function(h,f,g){return{payload:void 0,meta:sa(_t({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Tt(t+"/rejected",function(h,f,g,m,b){return{payload:m,error:(n&&n.serializeError||iu)(h||"Rejected"),meta:sa(_t({},b||{}),{arg:g,requestId:f,rejectedWithValue:!!m,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 u(h){return function(f,g,m){var b=n?.idGenerator?n.idGenerator(h):nu(),S=new d,w,C=!1;function A(v){w=v,S.abort()}var O=function(){return Gd(this,null,function(){var v,E,R,_,F,k,I;return Bd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),_=(v=n?.condition)==null?void 0:v.call(n,h,{getState:g,extra:m}),cu(_)?[4,_]:[3,2];case 1:_=y.sent(),y.label=2;case 2:if(_===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,F=new Promise(function(x,N){return S.signal.addEventListener("abort",function(){return N({name:"AbortError",message:w||"Aborted"})})}),f(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:m}))),[4,Promise.race([F,Promise.resolve(o(h,{dispatch:f,getState:g,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(x,N){return new la(x,N)},fulfillWithValue:function(x,N){return new ws(x,N)}})).then(function(x){if(x instanceof la)throw x;return x instanceof ws?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return R=y.sent(),[3,5];case 4:return k=y.sent(),R=k instanceof la?s(null,b,h,k.payload,k.meta):s(k,b,h),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,I||f(R),[2,R]}})})}();return Object.assign(O,{abort:A,requestId:b,arg:h,unwrap:function(){return O.then(su)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return r.withTypes=function(){return r},r}();function su(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function cu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ps="listener",_s="completed",Ts="cancelled",fm="task-"+Ts,hm="task-"+_s,ym=Ps+"-"+Ts,gm=Ps+"-"+_s;var ua="listenerMiddleware";var mm=Tt(ua+"/add"),bm=Tt(ua+"/removeAll"),xm=Tt(ua+"/remove");var Cs,vm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Cs||(Cs=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},lu=function(r){return function(t){setTimeout(t,r)}},Sm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:lu(10);fs();window.ftReduxStores||(window.ftReduxStores={});var pa=class r extends Kt{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Jt(i))return i;if(a==null)return;let s=Is({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Rs({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[a.name]=new r(s,l)}constructor(t,o){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new dr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}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 du(){var r;for(let t of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Jt(t)&&t.clear()}var ga={};D(ga,{scrollHelper:()=>uu});var ha,Qr=new Map,ya=class{lock(t,o){if(o){let n=Qr.get(o);if(n==null||n===t)return Qr.set(o,t),o}}release(t,o){o&&Qr.get(o)===t&&Qr.delete(o)}findFirstScrollableParent(t){let o,n=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let u=d,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&l==null&&(l=u)}o=(i=s??l)!==null&&i!==void 0?i:document.body};return t.addEventListener("find-scrollable-parent",n),t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),t.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){let n=0;for(;o&&o.offsetParent!==t.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=qe(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(ha=window.FluidTopicsScrollHelper)!==null&&ha!==void 0?ha:new ya;var uu=window.FluidTopicsScrollHelper;var ma={};D(ma,{shadowQuerySelector:()=>pu,shadowQuerySelectorAll:()=>fu});function pu(r,t,...o){var n;let a=r.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function fu(r,t,...o){let n=[...r.querySelectorAll(t)];for(let a of o)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var ba={};D(ba,{SearchPlaceConverter:()=>ro,SearchPlaceQueryParams:()=>M,isSearchPlaceQueryParams:()=>oc,serializeRequest:()=>gu});var hu=Pc(ks(),1);var Fs;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Fs||(Fs={}));var $s;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})($s||($s={}));var Us;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Us||(Us={}));var Ds;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(Ds||(Ds={}));var Ms;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Ms||(Ms={}));var Bs;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Bs||(Bs={}));var Ws;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Ws||(Ws={}));var Hs;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(Hs||(Hs={}));var zs;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(zs||(zs={}));var js;(function(r){r.ASC="ASC",r.DESC="DESC"})(js||(js={}));var Vs;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Vs||(Vs={}));var Gs;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Gs||(Gs={}));var Xs=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Ks;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Ks||(Ks={}));var Zs;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Zs||(Zs={}));var qs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(qs||(qs={}));var hr;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(hr||(hr={}));var Qs=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Ys;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Ys||(Ys={}));var Js;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Js||(Js={}));var V;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(V||(V={}));var tc;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(tc||(tc={}));var ec;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(ec||(ec={}));var Mm={[V.PERSONAL_BOOK_SHARE_USER]:[V.PERSONAL_BOOK_USER],[V.HTML_EXPORT_USER]:[V.PERSONAL_BOOK_USER],[V.PDF_EXPORT_USER]:[V.PERSONAL_BOOK_USER],[V.KHUB_ADMIN]:[V.CONTENT_PUBLISHER],[V.ADMIN]:[V.KHUB_ADMIN,V.USERS_ADMIN,V.PORTAL_ADMIN],[V.DEVELOPER]:[V.BETA_USER,V.DEBUG_USER]};function yu(r){return`"${r}"`}function rc(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function gu(r,t){return new ro(r).serialize(t)}var M;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(M||(M={}));var mu=new Set(Object.values(M));function oc(r){return mu.has(r)}var ro=class{constructor(t,o={},n=20,a=!1,i="en-US"){this.baseUrl=t,this.predefinedSorts=o,this.defaultPerPage=n,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,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).toString(),a=o==null||o.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=n,i.toString()}toURLSearchParams(t,o=!1){var n,a,i,s,l,d,u,h,f,g,m,b;let S=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&S.append(M.LOCALE,t.contentLocale):S.append(M.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&S.append(M.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&S.append(M.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&S.append(M.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((a=t.sort)===null||a===void 0?void 0:a.length)>0&&t.sort[0].key==="ft:lastEdition"&&S.append(M.SORT,"last_update");let w=(s=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(w.length>0){let v=w.map(E=>{var R,_;let F=((_=(R=E.valueFilter)===null||R===void 0?void 0:R.values)!==null&&_!==void 0?_:[]).map(k=>this.escapeFilters(k)).map(k=>encodeURIComponent(yu(rc(k)))).join("_");return`${E.key}~${F}`}).join("*");S.append(M.VALUE_FILTERS,v)}let C=(d=(l=t.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(C.length>0){let v=C.map(E=>{var R;return`${E.key}~${(R=E.dateFilter)===null||R===void 0?void 0:R.type.toLowerCase()}`}).join("*");S.append(M.DATE_FILTERS,v)}let A=(h=(u=t.metadataFilters)===null||u===void 0?void 0:u.filter(v=>v.rangeFilter))!==null&&h!==void 0?h:[];if(A.length>0){let v=A.map(E=>{var R,_;return`${E.key}~${(R=E.rangeFilter)===null||R===void 0?void 0:R.from}_${(_=E.rangeFilter)===null||_===void 0?void 0:_.to}`}).join("*");S.append(M.RANGE_FILTERS,v)}let O=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let v in O)S.append(v,O[v]);return!((g=t.paging)===null||g===void 0)&&g.perPage&&((b=(m=t.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(M.PER_PAGE,String(t.paging.perPage)),S}parse(t){var o;let n=t.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(t){var o,n,a,i,s,l,d,u;let h=t.get(M.LOCALE)==="all"?void 0:t.get(M.LOCALE),f=((o=t.get(M.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),g=((n=t.get(M.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),m=(a=t.get(M.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=t.get(M.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let w of t.keys())oc(w)||(S[w]=t.get(w));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(M.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Xs(f)?f:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:qe(1,isNaN(b)?this.defaultPerPage:b,40)},otherQueryParams:S}}parseCompatFilters(t){var o,n,a,i,s,l;let d=[];return t.has(M.FILTERS)&&(d=this.parseValueFilters((o=t.get(M.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(M.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(M.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(M.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(M.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(M.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(rc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:hr[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replace(a,o);return t}parseLegacyPeriodFilter(t){if(Qs(t))return[{key:"ft:lastEdition",dateFilter:{type:hr[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var xa={};D(xa,{toFtFormComponent:()=>bu});var oo=Symbol("elementInternals");function bu(r,t){class o extends r{static get formAssociated(){return!0}get form(){return this[oo].form}constructor(...a){super(a),this[oo]=this.attachInternals(),this[oo].role=t}setFormValue(a){this[oo].setFormValue(a)}}return o}var Sa={};D(Sa,{DateFormatter:()=>va});var va=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,a)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var Oa,Ea,wa,Ca,xu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wa=(Ea=(Oa=window.safari)===null||Oa===void 0?void 0:Oa.pushNotification)===null||Ea===void 0?void 0:Ea.toString())!==null&&wa!==void 0?wa:"")==="[object SafariRemoteNotification]",vu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ca=window.ftGlobals)!==null&&Ca!==void 0?Ca:{lit:vo,litDecorators:Oo,litRepeat:Eo,litClassMap:wo,litStyleMap:Co,litUnsafeHTML:Ao,wcUtils:{...ko,...No,...$o,...Sa,...Uo,...Bo,...gn,...To,..._n,...yn,...Fn,...Ln,...Xi,...Do,...Un,...Dn,...ts,...Bn,...fa,...Tn,...ga,...ma,...ba,...xa,isSafari:xu,isTouchScreen:vu,setVariable:Mr}};var ac=Symbol.for(""),Su=r=>{if(r?.r===ac)return r?._$litStatic$},Aa=r=>({_$litStatic$:r,r:ac});var nc=new Map,ic=r=>(t,...o)=>{let n=o.length,a,i,s=[],l=[],d,u=0,h=!1;for(;u<n;){for(d=t[u];u<n&&(i=o[u],(a=Su(i))!==void 0);)d+=a+t[++u],h=!0;u!==n&&l.push(i),s.push(d),u++}if(u===n&&s.push(t[n]),h){let f=s.join("$$lit$$");(t=nc.get(f))===void 0&&(s.raw=s,nc.set(f,t=s)),o=l}return r(t,...o)},Ra=ic(ja),Ab=ic(Va);var no;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(no||(no={}));function sc(r){let t=Je[r];return U`
51
51
  .ft-typography--${Wt(r)} {
52
52
  font-family: ${t.fontFamily};
53
53
  font-size: ${t.fontSize};
@@ -56,7 +56,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
56
56
  line-height: ${t.lineHeight};
57
57
  text-transform: ${t.textCase};
58
58
  }
59
- `}var sc=e.extend("--ft-typography-font-family","",ie.titleFont),xt=e.extend("--ft-typography-font-family","",ie.contentFont),P={fontFamily:xt,fontSize:e.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.create("--ft-typography-text-transform","","UNKNOWN","inherit")},be={fontFamily:e.extend("--ft-typography-title-font-family","",sc),fontSize:e.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:e.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:e.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:e.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},xe={fontFamily:e.extend("--ft-typography-title-dense-font-family","",sc),fontSize:e.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:e.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:e.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:e.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},ve={fontFamily:e.extend("--ft-typography-subtitle1-font-family","",xt),fontSize:e.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:e.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:e.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:e.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:e.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},Se={fontFamily:e.extend("--ft-typography-subtitle2-font-family","",xt),fontSize:e.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:e.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:e.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:e.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},Oe={fontFamily:e.extend("--ft-typography-body1-font-family","",xt),fontSize:e.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:e.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:e.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:e.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},Ee={fontFamily:e.extend("--ft-typography-body2-font-family","",xt),fontSize:e.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:e.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:e.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:e.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},we={fontFamily:e.extend("--ft-typography-caption-font-family","",xt),fontSize:e.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:e.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:e.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:e.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},Ce={fontFamily:e.extend("--ft-typography-breadcrumb-font-family","",xt),fontSize:e.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:e.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:e.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:e.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},Ae={fontFamily:e.extend("--ft-typography-overline-font-family","",xt),fontSize:e.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:e.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:e.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:e.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},Re={fontFamily:e.extend("--ft-typography-button-font-family","",xt),fontSize:e.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:e.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:e.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:e.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:e.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},cc=U`
59
+ `}var cc=e.extend("--ft-typography-font-family","",ie.titleFont),xt=e.extend("--ft-typography-font-family","",ie.contentFont),P={fontFamily:xt,fontSize:e.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.create("--ft-typography-text-transform","","UNKNOWN","inherit")},be={fontFamily:e.extend("--ft-typography-title-font-family","",cc),fontSize:e.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:e.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:e.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:e.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},xe={fontFamily:e.extend("--ft-typography-title-dense-font-family","",cc),fontSize:e.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:e.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:e.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:e.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},ve={fontFamily:e.extend("--ft-typography-subtitle1-font-family","",xt),fontSize:e.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:e.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:e.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:e.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:e.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},Se={fontFamily:e.extend("--ft-typography-subtitle2-font-family","",xt),fontSize:e.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:e.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:e.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:e.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},Oe={fontFamily:e.extend("--ft-typography-body1-font-family","",xt),fontSize:e.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:e.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:e.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:e.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},Ee={fontFamily:e.extend("--ft-typography-body2-font-family","",xt),fontSize:e.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:e.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:e.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:e.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},we={fontFamily:e.extend("--ft-typography-caption-font-family","",xt),fontSize:e.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:e.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:e.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:e.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},Ce={fontFamily:e.extend("--ft-typography-breadcrumb-font-family","",xt),fontSize:e.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:e.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:e.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:e.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},Ae={fontFamily:e.extend("--ft-typography-overline-font-family","",xt),fontSize:e.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:e.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:e.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:e.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:e.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},Re={fontFamily:e.extend("--ft-typography-button-font-family","",xt),fontSize:e.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:e.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:e.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:e.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:e.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},lc=U`
60
60
  .ft-typography--title {
61
61
  font-family: ${be.fontFamily};
62
62
  font-size: ${be.fontSize};
@@ -65,7 +65,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
65
65
  line-height: ${be.lineHeight};
66
66
  text-transform: ${be.textTransform};
67
67
  }
68
- `,lc=U`
68
+ `,dc=U`
69
69
  .ft-typography--title-dense {
70
70
  font-family: ${xe.fontFamily};
71
71
  font-size: ${xe.fontSize};
@@ -74,7 +74,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
74
74
  line-height: ${xe.lineHeight};
75
75
  text-transform: ${xe.textTransform};
76
76
  }
77
- `,dc=U`
77
+ `,uc=U`
78
78
  .ft-typography--subtitle1 {
79
79
  font-family: ${ve.fontFamily};
80
80
  font-size: ${ve.fontSize};
@@ -83,7 +83,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
83
83
  line-height: ${ve.lineHeight};
84
84
  text-transform: ${ve.textTransform};
85
85
  }
86
- `,uc=U`
86
+ `,pc=U`
87
87
  .ft-typography--subtitle2 {
88
88
  font-family: ${Se.fontFamily};
89
89
  font-size: ${Se.fontSize};
@@ -93,7 +93,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
93
93
  text-transform: ${Se.textTransform};
94
94
  }
95
95
 
96
- `,pc=U`
96
+ `,fc=U`
97
97
  .ft-typography--body1 {
98
98
  font-family: ${Oe.fontFamily};
99
99
  font-size: ${Oe.fontSize};
@@ -102,7 +102,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
102
102
  line-height: ${Oe.lineHeight};
103
103
  text-transform: ${Oe.textTransform};
104
104
  }
105
- `,fc=U`
105
+ `,hc=U`
106
106
  .ft-typography--body2 {
107
107
  font-family: ${Ee.fontFamily};
108
108
  font-size: ${Ee.fontSize};
@@ -111,7 +111,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
111
111
  line-height: ${Ee.lineHeight};
112
112
  text-transform: ${Ee.textTransform};
113
113
  }
114
- `,hc=U`
114
+ `,yc=U`
115
115
  .ft-typography--caption {
116
116
  font-family: ${we.fontFamily};
117
117
  font-size: ${we.fontSize};
@@ -120,7 +120,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
120
120
  line-height: ${we.lineHeight};
121
121
  text-transform: ${we.textTransform};
122
122
  }
123
- `,yc=U`
123
+ `,gc=U`
124
124
  .ft-typography--breadcrumb {
125
125
  font-family: ${Ce.fontFamily};
126
126
  font-size: ${Ce.fontSize};
@@ -129,7 +129,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
129
129
  line-height: ${Ce.lineHeight};
130
130
  text-transform: ${Ce.textTransform};
131
131
  }
132
- `,gc=U`
132
+ `,mc=U`
133
133
  .ft-typography--overline {
134
134
  font-family: ${Ae.fontFamily};
135
135
  font-size: ${Ae.fontSize};
@@ -138,7 +138,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
138
138
  line-height: ${Ae.lineHeight};
139
139
  text-transform: ${Ae.textTransform};
140
140
  }
141
- `,mc=U`
141
+ `,bc=U`
142
142
  .ft-typography--button {
143
143
  font-family: ${Re.fontFamily};
144
144
  font-size: ${Re.fontSize};
@@ -147,11 +147,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
147
147
  line-height: ${Re.lineHeight};
148
148
  text-transform: ${Re.textTransform};
149
149
  }
150
- `,bc=U`
150
+ `,xc=U`
151
151
  .ft-typography {
152
152
  vertical-align: inherit;
153
153
  }
154
- `,xc=[Object.keys(Je).map(r=>ic(r))];var vc=function(r,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,t,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},vt=class extends Z{constructor(){super(...arguments),this.variant=no.body1}render(){return this.element?Ra`
154
+ `,vc=[Object.keys(Je).map(r=>sc(r))];var Sc=function(r,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,t,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},vt=class extends Z{constructor(){super(...arguments),this.variant=no.body1}render(){return this.element?Ra`
155
155
  <${Aa(this.element)}
156
156
  part="text"
157
157
  class="ft-typography ft-typography--${this.variant}">
@@ -159,7 +159,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
159
159
  </${Aa(this.element)}>
160
160
  `:Ra`
161
161
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
162
- `}};vt.styles=[cc,lc,dc,uc,pc,fc,hc,yc,gc,mc,bc,...xc];vc([W()],vt.prototype,"element",void 0);vc([W()],vt.prototype,"variant",void 0);Ye("ft-typography")(vt);var Ne={distance:e.create("--ft-tooltip-distance","","SIZE","4px"),color:e.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:e.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:e.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:e.external(ie.borderRadiusS,"Design system"),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","150px")},Sc=U`
162
+ `}};vt.styles=[lc,dc,uc,pc,fc,hc,yc,gc,mc,bc,xc,...vc];Sc([W()],vt.prototype,"element",void 0);Sc([W()],vt.prototype,"variant",void 0);Ye("ft-typography")(vt);var Ne={distance:e.create("--ft-tooltip-distance","","SIZE","4px"),color:e.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:e.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:e.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:e.external(ie.borderRadiusS,"Design system"),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","150px")},Oc=U`
163
163
  .ft-tooltip--container {
164
164
  display: block;
165
165
  }
@@ -206,7 +206,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
206
206
  </div>
207
207
  </div>
208
208
  </div>
209
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Pn(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};z.elementDefinitions={"ft-typography":vt};z.styles=Sc;Y([W()],z.prototype,"text",void 0);Y([W({type:Boolean})],z.prototype,"manual",void 0);Y([W({type:Boolean})],z.prototype,"inline",void 0);Y([W({type:Number})],z.prototype,"delay",void 0);Y([W()],z.prototype,"position",void 0);Y([So()],z.prototype,"slotNodes",void 0);Y([je(".ft-tooltip--container")],z.prototype,"container",void 0);Y([je(".ft-tooltip")],z.prototype,"tooltip",void 0);Y([je(".ft-tooltip--content")],z.prototype,"tooltipContent",void 0);Y([ze()],z.prototype,"visible",void 0);Y([re({passive:!0})],z.prototype,"onTouch",null);Y([re({passive:!0})],z.prototype,"onHover",null);Y([re({passive:!0})],z.prototype,"onOut",null);Y([re({passive:!0})],z.prototype,"onClick",null);Ye("ft-tooltip")(z);})();
209
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Pn(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};z.elementDefinitions={"ft-typography":vt};z.styles=Oc;Y([W()],z.prototype,"text",void 0);Y([W({type:Boolean})],z.prototype,"manual",void 0);Y([W({type:Boolean})],z.prototype,"inline",void 0);Y([W({type:Number})],z.prototype,"delay",void 0);Y([W()],z.prototype,"position",void 0);Y([So()],z.prototype,"slotNodes",void 0);Y([je(".ft-tooltip--container")],z.prototype,"container",void 0);Y([je(".ft-tooltip")],z.prototype,"tooltip",void 0);Y([je(".ft-tooltip--content")],z.prototype,"tooltipContent",void 0);Y([ze()],z.prototype,"visible",void 0);Y([re({passive:!0})],z.prototype,"onTouch",null);Y([re({passive:!0})],z.prototype,"onHover",null);Y([re({passive:!0})],z.prototype,"onOut",null);Y([re({passive:!0})],z.prototype,"onClick",null);Ye("ft-tooltip")(z);})();
210
210
  /*! Bundled license information:
211
211
 
212
212
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: