@fluid-topics/ft-loader 1.2.9 → 1.2.11

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 ks=Object.create;var $r=Object.defineProperty;var Fs=Object.getOwnPropertyDescriptor;var Us=Object.getOwnPropertyNames;var Ds=Object.getPrototypeOf,$s=Object.prototype.hasOwnProperty;var Ms=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),U=(r,e)=>{for(var o in e)$r(r,o,{get:e[o],enumerable:!0})},Bs=(r,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Us(e))!$s.call(r,a)&&a!==o&&$r(r,a,{get:()=>e[a],enumerable:!(n=Fs(e,a))||n.enumerable});return r};var Ws=(r,e,o)=>(o=r!=null?ks(Ds(r)):{},Bs(e||!r||!r.__esModule?$r(o,"default",{value:r,enumerable:!0}):o,r));var ds=Ms((Re,ls)=>{var Tr=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,kr=function(){function r(){this.fetch=!1,this.DOMException=Tr.DOMException}return r.prototype=Tr,new r}();(function(r){var e=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]"],d=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function l(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 p(y){this.map={},y instanceof p?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)}p.prototype.append=function(y,x){y=l(y),x=u(x);var N=this.map[y];this.map[y]=N?N+", "+x:x},p.prototype.delete=function(y){delete this.map[l(y)]},p.prototype.get=function(y){return y=l(y),this.has(y)?this.map[y]:null},p.prototype.has=function(y){return this.map.hasOwnProperty(l(y))},p.prototype.set=function(y,x){this.map[l(y)]=u(x)},p.prototype.forEach=function(y,x){for(var N in this.map)this.map.hasOwnProperty(N)&&y.call(x,this.map[N],N,this)},p.prototype.keys=function(){var y=[];return this.forEach(function(x,N){y.push(N)}),h(y)},p.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),h(y)},p.prototype.entries=function(){var y=[];return this.forEach(function(x,N){y.push([N,x])}),h(y)},a.iterable&&(p.prototype[Symbol.iterator]=p.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),F=L?L[1]:"utf-8";return x.readAsText(y,F),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)||d(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 p(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 p(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 _=new AbortController;return _.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 F=/\?/;this.url+=(F.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("="),F=L.shift().replace(/\+/g," "),_=L.join("=").replace(/\+/g," ");x.append(decodeURIComponent(F),decodeURIComponent(_))}}),x}function P(y){var x=new p,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 F=L.split(":"),_=F.shift().trim();if(_){var te=F.join(":").trim();try{x.append(_,te)}catch(lt){console.warn("Response "+lt.message)}}}),x}A.call(E.prototype);function k(y,x){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new p(x.headers),this.url=x.url||"",this._initBody(y)}A.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},k.error=function(){var y=new k(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var T=[301,302,303,307,308];k.redirect=function(y,x){if(T.indexOf(x)===-1)throw new RangeError("Invalid status code");return new k(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 F=new E(y,x);if(F.signal&&F.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var _=new XMLHttpRequest;function te(){_.abort()}_.onload=function(){var z={statusText:_.statusText,headers:P(_.getAllResponseHeaders()||"")};F.url.indexOf("file://")===0&&(_.status<200||_.status>599)?z.status=200:z.status=_.status,z.url="responseURL"in _?_.responseURL:z.headers.get("X-Request-URL");var Ne="response"in _?_.response:_.responseText;setTimeout(function(){N(new k(Ne,z))},0)},_.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},_.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request timed out"))},0)},_.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function lt(z){try{return z===""&&n.location.href?n.location.href:z}catch{return z}}if(_.open(F.method,lt(F.url),!0),F.credentials==="include"?_.withCredentials=!0:F.credentials==="omit"&&(_.withCredentials=!1),"responseType"in _&&(a.blob?_.responseType="blob":a.arrayBuffer&&(_.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||n.Headers&&x.headers instanceof n.Headers)){var Fn=[];Object.getOwnPropertyNames(x.headers).forEach(function(z){Fn.push(l(z)),_.setRequestHeader(z,u(x.headers[z]))}),F.headers.forEach(function(z,Ne){Fn.indexOf(Ne)===-1&&_.setRequestHeader(Ne,z)})}else F.headers.forEach(function(z,Ne){_.setRequestHeader(Ne,z)});F.signal&&(F.signal.addEventListener("abort",te),_.onreadystatechange=function(){_.readyState===4&&F.signal.removeEventListener("abort",te)}),_.send(typeof F._bodyInit>"u"?null:F._bodyInit)})}return I.polyfill=!0,n.fetch||(n.fetch=I,n.Headers=p,n.Request=E,n.Response=k),o.Headers=p,o.Request=E,o.Response=k,o.fetch=I,o}({})})(kr);kr.fetch.ponyfill=!0;delete kr.fetch.polyfill;var ct=Tr.fetch?Tr:kr;Re=ct.fetch;Re.default=ct.fetch;Re.fetch=ct.fetch;Re.Headers=ct.Headers;Re.Request=ct.Request;Re.Response=ct.Response;ls.exports=Re});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,d=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 P={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,P),this._definitionsByClass.set(v,P);let k=o.call(n,O);k||(k=p(O),e.call(n,O,k)),this===window.customElements&&(s.set(v,P),P.standInClass=k);let T=this._awaitingUpgrade.get(O);if(T){this._awaitingUpgrade.delete(O);for(let y of T)i.delete(y),b(y,P,!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 l;window.HTMLElement=function(){let v=l;if(v)return l=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=d.get(v)?.getRootNode()||document)}return v.customElements},p=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,P=R._getDefinition(O);return P?b(E,P):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(T,I){let y=T.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 P=O.prototype.removeAttribute;P&&(O.prototype.removeAttribute=function(T){let I=T.toLowerCase();if(v.has(I)){let y=this.getAttribute(I);P.call(this,I),E.call(this,I,y,null)}else P.call(this,I)});let k=O.prototype.toggleAttribute;k&&(O.prototype.toggleAttribute=function(T,I){let y=T.toLowerCase();if(v.has(y)){let x=this.getAttribute(y);k.call(this,y,I);let N=this.getAttribute(y);E.call(this,y,x,N)}else k.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),l=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 P=R.apply(E||this,arguments);return P!==void 0&&d.set(P,this),w.pop(),P}};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(...T){let I=v.call(this,...T);return O.set(I,this),I},E.forEach(T=>{let I=window.ElementInternals.prototype,y=I[T];I[T]=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 P{constructor(I){let y=new Map;I.forEach((x,N)=>{let L=x.getAttribute("name"),F=y.get(L)||[];this[+N]=x,F.push(x),y.set(L,F)}),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 k=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let T=k.get.call(this,[]),I=[];for(let y of T){let x=a.get(y);(!x||x.formAssociated===!0)&&I.push(y)}return new P(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{e.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var Xr={};U(Xr,{CSSResult:()=>Ke,LitElement:()=>de,ReactiveElement:()=>re,_$LE:()=>uc,_$LH:()=>cc,adoptStyles:()=>cr,css:()=>W,defaultConverter:()=>lr,getCompatibleStyle:()=>bt,html:()=>Yr,isServer:()=>au,noChange:()=>ge,notEqual:()=>Gr,nothing:()=>B,render:()=>Jr,supportsAdoptingStyleSheets:()=>gt,svg:()=>sc,unsafeCSS:()=>mt});var Zt=globalThis,Yt=Zt.ShadowRoot&&(Zt.ShadyCSS===void 0||Zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Dn=Symbol(),Un=new WeakMap,qt=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Dn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Yt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Un.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Un.set(o,e))}return e}toString(){return this.cssText}},$n=r=>new qt(typeof r=="string"?r:r+"",void 0,Dn);var Mr=(r,e)=>{if(Yt)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=Zt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},Jt=Yt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return $n(o)})(r):r;var{is:Hs,defineProperty:zs,getOwnPropertyDescriptor:js,getOwnPropertyNames:Gs,getOwnPropertySymbols:Vs,getPrototypeOf:Ks}=Object,Xt=globalThis,Mn=Xt.trustedTypes,Zs=Mn?Mn.emptyScript:"",qs=Xt.reactiveElementPolyfillSupport,dt=(r,e)=>r,ut={toAttribute(r,e){switch(e){case Boolean:r=r?Zs:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let o=r;switch(e){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}},Qt=(r,e)=>!Hs(r,e),Bn={attribute:!0,type:String,converter:ut,reflect:!1,hasChanged:Qt};Symbol.metadata??=Symbol("metadata"),Xt.litPropertyMetadata??=new WeakMap;var Ie=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Bn){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&zs(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=js(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let d=a?.call(this);i.call(this,s),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Bn}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=Ks(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let o=this.properties,n=[...Gs(o),...Vs(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);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(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(Jt(a))}else e!==void 0&&o.push(Jt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:ut).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);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:ut;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Qt)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let 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 e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};Ie.elementStyles=[],Ie.shadowRootOptions={mode:"open"},Ie[dt("elementProperties")]=new Map,Ie[dt("finalized")]=new Map,qs?.({ReactiveElement:Ie}),(Xt.reactiveElementVersions??=[]).push("2.0.2");var Wr=globalThis,er=Wr.trustedTypes,Wn=er?er.createPolicy("lit-html",{createHTML:r=>r}):void 0,Hr="$lit$",ce=`lit$${(Math.random()+"").slice(9)}$`,zr="?"+ce,Ys=`<${zr}>`,Le=document,tr=()=>Le.createComment(""),pt=r=>r===null||typeof r!="object"&&typeof r!="function",Kn=Array.isArray,Zn=r=>Kn(r)||typeof r?.[Symbol.iterator]=="function",Br=`[
1
+ "use strict";(()=>{var Fs=Object.create;var Mr=Object.defineProperty;var Us=Object.getOwnPropertyDescriptor;var Ds=Object.getOwnPropertyNames;var Ms=Object.getPrototypeOf,$s=Object.prototype.hasOwnProperty;var Bs=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),U=(r,e)=>{for(var o in e)Mr(r,o,{get:e[o],enumerable:!0})},Ws=(r,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Ds(e))!$s.call(r,a)&&a!==o&&Mr(r,a,{get:()=>e[a],enumerable:!(n=Us(e,a))||n.enumerable});return r};var Hs=(r,e,o)=>(o=r!=null?Fs(Ms(r)):{},Ws(e||!r||!r.__esModule?Mr(o,"default",{value:r,enumerable:!0}):o,r));var ds=Bs((Re,ls)=>{var Tr=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,kr=function(){function r(){this.fetch=!1,this.DOMException=Tr.DOMException}return r.prototype=Tr,new r}();(function(r){var e=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]"],d=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function l(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 p(y){this.map={},y instanceof p?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)}p.prototype.append=function(y,x){y=l(y),x=u(x);var N=this.map[y];this.map[y]=N?N+", "+x:x},p.prototype.delete=function(y){delete this.map[l(y)]},p.prototype.get=function(y){return y=l(y),this.has(y)?this.map[y]:null},p.prototype.has=function(y){return this.map.hasOwnProperty(l(y))},p.prototype.set=function(y,x){this.map[l(y)]=u(x)},p.prototype.forEach=function(y,x){for(var N in this.map)this.map.hasOwnProperty(N)&&y.call(x,this.map[N],N,this)},p.prototype.keys=function(){var y=[];return this.forEach(function(x,N){y.push(N)}),h(y)},p.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),h(y)},p.prototype.entries=function(){var y=[];return this.forEach(function(x,N){y.push([N,x])}),h(y)},a.iterable&&(p.prototype[Symbol.iterator]=p.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),F=L?L[1]:"utf-8";return x.readAsText(y,F),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)||d(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 p(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 p(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 _=new AbortController;return _.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 F=/\?/;this.url+=(F.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("="),F=L.shift().replace(/\+/g," "),_=L.join("=").replace(/\+/g," ");x.append(decodeURIComponent(F),decodeURIComponent(_))}}),x}function P(y){var x=new p,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 F=L.split(":"),_=F.shift().trim();if(_){var te=F.join(":").trim();try{x.append(_,te)}catch(lt){console.warn("Response "+lt.message)}}}),x}A.call(E.prototype);function k(y,x){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new p(x.headers),this.url=x.url||"",this._initBody(y)}A.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},k.error=function(){var y=new k(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var T=[301,302,303,307,308];k.redirect=function(y,x){if(T.indexOf(x)===-1)throw new RangeError("Invalid status code");return new k(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 F=new E(y,x);if(F.signal&&F.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var _=new XMLHttpRequest;function te(){_.abort()}_.onload=function(){var z={statusText:_.statusText,headers:P(_.getAllResponseHeaders()||"")};F.url.indexOf("file://")===0&&(_.status<200||_.status>599)?z.status=200:z.status=_.status,z.url="responseURL"in _?_.responseURL:z.headers.get("X-Request-URL");var Ne="response"in _?_.response:_.responseText;setTimeout(function(){N(new k(Ne,z))},0)},_.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},_.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request timed out"))},0)},_.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function lt(z){try{return z===""&&n.location.href?n.location.href:z}catch{return z}}if(_.open(F.method,lt(F.url),!0),F.credentials==="include"?_.withCredentials=!0:F.credentials==="omit"&&(_.withCredentials=!1),"responseType"in _&&(a.blob?_.responseType="blob":a.arrayBuffer&&(_.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||n.Headers&&x.headers instanceof n.Headers)){var Fn=[];Object.getOwnPropertyNames(x.headers).forEach(function(z){Fn.push(l(z)),_.setRequestHeader(z,u(x.headers[z]))}),F.headers.forEach(function(z,Ne){Fn.indexOf(Ne)===-1&&_.setRequestHeader(Ne,z)})}else F.headers.forEach(function(z,Ne){_.setRequestHeader(Ne,z)});F.signal&&(F.signal.addEventListener("abort",te),_.onreadystatechange=function(){_.readyState===4&&F.signal.removeEventListener("abort",te)}),_.send(typeof F._bodyInit>"u"?null:F._bodyInit)})}return I.polyfill=!0,n.fetch||(n.fetch=I,n.Headers=p,n.Request=E,n.Response=k),o.Headers=p,o.Request=E,o.Response=k,o.fetch=I,o}({})})(kr);kr.fetch.ponyfill=!0;delete kr.fetch.polyfill;var ct=Tr.fetch?Tr:kr;Re=ct.fetch;Re.default=ct.fetch;Re.fetch=ct.fetch;Re.Headers=ct.Headers;Re.Request=ct.Request;Re.Response=ct.Response;ls.exports=Re});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,d=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 P={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,P),this._definitionsByClass.set(v,P);let k=o.call(n,O);k||(k=p(O),e.call(n,O,k)),this===window.customElements&&(s.set(v,P),P.standInClass=k);let T=this._awaitingUpgrade.get(O);if(T){this._awaitingUpgrade.delete(O);for(let y of T)i.delete(y),b(y,P,!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 l;window.HTMLElement=function(){let v=l;if(v)return l=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=d.get(v)?.getRootNode()||document)}return v.customElements},p=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,P=R._getDefinition(O);return P?b(E,P):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(T,I){let y=T.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 P=O.prototype.removeAttribute;P&&(O.prototype.removeAttribute=function(T){let I=T.toLowerCase();if(v.has(I)){let y=this.getAttribute(I);P.call(this,I),E.call(this,I,y,null)}else P.call(this,I)});let k=O.prototype.toggleAttribute;k&&(O.prototype.toggleAttribute=function(T,I){let y=T.toLowerCase();if(v.has(y)){let x=this.getAttribute(y);k.call(this,y,I);let N=this.getAttribute(y);E.call(this,y,x,N)}else k.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),l=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 P=R.apply(E||this,arguments);return P!==void 0&&d.set(P,this),w.pop(),P}};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(...T){let I=v.call(this,...T);return O.set(I,this),I},E.forEach(T=>{let I=window.ElementInternals.prototype,y=I[T];I[T]=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 P{constructor(I){let y=new Map;I.forEach((x,N)=>{let L=x.getAttribute("name"),F=y.get(L)||[];this[+N]=x,F.push(x),y.set(L,F)}),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 k=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let T=k.get.call(this,[]),I=[];for(let y of T){let x=a.get(y);(!x||x.formAssociated===!0)&&I.push(y)}return new P(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{e.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var Xr={};U(Xr,{CSSResult:()=>Ke,LitElement:()=>de,ReactiveElement:()=>re,_$LE:()=>fc,_$LH:()=>lc,adoptStyles:()=>cr,css:()=>W,defaultConverter:()=>lr,getCompatibleStyle:()=>bt,html:()=>Yr,isServer:()=>iu,noChange:()=>ge,notEqual:()=>Gr,nothing:()=>B,render:()=>Jr,supportsAdoptingStyleSheets:()=>gt,svg:()=>cc,unsafeCSS:()=>mt});var Zt=globalThis,Yt=Zt.ShadowRoot&&(Zt.ShadyCSS===void 0||Zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Dn=Symbol(),Un=new WeakMap,qt=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Dn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Yt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Un.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Un.set(o,e))}return e}toString(){return this.cssText}},Mn=r=>new qt(typeof r=="string"?r:r+"",void 0,Dn);var $r=(r,e)=>{if(Yt)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=Zt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},Jt=Yt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Mn(o)})(r):r;var{is:zs,defineProperty:js,getOwnPropertyDescriptor:Gs,getOwnPropertyNames:Vs,getOwnPropertySymbols:Ks,getPrototypeOf:Zs}=Object,Xt=globalThis,$n=Xt.trustedTypes,qs=$n?$n.emptyScript:"",Ys=Xt.reactiveElementPolyfillSupport,dt=(r,e)=>r,ut={toAttribute(r,e){switch(e){case Boolean:r=r?qs:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let o=r;switch(e){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}},Qt=(r,e)=>!zs(r,e),Bn={attribute:!0,type:String,converter:ut,reflect:!1,hasChanged:Qt};Symbol.metadata??=Symbol("metadata"),Xt.litPropertyMetadata??=new WeakMap;var Ie=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Bn){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&js(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=Gs(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let d=a?.call(this);i.call(this,s),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Bn}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=Zs(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let o=this.properties,n=[...Vs(o),...Ks(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);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(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(Jt(a))}else e!==void 0&&o.push(Jt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return $r(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:ut).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);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:ut;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Qt)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let 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 e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};Ie.elementStyles=[],Ie.shadowRootOptions={mode:"open"},Ie[dt("elementProperties")]=new Map,Ie[dt("finalized")]=new Map,Ys?.({ReactiveElement:Ie}),(Xt.reactiveElementVersions??=[]).push("2.0.2");var Wr=globalThis,er=Wr.trustedTypes,Wn=er?er.createPolicy("lit-html",{createHTML:r=>r}):void 0,Hr="$lit$",ce=`lit$${(Math.random()+"").slice(9)}$`,zr="?"+ce,Js=`<${zr}>`,Le=document,tr=()=>Le.createComment(""),pt=r=>r===null||typeof r!="object"&&typeof r!="function",Kn=Array.isArray,Zn=r=>Kn(r)||typeof r?.[Symbol.iterator]=="function",Br=`[
3
3
  \f\r]`,ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Hn=/-->/g,zn=/>/g,Pe=RegExp(`>|${Br}(?:([^\\s"'>=/]+)(${Br}*=${Br}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),jn=/'/g,Gn=/"/g,qn=/^(?:script|style|textarea|title)$/i,Yn=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),Vd=Yn(1),Kd=Yn(2),K=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Vn=new WeakMap,_e=Le.createTreeWalker(Le,129);function Jn(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wn!==void 0?Wn.createHTML(e):e}var Xn=(r,e)=>{let o=r.length-1,n=[],a,i=e===2?"<svg>":"",s=ft;for(let d=0;d<o;d++){let l=r[d],u,h,p=-1,g=0;for(;g<l.length&&(s.lastIndex=g,h=s.exec(l),h!==null);)g=s.lastIndex,s===ft?h[1]==="!--"?s=Hn:h[1]!==void 0?s=zn:h[2]!==void 0?(qn.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Pe):h[3]!==void 0&&(s=Pe):s===Pe?h[0]===">"?(s=a??ft,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Pe:h[3]==='"'?Gn:jn):s===Gn||s===jn?s=Pe:s===Hn||s===zn?s=ft:(s=Pe,a=void 0);let m=s===Pe&&r[d+1].startsWith("/>")?" ":"";i+=s===ft?l+Ys:p>=0?(n.push(u),l.slice(0,p)+Hr+l.slice(p)+ce+m):l+ce+(p===-2?d:m)}return[Jn(r,i+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},ht=class r{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,d=e.length-1,l=this.parts,[u,h]=Xn(e,o);if(this.el=r.createElement(u,n),_e.currentNode=this.el.content,o===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=_e.nextNode())!==null&&l.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Hr)){let g=h[s++],m=a.getAttribute(p).split(ce),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?or:b[1]==="?"?nr:b[1]==="@"?ar:ke}),a.removeAttribute(p)}else p.startsWith(ce)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(qn.test(a.tagName)){let p=a.textContent.split(ce),g=p.length-1;if(g>0){a.textContent=er?er.emptyScript:"";for(let m=0;m<g;m++)a.append(p[m],tr()),_e.nextNode(),l.push({type:2,index:++i});a.append(p[g],tr())}}}else if(a.nodeType===8)if(a.data===zr)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(ce,p+1))!==-1;)l.push({type:7,index:i}),p+=ce.length-1}i++}}static createElement(e,o){let n=Le.createElement("template");return n.innerHTML=e,n}};function Te(r,e,o=r,n){if(e===K)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=pt(e)?void 0:e._$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&&(e=Te(r,a._$AS(r,e.values),a,n)),e}var rr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Le).importNode(o,!0);_e.currentNode=a;let i=_e.nextNode(),s=0,d=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new yt(i,i.nextSibling,this,e):l.type===1?u=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(u=new ir(i,this,e)),this._$AV.push(u),l=n[++d]}s!==l?.index&&(i=_e.nextNode(),s++)}return _e.currentNode=Le,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},yt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Te(this,e,o),pt(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==K&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Zn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==M&&pt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Le.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ht.createElement(Jn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new rr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=Vn.get(e.strings);return o===void 0&&Vn.set(e.strings,o=new ht(e)),o}T(e){Kn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new r(this.k(tr()),this.k(tr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,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=M}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Te(this,e,o,0),s=!pt(e)||e!==this._$AH&&e!==K,s&&(this._$AH=e);else{let d=e,l,u;for(e=i[0],l=0;l<i.length-1;l++)u=Te(this,d[n+l],o,l),u===K&&(u=this._$AH[l]),s||=!pt(u)||u!==this._$AH[l],u===M?e=M:e!==M&&(e+=(u??"")+i[l+1]),this._$AH[l]=u}s&&!a&&this.O(e)}O(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},or=class extends ke{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},nr=class extends ke{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},ar=class extends ke{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Te(this,e,o,0)??M)===K)return;let n=this._$AH,a=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==M&&(n===M||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ir=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Te(this,e)}},Qn={j:Hr,P:ce,A:zr,C:1,M:Xn,L:rr,R:Zn,V:Te,D:yt,I:ke,H:nr,N:ar,U:or,B:ir},Js=Wr.litHtmlPolyfillSupport;Js?.(ht,yt),(Wr.litHtmlVersions??=[]).push("3.1.0");var sr=globalThis,gt=sr.ShadowRoot&&(sr.ShadyCSS===void 0||sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jr=Symbol(),ea=new WeakMap,Ke=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==jr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(gt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=ea.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ea.set(o,e))}return e}toString(){return this.cssText}},mt=r=>new Ke(typeof r=="string"?r:r+"",void 0,jr),W=(r,...e)=>{let o=r.length===1?r[0]:e.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 Ke(o,r,jr)},cr=(r,e)=>{if(gt)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=sr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},bt=gt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return mt(o)})(r):r;var{is:Xs,defineProperty:Qs,getOwnPropertyDescriptor:ec,getOwnPropertyNames:tc,getOwnPropertySymbols:rc,getPrototypeOf:oc}=Object,dr=globalThis,ta=dr.trustedTypes,nc=ta?ta.emptyScript:"",ac=dr.reactiveElementPolyfillSupport,xt=(r,e)=>r,lr={toAttribute(r,e){switch(e){case Boolean:r=r?nc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let o=r;switch(e){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}},Gr=(r,e)=>!Xs(r,e),ra={attribute:!0,type:String,converter:lr,reflect:!1,hasChanged:Gr};Symbol.metadata??=Symbol("metadata"),dr.litPropertyMetadata??=new WeakMap;var re=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=ra){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&Qs(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=ec(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let d=a?.call(this);i.call(this,s),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ra}static _$Ei(){if(this.hasOwnProperty(xt("elementProperties")))return;let e=oc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(xt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(xt("properties"))){let o=this.properties,n=[...tc(o),...rc(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);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(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(bt(a))}else e!==void 0&&o.push(bt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return cr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:lr).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);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:lr;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Gr)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let 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 e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[xt("elementProperties")]=new Map,re[xt("finalized")]=new Map,ac?.({ReactiveElement:re}),(dr.reactiveElementVersions??=[]).push("2.0.2");var Kr=globalThis,ur=Kr.trustedTypes,oa=ur?ur.createPolicy("lit-html",{createHTML:r=>r}):void 0,Zr="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,qr="?"+le,ic=`<${qr}>`,De=document,St=()=>De.createComment(""),Ot=r=>r===null||typeof r!="object"&&typeof r!="function",la=Array.isArray,da=r=>la(r)||typeof r?.[Symbol.iterator]=="function",Vr=`[
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),jn=/'/g,Gn=/"/g,qn=/^(?:script|style|textarea|title)$/i,Yn=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),Kd=Yn(1),Zd=Yn(2),K=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Vn=new WeakMap,_e=Le.createTreeWalker(Le,129);function Jn(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wn!==void 0?Wn.createHTML(e):e}var Xn=(r,e)=>{let o=r.length-1,n=[],a,i=e===2?"<svg>":"",s=ft;for(let d=0;d<o;d++){let l=r[d],u,h,p=-1,g=0;for(;g<l.length&&(s.lastIndex=g,h=s.exec(l),h!==null);)g=s.lastIndex,s===ft?h[1]==="!--"?s=Hn:h[1]!==void 0?s=zn:h[2]!==void 0?(qn.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Pe):h[3]!==void 0&&(s=Pe):s===Pe?h[0]===">"?(s=a??ft,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Pe:h[3]==='"'?Gn:jn):s===Gn||s===jn?s=Pe:s===Hn||s===zn?s=ft:(s=Pe,a=void 0);let m=s===Pe&&r[d+1].startsWith("/>")?" ":"";i+=s===ft?l+Js:p>=0?(n.push(u),l.slice(0,p)+Hr+l.slice(p)+ce+m):l+ce+(p===-2?d:m)}return[Jn(r,i+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},ht=class r{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,d=e.length-1,l=this.parts,[u,h]=Xn(e,o);if(this.el=r.createElement(u,n),_e.currentNode=this.el.content,o===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=_e.nextNode())!==null&&l.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Hr)){let g=h[s++],m=a.getAttribute(p).split(ce),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?or:b[1]==="?"?nr:b[1]==="@"?ar:ke}),a.removeAttribute(p)}else p.startsWith(ce)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(qn.test(a.tagName)){let p=a.textContent.split(ce),g=p.length-1;if(g>0){a.textContent=er?er.emptyScript:"";for(let m=0;m<g;m++)a.append(p[m],tr()),_e.nextNode(),l.push({type:2,index:++i});a.append(p[g],tr())}}}else if(a.nodeType===8)if(a.data===zr)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(ce,p+1))!==-1;)l.push({type:7,index:i}),p+=ce.length-1}i++}}static createElement(e,o){let n=Le.createElement("template");return n.innerHTML=e,n}};function Te(r,e,o=r,n){if(e===K)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=pt(e)?void 0:e._$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&&(e=Te(r,a._$AS(r,e.values),a,n)),e}var rr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Le).importNode(o,!0);_e.currentNode=a;let i=_e.nextNode(),s=0,d=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new yt(i,i.nextSibling,this,e):l.type===1?u=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(u=new ir(i,this,e)),this._$AV.push(u),l=n[++d]}s!==l?.index&&(i=_e.nextNode(),s++)}return _e.currentNode=Le,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},yt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Te(this,e,o),pt(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==K&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Zn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==$&&pt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Le.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ht.createElement(Jn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new rr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=Vn.get(e.strings);return o===void 0&&Vn.set(e.strings,o=new ht(e)),o}T(e){Kn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new r(this.k(tr()),this.k(tr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,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=$}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Te(this,e,o,0),s=!pt(e)||e!==this._$AH&&e!==K,s&&(this._$AH=e);else{let d=e,l,u;for(e=i[0],l=0;l<i.length-1;l++)u=Te(this,d[n+l],o,l),u===K&&(u=this._$AH[l]),s||=!pt(u)||u!==this._$AH[l],u===$?e=$:e!==$&&(e+=(u??"")+i[l+1]),this._$AH[l]=u}s&&!a&&this.O(e)}O(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},or=class extends ke{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===$?void 0:e}},nr=class extends ke{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},ar=class extends ke{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Te(this,e,o,0)??$)===K)return;let n=this._$AH,a=e===$&&n!==$||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==$&&(n===$||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ir=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Te(this,e)}},Qn={j:Hr,P:ce,A:zr,C:1,M:Xn,L:rr,R:Zn,V:Te,D:yt,I:ke,H:nr,N:ar,U:or,B:ir},Xs=Wr.litHtmlPolyfillSupport;Xs?.(ht,yt),(Wr.litHtmlVersions??=[]).push("3.1.0");var sr=globalThis,gt=sr.ShadowRoot&&(sr.ShadyCSS===void 0||sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jr=Symbol(),ea=new WeakMap,Ke=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==jr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(gt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=ea.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ea.set(o,e))}return e}toString(){return this.cssText}},mt=r=>new Ke(typeof r=="string"?r:r+"",void 0,jr),W=(r,...e)=>{let o=r.length===1?r[0]:e.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 Ke(o,r,jr)},cr=(r,e)=>{if(gt)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=sr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},bt=gt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return mt(o)})(r):r;var{is:Qs,defineProperty:ec,getOwnPropertyDescriptor:tc,getOwnPropertyNames:rc,getOwnPropertySymbols:oc,getPrototypeOf:nc}=Object,dr=globalThis,ta=dr.trustedTypes,ac=ta?ta.emptyScript:"",ic=dr.reactiveElementPolyfillSupport,xt=(r,e)=>r,lr={toAttribute(r,e){switch(e){case Boolean:r=r?ac:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let o=r;switch(e){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}},Gr=(r,e)=>!Qs(r,e),ra={attribute:!0,type:String,converter:lr,reflect:!1,hasChanged:Gr};Symbol.metadata??=Symbol("metadata"),dr.litPropertyMetadata??=new WeakMap;var re=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=ra){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&ec(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=tc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let d=a?.call(this);i.call(this,s),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ra}static _$Ei(){if(this.hasOwnProperty(xt("elementProperties")))return;let e=nc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(xt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(xt("properties"))){let o=this.properties,n=[...rc(o),...oc(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);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(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(bt(a))}else e!==void 0&&o.push(bt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return cr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:lr).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);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:lr;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Gr)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let 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 e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[xt("elementProperties")]=new Map,re[xt("finalized")]=new Map,ic?.({ReactiveElement:re}),(dr.reactiveElementVersions??=[]).push("2.0.2");var Kr=globalThis,ur=Kr.trustedTypes,oa=ur?ur.createPolicy("lit-html",{createHTML:r=>r}):void 0,Zr="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,qr="?"+le,sc=`<${qr}>`,De=document,St=()=>De.createComment(""),Ot=r=>r===null||typeof r!="object"&&typeof r!="function",la=Array.isArray,da=r=>la(r)||typeof r?.[Symbol.iterator]=="function",Vr=`[
5
5
  \f\r]`,vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,na=/-->/g,aa=/>/g,Fe=RegExp(`>|${Vr}(?:([^\\s"'>=/]+)(${Vr}*=${Vr}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ia=/'/g,sa=/"/g,ua=/^(?:script|style|textarea|title)$/i,fa=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),Yr=fa(1),sc=fa(2),ge=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),ca=new WeakMap,Ue=De.createTreeWalker(De,129);function pa(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return oa!==void 0?oa.createHTML(e):e}var ha=(r,e)=>{let o=r.length-1,n=[],a,i=e===2?"<svg>":"",s=vt;for(let d=0;d<o;d++){let l=r[d],u,h,p=-1,g=0;for(;g<l.length&&(s.lastIndex=g,h=s.exec(l),h!==null);)g=s.lastIndex,s===vt?h[1]==="!--"?s=na:h[1]!==void 0?s=aa:h[2]!==void 0?(ua.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Fe):h[3]!==void 0&&(s=Fe):s===Fe?h[0]===">"?(s=a??vt,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Fe:h[3]==='"'?sa:ia):s===sa||s===ia?s=Fe:s===na||s===aa?s=vt:(s=Fe,a=void 0);let m=s===Fe&&r[d+1].startsWith("/>")?" ":"";i+=s===vt?l+ic:p>=0?(n.push(u),l.slice(0,p)+Zr+l.slice(p)+le+m):l+le+(p===-2?d:m)}return[pa(r,i+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Et=class r{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,d=e.length-1,l=this.parts,[u,h]=ha(e,o);if(this.el=r.createElement(u,n),Ue.currentNode=this.el.content,o===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ue.nextNode())!==null&&l.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Zr)){let g=h[s++],m=a.getAttribute(p).split(le),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?pr:b[1]==="?"?hr:b[1]==="@"?yr:Me}),a.removeAttribute(p)}else p.startsWith(le)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(ua.test(a.tagName)){let p=a.textContent.split(le),g=p.length-1;if(g>0){a.textContent=ur?ur.emptyScript:"";for(let m=0;m<g;m++)a.append(p[m],St()),Ue.nextNode(),l.push({type:2,index:++i});a.append(p[g],St())}}}else if(a.nodeType===8)if(a.data===qr)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(le,p+1))!==-1;)l.push({type:7,index:i}),p+=le.length-1}i++}}static createElement(e,o){let n=De.createElement("template");return n.innerHTML=e,n}};function $e(r,e,o=r,n){if(e===ge)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Ot(e)?void 0:e._$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&&(e=$e(r,a._$AS(r,e.values),a,n)),e}var fr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??De).importNode(o,!0);Ue.currentNode=a;let i=Ue.nextNode(),s=0,d=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new Ze(i,i.nextSibling,this,e):l.type===1?u=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(u=new gr(i,this,e)),this._$AV.push(u),l=n[++d]}s!==l?.index&&(i=Ue.nextNode(),s++)}return Ue.currentNode=De,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Ze=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=$e(this,e,o),Ot(e)?e===B||e==null||e===""?(this._$AH!==B&&this._$AR(),this._$AH=B):e!==this._$AH&&e!==ge&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):da(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==B&&Ot(this._$AH)?this._$AA.nextSibling.data=e:this.$(De.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Et.createElement(pa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new fr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=ca.get(e.strings);return o===void 0&&ca.set(e.strings,o=new Et(e)),o}T(e){la(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new r(this.k(St()),this.k(St()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Me=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=B,this._$AN=void 0,this.element=e,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=B}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=$e(this,e,o,0),s=!Ot(e)||e!==this._$AH&&e!==ge,s&&(this._$AH=e);else{let d=e,l,u;for(e=i[0],l=0;l<i.length-1;l++)u=$e(this,d[n+l],o,l),u===ge&&(u=this._$AH[l]),s||=!Ot(u)||u!==this._$AH[l],u===B?e=B:e!==B&&(e+=(u??"")+i[l+1]),this._$AH[l]=u}s&&!a&&this.O(e)}O(e){e===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},pr=class extends Me{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===B?void 0:e}},hr=class extends Me{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==B)}},yr=class extends Me{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=$e(this,e,o,0)??B)===ge)return;let n=this._$AH,a=e===B&&n!==B||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==B&&(n===B||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},gr=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$e(this,e)}},cc={j:Zr,P:le,A:qr,C:1,M:ha,L:fr,R:da,V:$e,D:Ze,I:Me,H:hr,N:yr,U:pr,B:gr},lc=Kr.litHtmlPolyfillSupport;lc?.(Et,Ze),(Kr.litHtmlVersions??=[]).push("3.1.0");var Jr=(r,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new Ze(e.insertBefore(St(),i),i,void 0,o??{})}return a._$AI(r),a};var de=class extends re{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Jr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ge}};de._$litElement$=!0,de.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:de});var dc=globalThis.litElementPolyfillSupport;dc?.({LitElement:de});var uc={_$AK:(r,e,o)=>{r._$AK(e,o)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var au=!1;var eo={};U(eo,{customElement:()=>fc,eventOptions:()=>hc,property:()=>G,query:()=>yc,queryAll:()=>mc,queryAssignedElements:()=>xc,queryAssignedNodes:()=>vc,queryAsync:()=>bc,standardProperty:()=>ya,state:()=>Qr});var fc=r=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var pc={attribute:!0,type:String,converter:ut,reflect:!1,hasChanged:Qt},ya=(r=pc,e,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(d){let l=e.get.call(this);e.set.call(this,d),this.requestUpdate(s,l,r)},init(d){return d!==void 0&&this.C(s,void 0,r),d}}}if(n==="setter"){let{name:s}=o;return function(d){let l=this[s];e.call(this,d),this.requestUpdate(s,l,r)}}throw Error("Unsupported decorator location: "+n)};function G(r){return(e,o)=>typeof o=="object"?ya(r,e,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,e,o)}function Qr(r){return G({...r,state:!0,attribute:!1})}function hc(r){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,r)}}var X=(r,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,o),o);function yc(r,e){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:d}=typeof n=="object"?o:a??(()=>{let l=Symbol();return{get(){return this[l]},set(u){this[l]=u}}})();return X(o,n,{get(){let l=s.call(this);return l===void 0&&(l=i(this),(l!==null||this.hasUpdated)&&d.call(this,l)),l}})}return X(o,n,{get(){return i(this)}})}}var gc;function mc(r){return(e,o)=>X(e,o,{get(){return(this.renderRoot??(gc??=document.createDocumentFragment())).querySelectorAll(r)}})}function bc(r){return(e,o)=>X(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function xc(r){return(e,o)=>{let{slot:n,selector:a}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return X(e,o,{get(){let s=this.renderRoot?.querySelector(i),d=s?.assignedElements(r)??[];return a===void 0?d:d.filter(l=>l.matches(a))}})}}function vc(r){return(e,o)=>{let{slot:n}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return X(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(r)??[]}})}}var to={};U(to,{repeat:()=>Ec});var me={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},be=r=>(...e)=>({_$litDirective$:r,values:e}),oe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{D:Sc}=Qn;var ga=()=>document.createComment(""),qe=(r,e,o)=>{let n=r._$AA.parentNode,a=e===void 0?r._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(ga(),a),s=n.insertBefore(ga(),a);o=new Sc(i,s,r,r.options)}else{let i=o._$AB.nextSibling,s=o._$AM,d=s!==r;if(d){let l;o._$AQ?.(r),o._$AM=r,o._$AP!==void 0&&(l=r._$AU)!==s._$AU&&o._$AP(l)}if(i!==a||d){let l=o._$AA;for(;l!==i;){let u=l.nextSibling;n.insertBefore(l,a),l=u}}}return o},xe=(r,e,o=r)=>(r._$AI(e,o),r),Oc={},ma=(r,e=Oc)=>r._$AH=e,ba=r=>r._$AH,mr=r=>{r._$AP?.(!1,!0);let e=r._$AA,o=r._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var xa=(r,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(r[a],a);return n},Ec=be(class extends oe{constructor(r){if(super(r),r.type!==me.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let d of r)a[s]=n?n(d,s):s,i[s]=o(d,s),s++;return{values:i,keys:a}}render(r,e,o){return this.ht(r,e,o).values}update(r,[e,o,n]){let a=ba(r),{values:i,keys:s}=this.ht(e,o,n);if(!Array.isArray(a))return this.dt=s,i;let d=this.dt??=[],l=[],u,h,p=0,g=a.length-1,m=0,b=i.length-1;for(;p<=g&&m<=b;)if(a[p]===null)p++;else if(a[g]===null)g--;else if(d[p]===s[m])l[m]=xe(a[p],i[m]),p++,m++;else if(d[g]===s[b])l[b]=xe(a[g],i[b]),g--,b--;else if(d[p]===s[b])l[b]=xe(a[p],i[b]),qe(r,l[b+1],a[p]),p++,b--;else if(d[g]===s[m])l[m]=xe(a[g],i[m]),qe(r,a[p],a[g]),g--,m++;else if(u===void 0&&(u=xa(s,m,b),h=xa(d,p,g)),u.has(d[p]))if(u.has(d[g])){let S=h.get(s[m]),w=S!==void 0?a[S]:null;if(w===null){let C=qe(r,a[p]);xe(C,i[m]),l[m]=C}else l[m]=xe(w,i[m]),qe(r,a[p],w),a[S]=null;m++}else mr(a[g]),g--;else mr(a[p]),p++;for(;m<=b;){let S=qe(r,l[b+1]);xe(S,i[m]),l[m++]=S}for(;p<=g;){let S=a[p++];S!==null&&mr(S)}return this.dt=s,ma(r,l),K}});var ro={};U(ro,{classMap:()=>wc});var wc=be(class extends oe{constructor(r){if(super(r),r.type!==me.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(e=>r[e]).join(" ")+" "}update(r,[e]){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 e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let o=r.element.classList;for(let n of this.it)n in e||(o.remove(n),this.it.delete(n));for(let n in e){let a=!!e[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 K}});var oo={};U(oo,{styleMap:()=>Ac});var va="important",Cc=" !"+va,Ac=be(class extends oe{constructor(r){if(super(r),r.type!==me.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((e,o)=>{let n=r[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(r,[e]){let{style:o}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(Cc);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?va:""):o[n]=a}}return K}});var no={};U(no,{UnsafeHTMLDirective:()=>Ye,unsafeHTML:()=>Rc});var Ye=class extends oe{constructor(e){if(super(e),this.et=M,e.type!==me.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this.vt=void 0,this.et=e;if(e===K)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let o=[e];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ye.directiveName="unsafeHTML",Ye.resultType=1;var Rc=be(Ye);var po={};U(po,{CacheRegistry:()=>fo,ClearCacheEvent:()=>Ct});var io={};U(io,{CancelablePromise:()=>Je,CanceledPromiseError:()=>wt,cancelable:()=>ao});var wt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Je=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new wt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new wt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ao=r=>new Je((e,o)=>r.then(e).catch(o));var uo={};U(uo,{FtNotificationEvent:()=>so,PostResizeEvent:()=>lo,PreResizeEvent:()=>co,WithEventBus:()=>Be,withEventBus:()=>Sa});var so=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},co=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},lo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Sa(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??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 Be=class extends Sa(Object){};var Ct=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},fo=class extends Be{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,o){this.loaders[e]=o,this.finalContent.delete(e)}registerFinal(e,o){this.loaders[e]=o,this.finalContent.add(e)}clearAll(e=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);e&&o.length>0&&this.dispatchEvent(new Ct(o))}clear(e,o=!0){if(!this.finalContent.has(e))return this.forceClear(e),o&&this.dispatchEvent(new Ct([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Je&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,o){this.forceClear(e),this.register(e,async()=>o),this.content[e]=o}setFinal(e,o){this.forceClear(e),this.registerFinal(e,async()=>o),this.content[e]=o}async get(e,o,n){if(this.content[e]===void 0){if(o=o??this.loaders[e],o==null)throw new Error("Unknown cache key "+e);let a=ao(o());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var yo={};U(yo,{ClusteringHelper:()=>ho});var ho=class r{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,o){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return o==null?r.flattenMetadata(i):r.flattenMetadata(i.find(s=>s.key===o))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>r.flattenMetadata(n)).filter(n=>n!=null);let o=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!o))if(o){let n=[],a=[];return e.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,o,n="No value"){var a,i;let s=r.extractResultMetadata(this.selectedResult,e),d=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(u=>r.extractResultMetadata(u,e)).map(u=>u??{key:e,label:d,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,p)=>p.findIndex(g=>g.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,e,o))}compareMetadata(e,o,n,a){if(e==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",d=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(o,a,{numeric:!0});return d?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(l=>{var u;return((u=r.extractResultMetadata(l,e))===null||u===void 0?void 0:u.value)==o}),i=[...r.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,d=-1;for(let l of n){let u=this.countMatchingMetadata(l,i);if(u>d&&(d=u,s=l,u===i.length))break}return s}countMatchingMetadata(e,o){return r.extractResultMetadata(e).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var go={};U(go,{Debouncer:()=>At});var At=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(d){a(d);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 vo={};U(vo,{customElement:()=>bo,isNumber:()=>Ra,jsonProperty:()=>xo,optionalNumberProperty:()=>Tc});var mo={};U(mo,{dateReviver:()=>Ic,deepEqual:()=>Rt,delay:()=>Oa,eventPathContainsMatchingElement:()=>_c,flatDeep:()=>wa,hasChanged:()=>Nt,last:()=>Lc,minmax:()=>It,parseDate:()=>Ca,unslotText:()=>Aa,waitFor:()=>Ea,waitUntil:()=>Nc});var Oa=r=>new Promise(e=>setTimeout(e,r));async function Nc(r,e=10,o=2e4){await Ea(async()=>await r()||void 0,e,o)}async function Ea(r,e=10,o=2e4){let n=await r(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await Oa(e),n=await r(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function wa(r,e){return r.flatMap(o=>[o,...wa(e(o),e)])}function Ic(...r){return function(e,o){return r.includes(e)?Ca(o):o}}function Ca(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,a)=>o+n+":"+a),new Date(r)}function Pc(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(r)){if(o=r.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Rt(r[n],e[n]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;for(n of r.entries())if(!Rt(n[1],e.get(n[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(a=Object.keys(r),o=a.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Rt(r[i],e[i]))return!1}return!0}return r!==r&&e!==e}function Rt(r,e){try{return Pc(r,e)}catch{return!1}}function Nt(r,e){return!Rt(r,e)}function _c(r,e,o=window.document.body){if(e.length>0){let n=r.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function It(r,e,o){return Math.min(Math.max(r,e),o)}function Lc(r){return r[r.length-1]}function Aa(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Aa(e)).join(""):r?.textContent||""}var bo=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function xo(r,e){let o=()=>JSON.parse(JSON.stringify(r));return G({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Nt,...e??{}})}function Tc(r){return G({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ra(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function Ra(r){return!isNaN(parseFloat(r))}var Co={};U(Co,{designSystemVariables:()=>wo});var Eo={};U(Eo,{DesignSystemFamily:()=>Pt,DesignSystemSize:()=>_t,FtCssVariableFactory:()=>t,badge:()=>Wc,banner:()=>Bc,button:()=>Uc,chart:()=>ol,checkbox:()=>il,chip:()=>$c,chipChoice:()=>Dc,collapsible:()=>tl,comboboxMultiSelect:()=>Qc,comboboxSingleSelect:()=>Xc,drawer:()=>Kc,floatingMenu:()=>Jc,foundation:()=>c,link:()=>Mc,modal:()=>Vc,notice:()=>al,notification:()=>ll,pageDesigner:()=>nl,pageFooter:()=>jc,pageHeader:()=>zc,pageLayout:()=>Gc,popover:()=>el,radio:()=>cl,resolveFamilyClass:()=>So,resolveSizeClass:()=>Oo,semantic:()=>f,setVariable:()=>br,switch_:()=>rl,tabs:()=>Zc,textArea:()=>Yc,textInput:()=>qc,titleBreadcrumb:()=>Hc,toggle:()=>sl,tooltip:()=>dl,typographies:()=>kc,typographyBody1Medium:()=>Ta,typographyBody1Regular:()=>La,typographyBody1Semibold:()=>ka,typographyBody2Medium:()=>Ua,typographyBody2MediumUnderline:()=>Da,typographyBody2Regular:()=>Fa,typographyBody2Semibold:()=>$a,typographyCaption1Bold:()=>Ka,typographyCaption1Medium:()=>Ga,typographyCaption1Semibold:()=>Va,typographyCaption2Bold:()=>Ya,typographyCaption2Medium:()=>Za,typographyCaption2Semibold:()=>qa,typographyCaption3Bold:()=>Qa,typographyCaption3Medium:()=>Ja,typographyCaption3Semibold:()=>Xa,typographyDisplay:()=>Na,typographyLabel1Bold:()=>Wa,typographyLabel1Medium:()=>Ma,typographyLabel1Semibold:()=>Ba,typographyLabel2Bold:()=>ja,typographyLabel2Medium:()=>Ha,typographyLabel2Semibold:()=>za,typographyTitle1:()=>Ia,typographyTitle2:()=>Pa,typographyTitle3:()=>_a,typographyVariants:()=>Fc});var ue=r=>typeof r=="string"?mt(r):r,t=class{static create(e,o,n,a){let i=d=>ue(d??a),s=W`var(${ue(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=d=>W`var(${ue(e)}, ${i(d)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=d=>n.get(d??a),s=W`var(${ue(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=d=>W`var(${ue(e)}, ${i(d)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):ue(i??e.lastResortDefaultValue()),a=W`var(${ue(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>W`var(${ue(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function br(r,e){return ue(`${r.name}: ${e}`)}var c={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},Na={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ia={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Pa={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},_a={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},La={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ta={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ka={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Fa={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ua={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Da={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},$a={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ma={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ba={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},za={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ja={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Va={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ka={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Za={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},qa={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ya={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ja={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Xa={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Qa={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},kc={display:Na,"title-1":Ia,"title-2":Pa,"title-3":_a,"body-1-regular":La,"body-1-medium":Ta,"body-1-semibold":ka,"body-2-regular":Fa,"body-2-medium":Ua,"body-2-medium-underline":Da,"body-2-semibold":$a,"label-1-medium":Ma,"label-1-semibold":Ba,"label-1-bold":Wa,"label-2-medium":Ha,"label-2-semibold":za,"label-2-bold":ja,"caption-1-medium":Ga,"caption-1-semibold":Va,"caption-1-bold":Ka,"caption-2-medium":Za,"caption-2-semibold":qa,"caption-2-bold":Ya,"caption-3-medium":Ja,"caption-3-semibold":Xa,"caption-3-bold":Qa},Fc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Uc={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:t.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:t.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var Dc={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var $c={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:t.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:t.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Mc={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Bc={iconSize:t.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var Wc={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:t.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Hc={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var zc={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var jc={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Gc={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Vc={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:t.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Kc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Zc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:t.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var qc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Yc={backgroundColor:t.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Jc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Xc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Qc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var el={backgroundColor:t.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:t.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:t.extend("--ft-popover-gap","",c.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var tl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:t.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",c.iconSize3)};var rl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:t.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:t.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var ol={color1Light:t.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",c.colorRed40),color5Base:t.extend("--ft-chart-5-base","",c.colorRed60),color6Light:t.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",c.colorGray50),color10Base:t.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var nl={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var al={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:t.extend("--ft-notice-gap","",c.spacing2),iconSize:t.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var il={color:t.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",c.spacing3)};var sl={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:t.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",c.spacing3)};var cl={color:t.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",c.spacing3)};var ll={iconSize:t.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",c.spacing8)};var dl={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:t.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:t.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",c.spacing05)};var Pt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Pt||(Pt={}));var _t;(function(r){r.large="large",r.medium="medium",r.small="small"})(_t||(_t={}));function So(r){return`ftds--family-${r}`}function Oo(r){return`ftds--size-${r}`}var wo={colorPrimary:t.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:t.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:t.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:t.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:t.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:t.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:t.create("--ft-color-error","","COLOR","#B00020"),colorOutline:t.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:t.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:t.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:t.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:t.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:t.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:t.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:t.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:t.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:t.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:t.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:t.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:t.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:t.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:t.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:t.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:t.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:t.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:t.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:t.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:t.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:t.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:t.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:t.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:t.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:t.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:t.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:t.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:t.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:t.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:t.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:t.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:t.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:t.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:t.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:t.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:t.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:t.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:t.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:t.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:t.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:t.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Mo={};U(Mo,{computeFlipOffsetPosition:()=>Ll,computeOffsetPosition:()=>_l});var ti=["top","right","bottom","left"],ei=["start","end"],Ao=ti.reduce((r,e)=>r.concat(e,e+"-"+ei[0],e+"-"+ei[1]),[]),kt=Math.min,ve=Math.max,Ft=Math.round;var fe=r=>({x:r,y:r}),ul={left:"right",right:"left",bottom:"top",top:"bottom"},fl={start:"end",end:"start"};function Ro(r,e,o){return ve(r,kt(e,o))}function Xe(r,e){return typeof r=="function"?r(e):r}function ne(r){return r.split("-")[0]}function ae(r){return r.split("-")[1]}function No(r){return r==="x"?"y":"x"}function Io(r){return r==="y"?"height":"width"}function Ut(r){return["top","bottom"].includes(ne(r))?"y":"x"}function Po(r){return No(Ut(r))}function _o(r,e,o){o===void 0&&(o=!1);let n=ae(r),a=Po(r),i=Io(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Tt(s)),[s,Tt(s)]}function ri(r){let e=Tt(r);return[Lt(r),e,Lt(e)]}function Lt(r){return r.replace(/start|end/g,e=>fl[e])}function pl(r,e,o){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return o?e?a:n:e?n:a;case"left":case"right":return e?i:s;default:return[]}}function oi(r,e,o,n){let a=ae(r),i=pl(ne(r),o==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Lt)))),i}function Tt(r){return r.replace(/left|right|bottom|top/g,e=>ul[e])}function hl(r){return{top:0,right:0,bottom:0,left:0,...r}}function ni(r){return typeof r!="number"?hl(r):{top:r,right:r,bottom:r,left:r}}function We(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function ai(r,e,o){let{reference:n,floating:a}=r,i=Ut(e),s=Po(e),d=Io(s),l=ne(e),u=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,g=n[d]/2-a[d]/2,m;switch(l){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:p};break;case"left":m={x:n.x-a.width,y:p};break;default:m={x:n.x,y:n.y}}switch(ae(e)){case"start":m[s]-=g*(o&&u?-1:1);break;case"end":m[s]+=g*(o&&u?-1:1);break}return m}var ii=async(r,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,d=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:r,floating:e,strategy:a}),{x:h,y:p}=ai(u,n,l),g=n,m={},b=0;for(let S=0;S<d.length;S++){let{name:w,fn:C}=d[S],{x:A,y:O,data:v,reset:E}=await C({x:h,y:p,initialPlacement:n,placement:g,strategy:a,middlewareData:m,rects:u,platform:s,elements:{reference:r,floating:e}});if(h=A??h,p=O??p,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:e,strategy:a}):E.rects),{x:h,y:p}=ai(u,g,l)),S=-1;continue}}return{x:h,y:p,placement:g,strategy:a,middlewareData:m}};async function xr(r,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:d,strategy:l}=r,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:m=0}=Xe(e,r),b=ni(m),w=d[g?p==="floating"?"reference":"floating":p],C=We(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(d.floating)),boundary:u,rootBoundary:h,strategy:l})),A=p==="floating"?{...s.floating,x:n,y:a}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.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=We(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:O,strategy:l}):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 yl(r,e,o){return(r?[...o.filter(a=>ae(a)===r),...o.filter(a=>ae(a)!==r)]:o.filter(a=>ne(a)===a)).filter(a=>r?ae(a)===r||(e?Lt(a)!==a:!1):!0)}var Lo=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:d,platform:l,elements:u}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:g=Ao,autoAlignment:m=!0,...b}=Xe(r,e),S=p!==void 0||g===Ao?yl(p||null,m,g):g,w=await xr(e,b),C=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[C];if(A==null)return{};let O=_o(A,i,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(d!==A)return{reset:{placement:S[0]}};let v=[w[ne(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 P=E.map(I=>{let y=ae(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]),T=((a=P.filter(I=>I[2].slice(0,ae(I[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||P[0][0];return T!==d?{data:{index:C+1,overflows:E},reset:{placement:T}}:{}}}},To=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var o,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:d,platform:l,elements:u}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...w}=Xe(r,e);if((o=i.arrow)!=null&&o.alignmentOffset)return{};let C=ne(a),A=ne(d)===d,O=await(l.isRTL==null?void 0:l.isRTL(u.floating)),v=g||(A||!S?[Tt(d)]:ri(d));!g&&b!=="none"&&v.push(...oi(d,S,b,O));let E=[d,...v],R=await xr(e,w),P=[],k=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&P.push(R[C]),p){let x=_o(a,s,O);P.push(R[x[0]],R[x[1]])}if(k=[...k,{placement:a,overflows:P}],!P.every(x=>x<=0)){var T,I;let x=(((T=i.flip)==null?void 0:T.index)||0)+1,N=E[x];if(N)return{data:{index:x,overflows:k},reset:{placement:N}};let L=(I=k.filter(F=>F.overflows[0]<=0).sort((F,_)=>F.overflows[1]-_.overflows[1])[0])==null?void 0:I.placement;if(!L)switch(m){case"bestFit":{var y;let F=(y=k.map(_=>[_.placement,_.overflows.filter(te=>te>0).reduce((te,lt)=>te+lt,0)]).sort((_,te)=>_[1]-te[1])[0])==null?void 0:y[0];F&&(L=F);break}case"initialPlacement":L=d;break}if(a!==L)return{reset:{placement:L}}}return{}}}};async function gl(r,e){let{placement:o,platform:n,elements:a}=r,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=ne(o),d=ae(o),l=Ut(o)==="y",u=["left","top"].includes(s)?-1:1,h=i&&l?-1:1,p=Xe(e,r),{mainAxis:g,crossAxis:m,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return d&&typeof b=="number"&&(m=d==="end"?b*-1:b),l?{x:m*h,y:g*u}:{x:g*u,y:m*h}}var ko=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var o,n;let{x:a,y:i,placement:s,middlewareData:d}=e,l=await gl(e,r);return s===((o=d.offset)==null?void 0:o.placement)&&(n=d.arrow)!=null&&n.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:s}}}}},Fo=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:d={fn:w=>{let{x:C,y:A}=w;return{x:C,y:A}}},...l}=Xe(r,e),u={x:o,y:n},h=await xr(e,l),p=Ut(ne(a)),g=No(p),m=u[g],b=u[p];if(i){let w=g==="y"?"top":"left",C=g==="y"?"bottom":"right",A=m+h[w],O=m-h[C];m=Ro(A,m,O)}if(s){let w=p==="y"?"top":"left",C=p==="y"?"bottom":"right",A=b+h[w],O=b-h[C];b=Ro(A,b,O)}let S=d.fn({...e,[g]:m,[p]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function pe(r){return ci(r)?(r.nodeName||"").toLowerCase():"#document"}function V(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function he(r){var e;return(e=(ci(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function ci(r){return r instanceof Node||r instanceof V(r).Node}function ie(r){return r instanceof Element||r instanceof V(r).Element}function Q(r){return r instanceof HTMLElement||r instanceof V(r).HTMLElement}function si(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof V(r).ShadowRoot}function Qe(r){let{overflow:e,overflowX:o,overflowY:n,display:a}=Z(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function li(r){return["table","td","th"].includes(pe(r))}function Sr(r){let e=Or(),o=Z(r);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(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 di(r){let e=He(r);for(;Q(e)&&!Dt(e);){if(Sr(e))return e;e=He(e)}return null}function Or(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Dt(r){return["html","body","#document"].includes(pe(r))}function Z(r){return V(r).getComputedStyle(r)}function $t(r){return ie(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function He(r){if(pe(r)==="html")return r;let e=r.assignedSlot||r.parentNode||si(r)&&r.host||he(r);return si(e)?e.host:e}function ui(r){let e=He(r);return Dt(e)?r.ownerDocument?r.ownerDocument.body:r.body:Q(e)&&Qe(e)?e:ui(e)}function vr(r,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=ui(r),i=a===((n=r.ownerDocument)==null?void 0:n.body),s=V(a);return i?e.concat(s,s.visualViewport||[],Qe(a)?a:[],s.frameElement&&o?vr(s.frameElement):[]):e.concat(a,vr(a,[],o))}function hi(r){let e=Z(r),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Q(r),i=a?r.offsetWidth:o,s=a?r.offsetHeight:n,d=Ft(o)!==i||Ft(n)!==s;return d&&(o=i,n=s),{width:o,height:n,$:d}}function yi(r){return ie(r)?r:r.contextElement}function et(r){let e=yi(r);if(!Q(e))return fe(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=hi(e),s=(i?Ft(o.width):o.width)/n,d=(i?Ft(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!d||!Number.isFinite(d))&&(d=1),{x:s,y:d}}var ml=fe(0);function gi(r){let e=V(r);return!Or()||!e.visualViewport?ml:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function bl(r,e,o){return e===void 0&&(e=!1),!o||e&&o!==V(r)?!1:e}function Mt(r,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=r.getBoundingClientRect(),i=yi(r),s=fe(1);e&&(n?ie(n)&&(s=et(n)):s=et(r));let d=bl(i,o,n)?gi(i):fe(0),l=(a.left+d.x)/s.x,u=(a.top+d.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let g=V(i),m=n&&ie(n)?V(n):n,b=g.frameElement;for(;b&&n&&m!==g;){let S=et(b),w=b.getBoundingClientRect(),C=Z(b),A=w.left+(b.clientLeft+parseFloat(C.paddingLeft))*S.x,O=w.top+(b.clientTop+parseFloat(C.paddingTop))*S.y;l*=S.x,u*=S.y,h*=S.x,p*=S.y,l+=A,u+=O,b=V(b).frameElement}}return We({width:h,height:p,x:l,y:u})}function xl(r){let{rect:e,offsetParent:o,strategy:n}=r,a=Q(o),i=he(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},d=fe(1),l=fe(0);if((a||!a&&n!=="fixed")&&((pe(o)!=="body"||Qe(i))&&(s=$t(o)),Q(o))){let u=Mt(o);d=et(o),l.x=u.x+o.clientLeft,l.y=u.y+o.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-s.scrollLeft*d.x+l.x,y:e.y*d.y-s.scrollTop*d.y+l.y}}function vl(r){return Array.from(r.getClientRects())}function mi(r){return Mt(he(r)).left+$t(r).scrollLeft}function Sl(r){let e=he(r),o=$t(r),n=r.ownerDocument.body,a=ve(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=ve(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+mi(r),d=-o.scrollTop;return Z(n).direction==="rtl"&&(s+=ve(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:d}}function Ol(r,e){let o=V(r),n=he(r),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,d=0,l=0;if(a){i=a.width,s=a.height;let u=Or();(!u||u&&e==="fixed")&&(d=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:d,y:l}}function El(r,e){let o=Mt(r,!0,e==="fixed"),n=o.top+r.clientTop,a=o.left+r.clientLeft,i=Q(r)?et(r):fe(1),s=r.clientWidth*i.x,d=r.clientHeight*i.y,l=a*i.x,u=n*i.y;return{width:s,height:d,x:l,y:u}}function fi(r,e,o){let n;if(e==="viewport")n=Ol(r,o);else if(e==="document")n=Sl(he(r));else if(ie(e))n=El(e,o);else{let a=gi(r);n={...e,x:e.x-a.x,y:e.y-a.y}}return We(n)}function bi(r,e){let o=He(r);return o===e||!ie(o)||Dt(o)?!1:Z(o).position==="fixed"||bi(o,e)}function wl(r,e){let o=e.get(r);if(o)return o;let n=vr(r,[],!1).filter(d=>ie(d)&&pe(d)!=="body"),a=null,i=Z(r).position==="fixed",s=i?He(r):r;for(;ie(s)&&!Dt(s);){let d=Z(s),l=Sr(s);!l&&d.position==="fixed"&&(a=null),(i?!l&&!a:!l&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Qe(s)&&!l&&bi(r,s))?n=n.filter(h=>h!==s):a=d,s=He(s)}return e.set(r,n),n}function Cl(r){let{element:e,boundary:o,rootBoundary:n,strategy:a}=r,s=[...o==="clippingAncestors"?wl(e,this._c):[].concat(o),n],d=s[0],l=s.reduce((u,h)=>{let p=fi(e,h,a);return u.top=ve(p.top,u.top),u.right=kt(p.right,u.right),u.bottom=kt(p.bottom,u.bottom),u.left=ve(p.left,u.left),u},fi(e,d,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Al(r){return hi(r)}function Rl(r,e,o){let n=Q(e),a=he(e),i=o==="fixed",s=Mt(r,!0,i,e),d={scrollLeft:0,scrollTop:0},l=fe(0);if(n||!n&&!i)if((pe(e)!=="body"||Qe(a))&&(d=$t(e)),n){let u=Mt(e,!0,i,e);l.x=u.x+e.clientLeft,l.y=u.y+e.clientTop}else a&&(l.x=mi(a));return{x:s.left+d.scrollLeft-l.x,y:s.top+d.scrollTop-l.y,width:s.width,height:s.height}}function pi(r,e){return!Q(r)||Z(r).position==="fixed"?null:e?e(r):r.offsetParent}function xi(r,e){let o=V(r);if(!Q(r))return o;let n=pi(r,e);for(;n&&li(n)&&Z(n).position==="static";)n=pi(n,e);return n&&(pe(n)==="html"||pe(n)==="body"&&Z(n).position==="static"&&!Sr(n))?o:n||di(r)||o}var Nl=async function(r){let{reference:e,floating:o,strategy:n}=r,a=this.getOffsetParent||xi,i=this.getDimensions;return{reference:Rl(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Il(r){return Z(r).direction==="rtl"}var tt={convertOffsetParentRelativeRectToViewportRelativeRect:xl,getDocumentElement:he,getClippingRect:Cl,getOffsetParent:xi,getElementRects:Nl,getClientRects:vl,getDimensions:Al,getScale:et,isElement:ie,isRTL:Il};var Uo=(r,e,o)=>{let n=new Map,a={platform:tt,...o},i={...a.platform,_c:n};return ii(r,e,{...a,platform:i})};function $o(r){return Pl(r)}function Do(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function Pl(r){for(let e=r;e;e=Do(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Do(r);e;e=Do(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function _l(r,e,o){return Uo(r,e,{platform:{...tt,getOffsetParent:n=>tt.getOffsetParent(n,$o)},middleware:[Fo({crossAxis:!0}),Lo({allowedPlacements:[o]})]})}async function Ll(r,e,o,n,a){return Uo(r,e,{placement:o,strategy:a,platform:{...tt,getOffsetParent:i=>tt.getOffsetParent(i,$o)},middleware:[ko(4),To({fallbackPlacements:n})]})}var zo={};U(zo,{FtdsBase:()=>Ho,toFtdsBase:()=>Ri});var Wo={};U(Wo,{FtLitElement:()=>q});var Bo={};U(Bo,{ScopedRegistryLitElement:()=>Bt});var Er=window,Tl=Er.ShadowRoot&&(Er.ShadyCSS===void 0||Er.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ny=Symbol();var vi=(r,e)=>{Tl?r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=Er.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)})};var Bt=class extends de{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return vi(n,e.elementStyles),n}};var wr=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var d=r.length-1;d>=0;d--)(s=r[d])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},wi,Si=Symbol("constructorPrototype"),Oi=Symbol("constructorName"),Ci=Symbol("exportpartsDebouncer"),Ei=Symbol("dynamicDependenciesLoaded"),q=class extends Bt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[wi]=new At(5),this[Oi]=this.constructor.name,this[Si]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Oi]&&Object.setPrototypeOf(this,this[Si])}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 e=this.constructor;e[Ei]||(e[Ei]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var 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(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ci].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,d;let l=g=>g!=null&&g.trim().length>0,u=e.filter(l).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=(d=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...m,...b).filter(l).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(g=>u.map(m=>`${g}:${m}--${g}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};wi=Ci;wr([G()],q.prototype,"exportpartsPrefix",void 0);wr([xo([])],q.prototype,"exportpartsPrefixes",void 0);wr([G()],q.prototype,"customStylesheet",void 0);wr([Qr()],q.prototype,"useAdoptedStyleSheets",void 0);var Ai=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var d=r.length-1;d>=0;d--)(s=r[d])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};function Ri(r){class e extends r{constructor(){super(...arguments),this.size=_t.medium,this.family=Pt.neutral}getDesignSystemBaseClasses(){return{[So(this.family)]:!0,[Oo(this.size)]:!0}}}return Ai([G()],e.prototype,"size",void 0),Ai([G()],e.prototype,"family",void 0),e}var Ho=class extends Ri(q){};var Ni={};var Go={};U(Go,{highlightHtml:()=>Ul,highlightHtmlColorCssVariable:()=>Ii,highlightHtmlStyles:()=>Fl});var ze=class r{constructor(e,o=!0,n=[],a=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(e,o){let n=typeof o=="string"?[o]:o,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(e,o,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,d=0;i=Array.prototype.slice.call(i);let l=()=>{--s<=0&&a(d)};s||l(),i.forEach(u=>{r.matches(u,this.exclude)?l():this.onIframeReady(u,h=>{o(u)&&(d++,n(h)),l()},l)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(s&d)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,a){let i=!1,s=!1;return a.forEach((d,l)=>{d.val===n&&(i=l,s=d.handled)}),this.compareNodeIframe(e,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(e,o,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(e,o,n,a,i){let s=this.createIterator(o,e,a),d=[],l=[],u,h,p=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;p();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(u,h,g,d),g=>{this.createInstanceOnIframe(g).forEachNode(e,m=>l.push(m),a)}),l.push(u);l.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(d,e,n,a),i()}forEachNode(e,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(d=>{let l=()=>{this.iterateThroughNodes(e,d,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(d,l):l()})}};var Wt=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ze(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let 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],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);d!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(l)})`,`gm${n}`),a+`(${this.processSynomyms(d)}|${this.processSynomyms(l)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(e){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?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){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 e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){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(d=>{s+=`|${this.escapeStr(d)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.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(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:d}=this.callNoMatchOnInvalidRanges(a,n);d&&(a.start=i,a.length=s-i,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,o,n){let a,i=!0,s=n.length,d=o-s,l=parseInt(e.start,10)-d;return l=l>s?s:l,a=l+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||a-l<0||l>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:a,valid:i}}getTextNodes(e){let 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,()=>{e({value:o,nodes:n})})}matchesExclude(e){return ze.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(o),s=i.splitText(n-o),d=document.createElement(a);return d.setAttribute("data-markjs","true"),this.opt.className&&d.setAttribute("class",this.opt.className),d.textContent=i.textContent,i.parentNode.replaceChild(d,i),s}wrapRangeInMappedTextNode(e,o,n,a,i){e.nodes.every((s,d)=>{let l=e.nodes[d+1];if(typeof l>"u"||l.start>o){if(!a(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,p=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=p+g,e.nodes.forEach((m,b)=>{b>=d&&(e.nodes[b].start>0&&b!==d&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(d=>{d.nodes.forEach(l=>{l=l.node;let u;for(;(u=e.exec(l.textContent))!==null&&u[s]!=="";){if(!n(u[s],l))continue;let h=u.index;if(s!==0)for(let p=1;p<s;p++)h+=u[p].length;l=this.wrapRangeInTextNode(l,h,h+u[s].length),a(l.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(d=>{let l;for(;(l=e.exec(d.value))!==null&&l[s]!=="";){let u=l.index;if(s!==0)for(let p=1;p<s;p++)u+=l[p].length;let h=u+l[s].length;this.wrapRangeInMappedTextNode(d,u,h,p=>n(l[s],p),(p,g)=>{e.lastIndex=g,a(p)})}i()})}wrapRangeFromIndex(e,o,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((d,l)=>{let{start:u,end:h,valid:p}=this.checkWhitespaceRanges(d,s,i.value);p&&this.wrapRangeInMappedTextNode(i,u,h,g=>o(g,d,i.value.substring(u,h),l),g=>{n(g,d)})}),a()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,d)=>this.opt.filter(d,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",l=u=>{let h=new RegExp(this.createRegExp(u),`gm${d}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,m)=>this.opt.filter(m,u,n,p),g=>{p++,n++,this.opt.each(g)},()=>{p===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(n):l(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(i[0])}markRanges(e,o){this.opt=o;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,d,l)=>this.opt.filter(i,s,d,l),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;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=ze.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function jo(r){let e=new Wt(r);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var kl=jo,Ii=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Fl=W`
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ia=/'/g,sa=/"/g,ua=/^(?:script|style|textarea|title)$/i,fa=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),Yr=fa(1),cc=fa(2),ge=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),ca=new WeakMap,Ue=De.createTreeWalker(De,129);function pa(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return oa!==void 0?oa.createHTML(e):e}var ha=(r,e)=>{let o=r.length-1,n=[],a,i=e===2?"<svg>":"",s=vt;for(let d=0;d<o;d++){let l=r[d],u,h,p=-1,g=0;for(;g<l.length&&(s.lastIndex=g,h=s.exec(l),h!==null);)g=s.lastIndex,s===vt?h[1]==="!--"?s=na:h[1]!==void 0?s=aa:h[2]!==void 0?(ua.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Fe):h[3]!==void 0&&(s=Fe):s===Fe?h[0]===">"?(s=a??vt,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Fe:h[3]==='"'?sa:ia):s===sa||s===ia?s=Fe:s===na||s===aa?s=vt:(s=Fe,a=void 0);let m=s===Fe&&r[d+1].startsWith("/>")?" ":"";i+=s===vt?l+sc:p>=0?(n.push(u),l.slice(0,p)+Zr+l.slice(p)+le+m):l+le+(p===-2?d:m)}return[pa(r,i+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Et=class r{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,d=e.length-1,l=this.parts,[u,h]=ha(e,o);if(this.el=r.createElement(u,n),Ue.currentNode=this.el.content,o===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ue.nextNode())!==null&&l.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Zr)){let g=h[s++],m=a.getAttribute(p).split(le),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?pr:b[1]==="?"?hr:b[1]==="@"?yr:$e}),a.removeAttribute(p)}else p.startsWith(le)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(ua.test(a.tagName)){let p=a.textContent.split(le),g=p.length-1;if(g>0){a.textContent=ur?ur.emptyScript:"";for(let m=0;m<g;m++)a.append(p[m],St()),Ue.nextNode(),l.push({type:2,index:++i});a.append(p[g],St())}}}else if(a.nodeType===8)if(a.data===qr)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(le,p+1))!==-1;)l.push({type:7,index:i}),p+=le.length-1}i++}}static createElement(e,o){let n=De.createElement("template");return n.innerHTML=e,n}};function Me(r,e,o=r,n){if(e===ge)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Ot(e)?void 0:e._$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&&(e=Me(r,a._$AS(r,e.values),a,n)),e}var fr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??De).importNode(o,!0);Ue.currentNode=a;let i=Ue.nextNode(),s=0,d=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new Ze(i,i.nextSibling,this,e):l.type===1?u=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(u=new gr(i,this,e)),this._$AV.push(u),l=n[++d]}s!==l?.index&&(i=Ue.nextNode(),s++)}return Ue.currentNode=De,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Ze=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Me(this,e,o),Ot(e)?e===B||e==null||e===""?(this._$AH!==B&&this._$AR(),this._$AH=B):e!==this._$AH&&e!==ge&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):da(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==B&&Ot(this._$AH)?this._$AA.nextSibling.data=e:this.$(De.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Et.createElement(pa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new fr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=ca.get(e.strings);return o===void 0&&ca.set(e.strings,o=new Et(e)),o}T(e){la(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new r(this.k(St()),this.k(St()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},$e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=B,this._$AN=void 0,this.element=e,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=B}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Me(this,e,o,0),s=!Ot(e)||e!==this._$AH&&e!==ge,s&&(this._$AH=e);else{let d=e,l,u;for(e=i[0],l=0;l<i.length-1;l++)u=Me(this,d[n+l],o,l),u===ge&&(u=this._$AH[l]),s||=!Ot(u)||u!==this._$AH[l],u===B?e=B:e!==B&&(e+=(u??"")+i[l+1]),this._$AH[l]=u}s&&!a&&this.O(e)}O(e){e===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},pr=class extends $e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===B?void 0:e}},hr=class extends $e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==B)}},yr=class extends $e{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Me(this,e,o,0)??B)===ge)return;let n=this._$AH,a=e===B&&n!==B||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==B&&(n===B||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},gr=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Me(this,e)}},lc={j:Zr,P:le,A:qr,C:1,M:ha,L:fr,R:da,V:Me,D:Ze,I:$e,H:hr,N:yr,U:pr,B:gr},dc=Kr.litHtmlPolyfillSupport;dc?.(Et,Ze),(Kr.litHtmlVersions??=[]).push("3.1.0");var Jr=(r,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new Ze(e.insertBefore(St(),i),i,void 0,o??{})}return a._$AI(r),a};var de=class extends re{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Jr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ge}};de._$litElement$=!0,de.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:de});var uc=globalThis.litElementPolyfillSupport;uc?.({LitElement:de});var fc={_$AK:(r,e,o)=>{r._$AK(e,o)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var iu=!1;var eo={};U(eo,{customElement:()=>pc,eventOptions:()=>yc,property:()=>G,query:()=>gc,queryAll:()=>bc,queryAssignedElements:()=>vc,queryAssignedNodes:()=>Sc,queryAsync:()=>xc,standardProperty:()=>ya,state:()=>Qr});var pc=r=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var hc={attribute:!0,type:String,converter:ut,reflect:!1,hasChanged:Qt},ya=(r=hc,e,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(d){let l=e.get.call(this);e.set.call(this,d),this.requestUpdate(s,l,r)},init(d){return d!==void 0&&this.C(s,void 0,r),d}}}if(n==="setter"){let{name:s}=o;return function(d){let l=this[s];e.call(this,d),this.requestUpdate(s,l,r)}}throw Error("Unsupported decorator location: "+n)};function G(r){return(e,o)=>typeof o=="object"?ya(r,e,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,e,o)}function Qr(r){return G({...r,state:!0,attribute:!1})}function yc(r){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,r)}}var X=(r,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,o),o);function gc(r,e){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:d}=typeof n=="object"?o:a??(()=>{let l=Symbol();return{get(){return this[l]},set(u){this[l]=u}}})();return X(o,n,{get(){let l=s.call(this);return l===void 0&&(l=i(this),(l!==null||this.hasUpdated)&&d.call(this,l)),l}})}return X(o,n,{get(){return i(this)}})}}var mc;function bc(r){return(e,o)=>X(e,o,{get(){return(this.renderRoot??(mc??=document.createDocumentFragment())).querySelectorAll(r)}})}function xc(r){return(e,o)=>X(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function vc(r){return(e,o)=>{let{slot:n,selector:a}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return X(e,o,{get(){let s=this.renderRoot?.querySelector(i),d=s?.assignedElements(r)??[];return a===void 0?d:d.filter(l=>l.matches(a))}})}}function Sc(r){return(e,o)=>{let{slot:n}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return X(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(r)??[]}})}}var to={};U(to,{repeat:()=>wc});var me={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},be=r=>(...e)=>({_$litDirective$:r,values:e}),oe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{D:Oc}=Qn;var ga=()=>document.createComment(""),qe=(r,e,o)=>{let n=r._$AA.parentNode,a=e===void 0?r._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(ga(),a),s=n.insertBefore(ga(),a);o=new Oc(i,s,r,r.options)}else{let i=o._$AB.nextSibling,s=o._$AM,d=s!==r;if(d){let l;o._$AQ?.(r),o._$AM=r,o._$AP!==void 0&&(l=r._$AU)!==s._$AU&&o._$AP(l)}if(i!==a||d){let l=o._$AA;for(;l!==i;){let u=l.nextSibling;n.insertBefore(l,a),l=u}}}return o},xe=(r,e,o=r)=>(r._$AI(e,o),r),Ec={},ma=(r,e=Ec)=>r._$AH=e,ba=r=>r._$AH,mr=r=>{r._$AP?.(!1,!0);let e=r._$AA,o=r._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var xa=(r,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(r[a],a);return n},wc=be(class extends oe{constructor(r){if(super(r),r.type!==me.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let d of r)a[s]=n?n(d,s):s,i[s]=o(d,s),s++;return{values:i,keys:a}}render(r,e,o){return this.ht(r,e,o).values}update(r,[e,o,n]){let a=ba(r),{values:i,keys:s}=this.ht(e,o,n);if(!Array.isArray(a))return this.dt=s,i;let d=this.dt??=[],l=[],u,h,p=0,g=a.length-1,m=0,b=i.length-1;for(;p<=g&&m<=b;)if(a[p]===null)p++;else if(a[g]===null)g--;else if(d[p]===s[m])l[m]=xe(a[p],i[m]),p++,m++;else if(d[g]===s[b])l[b]=xe(a[g],i[b]),g--,b--;else if(d[p]===s[b])l[b]=xe(a[p],i[b]),qe(r,l[b+1],a[p]),p++,b--;else if(d[g]===s[m])l[m]=xe(a[g],i[m]),qe(r,a[p],a[g]),g--,m++;else if(u===void 0&&(u=xa(s,m,b),h=xa(d,p,g)),u.has(d[p]))if(u.has(d[g])){let S=h.get(s[m]),w=S!==void 0?a[S]:null;if(w===null){let C=qe(r,a[p]);xe(C,i[m]),l[m]=C}else l[m]=xe(w,i[m]),qe(r,a[p],w),a[S]=null;m++}else mr(a[g]),g--;else mr(a[p]),p++;for(;m<=b;){let S=qe(r,l[b+1]);xe(S,i[m]),l[m++]=S}for(;p<=g;){let S=a[p++];S!==null&&mr(S)}return this.dt=s,ma(r,l),K}});var ro={};U(ro,{classMap:()=>Cc});var Cc=be(class extends oe{constructor(r){if(super(r),r.type!==me.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(e=>r[e]).join(" ")+" "}update(r,[e]){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 e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let o=r.element.classList;for(let n of this.it)n in e||(o.remove(n),this.it.delete(n));for(let n in e){let a=!!e[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 K}});var oo={};U(oo,{styleMap:()=>Rc});var va="important",Ac=" !"+va,Rc=be(class extends oe{constructor(r){if(super(r),r.type!==me.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((e,o)=>{let n=r[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(r,[e]){let{style:o}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(Ac);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?va:""):o[n]=a}}return K}});var no={};U(no,{UnsafeHTMLDirective:()=>Ye,unsafeHTML:()=>Nc});var Ye=class extends oe{constructor(e){if(super(e),this.et=$,e.type!==me.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this.vt=void 0,this.et=e;if(e===K)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let o=[e];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ye.directiveName="unsafeHTML",Ye.resultType=1;var Nc=be(Ye);var po={};U(po,{CacheRegistry:()=>fo,ClearCacheEvent:()=>Ct});var io={};U(io,{CancelablePromise:()=>Je,CanceledPromiseError:()=>wt,cancelable:()=>ao});var wt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Je=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new wt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new wt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ao=r=>new Je((e,o)=>r.then(e).catch(o));var uo={};U(uo,{FtNotificationEvent:()=>so,PostResizeEvent:()=>lo,PreResizeEvent:()=>co,WithEventBus:()=>Be,withEventBus:()=>Sa});var so=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},co=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},lo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Sa(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??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 Be=class extends Sa(Object){};var Ct=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},fo=class extends Be{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,o){this.loaders[e]=o,this.finalContent.delete(e)}registerFinal(e,o){this.loaders[e]=o,this.finalContent.add(e)}clearAll(e=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);e&&o.length>0&&this.dispatchEvent(new Ct(o))}clear(e,o=!0){if(!this.finalContent.has(e))return this.forceClear(e),o&&this.dispatchEvent(new Ct([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Je&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,o){this.forceClear(e),this.register(e,async()=>o),this.content[e]=o}setFinal(e,o){this.forceClear(e),this.registerFinal(e,async()=>o),this.content[e]=o}async get(e,o,n){if(this.content[e]===void 0){if(o=o??this.loaders[e],o==null)throw new Error("Unknown cache key "+e);let a=ao(o());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var yo={};U(yo,{ClusteringHelper:()=>ho});var ho=class r{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,o){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return o==null?r.flattenMetadata(i):r.flattenMetadata(i.find(s=>s.key===o))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>r.flattenMetadata(n)).filter(n=>n!=null);let o=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!o))if(o){let n=[],a=[];return e.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,o,n="No value"){var a,i;let s=r.extractResultMetadata(this.selectedResult,e),d=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(u=>r.extractResultMetadata(u,e)).map(u=>u??{key:e,label:d,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,p)=>p.findIndex(g=>g.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,e,o))}compareMetadata(e,o,n,a){if(e==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",d=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(o,a,{numeric:!0});return d?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(l=>{var u;return((u=r.extractResultMetadata(l,e))===null||u===void 0?void 0:u.value)==o}),i=[...r.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,d=-1;for(let l of n){let u=this.countMatchingMetadata(l,i);if(u>d&&(d=u,s=l,u===i.length))break}return s}countMatchingMetadata(e,o){return r.extractResultMetadata(e).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var go={};U(go,{Debouncer:()=>At});var At=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(d){a(d);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 vo={};U(vo,{customElement:()=>bo,isNumber:()=>Ra,jsonProperty:()=>xo,optionalNumberProperty:()=>kc});var mo={};U(mo,{dateReviver:()=>Pc,deepEqual:()=>Rt,delay:()=>Oa,eventPathContainsMatchingElement:()=>Lc,flatDeep:()=>wa,hasChanged:()=>Nt,last:()=>Tc,minmax:()=>It,parseDate:()=>Ca,unslotText:()=>Aa,waitFor:()=>Ea,waitUntil:()=>Ic});var Oa=r=>new Promise(e=>setTimeout(e,r));async function Ic(r,e=10,o=2e4){await Ea(async()=>await r()||void 0,e,o)}async function Ea(r,e=10,o=2e4){let n=await r(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await Oa(e),n=await r(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function wa(r,e){return r.flatMap(o=>[o,...wa(e(o),e)])}function Pc(...r){return function(e,o){return r.includes(e)?Ca(o):o}}function Ca(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,a)=>o+n+":"+a),new Date(r)}function _c(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(r)){if(o=r.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Rt(r[n],e[n]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;for(n of r.entries())if(!Rt(n[1],e.get(n[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(a=Object.keys(r),o=a.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Rt(r[i],e[i]))return!1}return!0}return r!==r&&e!==e}function Rt(r,e){try{return _c(r,e)}catch{return!1}}function Nt(r,e){return!Rt(r,e)}function Lc(r,e,o=window.document.body){if(e.length>0){let n=r.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function It(r,e,o){return Math.min(Math.max(r,e),o)}function Tc(r){return r[r.length-1]}function Aa(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Aa(e)).join(""):r?.textContent||""}var bo=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function xo(r,e){let o=()=>JSON.parse(JSON.stringify(r));return G({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Nt,...e??{}})}function kc(r){return G({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ra(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function Ra(r){return!isNaN(parseFloat(r))}var Co={};U(Co,{designSystemVariables:()=>wo});var Eo={};U(Eo,{DesignSystemFamily:()=>Pt,DesignSystemSize:()=>_t,FtCssVariableFactory:()=>t,badge:()=>Hc,banner:()=>Wc,button:()=>Dc,chart:()=>nl,checkbox:()=>sl,chip:()=>$c,chipChoice:()=>Mc,collapsible:()=>rl,comboboxMultiSelect:()=>el,comboboxSingleSelect:()=>Qc,drawer:()=>Zc,floatingMenu:()=>Xc,foundation:()=>c,link:()=>Bc,modal:()=>Kc,notice:()=>il,notification:()=>dl,pageDesigner:()=>al,pageFooter:()=>Gc,pageHeader:()=>jc,pageLayout:()=>Vc,popover:()=>tl,radio:()=>ll,resolveFamilyClass:()=>So,resolveSizeClass:()=>Oo,semantic:()=>f,setVariable:()=>br,switch_:()=>ol,tabs:()=>qc,textArea:()=>Jc,textInput:()=>Yc,titleBreadcrumb:()=>zc,toggle:()=>cl,tooltip:()=>ul,typographies:()=>Fc,typographyBody1Medium:()=>Ta,typographyBody1Regular:()=>La,typographyBody1Semibold:()=>ka,typographyBody2Medium:()=>Ua,typographyBody2MediumUnderline:()=>Da,typographyBody2Regular:()=>Fa,typographyBody2Semibold:()=>Ma,typographyCaption1Bold:()=>Ka,typographyCaption1Medium:()=>Ga,typographyCaption1Semibold:()=>Va,typographyCaption2Bold:()=>Ya,typographyCaption2Medium:()=>Za,typographyCaption2Semibold:()=>qa,typographyCaption3Bold:()=>Qa,typographyCaption3Medium:()=>Ja,typographyCaption3Semibold:()=>Xa,typographyDisplay:()=>Na,typographyLabel1Bold:()=>Wa,typographyLabel1Medium:()=>$a,typographyLabel1Semibold:()=>Ba,typographyLabel2Bold:()=>ja,typographyLabel2Medium:()=>Ha,typographyLabel2Semibold:()=>za,typographyTitle1:()=>Ia,typographyTitle2:()=>Pa,typographyTitle3:()=>_a,typographyVariants:()=>Uc});var ue=r=>typeof r=="string"?mt(r):r,t=class{static create(e,o,n,a){let i=d=>ue(d??a),s=W`var(${ue(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=d=>W`var(${ue(e)}, ${i(d)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=d=>n.get(d??a),s=W`var(${ue(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=d=>W`var(${ue(e)}, ${i(d)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):ue(i??e.lastResortDefaultValue()),a=W`var(${ue(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>W`var(${ue(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function br(r,e){return ue(`${r.name}: ${e}`)}var c={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},Na={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ia={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Pa={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},_a={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},La={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ta={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ka={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Fa={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ua={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Da={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ma={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},$a={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ba={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},za={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ja={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Va={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ka={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Za={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},qa={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ya={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ja={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Xa={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Qa={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Fc={display:Na,"title-1":Ia,"title-2":Pa,"title-3":_a,"body-1-regular":La,"body-1-medium":Ta,"body-1-semibold":ka,"body-2-regular":Fa,"body-2-medium":Ua,"body-2-medium-underline":Da,"body-2-semibold":Ma,"label-1-medium":$a,"label-1-semibold":Ba,"label-1-bold":Wa,"label-2-medium":Ha,"label-2-semibold":za,"label-2-bold":ja,"caption-1-medium":Ga,"caption-1-semibold":Va,"caption-1-bold":Ka,"caption-2-medium":Za,"caption-2-semibold":qa,"caption-2-bold":Ya,"caption-3-medium":Ja,"caption-3-semibold":Xa,"caption-3-bold":Qa},Uc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Dc={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:t.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:t.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var Mc={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var $c={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:t.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:t.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Bc={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Wc={iconSize:t.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var Hc={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:t.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",f.contentActionPrimary)};var zc={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var jc={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Gc={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Vc={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Kc={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:t.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Zc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var qc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:t.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Yc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Jc={backgroundColor:t.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Xc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Qc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var el={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var tl={backgroundColor:t.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:t.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:t.extend("--ft-popover-gap","",c.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var rl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:t.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",c.iconSize3)};var ol={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:t.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:t.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var nl={color1Light:t.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",c.colorRed40),color5Base:t.extend("--ft-chart-5-base","",c.colorRed60),color6Light:t.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",c.colorGray50),color10Base:t.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var al={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var il={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:t.extend("--ft-notice-gap","",c.spacing2),iconSize:t.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var sl={color:t.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",c.spacing3)};var cl={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:t.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",c.spacing3)};var ll={color:t.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",c.spacing3)};var dl={iconSize:t.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",c.spacing8)};var ul={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:t.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:t.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",c.spacing05)};var Pt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Pt||(Pt={}));var _t;(function(r){r.large="large",r.medium="medium",r.small="small"})(_t||(_t={}));function So(r){return`ftds--family-${r}`}function Oo(r){return`ftds--size-${r}`}var wo={colorPrimary:t.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:t.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:t.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:t.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:t.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:t.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:t.create("--ft-color-error","","COLOR","#B00020"),colorOutline:t.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:t.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:t.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:t.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:t.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:t.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:t.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:t.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:t.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:t.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:t.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:t.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:t.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:t.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:t.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:t.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:t.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:t.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:t.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:t.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:t.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:t.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:t.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:t.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:t.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:t.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:t.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:t.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:t.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:t.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:t.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:t.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:t.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:t.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:t.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:t.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:t.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:t.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:t.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:t.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:t.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:t.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var $o={};U($o,{computeFlipOffsetPosition:()=>Tl,computeOffsetPosition:()=>Ll});var ti=["top","right","bottom","left"],ei=["start","end"],Ao=ti.reduce((r,e)=>r.concat(e,e+"-"+ei[0],e+"-"+ei[1]),[]),kt=Math.min,ve=Math.max,Ft=Math.round;var fe=r=>({x:r,y:r}),fl={left:"right",right:"left",bottom:"top",top:"bottom"},pl={start:"end",end:"start"};function Ro(r,e,o){return ve(r,kt(e,o))}function Xe(r,e){return typeof r=="function"?r(e):r}function ne(r){return r.split("-")[0]}function ae(r){return r.split("-")[1]}function No(r){return r==="x"?"y":"x"}function Io(r){return r==="y"?"height":"width"}function Ut(r){return["top","bottom"].includes(ne(r))?"y":"x"}function Po(r){return No(Ut(r))}function _o(r,e,o){o===void 0&&(o=!1);let n=ae(r),a=Po(r),i=Io(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Tt(s)),[s,Tt(s)]}function ri(r){let e=Tt(r);return[Lt(r),e,Lt(e)]}function Lt(r){return r.replace(/start|end/g,e=>pl[e])}function hl(r,e,o){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return o?e?a:n:e?n:a;case"left":case"right":return e?i:s;default:return[]}}function oi(r,e,o,n){let a=ae(r),i=hl(ne(r),o==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Lt)))),i}function Tt(r){return r.replace(/left|right|bottom|top/g,e=>fl[e])}function yl(r){return{top:0,right:0,bottom:0,left:0,...r}}function ni(r){return typeof r!="number"?yl(r):{top:r,right:r,bottom:r,left:r}}function We(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function ai(r,e,o){let{reference:n,floating:a}=r,i=Ut(e),s=Po(e),d=Io(s),l=ne(e),u=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,g=n[d]/2-a[d]/2,m;switch(l){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:p};break;case"left":m={x:n.x-a.width,y:p};break;default:m={x:n.x,y:n.y}}switch(ae(e)){case"start":m[s]-=g*(o&&u?-1:1);break;case"end":m[s]+=g*(o&&u?-1:1);break}return m}var ii=async(r,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,d=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:r,floating:e,strategy:a}),{x:h,y:p}=ai(u,n,l),g=n,m={},b=0;for(let S=0;S<d.length;S++){let{name:w,fn:C}=d[S],{x:A,y:O,data:v,reset:E}=await C({x:h,y:p,initialPlacement:n,placement:g,strategy:a,middlewareData:m,rects:u,platform:s,elements:{reference:r,floating:e}});if(h=A??h,p=O??p,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:e,strategy:a}):E.rects),{x:h,y:p}=ai(u,g,l)),S=-1;continue}}return{x:h,y:p,placement:g,strategy:a,middlewareData:m}};async function xr(r,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:d,strategy:l}=r,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:m=0}=Xe(e,r),b=ni(m),w=d[g?p==="floating"?"reference":"floating":p],C=We(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(d.floating)),boundary:u,rootBoundary:h,strategy:l})),A=p==="floating"?{...s.floating,x:n,y:a}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.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=We(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:O,strategy:l}):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 gl(r,e,o){return(r?[...o.filter(a=>ae(a)===r),...o.filter(a=>ae(a)!==r)]:o.filter(a=>ne(a)===a)).filter(a=>r?ae(a)===r||(e?Lt(a)!==a:!1):!0)}var Lo=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:d,platform:l,elements:u}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:g=Ao,autoAlignment:m=!0,...b}=Xe(r,e),S=p!==void 0||g===Ao?gl(p||null,m,g):g,w=await xr(e,b),C=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[C];if(A==null)return{};let O=_o(A,i,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(d!==A)return{reset:{placement:S[0]}};let v=[w[ne(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 P=E.map(I=>{let y=ae(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]),T=((a=P.filter(I=>I[2].slice(0,ae(I[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||P[0][0];return T!==d?{data:{index:C+1,overflows:E},reset:{placement:T}}:{}}}},To=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var o,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:d,platform:l,elements:u}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...w}=Xe(r,e);if((o=i.arrow)!=null&&o.alignmentOffset)return{};let C=ne(a),A=ne(d)===d,O=await(l.isRTL==null?void 0:l.isRTL(u.floating)),v=g||(A||!S?[Tt(d)]:ri(d));!g&&b!=="none"&&v.push(...oi(d,S,b,O));let E=[d,...v],R=await xr(e,w),P=[],k=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&P.push(R[C]),p){let x=_o(a,s,O);P.push(R[x[0]],R[x[1]])}if(k=[...k,{placement:a,overflows:P}],!P.every(x=>x<=0)){var T,I;let x=(((T=i.flip)==null?void 0:T.index)||0)+1,N=E[x];if(N)return{data:{index:x,overflows:k},reset:{placement:N}};let L=(I=k.filter(F=>F.overflows[0]<=0).sort((F,_)=>F.overflows[1]-_.overflows[1])[0])==null?void 0:I.placement;if(!L)switch(m){case"bestFit":{var y;let F=(y=k.map(_=>[_.placement,_.overflows.filter(te=>te>0).reduce((te,lt)=>te+lt,0)]).sort((_,te)=>_[1]-te[1])[0])==null?void 0:y[0];F&&(L=F);break}case"initialPlacement":L=d;break}if(a!==L)return{reset:{placement:L}}}return{}}}};async function ml(r,e){let{placement:o,platform:n,elements:a}=r,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=ne(o),d=ae(o),l=Ut(o)==="y",u=["left","top"].includes(s)?-1:1,h=i&&l?-1:1,p=Xe(e,r),{mainAxis:g,crossAxis:m,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return d&&typeof b=="number"&&(m=d==="end"?b*-1:b),l?{x:m*h,y:g*u}:{x:g*u,y:m*h}}var ko=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var o,n;let{x:a,y:i,placement:s,middlewareData:d}=e,l=await ml(e,r);return s===((o=d.offset)==null?void 0:o.placement)&&(n=d.arrow)!=null&&n.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:s}}}}},Fo=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:d={fn:w=>{let{x:C,y:A}=w;return{x:C,y:A}}},...l}=Xe(r,e),u={x:o,y:n},h=await xr(e,l),p=Ut(ne(a)),g=No(p),m=u[g],b=u[p];if(i){let w=g==="y"?"top":"left",C=g==="y"?"bottom":"right",A=m+h[w],O=m-h[C];m=Ro(A,m,O)}if(s){let w=p==="y"?"top":"left",C=p==="y"?"bottom":"right",A=b+h[w],O=b-h[C];b=Ro(A,b,O)}let S=d.fn({...e,[g]:m,[p]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function pe(r){return ci(r)?(r.nodeName||"").toLowerCase():"#document"}function V(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function he(r){var e;return(e=(ci(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function ci(r){return r instanceof Node||r instanceof V(r).Node}function ie(r){return r instanceof Element||r instanceof V(r).Element}function Q(r){return r instanceof HTMLElement||r instanceof V(r).HTMLElement}function si(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof V(r).ShadowRoot}function Qe(r){let{overflow:e,overflowX:o,overflowY:n,display:a}=Z(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function li(r){return["table","td","th"].includes(pe(r))}function Sr(r){let e=Or(),o=Z(r);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(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 di(r){let e=He(r);for(;Q(e)&&!Dt(e);){if(Sr(e))return e;e=He(e)}return null}function Or(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Dt(r){return["html","body","#document"].includes(pe(r))}function Z(r){return V(r).getComputedStyle(r)}function Mt(r){return ie(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function He(r){if(pe(r)==="html")return r;let e=r.assignedSlot||r.parentNode||si(r)&&r.host||he(r);return si(e)?e.host:e}function ui(r){let e=He(r);return Dt(e)?r.ownerDocument?r.ownerDocument.body:r.body:Q(e)&&Qe(e)?e:ui(e)}function vr(r,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=ui(r),i=a===((n=r.ownerDocument)==null?void 0:n.body),s=V(a);return i?e.concat(s,s.visualViewport||[],Qe(a)?a:[],s.frameElement&&o?vr(s.frameElement):[]):e.concat(a,vr(a,[],o))}function hi(r){let e=Z(r),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Q(r),i=a?r.offsetWidth:o,s=a?r.offsetHeight:n,d=Ft(o)!==i||Ft(n)!==s;return d&&(o=i,n=s),{width:o,height:n,$:d}}function yi(r){return ie(r)?r:r.contextElement}function et(r){let e=yi(r);if(!Q(e))return fe(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=hi(e),s=(i?Ft(o.width):o.width)/n,d=(i?Ft(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!d||!Number.isFinite(d))&&(d=1),{x:s,y:d}}var bl=fe(0);function gi(r){let e=V(r);return!Or()||!e.visualViewport?bl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function xl(r,e,o){return e===void 0&&(e=!1),!o||e&&o!==V(r)?!1:e}function $t(r,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=r.getBoundingClientRect(),i=yi(r),s=fe(1);e&&(n?ie(n)&&(s=et(n)):s=et(r));let d=xl(i,o,n)?gi(i):fe(0),l=(a.left+d.x)/s.x,u=(a.top+d.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let g=V(i),m=n&&ie(n)?V(n):n,b=g.frameElement;for(;b&&n&&m!==g;){let S=et(b),w=b.getBoundingClientRect(),C=Z(b),A=w.left+(b.clientLeft+parseFloat(C.paddingLeft))*S.x,O=w.top+(b.clientTop+parseFloat(C.paddingTop))*S.y;l*=S.x,u*=S.y,h*=S.x,p*=S.y,l+=A,u+=O,b=V(b).frameElement}}return We({width:h,height:p,x:l,y:u})}function vl(r){let{rect:e,offsetParent:o,strategy:n}=r,a=Q(o),i=he(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},d=fe(1),l=fe(0);if((a||!a&&n!=="fixed")&&((pe(o)!=="body"||Qe(i))&&(s=Mt(o)),Q(o))){let u=$t(o);d=et(o),l.x=u.x+o.clientLeft,l.y=u.y+o.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-s.scrollLeft*d.x+l.x,y:e.y*d.y-s.scrollTop*d.y+l.y}}function Sl(r){return Array.from(r.getClientRects())}function mi(r){return $t(he(r)).left+Mt(r).scrollLeft}function Ol(r){let e=he(r),o=Mt(r),n=r.ownerDocument.body,a=ve(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=ve(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+mi(r),d=-o.scrollTop;return Z(n).direction==="rtl"&&(s+=ve(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:d}}function El(r,e){let o=V(r),n=he(r),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,d=0,l=0;if(a){i=a.width,s=a.height;let u=Or();(!u||u&&e==="fixed")&&(d=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:d,y:l}}function wl(r,e){let o=$t(r,!0,e==="fixed"),n=o.top+r.clientTop,a=o.left+r.clientLeft,i=Q(r)?et(r):fe(1),s=r.clientWidth*i.x,d=r.clientHeight*i.y,l=a*i.x,u=n*i.y;return{width:s,height:d,x:l,y:u}}function fi(r,e,o){let n;if(e==="viewport")n=El(r,o);else if(e==="document")n=Ol(he(r));else if(ie(e))n=wl(e,o);else{let a=gi(r);n={...e,x:e.x-a.x,y:e.y-a.y}}return We(n)}function bi(r,e){let o=He(r);return o===e||!ie(o)||Dt(o)?!1:Z(o).position==="fixed"||bi(o,e)}function Cl(r,e){let o=e.get(r);if(o)return o;let n=vr(r,[],!1).filter(d=>ie(d)&&pe(d)!=="body"),a=null,i=Z(r).position==="fixed",s=i?He(r):r;for(;ie(s)&&!Dt(s);){let d=Z(s),l=Sr(s);!l&&d.position==="fixed"&&(a=null),(i?!l&&!a:!l&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Qe(s)&&!l&&bi(r,s))?n=n.filter(h=>h!==s):a=d,s=He(s)}return e.set(r,n),n}function Al(r){let{element:e,boundary:o,rootBoundary:n,strategy:a}=r,s=[...o==="clippingAncestors"?Cl(e,this._c):[].concat(o),n],d=s[0],l=s.reduce((u,h)=>{let p=fi(e,h,a);return u.top=ve(p.top,u.top),u.right=kt(p.right,u.right),u.bottom=kt(p.bottom,u.bottom),u.left=ve(p.left,u.left),u},fi(e,d,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Rl(r){return hi(r)}function Nl(r,e,o){let n=Q(e),a=he(e),i=o==="fixed",s=$t(r,!0,i,e),d={scrollLeft:0,scrollTop:0},l=fe(0);if(n||!n&&!i)if((pe(e)!=="body"||Qe(a))&&(d=Mt(e)),n){let u=$t(e,!0,i,e);l.x=u.x+e.clientLeft,l.y=u.y+e.clientTop}else a&&(l.x=mi(a));return{x:s.left+d.scrollLeft-l.x,y:s.top+d.scrollTop-l.y,width:s.width,height:s.height}}function pi(r,e){return!Q(r)||Z(r).position==="fixed"?null:e?e(r):r.offsetParent}function xi(r,e){let o=V(r);if(!Q(r))return o;let n=pi(r,e);for(;n&&li(n)&&Z(n).position==="static";)n=pi(n,e);return n&&(pe(n)==="html"||pe(n)==="body"&&Z(n).position==="static"&&!Sr(n))?o:n||di(r)||o}var Il=async function(r){let{reference:e,floating:o,strategy:n}=r,a=this.getOffsetParent||xi,i=this.getDimensions;return{reference:Nl(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Pl(r){return Z(r).direction==="rtl"}var tt={convertOffsetParentRelativeRectToViewportRelativeRect:vl,getDocumentElement:he,getClippingRect:Al,getOffsetParent:xi,getElementRects:Il,getClientRects:Sl,getDimensions:Rl,getScale:et,isElement:ie,isRTL:Pl};var Uo=(r,e,o)=>{let n=new Map,a={platform:tt,...o},i={...a.platform,_c:n};return ii(r,e,{...a,platform:i})};function Mo(r){return _l(r)}function Do(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function _l(r){for(let e=r;e;e=Do(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Do(r);e;e=Do(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ll(r,e,o){return Uo(r,e,{platform:{...tt,getOffsetParent:n=>tt.getOffsetParent(n,Mo)},middleware:[Fo({crossAxis:!0}),Lo({allowedPlacements:[o]})]})}async function Tl(r,e,o,n,a){return Uo(r,e,{placement:o,strategy:a,platform:{...tt,getOffsetParent:i=>tt.getOffsetParent(i,Mo)},middleware:[ko(4),To({fallbackPlacements:n})]})}var zo={};U(zo,{FtdsBase:()=>Ho,toFtdsBase:()=>Ri});var Wo={};U(Wo,{FtLitElement:()=>q});var Bo={};U(Bo,{ScopedRegistryLitElement:()=>Bt});var Er=window,kl=Er.ShadowRoot&&(Er.ShadyCSS===void 0||Er.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Iy=Symbol();var vi=(r,e)=>{kl?r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=Er.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)})};var Bt=class extends de{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return vi(n,e.elementStyles),n}};var wr=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var d=r.length-1;d>=0;d--)(s=r[d])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},wi,Si=Symbol("constructorPrototype"),Oi=Symbol("constructorName"),Ci=Symbol("exportpartsDebouncer"),Ei=Symbol("dynamicDependenciesLoaded"),q=class extends Bt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[wi]=new At(5),this[Oi]=this.constructor.name,this[Si]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Oi]&&Object.setPrototypeOf(this,this[Si])}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 e=this.constructor;e[Ei]||(e[Ei]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var 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(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ci].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,d;let l=g=>g!=null&&g.trim().length>0,u=e.filter(l).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=(d=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...m,...b).filter(l).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(g=>u.map(m=>`${g}:${m}--${g}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};wi=Ci;wr([G()],q.prototype,"exportpartsPrefix",void 0);wr([xo([])],q.prototype,"exportpartsPrefixes",void 0);wr([G()],q.prototype,"customStylesheet",void 0);wr([Qr()],q.prototype,"useAdoptedStyleSheets",void 0);var Ai=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var d=r.length-1;d>=0;d--)(s=r[d])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};function Ri(r){class e extends r{constructor(){super(...arguments),this.size=_t.medium,this.family=Pt.neutral}getDesignSystemBaseClasses(){return{[So(this.family)]:!0,[Oo(this.size)]:!0}}}return Ai([G()],e.prototype,"size",void 0),Ai([G()],e.prototype,"family",void 0),e}var Ho=class extends Ri(q){};var Ni={};var Go={};U(Go,{highlightHtml:()=>Dl,highlightHtmlColorCssVariable:()=>Ii,highlightHtmlStyles:()=>Ul});var ze=class r{constructor(e,o=!0,n=[],a=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(e,o){let n=typeof o=="string"?[o]:o,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(e,o,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,d=0;i=Array.prototype.slice.call(i);let l=()=>{--s<=0&&a(d)};s||l(),i.forEach(u=>{r.matches(u,this.exclude)?l():this.onIframeReady(u,h=>{o(u)&&(d++,n(h)),l()},l)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(s&d)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,a){let i=!1,s=!1;return a.forEach((d,l)=>{d.val===n&&(i=l,s=d.handled)}),this.compareNodeIframe(e,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(e,o,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(e,o,n,a,i){let s=this.createIterator(o,e,a),d=[],l=[],u,h,p=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;p();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(u,h,g,d),g=>{this.createInstanceOnIframe(g).forEachNode(e,m=>l.push(m),a)}),l.push(u);l.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(d,e,n,a),i()}forEachNode(e,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(d=>{let l=()=>{this.iterateThroughNodes(e,d,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(d,l):l()})}};var Wt=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ze(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let 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],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);d!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(l)})`,`gm${n}`),a+`(${this.processSynomyms(d)}|${this.processSynomyms(l)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(e){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?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){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 e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){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(d=>{s+=`|${this.escapeStr(d)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.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(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:d}=this.callNoMatchOnInvalidRanges(a,n);d&&(a.start=i,a.length=s-i,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,o,n){let a,i=!0,s=n.length,d=o-s,l=parseInt(e.start,10)-d;return l=l>s?s:l,a=l+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||a-l<0||l>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:a,valid:i}}getTextNodes(e){let 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,()=>{e({value:o,nodes:n})})}matchesExclude(e){return ze.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(o),s=i.splitText(n-o),d=document.createElement(a);return d.setAttribute("data-markjs","true"),this.opt.className&&d.setAttribute("class",this.opt.className),d.textContent=i.textContent,i.parentNode.replaceChild(d,i),s}wrapRangeInMappedTextNode(e,o,n,a,i){e.nodes.every((s,d)=>{let l=e.nodes[d+1];if(typeof l>"u"||l.start>o){if(!a(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,p=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=p+g,e.nodes.forEach((m,b)=>{b>=d&&(e.nodes[b].start>0&&b!==d&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(d=>{d.nodes.forEach(l=>{l=l.node;let u;for(;(u=e.exec(l.textContent))!==null&&u[s]!=="";){if(!n(u[s],l))continue;let h=u.index;if(s!==0)for(let p=1;p<s;p++)h+=u[p].length;l=this.wrapRangeInTextNode(l,h,h+u[s].length),a(l.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(d=>{let l;for(;(l=e.exec(d.value))!==null&&l[s]!=="";){let u=l.index;if(s!==0)for(let p=1;p<s;p++)u+=l[p].length;let h=u+l[s].length;this.wrapRangeInMappedTextNode(d,u,h,p=>n(l[s],p),(p,g)=>{e.lastIndex=g,a(p)})}i()})}wrapRangeFromIndex(e,o,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((d,l)=>{let{start:u,end:h,valid:p}=this.checkWhitespaceRanges(d,s,i.value);p&&this.wrapRangeInMappedTextNode(i,u,h,g=>o(g,d,i.value.substring(u,h),l),g=>{n(g,d)})}),a()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,d)=>this.opt.filter(d,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",l=u=>{let h=new RegExp(this.createRegExp(u),`gm${d}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,m)=>this.opt.filter(m,u,n,p),g=>{p++,n++,this.opt.each(g)},()=>{p===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(n):l(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(i[0])}markRanges(e,o){this.opt=o;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,d,l)=>this.opt.filter(i,s,d,l),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;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=ze.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function jo(r){let e=new Wt(r);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var Fl=jo,Ii=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ul=W`
8
8
  .highlight-html-match {
9
9
  background: ${Ii};
10
10
  }
11
- `;function Ul(r,e,o){var n,a;let i=r.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new kl(r);if(s.unmark(),e&&e.trim()){let d={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(d.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...d,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...d,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var Vo={};U(Vo,{noTextInputDefaultClearButton:()=>Bl,noTextSelect:()=>Dl,safariEllipsisFix:()=>Ml,wordWrap:()=>$l});var Dl=W`
11
+ `;function Dl(r,e,o){var n,a;let i=r.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Fl(r);if(s.unmark(),e&&e.trim()){let d={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(d.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...d,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...d,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var Vo={};U(Vo,{noTextInputDefaultClearButton:()=>Wl,noTextSelect:()=>Ml,safariEllipsisFix:()=>Bl,wordWrap:()=>$l});var Ml=W`
12
12
  .ft-no-text-select {
13
13
  -webkit-touch-callout: none;
14
14
  -webkit-user-select: none;
@@ -29,7 +29,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
29
29
  -webkit-hyphens: auto;
30
30
  hyphens: auto
31
31
  }
32
- `,Ml=W`
32
+ `,Bl=W`
33
33
  .ft-safari-ellipsis-fix {
34
34
  margin-right: 0;
35
35
 
@@ -40,14 +40,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
40
40
  display: inline-block;
41
41
  width: 0;
42
42
  }
43
- `,Bl=W`
43
+ `,Wl=W`
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 Pi={};var Zo={};U(Zo,{ParametrizedLabelResolver:()=>Ko});var Ko=class r{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?r.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var On={};U(On,{FtCommandQueue:()=>Ht,FtLitElementRedux:()=>rt,FtReduxStore:()=>Sn,clearAllStores:()=>Ad,isFtReduxStore:()=>je,redux:()=>Hl,reduxEventListener:()=>zl,reduxReactive:()=>Wl});var Wl=()=>(r,e)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Hl=r=>{let e=r??{};return(o,n)=>{var a;let i={hasChanged:Nt,attribute:!1,...e};G(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:d=>d[n],store:e.store})}},zl=r=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var Ht=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function je(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var _i,Li,Ti,Cr=Symbol("internalReduxEventsUnsubscribers"),Se=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores"),rt=class extends q{constructor(){super(...arguments),this[_i]=new Map,this[Li]=new Map,this[Ti]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ge].get(e)}addStore(e,o){var n;o=(n=o??(je(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Ge].delete(o)}setupStore(e,o){this[Ge].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[Se].has(e.store):this[Se].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[Se].set(e,o.subscribe(()=>this.updateFromStores())),je(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=d=>this[i](d);o.addEventListener(a.eventName,s),this[Cr].push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Se].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Cr].forEach(e=>e()),this[Cr]=[]}unsubscribeFromStore(e){this[Se].has(e)&&this[Se].get(e)(),this[Se].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};_i=Se,Li=Ge,Ti=Cr;rt.reduxProperties=new Map;rt.reduxReactiveProperties=new Set;rt.reduxEventListeners=new Map;function J(r){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;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 ye(r){return!!r&&!!r[$]}function ee(r){var e;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)===Jl}(r)||Array.isArray(r)||!!r[Bi]||!!(!((e=r.constructor)===null||e===void 0)&&e[Bi])||on(r)||nn(r))}function Ve(r,e,o){o===void 0&&(o=!1),at(r)===0?(o?Object.keys:nt)(r).forEach(function(n){o&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,a){return e(a,n,r)})}function at(r){var e=r[$];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:on(r)?2:nn(r)?3:0}function ot(r,e){return at(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function jl(r,e){return at(r)===2?r.get(e):r[e]}function Wi(r,e,o){var n=at(r);n===2?r.set(e,o):n===3?r.add(o):r[e]=o}function Hi(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function on(r){return ql&&r instanceof Map}function nn(r){return Yl&&r instanceof Set}function Oe(r){return r.o||r.t}function an(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=Gi(r);delete e[$];for(var o=nt(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:r[a]})}return Object.create(Object.getPrototypeOf(r),e)}function sn(r,e){return e===void 0&&(e=!1),cn(r)||ye(r)||!ee(r)||(at(r)>1&&(r.set=r.add=r.clear=r.delete=Gl),Object.freeze(r),e&&Ve(r,function(o,n){return sn(n,!0)},!0)),r}function Gl(){J(2)}function cn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function se(r){var e=rn[r];return e||J(18,r),e}function Vl(r,e){rn[r]||(rn[r]=e)}function Qo(){return jt}function qo(r,e){e&&(se("Patches"),r.u=[],r.s=[],r.v=e)}function Ar(r){en(r),r.p.forEach(Kl),r.p=null}function en(r){r===jt&&(jt=r.l)}function ki(r){return jt={p:[],l:jt,h:r,m:!0,_:0}}function Kl(r){var e=r[$];e.i===0||e.i===1?e.j():e.g=!0}function Yo(r,e){e._=e.p.length;var o=e.p[0],n=r!==void 0&&r!==o;return e.h.O||se("ES5").S(e,r,n),n?(o[$].P&&(Ar(e),J(4)),ee(r)&&(r=Rr(e,r),e.l||Nr(e,r)),e.u&&se("Patches").M(o[$].t,r,e.u,e.s)):r=Rr(e,o,[]),Ar(e),e.u&&e.v(e.u,e.s),r!==ji?r:void 0}function Rr(r,e,o){if(cn(e))return e;var n=e[$];if(!n)return Ve(e,function(d,l){return Fi(r,n,e,d,l,o)},!0),e;if(n.A!==r)return e;if(!n.P)return Nr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=an(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Ve(i,function(d,l){return Fi(r,n,a,d,l,o,s)}),Nr(r,a,!1),o&&r.u&&se("Patches").N(n,o,r.u,r.s)}return n.o}function Fi(r,e,o,n,a,i,s){if(ye(a)){var d=Rr(r,a,i&&e&&e.i!==3&&!ot(e.R,n)?i.concat(n):void 0);if(Wi(o,n,d),!ye(d))return;r.m=!1}else s&&o.add(a);if(ee(a)&&!cn(a)){if(!r.h.D&&r._<1)return;Rr(r,a),e&&e.A.l||Nr(r,a)}}function Nr(r,e,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&sn(e,o)}function Jo(r,e){var o=r[$];return(o?Oe(o):r)[e]}function Ui(r,e){if(e in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Ee(r){r.P||(r.P=!0,r.l&&Ee(r.l))}function Xo(r){r.o||(r.o=an(r.t))}function tn(r,e,o){var n=on(e)?se("MapSet").F(e,o):nn(e)?se("MapSet").T(e,o):r.O?function(a,i){var s=Array.isArray(a),d={i:s?1:0,A:i?i.A:Qo(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},l=d,u=Gt;s&&(l=[d],u=zt);var h=Proxy.revocable(l,u),p=h.revoke,g=h.proxy;return d.k=g,d.j=p,g}(e,o):se("ES5").J(e,o);return(o?o.A:Qo()).p.push(n),n}function Zl(r){return ye(r)||J(22,r),function e(o){if(!ee(o))return o;var n,a=o[$],i=at(o);if(a){if(!a.P&&(a.i<4||!se("ES5").K(a)))return a.t;a.I=!0,n=Di(o,i),a.I=!1}else n=Di(o,i);return Ve(n,function(s,d){a&&jl(a.t,s)===d||Wi(n,s,e(d))}),i===3?new Set(n):n}(r)}function Di(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return an(r)}function zi(){function r(s,d){var l=i[s];return l?l.enumerable=d:i[s]=l={configurable:!0,enumerable:d,get:function(){var u=this[$];return Gt.get(u,s)},set:function(u){var h=this[$];Gt.set(h,s,u)}},l}function e(s){for(var d=s.length-1;d>=0;d--){var l=s[d][$];if(!l.P)switch(l.i){case 5:n(l)&&Ee(l);break;case 4:o(l)&&Ee(l)}}}function o(s){for(var d=s.t,l=s.k,u=nt(l),h=u.length-1;h>=0;h--){var p=u[h];if(p!==$){var g=d[p];if(g===void 0&&!ot(d,p))return!0;var m=l[p],b=m&&m[$];if(b?b.t!==g:!Hi(m,g))return!0}}var S=!!d[$];return u.length!==nt(d).length+(S?0:1)}function n(s){var d=s.k;if(d.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(d,d.length-1);if(l&&!l.get)return!0;for(var u=0;u<d.length;u++)if(!d.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&J(3,JSON.stringify(Oe(s)))}var i={};Vl("ES5",{J:function(s,d){var l=Array.isArray(s),u=function(p,g){if(p){for(var m=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(m,""+b,r(b,!0));return m}var S=Gi(g);delete S[$];for(var w=nt(S),C=0;C<w.length;C++){var A=w[C];S[A]=r(A,p||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(l,s),h={i:l?5:4,A:d?d.A:Qo(),P:!1,I:!1,R:{},l:d,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,$,{value:h,writable:!0}),u},S:function(s,d,l){l?ye(d)&&d[$].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var p=h[$];if(p){var g=p.t,m=p.k,b=p.R,S=p.i;if(S===4)Ve(m,function(v){v!==$&&(g[v]!==void 0||ot(g,v)?b[v]||u(m[v]):(b[v]=!0,Ee(p)))}),Ve(g,function(v){m[v]!==void 0||ot(m,v)||(b[v]=!1,Ee(p))});else if(S===5){if(n(p)&&(Ee(p),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]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var $i,jt,ln=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ql=typeof Map<"u",Yl=typeof Set<"u",Mi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ji=ln?Symbol.for("immer-nothing"):(($i={})["immer-nothing"]=!0,$i),Bi=ln?Symbol.for("immer-draftable"):"__$immer_draftable",$=ln?Symbol.for("immer-state"):"__$immer_state";var Jl=""+Object.prototype.constructor,nt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Gi=Object.getOwnPropertyDescriptors||function(r){var e={};return nt(r).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(r,o)}),e},rn={},Gt={get:function(r,e){if(e===$)return r;var o=Oe(r);if(!ot(o,e))return function(a,i,s){var d,l=Ui(i,s);return l?"value"in l?l.value:(d=l.get)===null||d===void 0?void 0:d.call(a.k):void 0}(r,o,e);var n=o[e];return r.I||!ee(n)?n:n===Jo(r.t,e)?(Xo(r),r.o[e]=tn(r.A.h,n,r)):n},has:function(r,e){return e in Oe(r)},ownKeys:function(r){return Reflect.ownKeys(Oe(r))},set:function(r,e,o){var n=Ui(Oe(r),e);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=Jo(Oe(r),e),i=a?.[$];if(i&&i.t===o)return r.o[e]=o,r.R[e]=!1,!0;if(Hi(o,a)&&(o!==void 0||ot(r.t,e)))return!0;Xo(r),Ee(r)}return r.o[e]===o&&(o!==void 0||e in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[e])||(r.o[e]=o,r.R[e]=!0),!0},deleteProperty:function(r,e){return Jo(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Xo(r),Ee(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var o=Oe(r),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){J(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){J(12)}},zt={};Ve(Gt,function(r,e){zt[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),zt.deleteProperty=function(r,e){return zt.set.call(this,r,e,void 0)},zt.set=function(r,e,o){return Gt.set.call(this,r[0],e,o,r[0])};var Xl=function(){function r(o){var n=this;this.O=Mi,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var l=n;return function(S){var w=this;S===void 0&&(S=d);for(var C=arguments.length,A=Array(C>1?C-1:0),O=1;O<C;O++)A[O-1]=arguments[O];return l.produce(S,function(v){var E;return(E=i).call.apply(E,[w,v].concat(A))})}}var u;if(typeof i!="function"&&J(6),s!==void 0&&typeof s!="function"&&J(7),ee(a)){var h=ki(n),p=tn(n,a,void 0),g=!0;try{u=i(p),g=!1}finally{g?Ar(h):en(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return qo(h,s),Yo(S,h)},function(S){throw Ar(h),S}):(qo(h,s),Yo(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===ji&&(u=void 0),n.D&&sn(u,!0),s){var m=[],b=[];se("Patches").M(a,u,m,b),s(m,b)}return u}J(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,p=Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];return n.produceWithPatches(u,function(m){return a.apply(void 0,[m].concat(p))})};var s,d,l=n.produce(a,i,function(u,h){s=u,d=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(u){return[u,s,d]}):[l,s,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=r.prototype;return e.createDraft=function(o){ee(o)||J(8),ye(o)&&(o=Zl(o));var n=ki(this),a=tn(this,o,void 0);return a[$].C=!0,en(n),a},e.finishDraft=function(o,n){var a=o&&o[$],i=a.A;return qo(i,n),Yo(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Mi&&J(20),this.O=o},e.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=se("Patches").$;return ye(o)?s(o,n):this.produce(o,function(d){return s(d,n)})},r}(),Y=new Xl,Ql=Y.produce,rg=Y.produceWithPatches.bind(Y),og=Y.setAutoFreeze.bind(Y),ng=Y.setUseProxies.bind(Y),ag=Y.applyPatches.bind(Y),ig=Y.createDraft.bind(Y),sg=Y.finishDraft.bind(Y),Ir=Ql;function we(r){"@babel/helpers - typeof";return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we(r)}function dn(r,e){if(we(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,e||"default");if(we(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function un(r){var e=dn(r,"string");return we(e)==="symbol"?e:String(e)}function fn(r,e,o){return e=un(e),e in r?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o,r}function Vi(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,n)}return o}function Pr(r){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Vi(Object(o),!0).forEach(function(n){fn(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):Vi(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function j(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 Ki=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),pn=function(){return Math.random().toString(36).substring(7).split("").join(".")},_r={INIT:"@@redux/INIT"+pn(),REPLACE:"@@redux/REPLACE"+pn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pn()}};function ed(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function hn(r,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(j(1));return o(hn)(r,e)}if(typeof r!="function")throw new Error(j(2));var a=r,i=e,s=[],d=s,l=!1;function u(){d===s&&(d=s.slice())}function h(){if(l)throw new Error(j(3));return i}function p(S){if(typeof S!="function")throw new Error(j(4));if(l)throw new Error(j(5));var w=!0;return u(),d.push(S),function(){if(w){if(l)throw new Error(j(6));w=!1,u();var A=d.indexOf(S);d.splice(A,1),s=null}}}function g(S){if(!ed(S))throw new Error(j(7));if(typeof S.type>"u")throw new Error(j(8));if(l)throw new Error(j(9));try{l=!0,i=a(i,S)}finally{l=!1}for(var w=s=d,C=0;C<w.length;C++){var A=w[C];A()}return S}function m(S){if(typeof S!="function")throw new Error(j(10));a=S,g({type:_r.REPLACE})}function b(){var S,w=p;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(j(11));function O(){A.next&&A.next(h())}O();var v=w(O);return{unsubscribe:v}}},S[Ki]=function(){return this},S}return g({type:_r.INIT}),n={dispatch:g,subscribe:p,getState:h,replaceReducer:m},n[Ki]=b,n}function td(r){Object.keys(r).forEach(function(e){var o=r[e],n=o(void 0,{type:_r.INIT});if(typeof n>"u")throw new Error(j(12));if(typeof o(void 0,{type:_r.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function Zi(r){for(var e=Object.keys(r),o={},n=0;n<e.length;n++){var a=e[n];typeof r[a]=="function"&&(o[a]=r[a])}var i=Object.keys(o),s,d;try{td(o)}catch(l){d=l}return function(u,h){if(u===void 0&&(u={}),d)throw d;if(0)var p;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(j(14))}m[S]=A,g=g||A!==C}return g=g||i.length!==Object.keys(u).length,g?m:u}}function it(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function qi(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(j(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=e.map(function(l){return l(s)});return i=it.apply(void 0,d)(a.dispatch),Pr(Pr({},a),{},{dispatch:i})}}}function Yi(r){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(d){return typeof d=="function"?d(a,i,r):s(d)}}};return e}var Ji=Yi();Ji.withExtraArgument=Yi;var yn=Ji;var rs=function(){var r=function(e,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(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),rd=function(r,e){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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(u){return function(h){return l([u,h])}}function l(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=e.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}}},st=function(r,e){for(var o=0,n=e.length,a=r.length;o<n;o++,a++)r[a]=e[o];return r},od=Object.defineProperty,nd=Object.defineProperties,ad=Object.getOwnPropertyDescriptors,Xi=Object.getOwnPropertySymbols,id=Object.prototype.hasOwnProperty,sd=Object.prototype.propertyIsEnumerable,Qi=function(r,e,o){return e in r?od(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o},Ce=function(r,e){for(var o in e||(e={}))id.call(e,o)&&Qi(r,o,e[o]);if(Xi)for(var n=0,a=Xi(e);n<a.length;n++){var o=a[n];sd.call(e,o)&&Qi(r,o,e[o])}return r},gn=function(r,e){return nd(r,ad(e))},cd=function(r,e,o){return new Promise(function(n,a){var i=function(l){try{d(o.next(l))}catch(u){a(u)}},s=function(l){try{d(o.throw(l))}catch(u){a(u)}},d=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(i,s)};d((o=o.apply(r,e)).next())})};var ld=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?it:it.apply(null,arguments)},Cg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function dd(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var ud=function(r){rs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.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(e.bind.apply(e,st([void 0],o[0].concat(this)))):new(e.bind.apply(e,st([void 0],o.concat(this))))},e}(Array),fd=function(r){rs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.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(e.bind.apply(e,st([void 0],o[0].concat(this)))):new(e.bind.apply(e,st([void 0],o.concat(this))))},e}(Array);function xn(r){return ee(r)?Ir(r,function(){}):r}function pd(r){return typeof r=="boolean"}function hd(){return function(e){return yd(e)}}function yd(r){r===void 0&&(r={});var e=r.thunk,o=e===void 0?!0:e,n=r.immutableCheck,a=n===void 0?!0:n,i=r.serializableCheck,s=i===void 0?!0:i,d=new ud;if(o&&(pd(o)?d.push(yn):d.push(yn.withExtraArgument(o.extraArgument))),0){if(a)var l;if(s)var u}return d}var mn=!0;function os(r){var e=hd(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,d=o.devTools,l=d===void 0?!0:d,u=o.preloadedState,h=u===void 0?void 0:u,p=o.enhancers,g=p===void 0?void 0:p,m;if(typeof a=="function")m=a;else if(dd(a))m=Zi(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!mn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!mn&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=qi.apply(void 0,b),w=it;l&&(w=ld(Ce({trace:!mn},typeof l=="object"&&l)));var C=new fd(S),A=C;Array.isArray(g)?A=st([S],g):typeof g=="function"&&(A=g(C));var O=w.apply(void 0,A);return hn(m,h,O)}function Ae(r,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ce(Ce({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 e={},o=[],n,a={addCase:function(i,s){var d=typeof i=="string"?i:i.type;if(d in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[d]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return r(a),[e,o,n]}function gd(r){return typeof r=="function"}function md(r,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?ns(e):[e,o,n],i=a[0],s=a[1],d=a[2],l;if(gd(r))l=function(){return xn(r())};else{var u=xn(r);l=function(){return u}}function h(p,g){p===void 0&&(p=l());var m=st([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=[d]),m.reduce(function(b,S){if(S)if(ye(b)){var w=b,C=S(w,g);return C===void 0?b:C}else{if(ee(b))return Ir(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},p)}return h.getInitialState=l,h}function bd(r,e){return r+"/"+e}function as(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:xn(r.initialState),n=r.reducers||{},a=Object.keys(n),i={},s={},d={};a.forEach(function(h){var p=n[h],g=bd(e,h),m,b;"reducer"in p?(m=p.reducer,b=p.prepare):m=p,i[h]=m,s[g]=m,d[h]=b?Ae(g,b):Ae(g)});function l(){var h=typeof r.extraReducers=="function"?ns(r.extraReducers):[r.extraReducers],p=h[0],g=p===void 0?{}:p,m=h[1],b=m===void 0?[]:m,S=h[2],w=S===void 0?void 0:S,C=Ce(Ce({},g),s);return md(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:e,reducer:function(h,p){return u||(u=l()),u(h,p)},actions:d,caseReducers:i,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var xd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",vd=function(r){r===void 0&&(r=21);for(var e="",o=r;o--;)e+=xd[Math.random()*64|0];return e},Sd=["name","message","stack","code"],bn=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),es=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),Od=function(r){if(typeof r=="object"&&r!==null){for(var e={},o=0,n=Sd;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(e[a]=r[a])}return e}return{message:String(r)}},Ig=function(){function r(e,o,n){var a=Ae(e+"/fulfilled",function(h,p,g,m){return{payload:h,meta:gn(Ce({},m||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=Ae(e+"/pending",function(h,p,g){return{payload:void 0,meta:gn(Ce({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=Ae(e+"/rejected",function(h,p,g,m,b){return{payload:m,error:(n&&n.serializeError||Od)(h||"Rejected"),meta:gn(Ce({},b||{}),{arg:g,requestId:p,rejectedWithValue:!!m,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(p,g,m){var b=n?.idGenerator?n.idGenerator(h):vd(),S=new l,w,C=!1;function A(v){w=v,S.abort()}var O=function(){return cd(this,null,function(){var v,E,R,P,k,T,I;return rd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),P=(v=n?.condition)==null?void 0:v.call(n,h,{getState:g,extra:m}),wd(P)?[4,P]:[3,2];case 1:P=y.sent(),y.label=2;case 2:if(P===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,k=new Promise(function(x,N){return S.signal.addEventListener("abort",function(){return N({name:"AbortError",message:w||"Aborted"})})}),p(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:m}))),[4,Promise.race([k,Promise.resolve(o(h,{dispatch:p,getState:g,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(x,N){return new bn(x,N)},fulfillWithValue:function(x,N){return new es(x,N)}})).then(function(x){if(x instanceof bn)throw x;return x instanceof es?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return R=y.sent(),[3,5];case 4:return T=y.sent(),R=T instanceof bn?s(null,b,h,T.payload,T.meta):s(T,b,h),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,I||p(R),[2,R]}})})}();return Object.assign(O,{abort:A,requestId:b,arg:h,unwrap:function(){return O.then(Ed)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return r.withTypes=function(){return r},r}();function Ed(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function wd(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var is="listener",ss="completed",cs="cancelled",Pg="task-"+cs,_g="task-"+ss,Lg=is+"-"+cs,Tg=is+"-"+ss;var vn="listenerMiddleware";var kg=Ae(vn+"/add"),Fg=Ae(vn+"/removeAll"),Ug=Ae(vn+"/remove");var ts,Dg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(ts||(ts=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},Cd=function(r){return function(e){setTimeout(e,r)}},$g=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cd(10);zi();window.ftReduxStores||(window.ftReduxStores={});var Sn=class r extends Be{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(je(i))return i;if(a==null)return;let s=as({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=os({reducer:(l,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...u.overwrites}:s.reducer(l,u)});return window.ftReduxStores[a.name]=new r(s,d)}constructor(e,o){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Ht,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,d=n[s];return d?(...l)=>{let u=d(...l);return this.reduxStore.dispatch(u),u}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Ad(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))je(e)&&e.clear()}var Cn={};U(Cn,{scrollHelper:()=>Rd});var En,Lr=new Map,wn=class{lock(e,o){if(o){let n=Lr.get(o);if(n==null||n===e)return Lr.set(o,e),o}}release(e,o){o&&Lr.get(o)===e&&Lr.delete(o)}findFirstScrollableParent(e){let o,n=a=>{var i;a.stopPropagation();let s,d;for(let l of a.composedPath()){let u=l,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&d==null&&(d=u)}o=(i=s??d)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){let n=0;for(;o&&o.offsetParent!==e.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,d=It(0,(s-n.scrollTop)/(s-i),1),l=this.computeTopOffsetRatio(o?.position,d)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(En=window.FluidTopicsScrollHelper)!==null&&En!==void 0?En:new wn;var Rd=window.FluidTopicsScrollHelper;var An={};U(An,{shadowQuerySelector:()=>Nd,shadowQuerySelectorAll:()=>Id});function Nd(r,e,...o){var n;let a=r.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Id(r,e,...o){let n=[...r.querySelectorAll(e)];for(let a of o)n=n.flatMap(i=>{var s,d;return[...(d=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&d!==void 0?d:[]]});return n}var Rn={};U(Rn,{SearchPlaceConverter:()=>Fr,SearchPlaceQueryParams:()=>D,isSearchPlaceQueryParams:()=>Ls,serializeRequest:()=>Ld});var Pd=Ws(ds(),1);var us;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(us||(us={}));var fs;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(fs||(fs={}));var ps;(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"})(ps||(ps={}));var hs;(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"})(hs||(hs={}));var ys;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(ys||(ys={}));var gs;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(gs||(gs={}));var ms;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(ms||(ms={}));var bs;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(bs||(bs={}));var xs;(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"})(xs||(xs={}));var vs;(function(r){r.ASC="ASC",r.DESC="DESC"})(vs||(vs={}));var Ss;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Ss||(Ss={}));var Os;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Os||(Os={}));var Ns=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Es;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Es||(Es={}));var ws;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(ws||(ws={}));var Cs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Cs||(Cs={}));var Vt;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Vt||(Vt={}));var Is=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var As;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(As||(As={}));var Rs;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Rs||(Rs={}));var H;(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"})(H||(H={}));var Ps;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Ps||(Ps={}));var rm={[H.PERSONAL_BOOK_SHARE_USER]:[H.PERSONAL_BOOK_USER],[H.HTML_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.PDF_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.KHUB_ADMIN]:[H.CONTENT_PUBLISHER],[H.ADMIN]:[H.KHUB_ADMIN,H.USERS_ADMIN,H.PORTAL_ADMIN],[H.DEVELOPER]:[H.BETA_USER,H.DEBUG_USER]};function _d(r){return`"${r}"`}function _s(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Ld(r,e){return new Fr(r).serialize(e)}var D;(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"})(D||(D={}));var Td=new Set(Object.values(D));function Ls(r){return Td.has(r)}var Fr=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,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(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=this.toURLSearchParams(e).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(e,o=!1){var n,a,i,s,d,l,u,h,p,g,m,b;let S=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&S.append(D.LOCALE,e.contentLocale):S.append(D.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&S.append(D.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&S.append(D.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(D.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&S.append(D.SORT,"last_update");let w=(s=(i=e.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,P;let k=((P=(R=E.valueFilter)===null||R===void 0?void 0:R.values)!==null&&P!==void 0?P:[]).map(T=>this.escapeFilters(T)).map(T=>encodeURIComponent(_d(_s(T)))).join("_");return`${E.key}~${k}`}).join("*");S.append(D.VALUE_FILTERS,v)}let C=(l=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(v=>v.dateFilter))!==null&&l!==void 0?l:[];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(D.DATE_FILTERS,v)}let A=(h=(u=e.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,P;return`${E.key}~${(R=E.rangeFilter)===null||R===void 0?void 0:R.from}_${(P=E.rangeFilter)===null||P===void 0?void 0:P.to}`}).join("*");S.append(D.RANGE_FILTERS,v)}let O=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let v in O)S.append(v,O[v]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((b=(m=e.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(D.PER_PAGE,String(e.paging.perPage)),S}parse(e){var o;let n=e.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(e){var o,n,a,i,s,d,l,u;let h=e.get(D.LOCALE)==="all"?void 0:e.get(D.LOCALE),p=((o=e.get(D.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),g=((n=e.get(D.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),m=(a=e.get(D.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=e.get(D.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let w of e.keys())Ls(w)||(S[w]=e.get(w));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(D.QUERY))!==null&&s!==void 0?s:""),scope:(d=this.scopeMapping[m])!==null&&d!==void 0?d:"DEFAULT",virtualField:Ns(p)?p:"EVERYWHERE",sort:(u=(l=this.predefinedSorts[g])!==null&&l!==void 0?l:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:It(1,isNaN(b)?this.defaultPerPage:b,40)},otherQueryParams:S}}parseCompatFilters(e){var o,n,a,i,s,d;let l=[];return e.has(D.FILTERS)&&(l=this.parseValueFilters((o=e.get(D.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(D.PERIOD))!==null&&n!==void 0&&n&&(l=[...l,...this.parseLegacyPeriodFilter(((a=e.get(D.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...l,...this.parseValueFilters((i=e.get(D.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(D.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((d=e.get(D.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(_s).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Vt[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(Is(e))return[{key:"ft:lastEdition",dateFilter:{type:Vt[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Nn={};U(Nn,{toFtFormComponent:()=>kd});var Ur=Symbol("elementInternals");function kd(r,e){class o extends r{static get formAssociated(){return!0}get form(){return this[Ur].form}constructor(...a){super(a),this[Ur]=this.attachInternals(),this[Ur].role=e}setFormValue(a){this[Ur].setFormValue(a)}}return o}var Pn={};U(Pn,{DateFormatter:()=>In});var In=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var _n,Ln,Tn,kn,Fd=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Tn=(Ln=(_n=window.safari)===null||_n===void 0?void 0:_n.pushNotification)===null||Ln===void 0?void 0:Ln.toString())!==null&&Tn!==void 0?Tn:"")==="[object SafariRemoteNotification]",Ud="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(kn=window.ftGlobals)!==null&&kn!==void 0?kn:{lit:Xr,litDecorators:eo,litRepeat:to,litClassMap:ro,litStyleMap:oo,litUnsafeHTML:no,wcUtils:{...po,...io,...yo,...Pn,...go,...vo,...Co,...uo,...Mo,...Eo,...zo,...Wo,...Ni,...mo,...Go,...Vo,...Pi,...Zo,...On,...Bo,...Cn,...An,...Rn,...Nn,isSafari:Fd,isTouchScreen:Ud,setVariable:br}};var Dr={color:t.extend("--ft-loader-color","",wo.colorPrimary),size:t.create("--ft-loader-size","","SIZE","80px")},Ts=W`
50
+ `;var Pi={};var Zo={};U(Zo,{ParametrizedLabelResolver:()=>Ko});var Ko=class r{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?r.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var On={};U(On,{FtCommandQueue:()=>Ht,FtLitElementRedux:()=>rt,FtReduxStore:()=>Sn,clearAllStores:()=>Rd,isFtReduxStore:()=>je,redux:()=>zl,reduxEventListener:()=>jl,reduxReactive:()=>Hl});var Hl=()=>(r,e)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},zl=r=>{let e=r??{};return(o,n)=>{var a;let i={hasChanged:Nt,attribute:!1,...e};G(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:d=>d[n],store:e.store})}},jl=r=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var Ht=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function je(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var _i,Li,Ti,Cr=Symbol("internalReduxEventsUnsubscribers"),Se=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores"),rt=class extends q{constructor(){super(...arguments),this[_i]=new Map,this[Li]=new Map,this[Ti]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ge].get(e)}addStore(e,o){var n;o=(n=o??(je(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Ge].delete(o)}setupStore(e,o){this[Ge].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[Se].has(e.store):this[Se].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[Se].set(e,o.subscribe(()=>this.updateFromStores())),je(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=d=>this[i](d);o.addEventListener(a.eventName,s),this[Cr].push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Se].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Cr].forEach(e=>e()),this[Cr]=[]}unsubscribeFromStore(e){this[Se].has(e)&&this[Se].get(e)(),this[Se].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};_i=Se,Li=Ge,Ti=Cr;rt.reduxProperties=new Map;rt.reduxReactiveProperties=new Set;rt.reduxEventListeners=new Map;function J(r){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;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 ye(r){return!!r&&!!r[M]}function ee(r){var e;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)===Xl}(r)||Array.isArray(r)||!!r[Bi]||!!(!((e=r.constructor)===null||e===void 0)&&e[Bi])||on(r)||nn(r))}function Ve(r,e,o){o===void 0&&(o=!1),at(r)===0?(o?Object.keys:nt)(r).forEach(function(n){o&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,a){return e(a,n,r)})}function at(r){var e=r[M];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:on(r)?2:nn(r)?3:0}function ot(r,e){return at(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function Gl(r,e){return at(r)===2?r.get(e):r[e]}function Wi(r,e,o){var n=at(r);n===2?r.set(e,o):n===3?r.add(o):r[e]=o}function Hi(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function on(r){return Yl&&r instanceof Map}function nn(r){return Jl&&r instanceof Set}function Oe(r){return r.o||r.t}function an(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=Gi(r);delete e[M];for(var o=nt(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:r[a]})}return Object.create(Object.getPrototypeOf(r),e)}function sn(r,e){return e===void 0&&(e=!1),cn(r)||ye(r)||!ee(r)||(at(r)>1&&(r.set=r.add=r.clear=r.delete=Vl),Object.freeze(r),e&&Ve(r,function(o,n){return sn(n,!0)},!0)),r}function Vl(){J(2)}function cn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function se(r){var e=rn[r];return e||J(18,r),e}function Kl(r,e){rn[r]||(rn[r]=e)}function Qo(){return jt}function qo(r,e){e&&(se("Patches"),r.u=[],r.s=[],r.v=e)}function Ar(r){en(r),r.p.forEach(Zl),r.p=null}function en(r){r===jt&&(jt=r.l)}function ki(r){return jt={p:[],l:jt,h:r,m:!0,_:0}}function Zl(r){var e=r[M];e.i===0||e.i===1?e.j():e.g=!0}function Yo(r,e){e._=e.p.length;var o=e.p[0],n=r!==void 0&&r!==o;return e.h.O||se("ES5").S(e,r,n),n?(o[M].P&&(Ar(e),J(4)),ee(r)&&(r=Rr(e,r),e.l||Nr(e,r)),e.u&&se("Patches").M(o[M].t,r,e.u,e.s)):r=Rr(e,o,[]),Ar(e),e.u&&e.v(e.u,e.s),r!==ji?r:void 0}function Rr(r,e,o){if(cn(e))return e;var n=e[M];if(!n)return Ve(e,function(d,l){return Fi(r,n,e,d,l,o)},!0),e;if(n.A!==r)return e;if(!n.P)return Nr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=an(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Ve(i,function(d,l){return Fi(r,n,a,d,l,o,s)}),Nr(r,a,!1),o&&r.u&&se("Patches").N(n,o,r.u,r.s)}return n.o}function Fi(r,e,o,n,a,i,s){if(ye(a)){var d=Rr(r,a,i&&e&&e.i!==3&&!ot(e.R,n)?i.concat(n):void 0);if(Wi(o,n,d),!ye(d))return;r.m=!1}else s&&o.add(a);if(ee(a)&&!cn(a)){if(!r.h.D&&r._<1)return;Rr(r,a),e&&e.A.l||Nr(r,a)}}function Nr(r,e,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&sn(e,o)}function Jo(r,e){var o=r[M];return(o?Oe(o):r)[e]}function Ui(r,e){if(e in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Ee(r){r.P||(r.P=!0,r.l&&Ee(r.l))}function Xo(r){r.o||(r.o=an(r.t))}function tn(r,e,o){var n=on(e)?se("MapSet").F(e,o):nn(e)?se("MapSet").T(e,o):r.O?function(a,i){var s=Array.isArray(a),d={i:s?1:0,A:i?i.A:Qo(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},l=d,u=Gt;s&&(l=[d],u=zt);var h=Proxy.revocable(l,u),p=h.revoke,g=h.proxy;return d.k=g,d.j=p,g}(e,o):se("ES5").J(e,o);return(o?o.A:Qo()).p.push(n),n}function ql(r){return ye(r)||J(22,r),function e(o){if(!ee(o))return o;var n,a=o[M],i=at(o);if(a){if(!a.P&&(a.i<4||!se("ES5").K(a)))return a.t;a.I=!0,n=Di(o,i),a.I=!1}else n=Di(o,i);return Ve(n,function(s,d){a&&Gl(a.t,s)===d||Wi(n,s,e(d))}),i===3?new Set(n):n}(r)}function Di(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return an(r)}function zi(){function r(s,d){var l=i[s];return l?l.enumerable=d:i[s]=l={configurable:!0,enumerable:d,get:function(){var u=this[M];return Gt.get(u,s)},set:function(u){var h=this[M];Gt.set(h,s,u)}},l}function e(s){for(var d=s.length-1;d>=0;d--){var l=s[d][M];if(!l.P)switch(l.i){case 5:n(l)&&Ee(l);break;case 4:o(l)&&Ee(l)}}}function o(s){for(var d=s.t,l=s.k,u=nt(l),h=u.length-1;h>=0;h--){var p=u[h];if(p!==M){var g=d[p];if(g===void 0&&!ot(d,p))return!0;var m=l[p],b=m&&m[M];if(b?b.t!==g:!Hi(m,g))return!0}}var S=!!d[M];return u.length!==nt(d).length+(S?0:1)}function n(s){var d=s.k;if(d.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(d,d.length-1);if(l&&!l.get)return!0;for(var u=0;u<d.length;u++)if(!d.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&J(3,JSON.stringify(Oe(s)))}var i={};Kl("ES5",{J:function(s,d){var l=Array.isArray(s),u=function(p,g){if(p){for(var m=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(m,""+b,r(b,!0));return m}var S=Gi(g);delete S[M];for(var w=nt(S),C=0;C<w.length;C++){var A=w[C];S[A]=r(A,p||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(l,s),h={i:l?5:4,A:d?d.A:Qo(),P:!1,I:!1,R:{},l:d,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,M,{value:h,writable:!0}),u},S:function(s,d,l){l?ye(d)&&d[M].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var p=h[M];if(p){var g=p.t,m=p.k,b=p.R,S=p.i;if(S===4)Ve(m,function(v){v!==M&&(g[v]!==void 0||ot(g,v)?b[v]||u(m[v]):(b[v]=!0,Ee(p)))}),Ve(g,function(v){m[v]!==void 0||ot(m,v)||(b[v]=!1,Ee(p))});else if(S===5){if(n(p)&&(Ee(p),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]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Mi,jt,ln=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Yl=typeof Map<"u",Jl=typeof Set<"u",$i=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ji=ln?Symbol.for("immer-nothing"):((Mi={})["immer-nothing"]=!0,Mi),Bi=ln?Symbol.for("immer-draftable"):"__$immer_draftable",M=ln?Symbol.for("immer-state"):"__$immer_state";var Xl=""+Object.prototype.constructor,nt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Gi=Object.getOwnPropertyDescriptors||function(r){var e={};return nt(r).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(r,o)}),e},rn={},Gt={get:function(r,e){if(e===M)return r;var o=Oe(r);if(!ot(o,e))return function(a,i,s){var d,l=Ui(i,s);return l?"value"in l?l.value:(d=l.get)===null||d===void 0?void 0:d.call(a.k):void 0}(r,o,e);var n=o[e];return r.I||!ee(n)?n:n===Jo(r.t,e)?(Xo(r),r.o[e]=tn(r.A.h,n,r)):n},has:function(r,e){return e in Oe(r)},ownKeys:function(r){return Reflect.ownKeys(Oe(r))},set:function(r,e,o){var n=Ui(Oe(r),e);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=Jo(Oe(r),e),i=a?.[M];if(i&&i.t===o)return r.o[e]=o,r.R[e]=!1,!0;if(Hi(o,a)&&(o!==void 0||ot(r.t,e)))return!0;Xo(r),Ee(r)}return r.o[e]===o&&(o!==void 0||e in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[e])||(r.o[e]=o,r.R[e]=!0),!0},deleteProperty:function(r,e){return Jo(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Xo(r),Ee(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var o=Oe(r),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){J(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){J(12)}},zt={};Ve(Gt,function(r,e){zt[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),zt.deleteProperty=function(r,e){return zt.set.call(this,r,e,void 0)},zt.set=function(r,e,o){return Gt.set.call(this,r[0],e,o,r[0])};var Ql=function(){function r(o){var n=this;this.O=$i,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var l=n;return function(S){var w=this;S===void 0&&(S=d);for(var C=arguments.length,A=Array(C>1?C-1:0),O=1;O<C;O++)A[O-1]=arguments[O];return l.produce(S,function(v){var E;return(E=i).call.apply(E,[w,v].concat(A))})}}var u;if(typeof i!="function"&&J(6),s!==void 0&&typeof s!="function"&&J(7),ee(a)){var h=ki(n),p=tn(n,a,void 0),g=!0;try{u=i(p),g=!1}finally{g?Ar(h):en(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return qo(h,s),Yo(S,h)},function(S){throw Ar(h),S}):(qo(h,s),Yo(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===ji&&(u=void 0),n.D&&sn(u,!0),s){var m=[],b=[];se("Patches").M(a,u,m,b),s(m,b)}return u}J(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,p=Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];return n.produceWithPatches(u,function(m){return a.apply(void 0,[m].concat(p))})};var s,d,l=n.produce(a,i,function(u,h){s=u,d=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(u){return[u,s,d]}):[l,s,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=r.prototype;return e.createDraft=function(o){ee(o)||J(8),ye(o)&&(o=ql(o));var n=ki(this),a=tn(this,o,void 0);return a[M].C=!0,en(n),a},e.finishDraft=function(o,n){var a=o&&o[M],i=a.A;return qo(i,n),Yo(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!$i&&J(20),this.O=o},e.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=se("Patches").$;return ye(o)?s(o,n):this.produce(o,function(d){return s(d,n)})},r}(),Y=new Ql,ed=Y.produce,og=Y.produceWithPatches.bind(Y),ng=Y.setAutoFreeze.bind(Y),ag=Y.setUseProxies.bind(Y),ig=Y.applyPatches.bind(Y),sg=Y.createDraft.bind(Y),cg=Y.finishDraft.bind(Y),Ir=ed;function we(r){"@babel/helpers - typeof";return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we(r)}function dn(r,e){if(we(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,e||"default");if(we(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function un(r){var e=dn(r,"string");return we(e)==="symbol"?e:String(e)}function fn(r,e,o){return e=un(e),e in r?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o,r}function Vi(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,n)}return o}function Pr(r){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Vi(Object(o),!0).forEach(function(n){fn(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):Vi(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function j(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 Ki=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),pn=function(){return Math.random().toString(36).substring(7).split("").join(".")},_r={INIT:"@@redux/INIT"+pn(),REPLACE:"@@redux/REPLACE"+pn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pn()}};function td(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function hn(r,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(j(1));return o(hn)(r,e)}if(typeof r!="function")throw new Error(j(2));var a=r,i=e,s=[],d=s,l=!1;function u(){d===s&&(d=s.slice())}function h(){if(l)throw new Error(j(3));return i}function p(S){if(typeof S!="function")throw new Error(j(4));if(l)throw new Error(j(5));var w=!0;return u(),d.push(S),function(){if(w){if(l)throw new Error(j(6));w=!1,u();var A=d.indexOf(S);d.splice(A,1),s=null}}}function g(S){if(!td(S))throw new Error(j(7));if(typeof S.type>"u")throw new Error(j(8));if(l)throw new Error(j(9));try{l=!0,i=a(i,S)}finally{l=!1}for(var w=s=d,C=0;C<w.length;C++){var A=w[C];A()}return S}function m(S){if(typeof S!="function")throw new Error(j(10));a=S,g({type:_r.REPLACE})}function b(){var S,w=p;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(j(11));function O(){A.next&&A.next(h())}O();var v=w(O);return{unsubscribe:v}}},S[Ki]=function(){return this},S}return g({type:_r.INIT}),n={dispatch:g,subscribe:p,getState:h,replaceReducer:m},n[Ki]=b,n}function rd(r){Object.keys(r).forEach(function(e){var o=r[e],n=o(void 0,{type:_r.INIT});if(typeof n>"u")throw new Error(j(12));if(typeof o(void 0,{type:_r.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function Zi(r){for(var e=Object.keys(r),o={},n=0;n<e.length;n++){var a=e[n];typeof r[a]=="function"&&(o[a]=r[a])}var i=Object.keys(o),s,d;try{rd(o)}catch(l){d=l}return function(u,h){if(u===void 0&&(u={}),d)throw d;if(0)var p;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(j(14))}m[S]=A,g=g||A!==C}return g=g||i.length!==Object.keys(u).length,g?m:u}}function it(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function qi(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(j(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=e.map(function(l){return l(s)});return i=it.apply(void 0,d)(a.dispatch),Pr(Pr({},a),{},{dispatch:i})}}}function Yi(r){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(d){return typeof d=="function"?d(a,i,r):s(d)}}};return e}var Ji=Yi();Ji.withExtraArgument=Yi;var yn=Ji;var rs=function(){var r=function(e,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(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),od=function(r,e){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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(u){return function(h){return l([u,h])}}function l(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=e.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}}},st=function(r,e){for(var o=0,n=e.length,a=r.length;o<n;o++,a++)r[a]=e[o];return r},nd=Object.defineProperty,ad=Object.defineProperties,id=Object.getOwnPropertyDescriptors,Xi=Object.getOwnPropertySymbols,sd=Object.prototype.hasOwnProperty,cd=Object.prototype.propertyIsEnumerable,Qi=function(r,e,o){return e in r?nd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o},Ce=function(r,e){for(var o in e||(e={}))sd.call(e,o)&&Qi(r,o,e[o]);if(Xi)for(var n=0,a=Xi(e);n<a.length;n++){var o=a[n];cd.call(e,o)&&Qi(r,o,e[o])}return r},gn=function(r,e){return ad(r,id(e))},ld=function(r,e,o){return new Promise(function(n,a){var i=function(l){try{d(o.next(l))}catch(u){a(u)}},s=function(l){try{d(o.throw(l))}catch(u){a(u)}},d=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(i,s)};d((o=o.apply(r,e)).next())})};var dd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?it:it.apply(null,arguments)},Ag=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function ud(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var fd=function(r){rs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.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(e.bind.apply(e,st([void 0],o[0].concat(this)))):new(e.bind.apply(e,st([void 0],o.concat(this))))},e}(Array),pd=function(r){rs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.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(e.bind.apply(e,st([void 0],o[0].concat(this)))):new(e.bind.apply(e,st([void 0],o.concat(this))))},e}(Array);function xn(r){return ee(r)?Ir(r,function(){}):r}function hd(r){return typeof r=="boolean"}function yd(){return function(e){return gd(e)}}function gd(r){r===void 0&&(r={});var e=r.thunk,o=e===void 0?!0:e,n=r.immutableCheck,a=n===void 0?!0:n,i=r.serializableCheck,s=i===void 0?!0:i,d=new fd;if(o&&(hd(o)?d.push(yn):d.push(yn.withExtraArgument(o.extraArgument))),0){if(a)var l;if(s)var u}return d}var mn=!0;function os(r){var e=yd(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,d=o.devTools,l=d===void 0?!0:d,u=o.preloadedState,h=u===void 0?void 0:u,p=o.enhancers,g=p===void 0?void 0:p,m;if(typeof a=="function")m=a;else if(ud(a))m=Zi(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!mn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!mn&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=qi.apply(void 0,b),w=it;l&&(w=dd(Ce({trace:!mn},typeof l=="object"&&l)));var C=new pd(S),A=C;Array.isArray(g)?A=st([S],g):typeof g=="function"&&(A=g(C));var O=w.apply(void 0,A);return hn(m,h,O)}function Ae(r,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ce(Ce({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 e={},o=[],n,a={addCase:function(i,s){var d=typeof i=="string"?i:i.type;if(d in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[d]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return r(a),[e,o,n]}function md(r){return typeof r=="function"}function bd(r,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?ns(e):[e,o,n],i=a[0],s=a[1],d=a[2],l;if(md(r))l=function(){return xn(r())};else{var u=xn(r);l=function(){return u}}function h(p,g){p===void 0&&(p=l());var m=st([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=[d]),m.reduce(function(b,S){if(S)if(ye(b)){var w=b,C=S(w,g);return C===void 0?b:C}else{if(ee(b))return Ir(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},p)}return h.getInitialState=l,h}function xd(r,e){return r+"/"+e}function as(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:xn(r.initialState),n=r.reducers||{},a=Object.keys(n),i={},s={},d={};a.forEach(function(h){var p=n[h],g=xd(e,h),m,b;"reducer"in p?(m=p.reducer,b=p.prepare):m=p,i[h]=m,s[g]=m,d[h]=b?Ae(g,b):Ae(g)});function l(){var h=typeof r.extraReducers=="function"?ns(r.extraReducers):[r.extraReducers],p=h[0],g=p===void 0?{}:p,m=h[1],b=m===void 0?[]:m,S=h[2],w=S===void 0?void 0:S,C=Ce(Ce({},g),s);return bd(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:e,reducer:function(h,p){return u||(u=l()),u(h,p)},actions:d,caseReducers:i,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var vd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Sd=function(r){r===void 0&&(r=21);for(var e="",o=r;o--;)e+=vd[Math.random()*64|0];return e},Od=["name","message","stack","code"],bn=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),es=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),Ed=function(r){if(typeof r=="object"&&r!==null){for(var e={},o=0,n=Od;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(e[a]=r[a])}return e}return{message:String(r)}},Pg=function(){function r(e,o,n){var a=Ae(e+"/fulfilled",function(h,p,g,m){return{payload:h,meta:gn(Ce({},m||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=Ae(e+"/pending",function(h,p,g){return{payload:void 0,meta:gn(Ce({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=Ae(e+"/rejected",function(h,p,g,m,b){return{payload:m,error:(n&&n.serializeError||Ed)(h||"Rejected"),meta:gn(Ce({},b||{}),{arg:g,requestId:p,rejectedWithValue:!!m,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(p,g,m){var b=n?.idGenerator?n.idGenerator(h):Sd(),S=new l,w,C=!1;function A(v){w=v,S.abort()}var O=function(){return ld(this,null,function(){var v,E,R,P,k,T,I;return od(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),P=(v=n?.condition)==null?void 0:v.call(n,h,{getState:g,extra:m}),Cd(P)?[4,P]:[3,2];case 1:P=y.sent(),y.label=2;case 2:if(P===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,k=new Promise(function(x,N){return S.signal.addEventListener("abort",function(){return N({name:"AbortError",message:w||"Aborted"})})}),p(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:m}))),[4,Promise.race([k,Promise.resolve(o(h,{dispatch:p,getState:g,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(x,N){return new bn(x,N)},fulfillWithValue:function(x,N){return new es(x,N)}})).then(function(x){if(x instanceof bn)throw x;return x instanceof es?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return R=y.sent(),[3,5];case 4:return T=y.sent(),R=T instanceof bn?s(null,b,h,T.payload,T.meta):s(T,b,h),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,I||p(R),[2,R]}})})}();return Object.assign(O,{abort:A,requestId:b,arg:h,unwrap:function(){return O.then(wd)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return r.withTypes=function(){return r},r}();function wd(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Cd(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var is="listener",ss="completed",cs="cancelled",_g="task-"+cs,Lg="task-"+ss,Tg=is+"-"+cs,kg=is+"-"+ss;var vn="listenerMiddleware";var Fg=Ae(vn+"/add"),Ug=Ae(vn+"/removeAll"),Dg=Ae(vn+"/remove");var ts,Mg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(ts||(ts=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},Ad=function(r){return function(e){setTimeout(e,r)}},$g=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ad(10);zi();window.ftReduxStores||(window.ftReduxStores={});var Sn=class r extends Be{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(je(i))return i;if(a==null)return;let s=as({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=os({reducer:(l,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...u.overwrites}:s.reducer(l,u)});return window.ftReduxStores[a.name]=new r(s,d)}constructor(e,o){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Ht,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,d=n[s];return d?(...l)=>{let u=d(...l);return this.reduxStore.dispatch(u),u}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Rd(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))je(e)&&e.clear()}var Cn={};U(Cn,{scrollHelper:()=>Nd});var En,Lr=new Map,wn=class{lock(e,o){if(o){let n=Lr.get(o);if(n==null||n===e)return Lr.set(o,e),o}}release(e,o){o&&Lr.get(o)===e&&Lr.delete(o)}findFirstScrollableParent(e){let o,n=a=>{var i;a.stopPropagation();let s,d;for(let l of a.composedPath()){let u=l,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&d==null&&(d=u)}o=(i=s??d)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){let n=0;for(;o&&o.offsetParent!==e.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,d=It(0,(s-n.scrollTop)/(s-i),1),l=this.computeTopOffsetRatio(o?.position,d)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(En=window.FluidTopicsScrollHelper)!==null&&En!==void 0?En:new wn;var Nd=window.FluidTopicsScrollHelper;var An={};U(An,{shadowQuerySelector:()=>Id,shadowQuerySelectorAll:()=>Pd});function Id(r,e,...o){var n;let a=r.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Pd(r,e,...o){let n=[...r.querySelectorAll(e)];for(let a of o)n=n.flatMap(i=>{var s,d;return[...(d=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&d!==void 0?d:[]]});return n}var Rn={};U(Rn,{SearchPlaceConverter:()=>Fr,SearchPlaceQueryParams:()=>D,isSearchPlaceQueryParams:()=>Ts,serializeRequest:()=>Td});var _d=Hs(ds(),1);var us;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(us||(us={}));var fs;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(fs||(fs={}));var ps;(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"})(ps||(ps={}));var hs;(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"})(hs||(hs={}));var ys;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(ys||(ys={}));var gs;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(gs||(gs={}));var ms;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(ms||(ms={}));var bs;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(bs||(bs={}));var xs;(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"})(xs||(xs={}));var vs;(function(r){r.ASC="ASC",r.DESC="DESC"})(vs||(vs={}));var Ss;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Ss||(Ss={}));var Os;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Os||(Os={}));var Ns=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Es;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Es||(Es={}));var ws;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(ws||(ws={}));var Cs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Cs||(Cs={}));var Vt;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Vt||(Vt={}));var Is=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var As;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(As||(As={}));var Rs;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Rs||(Rs={}));var H;(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"})(H||(H={}));var Ps;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Ps||(Ps={}));var _s;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(_s||(_s={}));var om={[H.PERSONAL_BOOK_SHARE_USER]:[H.PERSONAL_BOOK_USER],[H.HTML_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.PDF_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.KHUB_ADMIN]:[H.CONTENT_PUBLISHER],[H.ADMIN]:[H.KHUB_ADMIN,H.USERS_ADMIN,H.PORTAL_ADMIN],[H.DEVELOPER]:[H.BETA_USER,H.DEBUG_USER]};function Ld(r){return`"${r}"`}function Ls(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Td(r,e){return new Fr(r).serialize(e)}var D;(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"})(D||(D={}));var kd=new Set(Object.values(D));function Ts(r){return kd.has(r)}var Fr=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,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(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=this.toURLSearchParams(e).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(e,o=!1){var n,a,i,s,d,l,u,h,p,g,m,b;let S=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&S.append(D.LOCALE,e.contentLocale):S.append(D.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&S.append(D.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&S.append(D.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(D.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&S.append(D.SORT,"last_update");let w=(s=(i=e.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,P;let k=((P=(R=E.valueFilter)===null||R===void 0?void 0:R.values)!==null&&P!==void 0?P:[]).map(T=>this.escapeFilters(T)).map(T=>encodeURIComponent(Ld(Ls(T)))).join("_");return`${E.key}~${k}`}).join("*");S.append(D.VALUE_FILTERS,v)}let C=(l=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(v=>v.dateFilter))!==null&&l!==void 0?l:[];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(D.DATE_FILTERS,v)}let A=(h=(u=e.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,P;return`${E.key}~${(R=E.rangeFilter)===null||R===void 0?void 0:R.from}_${(P=E.rangeFilter)===null||P===void 0?void 0:P.to}`}).join("*");S.append(D.RANGE_FILTERS,v)}let O=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let v in O)S.append(v,O[v]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((b=(m=e.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(D.PER_PAGE,String(e.paging.perPage)),S}parse(e){var o;let n=e.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(e){var o,n,a,i,s,d,l,u;let h=e.get(D.LOCALE)==="all"?void 0:e.get(D.LOCALE),p=((o=e.get(D.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),g=((n=e.get(D.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),m=(a=e.get(D.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=e.get(D.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let w of e.keys())Ts(w)||(S[w]=e.get(w));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(D.QUERY))!==null&&s!==void 0?s:""),scope:(d=this.scopeMapping[m])!==null&&d!==void 0?d:"DEFAULT",virtualField:Ns(p)?p:"EVERYWHERE",sort:(u=(l=this.predefinedSorts[g])!==null&&l!==void 0?l:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:It(1,isNaN(b)?this.defaultPerPage:b,40)},otherQueryParams:S}}parseCompatFilters(e){var o,n,a,i,s,d;let l=[];return e.has(D.FILTERS)&&(l=this.parseValueFilters((o=e.get(D.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(D.PERIOD))!==null&&n!==void 0&&n&&(l=[...l,...this.parseLegacyPeriodFilter(((a=e.get(D.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...l,...this.parseValueFilters((i=e.get(D.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(D.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((d=e.get(D.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Ls).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Vt[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(Is(e))return[{key:"ft:lastEdition",dateFilter:{type:Vt[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Nn={};U(Nn,{toFtFormComponent:()=>Fd});var Ur=Symbol("elementInternals");function Fd(r,e){class o extends r{static get formAssociated(){return!0}get form(){return this[Ur].form}constructor(...a){super(a),this[Ur]=this.attachInternals(),this[Ur].role=e}setFormValue(a){this[Ur].setFormValue(a)}}return o}var Pn={};U(Pn,{DateFormatter:()=>In});var In=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var _n,Ln,Tn,kn,Ud=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Tn=(Ln=(_n=window.safari)===null||_n===void 0?void 0:_n.pushNotification)===null||Ln===void 0?void 0:Ln.toString())!==null&&Tn!==void 0?Tn:"")==="[object SafariRemoteNotification]",Dd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(kn=window.ftGlobals)!==null&&kn!==void 0?kn:{lit:Xr,litDecorators:eo,litRepeat:to,litClassMap:ro,litStyleMap:oo,litUnsafeHTML:no,wcUtils:{...po,...io,...yo,...Pn,...go,...vo,...Co,...uo,...$o,...Eo,...zo,...Wo,...Ni,...mo,...Go,...Vo,...Pi,...Zo,...On,...Bo,...Cn,...An,...Rn,...Nn,isSafari:Ud,isTouchScreen:Dd,setVariable:br}};var Dr={color:t.extend("--ft-loader-color","",wo.colorPrimary),size:t.create("--ft-loader-size","","SIZE","80px")},ks=W`
51
51
  :host {
52
52
  line-height: 0;
53
53
  }
@@ -123,7 +123,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
123
123
  <div></div>
124
124
  <div></div>
125
125
  </div>
126
- `}};Kt.styles=Ts;bo("ft-loader")(Kt);})();
126
+ `}};Kt.styles=ks;bo("ft-loader")(Kt);})();
127
127
  /*! Bundled license information:
128
128
 
129
129
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: