@fluid-topics/ft-reader-toc 1.2.26 → 1.2.28

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 cd=Object.create;var yn=Object.defineProperty;var dd=Object.getOwnPropertyDescriptor;var pd=Object.getOwnPropertyNames;var ud=Object.getPrototypeOf,fd=Object.prototype.hasOwnProperty;var hd=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Z=(t,e)=>{for(var r in e)yn(t,r,{get:e[r],enumerable:!0})},yd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of pd(e))!fd.call(t,a)&&a!==r&&yn(t,a,{get:()=>e[a],enumerable:!(n=dd(e,a))||n.enumerable});return t};var md=(t,e,r)=>(r=t!=null?cd(ud(t)):{},yd(e||!t||!t.__esModule?yn(r,"default",{value:t,enumerable:!0}):r,t));var Jl=hd((xt,Xl)=>{var Jo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Qo=function(){function t(){this.fetch=!1,this.DOMException=Jo.DOMException}return t.prototype=Jo,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||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]"],c=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var v={next:function(){var P=y.shift();return{done:P===void 0,value:P}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function f(y){this.map={},y instanceof f?y.forEach(function(v,P){this.append(P,v)},this):Array.isArray(y)?y.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}f.prototype.append=function(y,v){y=d(y),v=p(v);var P=this.map[y];this.map[y]=P?P+", "+v:v},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,v){this.map[d(y)]=p(v)},f.prototype.forEach=function(y,v){for(var P in this.map)this.map.hasOwnProperty(P)&&y.call(v,this.map[P],P,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(v,P){y.push(P)}),h(y)},f.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),h(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(v,P){y.push([P,v])}),h(y)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function b(y){return new Promise(function(v,P){y.onload=function(){v(y.result)},y.onerror=function(){P(y.error)}})}function x(y){var v=new FileReader,P=b(v);return v.readAsArrayBuffer(y),P}function O(y){var v=new FileReader,P=b(v),F=/charset=([A-Za-z0-9_-]+)/.exec(y.type),V=F?F[1]:"utf-8";return v.readAsText(y,V),P}function N(y){for(var v=new Uint8Array(y),P=new Array(v.length),F=0;F<v.length;F++)P[F]=String.fromCharCode(v[F]);return P.join("")}function T(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function L(){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=T(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=T(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=m(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(I)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(y){var v=y.toUpperCase();return C.indexOf(v)>-1?v:y}function E(y,v){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var P=v.body;if(y instanceof E){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!P&&y._bodyInit!=null&&(P=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new f(v.headers)),this.method=S(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var U=new AbortController;return U.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var F=/([?&])_=[^&]*/;if(F.test(this.url))this.url=this.url.replace(F,"$1_="+new Date().getTime());else{var V=/\?/;this.url+=(V.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function I(y){var v=new FormData;return y.trim().split("&").forEach(function(P){if(P){var F=P.split("="),V=F.shift().replace(/\+/g," "),U=F.join("=").replace(/\+/g," ");v.append(decodeURIComponent(V),decodeURIComponent(U))}}),v}function M(y){var v=new f,P=y.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(F){return F.indexOf(`
2
- `)===0?F.substr(1,F.length):F}).forEach(function(F){var V=F.split(":"),U=V.shift().trim();if(U){var Me=V.join(":").trim();try{v.append(U,Me)}catch(Or){console.warn("Response "+Or.message)}}}),v}L.call(E.prototype);function z(y,v){if(!(this instanceof z))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new f(v.headers),this.url=v.url||"",this._initBody(y)}L.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},z.error=function(){var y=new z(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var W=[301,302,303,307,308];z.redirect=function(y,v){if(W.indexOf(v)===-1)throw new RangeError("Invalid status code");return new z(null,{status:v,headers:{location:y}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,P){this.message=v,this.name=P;var F=Error(v);this.stack=F.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function $(y,v){return new Promise(function(P,F){var V=new E(y,v);if(V.signal&&V.signal.aborted)return F(new r.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function Me(){U.abort()}U.onload=function(){var de={statusText:U.statusText,headers:M(U.getAllResponseHeaders()||"")};V.url.indexOf("file://")===0&&(U.status<200||U.status>599)?de.status=200:de.status=U.status,de.url="responseURL"in U?U.responseURL:de.headers.get("X-Request-URL");var Ct="response"in U?U.response:U.responseText;setTimeout(function(){P(new z(Ct,de))},0)},U.onerror=function(){setTimeout(function(){F(new TypeError("Network request failed"))},0)},U.ontimeout=function(){setTimeout(function(){F(new TypeError("Network request timed out"))},0)},U.onabort=function(){setTimeout(function(){F(new r.DOMException("Aborted","AbortError"))},0)};function Or(de){try{return de===""&&n.location.href?n.location.href:de}catch{return de}}if(U.open(V.method,Or(V.url),!0),V.credentials==="include"?U.withCredentials=!0:V.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&(a.blob?U.responseType="blob":a.arrayBuffer&&(U.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof f||n.Headers&&v.headers instanceof n.Headers)){var qi=[];Object.getOwnPropertyNames(v.headers).forEach(function(de){qi.push(d(de)),U.setRequestHeader(de,p(v.headers[de]))}),V.headers.forEach(function(de,Ct){qi.indexOf(Ct)===-1&&U.setRequestHeader(Ct,de)})}else V.headers.forEach(function(de,Ct){U.setRequestHeader(Ct,de)});V.signal&&(V.signal.addEventListener("abort",Me),U.onreadystatechange=function(){U.readyState===4&&V.signal.removeEventListener("abort",Me)}),U.send(typeof V._bodyInit>"u"?null:V._bodyInit)})}return $.polyfill=!0,n.fetch||(n.fetch=$,n.Headers=f,n.Request=E,n.Response=z),r.Headers=f,r.Request=E,r.Response=z,r.fetch=$,r}({})})(Qo);Qo.fetch.ponyfill=!0;delete Qo.fetch.polyfill;var cr=Jo.fetch?Jo:Qo;xt=cr.fetch;xt.default=cr.fetch;xt.fetch=cr.fetch;xt.Headers=cr.Headers;xt.Request=cr.Request;xt.Response=cr.Response;Xl.exports=xt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(C,S){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,I=new Set(S.observedAttributes||[]);m(S,I,E);let M={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(C,M),this._definitionsByClass.set(S,M);let z=r.call(n,C);z||(z=f(C),e.call(n,C,z)),this===window.customElements&&(s.set(S,M),M.standInClass=z);let W=this._awaitingUpgrade.get(C);if(W){this._awaitingUpgrade.delete(C);for(let y of W)i.delete(y),x(y,M,!0)}let $=this._whenDefinedPromises.get(C);return $!==void 0&&($.resolve(S),this._whenDefinedPromises.delete(C)),S}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let S=this._getDefinition(C);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(C);return E===void 0&&(E={},E.promise=new Promise(I=>E.resolve=I),this._whenDefinedPromises.set(C,E)),E.promise}_upgradeWhenDefined(C,S,E){let I=this._awaitingUpgrade.get(S);I||this._awaitingUpgrade.set(S,I=new Set),E?I.add(C):I.delete(C)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;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 S=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),a.set(S,E),S},window.HTMLElement.prototype=t.prototype;let p=C=>C===document||C instanceof ShadowRoot,h=C=>{let S=C.getRootNode();if(!p(S)){let E=N[N.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),p(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},f=C=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let I=h(E)||window.customElements,M=I._getDefinition(C);return M?x(E,M):i.set(E,I),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,C,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},m=(C,S,E)=>{if(S.size===0||E===void 0)return;let I=C.prototype.setAttribute;I&&(C.prototype.setAttribute=function(W,$){let y=W.toLowerCase();if(S.has(y)){let v=this.getAttribute(y);I.call(this,y,$),E.call(this,y,v,$)}else I.call(this,y,$)});let M=C.prototype.removeAttribute;M&&(C.prototype.removeAttribute=function(W){let $=W.toLowerCase();if(S.has($)){let y=this.getAttribute($);M.call(this,$),E.call(this,$,y,null)}else M.call(this,$)});let z=C.prototype.toggleAttribute;z&&(C.prototype.toggleAttribute=function(W,$){let y=W.toLowerCase();if(S.has(y)){let v=this.getAttribute(y);z.call(this,y,$);let P=this.getAttribute(y);E.call(this,y,v,P)}else z.call(this,y,$)})},b=C=>{let S=Object.getPrototypeOf(C);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(C,window.HTMLElement):b(S)},x=(C,S,E=!1)=>{Object.setPrototypeOf(C,S.elementClass.prototype),a.set(C,S),d=C;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(I=>{C.hasAttribute(I)&&S.attributeChangedCallback.call(C,I,null,C.getAttribute(I))}),E&&S.connectedCallback&&C.isConnected&&S.connectedCallback.call(C)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let S=O.apply(this,arguments);return C.customElements&&(S.customElements=C.customElements),S};let N=[document],T=(C,S,E=void 0)=>{let I=(E?Object.getPrototypeOf(E):C.prototype)[S];C.prototype[S]=function(){N.push(this);let M=I.apply(E||this,arguments);return M!==void 0&&c.set(M,this),N.pop(),M}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let L=(C,S)=>{let E=Object.getOwnPropertyDescriptor(C.prototype,S);Object.defineProperty(C.prototype,S,{...E,set(I){N.push(this),E.set.call(this,I),N.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let C=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let $=S.call(this,...W);return C.set($,this),$},E.forEach(W=>{let $=window.ElementInternals.prototype,y=$[W];$[W]=function(...v){let P=C.get(this);if(a.get(P).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor($){super(...$),this._elements=$}get value(){return this._elements.find($=>$.checked===!0)?.value||""}}class M{constructor($){let y=new Map;$.forEach((v,P)=>{let F=v.getAttribute("name"),V=y.get(F)||[];this[+P]=v,V.push(v),y.set(F,V)}),this.length=$.length,y.forEach((v,P)=>{v&&(v.length===1?this[P]=v[0]:this[P]=new I(v))})}namedItem($){return this[$]}}let z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=z.get.call(this,[]),$=[];for(let y of W){let v=a.get(y);(!v||v.formAssociated===!0)&&$.push(y)}return new M($)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}var Nn={};Z(Nn,{CSSResult:()=>Zt,LitElement:()=>Je,ReactiveElement:()=>Ue,_$LE:()=>Fd,_$LH:()=>Md,adoptStyles:()=>Eo,css:()=>k,defaultConverter:()=>wo,getCompatibleStyle:()=>Tr,html:()=>j,isServer:()=>Rf,noChange:()=>st,notEqual:()=>On,nothing:()=>q,render:()=>Rn,supportsAdoptingStyleSheets:()=>_r,svg:()=>Dd,unsafeCSS:()=>Tt});var co=globalThis,uo=co.ShadowRoot&&(co.ShadyCSS===void 0||co.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xi=Symbol(),Yi=new WeakMap,po=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Xi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(uo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Yi.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Yi.set(r,e))}return e}toString(){return this.cssText}},Ji=t=>new po(typeof t=="string"?t:t+"",void 0,Xi);var mn=(t,e)=>{if(uo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=co.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},fo=uo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Ji(r)})(t):t;var{is:gd,defineProperty:bd,getOwnPropertyDescriptor:xd,getOwnPropertyNames:vd,getOwnPropertySymbols:Sd,getPrototypeOf:Od}=Object,ho=globalThis,Qi=ho.trustedTypes,Cd=Qi?Qi.emptyScript:"",Ed=ho.reactiveElementPolyfillSupport,Cr=(t,e)=>t,Er={toAttribute(t,e){switch(e){case Boolean:t=t?Cd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},yo=(t,e)=>!gd(t,e),es={attribute:!0,type:String,converter:Er,reflect:!1,hasChanged:yo};Symbol.metadata??=Symbol("metadata"),ho.litPropertyMetadata??=new WeakMap;var Et=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=es){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&bd(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=xd(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let c=a?.call(this);i.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??es}static _$Ei(){if(this.hasOwnProperty(Cr("elementProperties")))return;let e=Od(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Cr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Cr("properties"))){let r=this.properties,n=[...vd(r),...Sd(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(fo(a))}else e!==void 0&&r.push(fo(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 mn(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){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:Er).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){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:Er;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??yo)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let 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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Et.elementStyles=[],Et.shadowRootOptions={mode:"open"},Et[Cr("elementProperties")]=new Map,Et[Cr("finalized")]=new Map,Ed?.({ReactiveElement:Et}),(ho.reactiveElementVersions??=[]).push("2.0.2");var bn=globalThis,mo=bn.trustedTypes,ts=mo?mo.createPolicy("lit-html",{createHTML:t=>t}):void 0,xn="$lit$",Ye=`lit$${(Math.random()+"").slice(9)}$`,vn="?"+Ye,wd=`<${vn}>`,Rt=document,go=()=>Rt.createComment(""),Ar=t=>t===null||typeof t!="object"&&typeof t!="function",ss=Array.isArray,ls=t=>ss(t)||typeof t?.[Symbol.iterator]=="function",gn=`[
3
- \f\r]`,wr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,rs=/-->/g,os=/>/g,wt=RegExp(`>|${gn}(?:([^\\s"'>=/]+)(${gn}*=${gn}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ns=/'/g,as=/"/g,cs=/^(?:script|style|textarea|title)$/i,ds=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ps=ds(1),us=ds(2),Oe=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),is=new WeakMap,At=Rt.createTreeWalker(Rt,129);function fs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ts!==void 0?ts.createHTML(e):e}var hs=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=wr;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===wr?h[1]==="!--"?s=rs:h[1]!==void 0?s=os:h[2]!==void 0?(cs.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=wt):h[3]!==void 0&&(s=wt):s===wt?h[0]===">"?(s=a??wr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?wt:h[3]==='"'?as:ns):s===as||s===ns?s=wt:s===rs||s===os?s=wr:(s=wt,a=void 0);let b=s===wt&&t[c+1].startsWith("/>")?" ":"";i+=s===wr?d+wd:f>=0?(n.push(p),d.slice(0,f)+xn+d.slice(f)+Ye+b):d+Ye+(f===-2?c:b)}return[fs(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Rr=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[p,h]=hs(e,r);if(this.el=t.createElement(p,n),At.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=At.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(xn)){let m=h[s++],b=a.getAttribute(f).split(Ye),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?xo:x[1]==="?"?vo:x[1]==="@"?So:_t}),a.removeAttribute(f)}else f.startsWith(Ye)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(cs.test(a.tagName)){let f=a.textContent.split(Ye),m=f.length-1;if(m>0){a.textContent=mo?mo.emptyScript:"";for(let b=0;b<m;b++)a.append(f[b],go()),At.nextNode(),d.push({type:2,index:++i});a.append(f[m],go())}}}else if(a.nodeType===8)if(a.data===vn)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Ye,f+1))!==-1;)d.push({type:7,index:i}),f+=Ye.length-1}i++}}static createElement(e,r){let n=Rt.createElement("template");return n.innerHTML=e,n}};function Nt(t,e,r=t,n){if(e===Oe)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Ar(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=Nt(t,a._$AS(t,e.values),a,n)),e}var bo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Rt).importNode(r,!0);At.currentNode=a;let i=At.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Nr(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Oo(i,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(i=At.nextNode(),s++)}return At.currentNode=Rt,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Nr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=se,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Nt(this,e,r),Ar(e)?e===se||e==null||e===""?(this._$AH!==se&&this._$AR(),this._$AH=se):e!==this._$AH&&e!==Oe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ls(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==se&&Ar(this._$AH)?this._$AA.nextSibling.data=e:this.$(Rt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Rr.createElement(fs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new bo(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=is.get(e.strings);return r===void 0&&is.set(e.strings,r=new Rr(e)),r}T(e){ss(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(go()),this.k(go()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},_t=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=se,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=se}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Nt(this,e,r,0),s=!Ar(e)||e!==this._$AH&&e!==Oe,s&&(this._$AH=e);else{let c=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=Nt(this,c[n+d],r,d),p===Oe&&(p=this._$AH[d]),s||=!Ar(p)||p!==this._$AH[d],p===se?e=se:e!==se&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(e)}O(e){e===se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},xo=class extends _t{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===se?void 0:e}},vo=class extends _t{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==se)}},So=class extends _t{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=Nt(this,e,r,0)??se)===Oe)return;let n=this._$AH,a=e===se&&n!==se||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==se&&(n===se||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)}},Oo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Nt(this,e)}},ys={j:xn,P:Ye,A:vn,C:1,M:hs,L:bo,R:ls,V:Nt,D:Nr,I:_t,H:vo,N:So,U:xo,B:Oo},Ad=bn.litHtmlPolyfillSupport;Ad?.(Rr,Nr),(bn.litHtmlVersions??=[]).push("3.1.0");var Co=globalThis,_r=Co.ShadowRoot&&(Co.ShadyCSS===void 0||Co.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sn=Symbol(),ms=new WeakMap,Zt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Sn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(_r&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ms.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ms.set(r,e))}return e}toString(){return this.cssText}},Tt=t=>new Zt(typeof t=="string"?t:t+"",void 0,Sn),k=(t,...e)=>{let r=t.length===1?t[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)+t[i+1],t[0]);return new Zt(r,t,Sn)},Eo=(t,e)=>{if(_r)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=Co.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Tr=_r?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Tt(r)})(t):t;var{is:Rd,defineProperty:Nd,getOwnPropertyDescriptor:_d,getOwnPropertyNames:Td,getOwnPropertySymbols:Ld,getPrototypeOf:Id}=Object,Ao=globalThis,gs=Ao.trustedTypes,Pd=gs?gs.emptyScript:"",$d=Ao.reactiveElementPolyfillSupport,Lr=(t,e)=>t,wo={toAttribute(t,e){switch(e){case Boolean:t=t?Pd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},On=(t,e)=>!Rd(t,e),bs={attribute:!0,type:String,converter:wo,reflect:!1,hasChanged:On};Symbol.metadata??=Symbol("metadata"),Ao.litPropertyMetadata??=new WeakMap;var Ue=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=bs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Nd(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=_d(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let c=a?.call(this);i.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??bs}static _$Ei(){if(this.hasOwnProperty(Lr("elementProperties")))return;let e=Id(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Lr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Lr("properties"))){let r=this.properties,n=[...Td(r),...Ld(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Tr(a))}else e!==void 0&&r.push(Tr(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 Eo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){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:wo).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){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:wo;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??On)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let 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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ue.elementStyles=[],Ue.shadowRootOptions={mode:"open"},Ue[Lr("elementProperties")]=new Map,Ue[Lr("finalized")]=new Map,$d?.({ReactiveElement:Ue}),(Ao.reactiveElementVersions??=[]).push("2.0.2");var En=globalThis,Ro=En.trustedTypes,xs=Ro?Ro.createPolicy("lit-html",{createHTML:t=>t}):void 0,wn="$lit$",Xe=`lit$${(Math.random()+"").slice(9)}$`,An="?"+Xe,kd=`<${An}>`,Pt=document,Pr=()=>Pt.createComment(""),$r=t=>t===null||typeof t!="object"&&typeof t!="function",ws=Array.isArray,As=t=>ws(t)||typeof t?.[Symbol.iterator]=="function",Cn=`[
5
- \f\r]`,Ir=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vs=/-->/g,Ss=/>/g,Lt=RegExp(`>|${Cn}(?:([^\\s"'>=/]+)(${Cn}*=${Cn}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Os=/'/g,Cs=/"/g,Rs=/^(?:script|style|textarea|title)$/i,Ns=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),j=Ns(1),Dd=Ns(2),st=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Es=new WeakMap,It=Pt.createTreeWalker(Pt,129);function _s(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xs!==void 0?xs.createHTML(e):e}var Ts=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=Ir;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ir?h[1]==="!--"?s=vs:h[1]!==void 0?s=Ss:h[2]!==void 0?(Rs.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Lt):h[3]!==void 0&&(s=Lt):s===Lt?h[0]===">"?(s=a??Ir,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Lt:h[3]==='"'?Cs:Os):s===Cs||s===Os?s=Lt:s===vs||s===Ss?s=Ir:(s=Lt,a=void 0);let b=s===Lt&&t[c+1].startsWith("/>")?" ":"";i+=s===Ir?d+kd:f>=0?(n.push(p),d.slice(0,f)+wn+d.slice(f)+Xe+b):d+Xe+(f===-2?c:b)}return[_s(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},kr=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[p,h]=Ts(e,r);if(this.el=t.createElement(p,n),It.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=It.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(wn)){let m=h[s++],b=a.getAttribute(f).split(Xe),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?_o:x[1]==="?"?To:x[1]==="@"?Lo:kt}),a.removeAttribute(f)}else f.startsWith(Xe)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Rs.test(a.tagName)){let f=a.textContent.split(Xe),m=f.length-1;if(m>0){a.textContent=Ro?Ro.emptyScript:"";for(let b=0;b<m;b++)a.append(f[b],Pr()),It.nextNode(),d.push({type:2,index:++i});a.append(f[m],Pr())}}}else if(a.nodeType===8)if(a.data===An)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Xe,f+1))!==-1;)d.push({type:7,index:i}),f+=Xe.length-1}i++}}static createElement(e,r){let n=Pt.createElement("template");return n.innerHTML=e,n}};function $t(t,e,r=t,n){if(e===st)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=$r(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=$t(t,a._$AS(t,e.values),a,n)),e}var No=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Pt).importNode(r,!0);It.currentNode=a;let i=It.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new qt(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Io(i,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(i=It.nextNode(),s++)}return It.currentNode=Pt,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},qt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=$t(this,e,r),$r(e)?e===q||e==null||e===""?(this._$AH!==q&&this._$AR(),this._$AH=q):e!==this._$AH&&e!==st&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):As(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==q&&$r(this._$AH)?this._$AA.nextSibling.data=e:this.$(Pt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=kr.createElement(_s(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new No(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=Es.get(e.strings);return r===void 0&&Es.set(e.strings,r=new kr(e)),r}T(e){ws(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(Pr()),this.k(Pr()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=q}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=$t(this,e,r,0),s=!$r(e)||e!==this._$AH&&e!==st,s&&(this._$AH=e);else{let c=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=$t(this,c[n+d],r,d),p===st&&(p=this._$AH[d]),s||=!$r(p)||p!==this._$AH[d],p===q?e=q:e!==q&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(e)}O(e){e===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},_o=class extends kt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===q?void 0:e}},To=class extends kt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==q)}},Lo=class extends kt{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=$t(this,e,r,0)??q)===st)return;let n=this._$AH,a=e===q&&n!==q||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==q&&(n===q||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)}},Io=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$t(this,e)}},Md={j:wn,P:Xe,A:An,C:1,M:Ts,L:No,R:As,V:$t,D:qt,I:kt,H:To,N:Lo,U:_o,B:Io},Ud=En.litHtmlPolyfillSupport;Ud?.(kr,qt),(En.litHtmlVersions??=[]).push("3.1.0");var Rn=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new qt(e.insertBefore(Pr(),i),i,void 0,r??{})}return a._$AI(t),a};var Je=class extends Ue{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Rn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return st}};Je._$litElement$=!0,Je.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Je});var Bd=globalThis.litElementPolyfillSupport;Bd?.({LitElement:Je});var Fd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Rf=!1;var Tn={};Z(Tn,{customElement:()=>Wd,eventOptions:()=>Yt,property:()=>w,query:()=>ue,queryAll:()=>Vd,queryAssignedElements:()=>Gd,queryAssignedNodes:()=>_n,queryAsync:()=>jd,standardProperty:()=>Ls,state:()=>J});var Wd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Hd={attribute:!0,type:String,converter:Er,reflect:!1,hasChanged:yo},Ls=(t=Hd,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function w(t){return(e,r)=>typeof r=="object"?Ls(t,e,r):((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})(t,e,r)}function J(t){return w({...t,state:!0,attribute:!1})}function Yt(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var _e=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function ue(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return _e(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return _e(r,n,{get(){return i(this)}})}}var zd;function Vd(t){return(e,r)=>_e(e,r,{get(){return(this.renderRoot??(zd??=document.createDocumentFragment())).querySelectorAll(t)}})}function jd(t){return(e,r)=>_e(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Gd(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return _e(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function _n(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return _e(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Ln={};Z(Ln,{repeat:()=>$o});var lt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ct=t=>(...e)=>({_$litDirective$:t,values:e}),Be=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Kd}=ys;var Is=()=>document.createComment(""),Xt=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(Is(),a),s=n.insertBefore(Is(),a);r=new Kd(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return r},dt=(t,e,r=t)=>(t._$AI(e,r),t),Zd={},Ps=(t,e=Zd)=>t._$AH=e,$s=t=>t._$AH,Po=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var ks=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},$o=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let c of t)a[s]=n?n(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=$s(t),{values:i,keys:s}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=s,i;let c=this.dt??=[],d=[],p,h,f=0,m=a.length-1,b=0,x=i.length-1;for(;f<=m&&b<=x;)if(a[f]===null)f++;else if(a[m]===null)m--;else if(c[f]===s[b])d[b]=dt(a[f],i[b]),f++,b++;else if(c[m]===s[x])d[x]=dt(a[m],i[x]),m--,x--;else if(c[f]===s[x])d[x]=dt(a[f],i[x]),Xt(t,d[x+1],a[f]),f++,x--;else if(c[m]===s[b])d[b]=dt(a[m],i[b]),Xt(t,a[f],a[m]),m--,b++;else if(p===void 0&&(p=ks(s,b,x),h=ks(c,f,m)),p.has(c[f]))if(p.has(c[m])){let O=h.get(s[b]),N=O!==void 0?a[O]:null;if(N===null){let T=Xt(t,a[f]);dt(T,i[b]),d[b]=T}else d[b]=dt(N,i[b]),Xt(t,a[f],N),a[O]=null;b++}else Po(a[m]),m--;else Po(a[f]),f++;for(;b<=x;){let O=Xt(t,d[x+1]);dt(O,i[b]),d[b++]=O}for(;f<=m;){let O=a[f++];O!==null&&Po(O)}return this.dt=s,Ps(t,d),Oe}});var In={};Z(In,{classMap:()=>Fe});var Fe=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.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?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Oe}});var $n={};Z($n,{styleMap:()=>Pn});var Ds="important",qd=" !"+Ds,Pn=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[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(qd);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?Ds:""):r[n]=a}}return Oe}});var Dn={};Z(Dn,{UnsafeHTMLDirective:()=>Jt,unsafeHTML:()=>kn});var Jt=class extends Be{constructor(e){if(super(e),this.et=se,e.type!==lt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===se||e==null)return this.vt=void 0,this.et=e;if(e===Oe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Jt.directiveName="unsafeHTML",Jt.resultType=1;var kn=ct(Jt);var zn={};Z(zn,{CacheRegistry:()=>We,ClearCacheEvent:()=>Mr});var Un={};Z(Un,{CancelablePromise:()=>Qt,CanceledPromiseError:()=>Dr,cancelable:()=>Mn});var Dr=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Qt=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new Dr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Dr("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Mn=t=>new Qt((e,r)=>t.then(e).catch(r));var Hn={};Z(Hn,{FtNotificationEvent:()=>Bn,PostResizeEvent:()=>Wn,PreResizeEvent:()=>Fn,WithEventBus:()=>Dt,withEventBus:()=>Ms});var Bn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Fn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Wn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ms(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Dt=class extends Ms(Object){};var Mr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},We=class extends Dt{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new Mr(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Mr([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Qt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Mn(r());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 jn={};Z(jn,{ClusteringHelper:()=>Vn});var Vn=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var r,n,a,i,s;let c=((i=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(c.join(" > ")),r&&r>1&&c.length>=r?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,b)=>b.findIndex(x=>x.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>c&&(c=p,s=d,p===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var Gn={};Z(Gn,{Debouncer:()=>ye});var ye=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var qn={};Z(qn,{customElement:()=>Q,isNumber:()=>Ws,jsonProperty:()=>He,optionalNumberProperty:()=>tp});var Zn={};Z(Zn,{dateReviver:()=>Xd,deepEqual:()=>Te,delay:()=>ko,eventPathContainsMatchingElement:()=>Qd,flatDeep:()=>Bs,getComposedPathTo:()=>Kn,hasChanged:()=>Le,last:()=>ep,minmax:()=>Ur,parseDate:()=>Fs,unslotText:()=>Do,waitFor:()=>Us,waitUntil:()=>Yd});var ko=t=>new Promise(e=>setTimeout(e,t));async function Yd(t,e=10,r=2e4){await Us(async()=>await t()||void 0,e,r)}async function Us(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await ko(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Bs(t,e){return t.flatMap(r=>[r,...Bs(e(r),e)])}function Xd(...t){return function(e,r){return t.includes(e)?Fs(r):r}}function Fs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function Jd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Te(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Te(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!Te(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Te(t,e){try{return Jd(t,e)}catch{return!1}}function Le(t,e){return!Te(t,e)}function Qd(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Ur(t,e,r){return Math.min(Math.max(t,e),r)}function ep(t){return t[t.length-1]}function Do(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Do(e)).join(""):t?.textContent||""}function Kn(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var Q=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function He(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Le,...e??{}})}function tp(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ws(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ws(t){return!isNaN(parseFloat(t))}var Ea={};Z(Ea,{designSystemVariables:()=>H});var Ca={};Z(Ca,{DesignSystemFamily:()=>Mt,DesignSystemSize:()=>et,FtCssVariableFactory:()=>o,badge:()=>sp,banner:()=>ip,button:()=>g,chart:()=>Cp,checkbox:()=>Ap,chip:()=>np,chipChoice:()=>op,collapsible:()=>Sp,comboboxMultiSelect:()=>xp,comboboxSingleSelect:()=>bp,drawer:()=>fp,floatingMenu:()=>gp,foundation:()=>l,link:()=>ap,modal:()=>up,notice:()=>wp,notification:()=>_p,pageDesigner:()=>Ep,pageFooter:()=>dp,pageHeader:()=>cp,pageLayout:()=>pp,popover:()=>vp,radio:()=>Np,reorderableList:()=>Lp,resolveFamilyClass:()=>Sa,resolveSizeClass:()=>Oa,semantic:()=>u,setVariable:()=>A,switch_:()=>Op,tabs:()=>hp,textArea:()=>mp,textInput:()=>yp,titleBreadcrumb:()=>lp,toggle:()=>Rp,tooltip:()=>Tp,typographies:()=>Br,typographyBody1Medium:()=>ta,typographyBody1Regular:()=>ea,typographyBody1Semibold:()=>ra,typographyBody2Medium:()=>na,typographyBody2MediumUnderline:()=>Hs,typographyBody2Regular:()=>oa,typographyBody2Semibold:()=>aa,typographyCaption1Bold:()=>ha,typographyCaption1Medium:()=>ua,typographyCaption1Semibold:()=>fa,typographyCaption2Bold:()=>ga,typographyCaption2Medium:()=>ya,typographyCaption2Semibold:()=>ma,typographyCaption3Bold:()=>va,typographyCaption3Medium:()=>ba,typographyCaption3Semibold:()=>xa,typographyDisplay:()=>Yn,typographyLabel1Bold:()=>la,typographyLabel1Medium:()=>ia,typographyLabel1Semibold:()=>sa,typographyLabel2Bold:()=>pa,typographyLabel2Medium:()=>ca,typographyLabel2Semibold:()=>da,typographyTitle1:()=>Xn,typographyTitle2:()=>Jn,typographyTitle3:()=>Qn,typographyVariants:()=>rp});var Qe=t=>typeof t=="string"?Tt(t):t,o=class{static create(e,r,n,a){let i=c=>Qe(c??a),s=k`var(${Qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>k`var(${Qe(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=c=>n.get(c??a),s=k`var(${Qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>k`var(${Qe(e)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):Qe(i??e.lastResortDefaultValue()),a=k`var(${Qe(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>k`var(${Qe(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function A(t,e){return Qe(`${t.name}: ${e}`)}var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Yn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Hs={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},aa={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ia={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ha={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ya={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ga={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},xa={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},va={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Br={display:Yn,"title-1":Xn,"title-2":Jn,"title-3":Qn,"body-1-regular":ea,"body-1-medium":ta,"body-1-semibold":ra,"body-2-regular":oa,"body-2-medium":na,"body-2-medium-underline":Hs,"body-2-semibold":aa,"label-1-medium":ia,"label-1-semibold":sa,"label-1-bold":la,"label-2-medium":ca,"label-2-semibold":da,"label-2-bold":pa,"caption-1-medium":ua,"caption-1-semibold":fa,"caption-1-bold":ha,"caption-2-medium":ya,"caption-2-semibold":ma,"caption-2-bold":ga,"caption-3-medium":ba,"caption-3-semibold":xa,"caption-3-bold":va},rp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var g={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var op={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var np={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ap={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var ip={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var sp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)};var lp={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var cp={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var dp={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)};var pp={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)};var up={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var fp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var hp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var yp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var mp={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var gp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var bp={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var xp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var vp={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var Sp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Op={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Cp={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var Ep={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var wp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var Ap={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)};var Rp={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var Np={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var _p={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var Tp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var Lp={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Mt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Mt||(Mt={}));var et;(function(t){t.large="large",t.medium="medium",t.small="small"})(et||(et={}));function Sa(t){return`ftds--family-${t}`}function Oa(t){return`ftds--size-${t}`}var H={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ba={};Z(Ba,{computeFlipOffsetPosition:()=>Jp,computeOffsetPosition:()=>Ua});var Vs=["top","right","bottom","left"],zs=["start","end"],wa=Vs.reduce((t,e)=>t.concat(e,e+"-"+zs[0],e+"-"+zs[1]),[]),Hr=Math.min,pt=Math.max,zr=Math.round;var tt=t=>({x:t,y:t}),Ip={left:"right",right:"left",bottom:"top",top:"bottom"},Pp={start:"end",end:"start"};function Aa(t,e,r){return pt(t,Hr(e,r))}function er(t,e){return typeof t=="function"?t(e):t}function ze(t){return t.split("-")[0]}function Ve(t){return t.split("-")[1]}function Ra(t){return t==="x"?"y":"x"}function Na(t){return t==="y"?"height":"width"}function Vr(t){return["top","bottom"].includes(ze(t))?"y":"x"}function _a(t){return Ra(Vr(t))}function Ta(t,e,r){r===void 0&&(r=!1);let n=Ve(t),a=_a(t),i=Na(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Wr(s)),[s,Wr(s)]}function js(t){let e=Wr(t);return[Fr(t),e,Fr(e)]}function Fr(t){return t.replace(/start|end/g,e=>Pp[e])}function $p(t,e,r){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?a:n:e?n:a;case"left":case"right":return e?i:s;default:return[]}}function Gs(t,e,r,n){let a=Ve(t),i=$p(ze(t),r==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Fr)))),i}function Wr(t){return t.replace(/left|right|bottom|top/g,e=>Ip[e])}function kp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ks(t){return typeof t!="number"?kp(t):{top:t,right:t,bottom:t,left:t}}function Ut(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Zs(t,e,r){let{reference:n,floating:a}=t,i=Vr(e),s=_a(e),c=Na(s),d=ze(e),p=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,m=n[c]/2-a[c]/2,b;switch(d){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-a.width,y:f};break;default:b={x:n.x,y:n.y}}switch(Ve(e)){case"start":b[s]-=m*(r&&p?-1:1);break;case"end":b[s]+=m*(r&&p?-1:1);break}return b}var qs=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:f}=Zs(p,n,d),m=n,b={},x=0;for(let O=0;O<c.length;O++){let{name:N,fn:T}=c[O],{x:L,y:C,data:S,reset:E}=await T({x:h,y:f,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:p,platform:s,elements:{reference:t,floating:e}});if(h=L??h,f=C??f,b={...b,[N]:{...b[N],...S}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):E.rects),{x:h,y:f}=Zs(p,m,d)),O=-1;continue}}return{x:h,y:f,placement:m,strategy:a,middlewareData:b}};async function Mo(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=er(e,t),x=Ks(b),N=c[m?f==="floating"?"reference":"floating":f],T=Ut(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(N)))==null||r?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),L=f==="floating"?{...s.floating,x:n,y:a}:s.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),S=await(i.isElement==null?void 0:i.isElement(C))?await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},E=Ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:C,strategy:d}):L);return{top:(T.top-E.top+x.top)/S.y,bottom:(E.bottom-T.bottom+x.bottom)/S.y,left:(T.left-E.left+x.left)/S.x,right:(E.right-T.right+x.right)/S.x}}function Dp(t,e,r){return(t?[...r.filter(a=>Ve(a)===t),...r.filter(a=>Ve(a)!==t)]:r.filter(a=>ze(a)===a)).filter(a=>t?Ve(a)===t||(e?Fr(a)!==a:!1):!0)}var La=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=wa,autoAlignment:b=!0,...x}=er(t,e),O=f!==void 0||m===wa?Dp(f||null,b,m):m,N=await Mo(e,x),T=((r=s.autoPlacement)==null?void 0:r.index)||0,L=O[T];if(L==null)return{};let C=Ta(L,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==L)return{reset:{placement:O[0]}};let S=[N[ze(L)],N[C[0]],N[C[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:S}],I=O[T+1];if(I)return{data:{index:T+1,overflows:E},reset:{placement:I}};let M=E.map($=>{let y=Ve($.placement);return[$.placement,y&&h?$.overflows.slice(0,2).reduce((v,P)=>v+P,0):$.overflows[0],$.overflows]}).sort(($,y)=>$[1]-y[1]),W=((a=M.filter($=>$[2].slice(0,Ve($[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||M[0][0];return W!==c?{data:{index:T+1,overflows:E},reset:{placement:W}}:{}}}},Ia=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:c,platform:d,elements:p}=e,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:O=!0,...N}=er(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let T=ze(a),L=ze(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),S=m||(L||!O?[Wr(c)]:js(c));!m&&x!=="none"&&S.push(...Gs(c,O,x,C));let E=[c,...S],I=await Mo(e,N),M=[],z=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&M.push(I[T]),f){let v=Ta(a,s,C);M.push(I[v[0]],I[v[1]])}if(z=[...z,{placement:a,overflows:M}],!M.every(v=>v<=0)){var W,$;let v=(((W=i.flip)==null?void 0:W.index)||0)+1,P=E[v];if(P)return{data:{index:v,overflows:z},reset:{placement:P}};let F=($=z.filter(V=>V.overflows[0]<=0).sort((V,U)=>V.overflows[1]-U.overflows[1])[0])==null?void 0:$.placement;if(!F)switch(b){case"bestFit":{var y;let V=(y=z.map(U=>[U.placement,U.overflows.filter(Me=>Me>0).reduce((Me,Or)=>Me+Or,0)]).sort((U,Me)=>U[1]-Me[1])[0])==null?void 0:y[0];V&&(F=V);break}case"initialPlacement":F=c;break}if(a!==F)return{reset:{placement:F}}}return{}}}};async function Mp(t,e){let{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=ze(r),c=Ve(r),d=Vr(r)==="y",p=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,f=er(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof x=="number"&&(b=c==="end"?x*-1:x),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var Pa=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await Mp(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},$a=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:T,y:L}=N;return{x:T,y:L}}},...d}=er(t,e),p={x:r,y:n},h=await Mo(e,d),f=Vr(ze(a)),m=Ra(f),b=p[m],x=p[f];if(i){let N=m==="y"?"top":"left",T=m==="y"?"bottom":"right",L=b+h[N],C=b-h[T];b=Aa(L,b,C)}if(s){let N=f==="y"?"top":"left",T=f==="y"?"bottom":"right",L=x+h[N],C=x-h[T];x=Aa(L,x,C)}let O=c.fn({...e,[m]:b,[f]:x});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function rt(t){return Xs(t)?(t.nodeName||"").toLowerCase():"#document"}function ge(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ot(t){var e;return(e=(Xs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Xs(t){return t instanceof Node||t instanceof ge(t).Node}function je(t){return t instanceof Element||t instanceof ge(t).Element}function Ie(t){return t instanceof HTMLElement||t instanceof ge(t).HTMLElement}function Ys(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ge(t).ShadowRoot}function tr(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=Ce(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function Js(t){return["table","td","th"].includes(rt(t))}function Bo(t){let e=Fo(),r=Ce(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Qs(t){let e=Bt(t);for(;Ie(e)&&!jr(e);){if(Bo(e))return e;e=Bt(e)}return null}function Fo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jr(t){return["html","body","#document"].includes(rt(t))}function Ce(t){return ge(t).getComputedStyle(t)}function Gr(t){return je(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Bt(t){if(rt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ys(t)&&t.host||ot(t);return Ys(e)?e.host:e}function el(t){let e=Bt(t);return jr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ie(e)&&tr(e)?e:el(e)}function Uo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=el(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=ge(a);return i?e.concat(s,s.visualViewport||[],tr(a)?a:[],s.frameElement&&r?Uo(s.frameElement):[]):e.concat(a,Uo(a,[],r))}function ol(t){let e=Ce(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Ie(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,c=zr(r)!==i||zr(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function nl(t){return je(t)?t:t.contextElement}function rr(t){let e=nl(t);if(!Ie(e))return tt(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=ol(e),s=(i?zr(r.width):r.width)/n,c=(i?zr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Up=tt(0);function al(t){let e=ge(t);return!Fo()||!e.visualViewport?Up:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Bp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ge(t)?!1:e}function Kr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=nl(t),s=tt(1);e&&(n?je(n)&&(s=rr(n)):s=rr(t));let c=Bp(i,r,n)?al(i):tt(0),d=(a.left+c.x)/s.x,p=(a.top+c.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(i){let m=ge(i),b=n&&je(n)?ge(n):n,x=m.frameElement;for(;x&&n&&b!==m;){let O=rr(x),N=x.getBoundingClientRect(),T=Ce(x),L=N.left+(x.clientLeft+parseFloat(T.paddingLeft))*O.x,C=N.top+(x.clientTop+parseFloat(T.paddingTop))*O.y;d*=O.x,p*=O.y,h*=O.x,f*=O.y,d+=L,p+=C,x=ge(x).frameElement}}return Ut({width:h,height:f,x:d,y:p})}function Fp(t){let{rect:e,offsetParent:r,strategy:n}=t,a=Ie(r),i=ot(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},c=tt(1),d=tt(0);if((a||!a&&n!=="fixed")&&((rt(r)!=="body"||tr(i))&&(s=Gr(r)),Ie(r))){let p=Kr(r);c=rr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function Wp(t){return Array.from(t.getClientRects())}function il(t){return Kr(ot(t)).left+Gr(t).scrollLeft}function Hp(t){let e=ot(t),r=Gr(t),n=t.ownerDocument.body,a=pt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=pt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+il(t),c=-r.scrollTop;return Ce(n).direction==="rtl"&&(s+=pt(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:c}}function zp(t,e){let r=ge(t),n=ot(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let p=Fo();(!p||p&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:c,y:d}}function Vp(t,e){let r=Kr(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=Ie(t)?rr(t):tt(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:s,height:c,x:d,y:p}}function tl(t,e,r){let n;if(e==="viewport")n=zp(t,r);else if(e==="document")n=Hp(ot(t));else if(je(e))n=Vp(e,r);else{let a=al(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Ut(n)}function sl(t,e){let r=Bt(t);return r===e||!je(r)||jr(r)?!1:Ce(r).position==="fixed"||sl(r,e)}function jp(t,e){let r=e.get(t);if(r)return r;let n=Uo(t,[],!1).filter(c=>je(c)&&rt(c)!=="body"),a=null,i=Ce(t).position==="fixed",s=i?Bt(t):t;for(;je(s)&&!jr(s);){let c=Ce(s),d=Bo(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||tr(s)&&!d&&sl(t,s))?n=n.filter(h=>h!==s):a=c,s=Bt(s)}return e.set(t,n),n}function Gp(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?jp(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((p,h)=>{let f=tl(e,h,a);return p.top=pt(f.top,p.top),p.right=Hr(f.right,p.right),p.bottom=Hr(f.bottom,p.bottom),p.left=pt(f.left,p.left),p},tl(e,c,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Kp(t){return ol(t)}function Zp(t,e,r){let n=Ie(e),a=ot(e),i=r==="fixed",s=Kr(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=tt(0);if(n||!n&&!i)if((rt(e)!=="body"||tr(a))&&(c=Gr(e)),n){let p=Kr(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=il(a));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function rl(t,e){return!Ie(t)||Ce(t).position==="fixed"?null:e?e(t):t.offsetParent}function ll(t,e){let r=ge(t);if(!Ie(t))return r;let n=rl(t,e);for(;n&&Js(n)&&Ce(n).position==="static";)n=rl(n,e);return n&&(rt(n)==="html"||rt(n)==="body"&&Ce(n).position==="static"&&!Bo(n))?r:n||Qs(t)||r}var qp=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||ll,i=this.getDimensions;return{reference:Zp(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function Yp(t){return Ce(t).direction==="rtl"}var or={convertOffsetParentRelativeRectToViewportRelativeRect:Fp,getDocumentElement:ot,getClippingRect:Gp,getOffsetParent:ll,getElementRects:qp,getClientRects:Wp,getDimensions:Kp,getScale:rr,isElement:je,isRTL:Yp};var ka=(t,e,r)=>{let n=new Map,a={platform:or,...r},i={...a.platform,_c:n};return qs(t,e,{...a,platform:i})};function Ma(t){return Xp(t)}function Da(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Xp(t){for(let e=t;e;e=Da(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Da(t);e;e=Da(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ua(t,e,r){return ka(t,e,{platform:{...or,getOffsetParent:n=>or.getOffsetParent(n,Ma)},middleware:[$a({crossAxis:!0}),La({allowedPlacements:[r]})]})}async function Jp(t,e,r,n,a,i=4){return ka(t,e,{placement:r,strategy:a,platform:{...or,getOffsetParent:s=>or.getOffsetParent(s,Ma)},middleware:[Pa(i),Ia({fallbackPlacements:n})]})}var za={};Z(za,{FtdsBase:()=>Ha,toFtdsBase:()=>zo});var Wa={};Z(Wa,{FtLitElement:()=>K});var Fa={};Z(Fa,{ScopedRegistryLitElement:()=>Zr});var Wo=window,Qp=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,eb=Symbol();var cl=(t,e)=>{Qp?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),a=Wo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)})};var Zr=class extends Je{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return cl(n,e.elementStyles),n}};var Ho=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},fl,dl=Symbol("constructorPrototype"),pl=Symbol("constructorName"),hl=Symbol("exportpartsDebouncer"),ul=Symbol("dynamicDependenciesLoaded"),K=class extends Zr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[fl]=new ye(5),this[pl]=this.constructor.name,this[dl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[pl]&&Object.setPrototypeOf(this,this[dl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[ul]||(e[ul]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[hl].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,c;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...b,...x).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};fl=hl;Ho([w()],K.prototype,"exportpartsPrefix",void 0);Ho([He([])],K.prototype,"exportpartsPrefixes",void 0);Ho([w()],K.prototype,"customStylesheet",void 0);Ho([J()],K.prototype,"useAdoptedStyleSheets",void 0);var yl=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};function zo(t){class e extends t{constructor(){super(...arguments),this.size=et.medium,this.family=Mt.neutral}getDesignSystemBaseClasses(){return{[Sa(this.family)]:!0,[Oa(this.size)]:!0}}}return yl([w()],e.prototype,"size",void 0),yl([w()],e.prototype,"family",void 0),e}var Ha=class extends zo(K){};var ml={};var Ga={};Z(Ga,{highlightHtml:()=>ja,highlightHtmlColorCssVariable:()=>gl,highlightHtmlStyles:()=>tu});var Ft=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,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,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(c++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===n&&(i=d,s=c.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>d.push(b),a)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var qr=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ft(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return 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${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,n);c&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){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-r>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,r,n){let a,i=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ft.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let p=r-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+m,e.nodes.forEach((b,x)=>{x>=c&&(e.nodes[x].start>0&&x!==c&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,a(f)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,s,i.value);f&&this.wrapRangeInMappedTextNode(i,p,h,m=>r(m,c,i.value.substring(p,h),d),m=>{n(m,c)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),i[s-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,r){this.opt=r;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,c,d)=>this.opt.filter(i,s,c,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Ft.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Va(t){let e=new qr(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var eu=Va,gl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),tu=k`
1
+ "use strict";(()=>{var hd=Object.create;var yn=Object.defineProperty;var yd=Object.getOwnPropertyDescriptor;var md=Object.getOwnPropertyNames;var gd=Object.getPrototypeOf,bd=Object.prototype.hasOwnProperty;var xd=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Z=(t,e)=>{for(var r in e)yn(t,r,{get:e[r],enumerable:!0})},vd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of md(e))!bd.call(t,a)&&a!==r&&yn(t,a,{get:()=>e[a],enumerable:!(n=yd(e,a))||n.enumerable});return t};var Sd=(t,e,r)=>(r=t!=null?hd(gd(t)):{},vd(e||!t||!t.__esModule?yn(r,"default",{value:t,enumerable:!0}):r,t));var ec=xd((xt,Ql)=>{var Jo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Qo=function(){function t(){this.fetch=!1,this.DOMException=Jo.DOMException}return t.prototype=Jo,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||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(m){return m&&DataView.prototype.isPrototypeOf(m)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function p(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var S={next:function(){var I=m.shift();return{done:I===void 0,value:I}}};return a.iterable&&(S[Symbol.iterator]=function(){return S}),S}function f(m){this.map={},m instanceof f?m.forEach(function(S,I){this.append(I,S)},this):Array.isArray(m)?m.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(S){this.append(S,m[S])},this)}f.prototype.append=function(m,S){m=d(m),S=p(S);var I=this.map[m];this.map[m]=I?I+", "+S:S},f.prototype.delete=function(m){delete this.map[d(m)]},f.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},f.prototype.set=function(m,S){this.map[d(m)]=p(S)},f.prototype.forEach=function(m,S){for(var I in this.map)this.map.hasOwnProperty(I)&&m.call(S,this.map[I],I,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(S,I){m.push(I)}),h(m)},f.prototype.values=function(){var m=[];return this.forEach(function(S){m.push(S)}),h(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(S,I){m.push([I,S])}),h(m)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function b(m){return new Promise(function(S,I){m.onload=function(){S(m.result)},m.onerror=function(){I(m.error)}})}function x(m){var S=new FileReader,I=b(S);return S.readAsArrayBuffer(m),I}function O(m){var S=new FileReader,I=b(S),H=/charset=([A-Za-z0-9_-]+)/.exec(m.type),j=H?H[1]:"utf-8";return S.readAsText(m,j),I}function R(m){for(var S=new Uint8Array(m),I=new Array(S.length),H=0;H<S.length;H++)I[H]=String.fromCharCode(S[H]);return I.join("")}function N(m){if(m.slice)return m.slice(0);var S=new Uint8Array(m.byteLength);return S.set(new Uint8Array(m)),S.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:a.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:a.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():a.arrayBuffer&&a.blob&&i(m)?(this._bodyArrayBuffer=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=N(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=y(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(R(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(P)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(m){var S=m.toUpperCase();return C.indexOf(S)>-1?S:m}function E(m,S){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var I=S.body;if(m instanceof E){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,S.headers||(this.headers=new f(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!I&&m._bodyInit!=null&&(I=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new f(S.headers)),this.method=v(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in n){var U=new AbortController;return U.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(I),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var H=/([?&])_=[^&]*/;if(H.test(this.url))this.url=this.url.replace(H,"$1_="+new Date().getTime());else{var j=/\?/;this.url+=(j.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function P(m){var S=new FormData;return m.trim().split("&").forEach(function(I){if(I){var H=I.split("="),j=H.shift().replace(/\+/g," "),U=H.join("=").replace(/\+/g," ");S.append(decodeURIComponent(j),decodeURIComponent(U))}}),S}function M(m){var S=new f,I=m.replace(/\r?\n[\t ]+/g," ");return I.split("\r").map(function(H){return H.indexOf(`
2
+ `)===0?H.substr(1,H.length):H}).forEach(function(H){var j=H.split(":"),U=j.shift().trim();if(U){var Fe=j.join(":").trim();try{S.append(U,Fe)}catch(Ar){console.warn("Response "+Ar.message)}}}),S}L.call(E.prototype);function W(m,S){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new f(S.headers),this.url=S.url||"",this._initBody(m)}L.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},W.error=function(){var m=new W(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var F=[301,302,303,307,308];W.redirect=function(m,S){if(F.indexOf(S)===-1)throw new RangeError("Invalid status code");return new W(null,{status:S,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,I){this.message=S,this.name=I;var H=Error(S);this.stack=H.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function $(m,S){return new Promise(function(I,H){var j=new E(m,S);if(j.signal&&j.signal.aborted)return H(new r.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function Fe(){U.abort()}U.onload=function(){var de={statusText:U.statusText,headers:M(U.getAllResponseHeaders()||"")};j.url.indexOf("file://")===0&&(U.status<200||U.status>599)?de.status=200:de.status=U.status,de.url="responseURL"in U?U.responseURL:de.headers.get("X-Request-URL");var Ct="response"in U?U.response:U.responseText;setTimeout(function(){I(new W(Ct,de))},0)},U.onerror=function(){setTimeout(function(){H(new TypeError("Network request failed"))},0)},U.ontimeout=function(){setTimeout(function(){H(new TypeError("Network request timed out"))},0)},U.onabort=function(){setTimeout(function(){H(new r.DOMException("Aborted","AbortError"))},0)};function Ar(de){try{return de===""&&n.location.href?n.location.href:de}catch{return de}}if(U.open(j.method,Ar(j.url),!0),j.credentials==="include"?U.withCredentials=!0:j.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&(a.blob?U.responseType="blob":a.arrayBuffer&&(U.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof f||n.Headers&&S.headers instanceof n.Headers)){var Xi=[];Object.getOwnPropertyNames(S.headers).forEach(function(de){Xi.push(d(de)),U.setRequestHeader(de,p(S.headers[de]))}),j.headers.forEach(function(de,Ct){Xi.indexOf(Ct)===-1&&U.setRequestHeader(Ct,de)})}else j.headers.forEach(function(de,Ct){U.setRequestHeader(Ct,de)});j.signal&&(j.signal.addEventListener("abort",Fe),U.onreadystatechange=function(){U.readyState===4&&j.signal.removeEventListener("abort",Fe)}),U.send(typeof j._bodyInit>"u"?null:j._bodyInit)})}return $.polyfill=!0,n.fetch||(n.fetch=$,n.Headers=f,n.Request=E,n.Response=W),r.Headers=f,r.Request=E,r.Response=W,r.fetch=$,r}({})})(Qo);Qo.fetch.ponyfill=!0;delete Qo.fetch.polyfill;var pr=Jo.fetch?Jo:Qo;xt=pr.fetch;xt.default=pr.fetch;xt.fetch=pr.fetch;xt.Headers=pr.Headers;xt.Request=pr.Request;xt.Response=pr.Response;Ql.exports=xt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(C,v){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" 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,P=new Set(v.observedAttributes||[]);y(v,P,E);let M={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:P};this._definitionsByTag.set(C,M),this._definitionsByClass.set(v,M);let W=r.call(n,C);W||(W=f(C),e.call(n,C,W)),this===window.customElements&&(s.set(v,M),M.standInClass=W);let F=this._awaitingUpgrade.get(C);if(F){this._awaitingUpgrade.delete(C);for(let m of F)i.delete(m),x(m,M,!0)}let $=this._whenDefinedPromises.get(C);return $!==void 0&&($.resolve(v),this._whenDefinedPromises.delete(C)),v}upgrade(){R.push(this),n.upgrade.apply(n,arguments),R.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let v=this._getDefinition(C);if(v!==void 0)return Promise.resolve(v.elementClass);let E=this._whenDefinedPromises.get(C);return E===void 0&&(E={},E.promise=new Promise(P=>E.resolve=P),this._whenDefinedPromises.set(C,E)),E.promise}_upgradeWhenDefined(C,v,E){let P=this._awaitingUpgrade.get(v);P||this._awaitingUpgrade.set(v,P=new Set),E?P.add(C):P.delete(C)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),a.set(v,E),v},window.HTMLElement.prototype=t.prototype;let p=C=>C===document||C instanceof ShadowRoot,h=C=>{let v=C.getRootNode();if(!p(v)){let E=R[R.length-1];if(E instanceof CustomElementRegistry)return E;v=E.getRootNode(),p(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},f=C=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let P=h(E)||window.customElements,M=P._getDefinition(C);return M?x(E,M):i.set(E,P),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,C,!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)}},y=(C,v,E)=>{if(v.size===0||E===void 0)return;let P=C.prototype.setAttribute;P&&(C.prototype.setAttribute=function(F,$){let m=F.toLowerCase();if(v.has(m)){let S=this.getAttribute(m);P.call(this,m,$),E.call(this,m,S,$)}else P.call(this,m,$)});let M=C.prototype.removeAttribute;M&&(C.prototype.removeAttribute=function(F){let $=F.toLowerCase();if(v.has($)){let m=this.getAttribute($);M.call(this,$),E.call(this,$,m,null)}else M.call(this,$)});let W=C.prototype.toggleAttribute;W&&(C.prototype.toggleAttribute=function(F,$){let m=F.toLowerCase();if(v.has(m)){let S=this.getAttribute(m);W.call(this,m,$);let I=this.getAttribute(m);E.call(this,m,S,I)}else W.call(this,m,$)})},b=C=>{let v=Object.getPrototypeOf(C);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(C,window.HTMLElement):b(v)},x=(C,v,E=!1)=>{Object.setPrototypeOf(C,v.elementClass.prototype),a.set(C,v),d=C;try{new v.elementClass}catch{b(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(P=>{C.hasAttribute(P)&&v.attributeChangedCallback.call(C,P,null,C.getAttribute(P))}),E&&v.connectedCallback&&C.isConnected&&v.connectedCallback.call(C)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let v=O.apply(this,arguments);return C.customElements&&(v.customElements=C.customElements),v};let R=[document],N=(C,v,E=void 0)=>{let P=(E?Object.getPrototypeOf(E):C.prototype)[v];C.prototype[v]=function(){R.push(this);let M=P.apply(E||this,arguments);return M!==void 0&&l.set(M,this),R.pop(),M}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let L=(C,v)=>{let E=Object.getOwnPropertyDescriptor(C.prototype,v);Object.defineProperty(C.prototype,v,{...E,set(P){R.push(this),E.set.call(this,P),R.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let C=new WeakMap,v=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...F){let $=v.call(this,...F);return C.set($,this),$},E.forEach(F=>{let $=window.ElementInternals.prototype,m=$[F];$[F]=function(...S){let I=C.get(this);if(a.get(I).formAssociated===!0)return m?.call(this,...S);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class P extends Array{constructor($){super(...$),this._elements=$}get value(){return this._elements.find($=>$.checked===!0)?.value||""}}class M{constructor($){let m=new Map;$.forEach((S,I)=>{let H=S.getAttribute("name"),j=m.get(H)||[];this[+I]=S,j.push(S),m.set(H,j)}),this.length=$.length,m.forEach((S,I)=>{S&&(S.length===1?this[I]=S[0]:this[I]=new P(S))})}namedItem($){return this[$]}}let W=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let F=W.get.call(this,[]),$=[];for(let m of F){let S=a.get(m);(!S||S.formAssociated===!0)&&$.push(m)}return new M($)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}var _n={};Z(_n,{CSSResult:()=>Yt,LitElement:()=>Qe,ReactiveElement:()=>We,_$LE:()=>Vd,_$LH:()=>Hd,adoptStyles:()=>Ao,css:()=>k,defaultConverter:()=>wo,getCompatibleStyle:()=>Ir,html:()=>V,isServer:()=>Pf,noChange:()=>lt,notEqual:()=>On,nothing:()=>q,render:()=>Rn,supportsAdoptingStyleSheets:()=>Pr,svg:()=>Wd,unsafeCSS:()=>Tt});var po=globalThis,fo=po.ShadowRoot&&(po.ShadyCSS===void 0||po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qi=Symbol(),Ji=new WeakMap,uo=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Qi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(fo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ji.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ji.set(r,e))}return e}toString(){return this.cssText}},es=t=>new uo(typeof t=="string"?t:t+"",void 0,Qi);var mn=(t,e)=>{if(fo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=po.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},ho=fo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return es(r)})(t):t;var{is:Od,defineProperty:Cd,getOwnPropertyDescriptor:Ed,getOwnPropertyNames:Ad,getOwnPropertySymbols:wd,getPrototypeOf:Rd}=Object,yo=globalThis,ts=yo.trustedTypes,_d=ts?ts.emptyScript:"",Nd=yo.reactiveElementPolyfillSupport,wr=(t,e)=>t,Rr={toAttribute(t,e){switch(e){case Boolean:t=t?_d:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},mo=(t,e)=>!Od(t,e),rs={attribute:!0,type:String,converter:Rr,reflect:!1,hasChanged:mo};Symbol.metadata??=Symbol("metadata"),yo.litPropertyMetadata??=new WeakMap;var Et=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=rs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Cd(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Ed(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??rs}static _$Ei(){if(this.hasOwnProperty(wr("elementProperties")))return;let e=Rd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(wr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(wr("properties"))){let r=this.properties,n=[...Ad(r),...wd(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(ho(a))}else e!==void 0&&r.push(ho(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 mn(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){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:Rr).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){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:Rr;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??mo)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let 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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Et.elementStyles=[],Et.shadowRootOptions={mode:"open"},Et[wr("elementProperties")]=new Map,Et[wr("finalized")]=new Map,Nd?.({ReactiveElement:Et}),(yo.reactiveElementVersions??=[]).push("2.0.2");var bn=globalThis,go=bn.trustedTypes,os=go?go.createPolicy("lit-html",{createHTML:t=>t}):void 0,xn="$lit$",Xe=`lit$${(Math.random()+"").slice(9)}$`,vn="?"+Xe,Td=`<${vn}>`,Rt=document,bo=()=>Rt.createComment(""),Nr=t=>t===null||typeof t!="object"&&typeof t!="function",cs=Array.isArray,ds=t=>cs(t)||typeof t?.[Symbol.iterator]=="function",gn=`[
3
+ \f\r]`,_r=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ns=/-->/g,as=/>/g,At=RegExp(`>|${gn}(?:([^\\s"'>=/]+)(${gn}*=${gn}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),is=/'/g,ss=/"/g,ps=/^(?:script|style|textarea|title)$/i,us=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),fs=us(1),hs=us(2),Ce=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),ls=new WeakMap,wt=Rt.createTreeWalker(Rt,129);function ys(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return os!==void 0?os.createHTML(e):e}var ms=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=_r;for(let l=0;l<r;l++){let d=t[l],p,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===_r?h[1]==="!--"?s=ns:h[1]!==void 0?s=as:h[2]!==void 0?(ps.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=At):h[3]!==void 0&&(s=At):s===At?h[0]===">"?(s=a??_r,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?At:h[3]==='"'?ss:is):s===ss||s===is?s=At:s===ns||s===as?s=_r:(s=At,a=void 0);let b=s===At&&t[l+1].startsWith("/>")?" ":"";i+=s===_r?d+Td:f>=0?(n.push(p),d.slice(0,f)+xn+d.slice(f)+Xe+b):d+Xe+(f===-2?l:b)}return[ys(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Tr=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,d=this.parts,[p,h]=ms(e,r);if(this.el=t.createElement(p,n),wt.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=wt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(xn)){let y=h[s++],b=a.getAttribute(f).split(Xe),x=/([.?@])?(.*)/.exec(y);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?vo:x[1]==="?"?So:x[1]==="@"?Oo:Nt}),a.removeAttribute(f)}else f.startsWith(Xe)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(ps.test(a.tagName)){let f=a.textContent.split(Xe),y=f.length-1;if(y>0){a.textContent=go?go.emptyScript:"";for(let b=0;b<y;b++)a.append(f[b],bo()),wt.nextNode(),d.push({type:2,index:++i});a.append(f[y],bo())}}}else if(a.nodeType===8)if(a.data===vn)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Xe,f+1))!==-1;)d.push({type:7,index:i}),f+=Xe.length-1}i++}}static createElement(e,r){let n=Rt.createElement("template");return n.innerHTML=e,n}};function _t(t,e,r=t,n){if(e===Ce)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Nr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=_t(t,a._$AS(t,e.values),a,n)),e}var xo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Rt).importNode(r,!0);wt.currentNode=a;let i=wt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Lr(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Co(i,this,e)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(i=wt.nextNode(),s++)}return wt.currentNode=Rt,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Lr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=se,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=_t(this,e,r),Nr(e)?e===se||e==null||e===""?(this._$AH!==se&&this._$AR(),this._$AH=se):e!==this._$AH&&e!==Ce&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ds(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!==se&&Nr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Rt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Tr.createElement(ys(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new xo(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=ls.get(e.strings);return r===void 0&&ls.set(e.strings,r=new Tr(e)),r}T(e){cs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(bo()),this.k(bo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=se,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=se}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=_t(this,e,r,0),s=!Nr(e)||e!==this._$AH&&e!==Ce,s&&(this._$AH=e);else{let l=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=_t(this,l[n+d],r,d),p===Ce&&(p=this._$AH[d]),s||=!Nr(p)||p!==this._$AH[d],p===se?e=se:e!==se&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(e)}O(e){e===se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},vo=class extends Nt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===se?void 0:e}},So=class extends Nt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==se)}},Oo=class extends Nt{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=_t(this,e,r,0)??se)===Ce)return;let n=this._$AH,a=e===se&&n!==se||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==se&&(n===se||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)}},Co=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){_t(this,e)}},gs={j:xn,P:Xe,A:vn,C:1,M:ms,L:xo,R:ds,V:_t,D:Lr,I:Nt,H:So,N:Oo,U:vo,B:Co},Ld=bn.litHtmlPolyfillSupport;Ld?.(Tr,Lr),(bn.litHtmlVersions??=[]).push("3.1.0");var Eo=globalThis,Pr=Eo.ShadowRoot&&(Eo.ShadyCSS===void 0||Eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sn=Symbol(),bs=new WeakMap,Yt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Sn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Pr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=bs.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&bs.set(r,e))}return e}toString(){return this.cssText}},Tt=t=>new Yt(typeof t=="string"?t:t+"",void 0,Sn),k=(t,...e)=>{let r=t.length===1?t[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)+t[i+1],t[0]);return new Yt(r,t,Sn)},Ao=(t,e)=>{if(Pr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=Eo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Ir=Pr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Tt(r)})(t):t;var{is:Pd,defineProperty:Id,getOwnPropertyDescriptor:$d,getOwnPropertyNames:kd,getOwnPropertySymbols:Dd,getPrototypeOf:Md}=Object,Ro=globalThis,xs=Ro.trustedTypes,Ud=xs?xs.emptyScript:"",Bd=Ro.reactiveElementPolyfillSupport,$r=(t,e)=>t,wo={toAttribute(t,e){switch(e){case Boolean:t=t?Ud:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},On=(t,e)=>!Pd(t,e),vs={attribute:!0,type:String,converter:wo,reflect:!1,hasChanged:On};Symbol.metadata??=Symbol("metadata"),Ro.litPropertyMetadata??=new WeakMap;var We=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=vs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Id(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=$d(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??vs}static _$Ei(){if(this.hasOwnProperty($r("elementProperties")))return;let e=Md(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($r("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($r("properties"))){let r=this.properties,n=[...kd(r),...Dd(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Ir(a))}else e!==void 0&&r.push(Ir(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 Ao(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){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:wo).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){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:wo;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??On)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let 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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};We.elementStyles=[],We.shadowRootOptions={mode:"open"},We[$r("elementProperties")]=new Map,We[$r("finalized")]=new Map,Bd?.({ReactiveElement:We}),(Ro.reactiveElementVersions??=[]).push("2.0.2");var En=globalThis,_o=En.trustedTypes,Ss=_o?_o.createPolicy("lit-html",{createHTML:t=>t}):void 0,An="$lit$",Je=`lit$${(Math.random()+"").slice(9)}$`,wn="?"+Je,Fd=`<${wn}>`,It=document,Dr=()=>It.createComment(""),Mr=t=>t===null||typeof t!="object"&&typeof t!="function",Rs=Array.isArray,_s=t=>Rs(t)||typeof t?.[Symbol.iterator]=="function",Cn=`[
5
+ \f\r]`,kr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Os=/-->/g,Cs=/>/g,Lt=RegExp(`>|${Cn}(?:([^\\s"'>=/]+)(${Cn}*=${Cn}*(?:[^
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Es=/'/g,As=/"/g,Ns=/^(?:script|style|textarea|title)$/i,Ts=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),V=Ts(1),Wd=Ts(2),lt=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),ws=new WeakMap,Pt=It.createTreeWalker(It,129);function Ls(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ss!==void 0?Ss.createHTML(e):e}var Ps=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=kr;for(let l=0;l<r;l++){let d=t[l],p,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===kr?h[1]==="!--"?s=Os:h[1]!==void 0?s=Cs:h[2]!==void 0?(Ns.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Lt):h[3]!==void 0&&(s=Lt):s===Lt?h[0]===">"?(s=a??kr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Lt:h[3]==='"'?As:Es):s===As||s===Es?s=Lt:s===Os||s===Cs?s=kr:(s=Lt,a=void 0);let b=s===Lt&&t[l+1].startsWith("/>")?" ":"";i+=s===kr?d+Fd:f>=0?(n.push(p),d.slice(0,f)+An+d.slice(f)+Je+b):d+Je+(f===-2?l:b)}return[Ls(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Ur=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,d=this.parts,[p,h]=Ps(e,r);if(this.el=t.createElement(p,n),Pt.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=Pt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(An)){let y=h[s++],b=a.getAttribute(f).split(Je),x=/([.?@])?(.*)/.exec(y);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?To:x[1]==="?"?Lo:x[1]==="@"?Po:kt}),a.removeAttribute(f)}else f.startsWith(Je)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Ns.test(a.tagName)){let f=a.textContent.split(Je),y=f.length-1;if(y>0){a.textContent=_o?_o.emptyScript:"";for(let b=0;b<y;b++)a.append(f[b],Dr()),Pt.nextNode(),d.push({type:2,index:++i});a.append(f[y],Dr())}}}else if(a.nodeType===8)if(a.data===wn)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Je,f+1))!==-1;)d.push({type:7,index:i}),f+=Je.length-1}i++}}static createElement(e,r){let n=It.createElement("template");return n.innerHTML=e,n}};function $t(t,e,r=t,n){if(e===lt)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Mr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=$t(t,a._$AS(t,e.values),a,n)),e}var No=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??It).importNode(r,!0);Pt.currentNode=a;let i=Pt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Xt(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Io(i,this,e)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(i=Pt.nextNode(),s++)}return Pt.currentNode=It,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Xt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=$t(this,e,r),Mr(e)?e===q||e==null||e===""?(this._$AH!==q&&this._$AR(),this._$AH=q):e!==this._$AH&&e!==lt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):_s(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==q&&Mr(this._$AH)?this._$AA.nextSibling.data=e:this.$(It.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ur.createElement(Ls(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new No(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=ws.get(e.strings);return r===void 0&&ws.set(e.strings,r=new Ur(e)),r}T(e){Rs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(Dr()),this.k(Dr()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=q}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=$t(this,e,r,0),s=!Mr(e)||e!==this._$AH&&e!==lt,s&&(this._$AH=e);else{let l=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=$t(this,l[n+d],r,d),p===lt&&(p=this._$AH[d]),s||=!Mr(p)||p!==this._$AH[d],p===q?e=q:e!==q&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(e)}O(e){e===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},To=class extends kt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===q?void 0:e}},Lo=class extends kt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==q)}},Po=class extends kt{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=$t(this,e,r,0)??q)===lt)return;let n=this._$AH,a=e===q&&n!==q||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==q&&(n===q||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)}},Io=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$t(this,e)}},Hd={j:An,P:Je,A:wn,C:1,M:Ps,L:No,R:_s,V:$t,D:Xt,I:kt,H:Lo,N:Po,U:To,B:Io},zd=En.litHtmlPolyfillSupport;zd?.(Ur,Xt),(En.litHtmlVersions??=[]).push("3.1.0");var Rn=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Xt(e.insertBefore(Dr(),i),i,void 0,r??{})}return a._$AI(t),a};var Qe=class extends We{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Rn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return lt}};Qe._$litElement$=!0,Qe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Qe});var jd=globalThis.litElementPolyfillSupport;jd?.({LitElement:Qe});var Vd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Pf=!1;var Tn={};Z(Tn,{customElement:()=>Gd,eventOptions:()=>Jt,property:()=>A,query:()=>ue,queryAll:()=>qd,queryAssignedElements:()=>Xd,queryAssignedNodes:()=>Nn,queryAsync:()=>Yd,standardProperty:()=>Is,state:()=>J});var Gd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Kd={attribute:!0,type:String,converter:Rr,reflect:!1,hasChanged:mo},Is=(t=Kd,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function A(t){return(e,r)=>typeof r=="object"?Is(t,e,r):((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})(t,e,r)}function J(t){return A({...t,state:!0,attribute:!1})}function Jt(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Te=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function ue(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Te(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Te(r,n,{get(){return i(this)}})}}var Zd;function qd(t){return(e,r)=>Te(e,r,{get(){return(this.renderRoot??(Zd??=document.createDocumentFragment())).querySelectorAll(t)}})}function Yd(t){return(e,r)=>Te(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Xd(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Te(e,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(t)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function Nn(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Te(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Ln={};Z(Ln,{repeat:()=>ko});var ct={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},dt=t=>(...e)=>({_$litDirective$:t,values:e}),He=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Jd}=gs;var $s=()=>document.createComment(""),Qt=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore($s(),a),s=n.insertBefore($s(),a);r=new Jd(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||l){let d=r._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return r},pt=(t,e,r=t)=>(t._$AI(e,r),t),Qd={},ks=(t,e=Qd)=>t._$AH=e,Ds=t=>t._$AH,$o=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Ms=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},ko=dt(class extends He{constructor(t){if(super(t),t.type!==ct.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let l of t)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=Ds(t),{values:i,keys:s}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=s,i;let l=this.dt??=[],d=[],p,h,f=0,y=a.length-1,b=0,x=i.length-1;for(;f<=y&&b<=x;)if(a[f]===null)f++;else if(a[y]===null)y--;else if(l[f]===s[b])d[b]=pt(a[f],i[b]),f++,b++;else if(l[y]===s[x])d[x]=pt(a[y],i[x]),y--,x--;else if(l[f]===s[x])d[x]=pt(a[f],i[x]),Qt(t,d[x+1],a[f]),f++,x--;else if(l[y]===s[b])d[b]=pt(a[y],i[b]),Qt(t,a[f],a[y]),y--,b++;else if(p===void 0&&(p=Ms(s,b,x),h=Ms(l,f,y)),p.has(l[f]))if(p.has(l[y])){let O=h.get(s[b]),R=O!==void 0?a[O]:null;if(R===null){let N=Qt(t,a[f]);pt(N,i[b]),d[b]=N}else d[b]=pt(R,i[b]),Qt(t,a[f],R),a[O]=null;b++}else $o(a[y]),y--;else $o(a[f]),f++;for(;b<=x;){let O=Qt(t,d[x+1]);pt(O,i[b]),d[b++]=O}for(;f<=y;){let O=a[f++];O!==null&&$o(O)}return this.dt=s,ks(t,d),Ce}});var Pn={};Z(Pn,{classMap:()=>ze});var ze=dt(class extends He{constructor(t){if(super(t),t.type!==ct.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.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?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Ce}});var $n={};Z($n,{styleMap:()=>In});var Us="important",ep=" !"+Us,In=dt(class extends He{constructor(t){if(super(t),t.type!==ct.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[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(ep);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?Us:""):r[n]=a}}return Ce}});var Dn={};Z(Dn,{UnsafeHTMLDirective:()=>er,unsafeHTML:()=>kn});var er=class extends He{constructor(e){if(super(e),this.et=se,e.type!==ct.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===se||e==null)return this.vt=void 0,this.et=e;if(e===Ce)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};er.directiveName="unsafeHTML",er.resultType=1;var kn=dt(er);var zn={};Z(zn,{CacheRegistry:()=>je,ClearCacheEvent:()=>Fr});var Un={};Z(Un,{CancelablePromise:()=>tr,CanceledPromiseError:()=>Br,cancelable:()=>Mn});var Br=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},tr=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new Br("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Br("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Mn=t=>new tr((e,r)=>t.then(e).catch(r));var Hn={};Z(Hn,{FtNotificationEvent:()=>Bn,PostResizeEvent:()=>Wn,PreResizeEvent:()=>Fn,WithEventBus:()=>Dt,withEventBus:()=>Bs});var Bn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Fn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Wn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Bs(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Dt=class extends Bs(Object){};var Fr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},je=class extends Dt{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new Fr(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Fr([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof tr&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Mn(r());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 Vn={};Z(Vn,{ClusteringHelper:()=>jn});var jn=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var r,n,a,i,s;let l=((i=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(l=>{i.push(l.join(" > ")),r&&r>1&&l.length>=r?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",a,i){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,y,b)=>b.findIndex(x=>x.value===f.value)===y).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,y)=>this.compareMetadata(f.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>l&&(l=p,s=d,p===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var Gn={};Z(Gn,{Debouncer:()=>ye});var ye=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var qn={};Z(qn,{customElement:()=>Q,isNumber:()=>zs,jsonProperty:()=>Ve,optionalNumberProperty:()=>ip});var Zn={};Z(Zn,{dateReviver:()=>rp,deepEqual:()=>Le,delay:()=>Do,eventPathContainsMatchingElement:()=>np,flatDeep:()=>Ws,getComposedPathTo:()=>Kn,hasChanged:()=>Pe,last:()=>ap,minmax:()=>Wr,parseDate:()=>Hs,unslotText:()=>Mo,waitFor:()=>Fs,waitUntil:()=>tp});var Do=t=>new Promise(e=>setTimeout(e,t));async function tp(t,e=10,r=2e4){await Fs(async()=>await t()||void 0,e,r)}async function Fs(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await Do(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ws(t,e){return t.flatMap(r=>[r,...Ws(e(r),e)])}function rp(...t){return function(e,r){return t.includes(e)?Hs(r):r}}function Hs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function op(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Le(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Le(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!Le(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Le(t,e){try{return op(t,e)}catch{return!1}}function Pe(t,e){return!Le(t,e)}function np(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Wr(t,e,r){return Math.min(Math.max(t,e),r)}function ap(t){return t[t.length-1]}function Mo(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Mo(e)).join(""):t?.textContent||""}function Kn(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var Q=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ve(t,e){let r=()=>JSON.parse(JSON.stringify(t));return A({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Pe,...e??{}})}function ip(t){return A({type:Object,converter:{fromAttribute:e=>{if(e!=null)return zs(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function zs(t){return!isNaN(parseFloat(t))}var Ea={};Z(Ea,{designSystemVariables:()=>z});var Ca={};Z(Ca,{DesignSystemFamily:()=>Mt,DesignSystemSize:()=>tt,FtCssVariableFactory:()=>o,badge:()=>up,banner:()=>pp,button:()=>g,chart:()=>_p,checkbox:()=>Lp,chip:()=>cp,chipChoice:()=>lp,collapsible:()=>wp,comboboxMultiSelect:()=>Ep,comboboxSingleSelect:()=>Cp,drawer:()=>bp,floatingMenu:()=>Op,foundation:()=>c,link:()=>dp,modal:()=>gp,notice:()=>Tp,notification:()=>$p,pageDesigner:()=>Np,pageFooter:()=>yp,pageHeader:()=>hp,pageLayout:()=>mp,popover:()=>Ap,radio:()=>Ip,reorderableList:()=>Dp,resolveFamilyClass:()=>Sa,resolveSizeClass:()=>Oa,semantic:()=>u,setVariable:()=>w,switch_:()=>Rp,tabs:()=>xp,textArea:()=>Sp,textInput:()=>vp,titleBreadcrumb:()=>fp,toggle:()=>Pp,tooltip:()=>kp,typographies:()=>Hr,typographyBody1Medium:()=>ta,typographyBody1Regular:()=>ea,typographyBody1Semibold:()=>ra,typographyBody2Medium:()=>na,typographyBody2MediumUnderline:()=>js,typographyBody2Regular:()=>oa,typographyBody2Semibold:()=>aa,typographyCaption1Bold:()=>ha,typographyCaption1Medium:()=>ua,typographyCaption1Semibold:()=>fa,typographyCaption2Bold:()=>ga,typographyCaption2Medium:()=>ya,typographyCaption2Semibold:()=>ma,typographyCaption3Bold:()=>va,typographyCaption3Medium:()=>ba,typographyCaption3Semibold:()=>xa,typographyDisplay:()=>Yn,typographyLabel1Bold:()=>la,typographyLabel1Medium:()=>ia,typographyLabel1Semibold:()=>sa,typographyLabel2Bold:()=>pa,typographyLabel2Medium:()=>ca,typographyLabel2Semibold:()=>da,typographyTitle1:()=>Xn,typographyTitle2:()=>Jn,typographyTitle3:()=>Qn,typographyVariants:()=>sp});var et=t=>typeof t=="string"?Tt(t):t,o=class{static create(e,r,n,a){let i=l=>et(l??a),s=k`var(${et(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>k`var(${et(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=l=>n.get(l??a),s=k`var(${et(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>k`var(${et(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):et(i??e.lastResortDefaultValue()),a=k`var(${et(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>k`var(${et(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function w(t,e){return et(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Yn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},js={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},aa={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ia={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ha={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ya={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ga={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},xa={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},va={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Hr={display:Yn,"title-1":Xn,"title-2":Jn,"title-3":Qn,"body-1-regular":ea,"body-1-medium":ta,"body-1-semibold":ra,"body-2-regular":oa,"body-2-medium":na,"body-2-medium-underline":js,"body-2-semibold":aa,"label-1-medium":ia,"label-1-semibold":sa,"label-1-bold":la,"label-2-medium":ca,"label-2-semibold":da,"label-2-bold":pa,"caption-1-medium":ua,"caption-1-semibold":fa,"caption-1-bold":ha,"caption-2-medium":ya,"caption-2-semibold":ma,"caption-2-bold":ga,"caption-3-medium":ba,"caption-3-semibold":xa,"caption-3-bold":va},sp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var g={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var lp={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var cp={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var dp={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var pp={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var up={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)};var fp={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var hp={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var yp={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var mp={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var gp={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var bp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var xp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var vp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Sp={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Op={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Cp={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Ep={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Ap={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var wp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Rp={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var _p={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Np={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Tp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var Lp={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",c.spacing3)};var Pp={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var Ip={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var $p={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var kp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Dp={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Mt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Mt||(Mt={}));var tt;(function(t){t.large="large",t.medium="medium",t.small="small"})(tt||(tt={}));function Sa(t){return`ftds--family-${t}`}function Oa(t){return`ftds--size-${t}`}var z={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Fa={};Z(Fa,{computeFlipOffsetPosition:()=>ou,computeOffsetPosition:()=>Ba});var Gs=["top","right","bottom","left"],Vs=["start","end"],Aa=Gs.reduce((t,e)=>t.concat(e,e+"-"+Vs[0],e+"-"+Vs[1]),[]),Ut=Math.min,ge=Math.max,Vr=Math.round;var rt=t=>({x:t,y:t}),Mp={left:"right",right:"left",bottom:"top",top:"bottom"},Up={start:"end",end:"start"};function wa(t,e,r){return ge(t,Ut(e,r))}function Bt(t,e){return typeof t=="function"?t(e):t}function Ie(t){return t.split("-")[0]}function $e(t){return t.split("-")[1]}function Ra(t){return t==="x"?"y":"x"}function _a(t){return t==="y"?"height":"width"}function rr(t){return["top","bottom"].includes(Ie(t))?"y":"x"}function Na(t){return Ra(rr(t))}function Ta(t,e,r){r===void 0&&(r=!1);let n=$e(t),a=Na(t),i=_a(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=jr(s)),[s,jr(s)]}function Ks(t){let e=jr(t);return[zr(t),e,zr(e)]}function zr(t){return t.replace(/start|end/g,e=>Up[e])}function Bp(t,e,r){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?a:n:e?n:a;case"left":case"right":return e?i:s;default:return[]}}function Zs(t,e,r,n){let a=$e(t),i=Bp(Ie(t),r==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(zr)))),i}function jr(t){return t.replace(/left|right|bottom|top/g,e=>Mp[e])}function Fp(t){return{top:0,right:0,bottom:0,left:0,...t}}function qs(t){return typeof t!="number"?Fp(t):{top:t,right:t,bottom:t,left:t}}function Ft(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ys(t,e,r){let{reference:n,floating:a}=t,i=rr(e),s=Na(e),l=_a(s),d=Ie(e),p=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-a.width,y:f};break;default:b={x:n.x,y:n.y}}switch($e(e)){case"start":b[s]-=y*(r&&p?-1:1);break;case"end":b[s]+=y*(r&&p?-1:1);break}return b}var Xs=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:f}=Ys(p,n,d),y=n,b={},x=0;for(let O=0;O<l.length;O++){let{name:R,fn:N}=l[O],{x:L,y:C,data:v,reset:E}=await N({x:h,y:f,initialPlacement:n,placement:y,strategy:a,middlewareData:b,rects:p,platform:s,elements:{reference:t,floating:e}});if(h=L??h,f=C??f,b={...b,[R]:{...b[R],...v}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):E.rects),{x:h,y:f}=Ys(p,y,d)),O=-1;continue}}return{x:h,y:f,placement:y,strategy:a,middlewareData:b}};async function Gr(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:b=0}=Bt(e,t),x=qs(b),R=l[y?f==="floating"?"reference":"floating":f],N=Ft(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),L=f==="floating"?{...s.floating,x:n,y:a}:s.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),v=await(i.isElement==null?void 0:i.isElement(C))?await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},E=Ft(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:C,strategy:d}):L);return{top:(N.top-E.top+x.top)/v.y,bottom:(E.bottom-N.bottom+x.bottom)/v.y,left:(N.left-E.left+x.left)/v.x,right:(E.right-N.right+x.right)/v.x}}function Wp(t,e,r){return(t?[...r.filter(a=>$e(a)===t),...r.filter(a=>$e(a)!==t)]:r.filter(a=>Ie(a)===a)).filter(a=>t?$e(a)===t||(e?zr(a)!==a:!1):!0)}var La=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:y=Aa,autoAlignment:b=!0,...x}=Bt(t,e),O=f!==void 0||y===Aa?Wp(f||null,b,y):y,R=await Gr(e,x),N=((r=s.autoPlacement)==null?void 0:r.index)||0,L=O[N];if(L==null)return{};let C=Ta(L,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==L)return{reset:{placement:O[0]}};let v=[R[Ie(L)],R[C[0]],R[C[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:v}],P=O[N+1];if(P)return{data:{index:N+1,overflows:E},reset:{placement:P}};let M=E.map($=>{let m=$e($.placement);return[$.placement,m&&h?$.overflows.slice(0,2).reduce((S,I)=>S+I,0):$.overflows[0],$.overflows]}).sort(($,m)=>$[1]-m[1]),F=((a=M.filter($=>$[2].slice(0,$e($[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||M[0][0];return F!==l?{data:{index:N+1,overflows:E},reset:{placement:F}}:{}}}},Pa=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:d,elements:p}=e,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:y,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:O=!0,...R}=Bt(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let N=Ie(a),L=Ie(l)===l,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),v=y||(L||!O?[jr(l)]:Ks(l));!y&&x!=="none"&&v.push(...Zs(l,O,x,C));let E=[l,...v],P=await Gr(e,R),M=[],W=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&M.push(P[N]),f){let S=Ta(a,s,C);M.push(P[S[0]],P[S[1]])}if(W=[...W,{placement:a,overflows:M}],!M.every(S=>S<=0)){var F,$;let S=(((F=i.flip)==null?void 0:F.index)||0)+1,I=E[S];if(I)return{data:{index:S,overflows:W},reset:{placement:I}};let H=($=W.filter(j=>j.overflows[0]<=0).sort((j,U)=>j.overflows[1]-U.overflows[1])[0])==null?void 0:$.placement;if(!H)switch(b){case"bestFit":{var m;let j=(m=W.map(U=>[U.placement,U.overflows.filter(Fe=>Fe>0).reduce((Fe,Ar)=>Fe+Ar,0)]).sort((U,Fe)=>U[1]-Fe[1])[0])==null?void 0:m[0];j&&(H=j);break}case"initialPlacement":H=l;break}if(a!==H)return{reset:{placement:H}}}return{}}}};async function Hp(t,e){let{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=Ie(r),l=$e(r),d=rr(r)==="y",p=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,f=Bt(e,t),{mainAxis:y,crossAxis:b,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof x=="number"&&(b=l==="end"?x*-1:x),d?{x:b*h,y:y*p}:{x:y*p,y:b*h}}var Ia=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:a,y:i,placement:s,middlewareData:l}=e,d=await Hp(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},$a=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:R=>{let{x:N,y:L}=R;return{x:N,y:L}}},...d}=Bt(t,e),p={x:r,y:n},h=await Gr(e,d),f=rr(Ie(a)),y=Ra(f),b=p[y],x=p[f];if(i){let R=y==="y"?"top":"left",N=y==="y"?"bottom":"right",L=b+h[R],C=b-h[N];b=wa(L,b,C)}if(s){let R=f==="y"?"top":"left",N=f==="y"?"bottom":"right",L=x+h[R],C=x-h[N];x=wa(L,x,C)}let O=l.fn({...e,[y]:b,[f]:x});return{...O,data:{x:O.x-r,y:O.y-n}}}}};var ka=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:a,elements:i}=e,{apply:s=()=>{},...l}=Bt(t,e),d=await Gr(e,l),p=Ie(r),h=$e(r),f=rr(r)==="y",{width:y,height:b}=n.floating,x,O;p==="top"||p==="bottom"?(x=p,O=h===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(O=p,x=h==="end"?"top":"bottom");let R=b-d[x],N=y-d[O],L=!e.middlewareData.shift,C=R,v=N;if(f){let P=y-d.left-d.right;v=h||L?Ut(N,P):P}else{let P=b-d.top-d.bottom;C=h||L?Ut(R,P):P}if(L&&!h){let P=ge(d.left,0),M=ge(d.right,0),W=ge(d.top,0),F=ge(d.bottom,0);f?v=y-2*(P!==0||M!==0?P+M:ge(d.left,d.right)):C=b-2*(W!==0||F!==0?W+F:ge(d.top,d.bottom))}await s({...e,availableWidth:v,availableHeight:C});let E=await a.getDimensions(i.floating);return y!==E.width||b!==E.height?{reset:{rects:!0}}:{}}}};function ot(t){return Qs(t)?(t.nodeName||"").toLowerCase():"#document"}function be(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function nt(t){var e;return(e=(Qs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Qs(t){return t instanceof Node||t instanceof be(t).Node}function Ge(t){return t instanceof Element||t instanceof be(t).Element}function ke(t){return t instanceof HTMLElement||t instanceof be(t).HTMLElement}function Js(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof be(t).ShadowRoot}function or(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=Ee(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function el(t){return["table","td","th"].includes(ot(t))}function Bo(t){let e=Fo(),r=Ee(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function tl(t){let e=Wt(t);for(;ke(e)&&!Kr(e);){if(Bo(e))return e;e=Wt(e)}return null}function Fo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Kr(t){return["html","body","#document"].includes(ot(t))}function Ee(t){return be(t).getComputedStyle(t)}function Zr(t){return Ge(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wt(t){if(ot(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Js(t)&&t.host||nt(t);return Js(e)?e.host:e}function rl(t){let e=Wt(t);return Kr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ke(e)&&or(e)?e:rl(e)}function Uo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=rl(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=be(a);return i?e.concat(s,s.visualViewport||[],or(a)?a:[],s.frameElement&&r?Uo(s.frameElement):[]):e.concat(a,Uo(a,[],r))}function al(t){let e=Ee(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=ke(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,l=Vr(r)!==i||Vr(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function il(t){return Ge(t)?t:t.contextElement}function nr(t){let e=il(t);if(!ke(e))return rt(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=al(e),s=(i?Vr(r.width):r.width)/n,l=(i?Vr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var zp=rt(0);function sl(t){let e=be(t);return!Fo()||!e.visualViewport?zp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==be(t)?!1:e}function qr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=il(t),s=rt(1);e&&(n?Ge(n)&&(s=nr(n)):s=nr(t));let l=jp(i,r,n)?sl(i):rt(0),d=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(i){let y=be(i),b=n&&Ge(n)?be(n):n,x=y.frameElement;for(;x&&n&&b!==y;){let O=nr(x),R=x.getBoundingClientRect(),N=Ee(x),L=R.left+(x.clientLeft+parseFloat(N.paddingLeft))*O.x,C=R.top+(x.clientTop+parseFloat(N.paddingTop))*O.y;d*=O.x,p*=O.y,h*=O.x,f*=O.y,d+=L,p+=C,x=be(x).frameElement}}return Ft({width:h,height:f,x:d,y:p})}function Vp(t){let{rect:e,offsetParent:r,strategy:n}=t,a=ke(r),i=nt(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},l=rt(1),d=rt(0);if((a||!a&&n!=="fixed")&&((ot(r)!=="body"||or(i))&&(s=Zr(r)),ke(r))){let p=qr(r);l=nr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Gp(t){return Array.from(t.getClientRects())}function ll(t){return qr(nt(t)).left+Zr(t).scrollLeft}function Kp(t){let e=nt(t),r=Zr(t),n=t.ownerDocument.body,a=ge(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=ge(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+ll(t),l=-r.scrollTop;return Ee(n).direction==="rtl"&&(s+=ge(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Zp(t,e){let r=be(t),n=nt(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let p=Fo();(!p||p&&e==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function qp(t,e){let r=qr(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=ke(t)?nr(t):rt(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:s,height:l,x:d,y:p}}function ol(t,e,r){let n;if(e==="viewport")n=Zp(t,r);else if(e==="document")n=Kp(nt(t));else if(Ge(e))n=qp(e,r);else{let a=sl(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Ft(n)}function cl(t,e){let r=Wt(t);return r===e||!Ge(r)||Kr(r)?!1:Ee(r).position==="fixed"||cl(r,e)}function Yp(t,e){let r=e.get(t);if(r)return r;let n=Uo(t,[],!1).filter(l=>Ge(l)&&ot(l)!=="body"),a=null,i=Ee(t).position==="fixed",s=i?Wt(t):t;for(;Ge(s)&&!Kr(s);){let l=Ee(s),d=Bo(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||or(s)&&!d&&cl(t,s))?n=n.filter(h=>h!==s):a=l,s=Wt(s)}return e.set(t,n),n}function Xp(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?Yp(e,this._c):[].concat(r),n],l=s[0],d=s.reduce((p,h)=>{let f=ol(e,h,a);return p.top=ge(f.top,p.top),p.right=Ut(f.right,p.right),p.bottom=Ut(f.bottom,p.bottom),p.left=ge(f.left,p.left),p},ol(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Jp(t){return al(t)}function Qp(t,e,r){let n=ke(e),a=nt(e),i=r==="fixed",s=qr(t,!0,i,e),l={scrollLeft:0,scrollTop:0},d=rt(0);if(n||!n&&!i)if((ot(e)!=="body"||or(a))&&(l=Zr(e)),n){let p=qr(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=ll(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function nl(t,e){return!ke(t)||Ee(t).position==="fixed"?null:e?e(t):t.offsetParent}function dl(t,e){let r=be(t);if(!ke(t))return r;let n=nl(t,e);for(;n&&el(n)&&Ee(n).position==="static";)n=nl(n,e);return n&&(ot(n)==="html"||ot(n)==="body"&&Ee(n).position==="static"&&!Bo(n))?r:n||tl(t)||r}var eu=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||dl,i=this.getDimensions;return{reference:Qp(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function tu(t){return Ee(t).direction==="rtl"}var ar={convertOffsetParentRelativeRectToViewportRelativeRect:Vp,getDocumentElement:nt,getClippingRect:Xp,getOffsetParent:dl,getElementRects:eu,getClientRects:Gp,getDimensions:Jp,getScale:nr,isElement:Ge,isRTL:tu};var Da=(t,e,r)=>{let n=new Map,a={platform:ar,...r},i={...a.platform,_c:n};return Xs(t,e,{...a,platform:i})};function Ua(t){return ru(t)}function Ma(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ru(t){for(let e=t;e;e=Ma(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ma(t);e;e=Ma(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ba(t,e,r){return Da(t,e,{platform:{...ar,getOffsetParent:n=>ar.getOffsetParent(n,Ua)},middleware:[$a({crossAxis:!0}),La({allowedPlacements:[r]})]})}async function ou(t,e,r,n,a,i,s=4){return Da(t,e,{placement:r,strategy:a,platform:{...ar,getOffsetParent:l=>ar.getOffsetParent(l,Ua)},middleware:[Ia(s),Pa({fallbackPlacements:n}),ka({apply({availableHeight:l,elements:d}){i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${i}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var ja={};Z(ja,{FtdsBase:()=>za,toFtdsBase:()=>zo});var Ha={};Z(Ha,{FtLitElement:()=>K});var Wa={};Z(Wa,{ScopedRegistryLitElement:()=>Yr});var Wo=window,nu=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nb=Symbol();var pl=(t,e)=>{nu?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),a=Wo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)})};var Yr=class extends Qe{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return pl(n,e.elementStyles),n}};var Ho=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},yl,ul=Symbol("constructorPrototype"),fl=Symbol("constructorName"),ml=Symbol("exportpartsDebouncer"),hl=Symbol("dynamicDependenciesLoaded"),K=class extends Yr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[yl]=new ye(5),this[fl]=this.constructor.name,this[ul]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[fl]&&Object.setPrototypeOf(this,this[ul])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[hl]||(e[hl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[ml].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,l;let d=y=>y!=null&&y.trim().length>0,p=e.filter(d).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(y=>p.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};yl=ml;Ho([A()],K.prototype,"exportpartsPrefix",void 0);Ho([Ve([])],K.prototype,"exportpartsPrefixes",void 0);Ho([A()],K.prototype,"customStylesheet",void 0);Ho([J()],K.prototype,"useAdoptedStyleSheets",void 0);var gl=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};function zo(t){class e extends t{constructor(){super(...arguments),this.size=tt.medium,this.family=Mt.neutral}getDesignSystemBaseClasses(){return{[Sa(this.family)]:!0,[Oa(this.size)]:!0}}}return gl([A()],e.prototype,"size",void 0),gl([A()],e.prototype,"family",void 0),e}var za=class extends zo(K){};var bl={};var Ka={};Z(Ka,{highlightHtml:()=>Ga,highlightHtmlColorCssVariable:()=>xl,highlightHtmlStyles:()=>iu});var Ht=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,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,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(l++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(p,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,b=>d.push(b),a)}),d.push(p);d.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Xr=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ht(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return 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${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){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-r>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,r,n){let a,i=!0,s=n.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ht.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let p=r-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+y,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[s],f),(f,y)=>{e.lastIndex=y,a(f)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,i.value);f&&this.wrapRangeInMappedTextNode(i,p,h,y=>r(y,l,i.value.substring(p,h),d),y=>{n(y,l)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(y,b)=>this.opt.filter(b,p,n,f),y=>{f++,n++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(p),i[s-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,r){this.opt=r;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,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Ht.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Va(t){let e=new Xr(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var au=Va,xl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),iu=k`
8
8
  .highlight-html-match {
9
- background: ${gl};
9
+ background: ${xl};
10
10
  }
11
- `;function ja(t,e,r){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new eu(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=p=>{for(let h in r.attributes)p.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Ka={};Z(Ka,{noTextInputDefaultClearButton:()=>ou,noTextSelect:()=>Yr,safariEllipsisFix:()=>Xr,wordWrap:()=>ru});var Yr=k`
11
+ `;function Ga(t,e,r){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new au(t);if(s.unmark(),e&&e.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(l.each=p=>{for(let h in r.attributes)p.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Za={};Z(Za,{noTextInputDefaultClearButton:()=>lu,noTextSelect:()=>Jr,safariEllipsisFix:()=>Qr,wordWrap:()=>su});var Jr=k`
12
12
  .ft-no-text-select {
13
13
  -webkit-touch-callout: none;
14
14
  -webkit-user-select: none;
@@ -17,7 +17,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
17
17
  -ms-user-select: none;
18
18
  user-select: none;
19
19
  }
20
- `,ru=k`
20
+ `,su=k`
21
21
  .ft-word-wrap {
22
22
  white-space: normal;
23
23
  word-wrap: break-word;
@@ -29,7 +29,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
29
29
  -webkit-hyphens: auto;
30
30
  hyphens: auto
31
31
  }
32
- `,Xr=k`
32
+ `,Qr=k`
33
33
  .ft-safari-ellipsis-fix {
34
34
  margin-right: 0;
35
35
 
@@ -40,14 +40,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
40
40
  display: inline-block;
41
41
  width: 0;
42
42
  }
43
- `,ou=k`
43
+ `,lu=k`
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 bl={};var Za={};Z(Za,{ParametrizedLabelResolver:()=>Jr});var Jr=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)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,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var vi={};Z(vi,{FtCommandQueue:()=>Qr,FtLitElementRedux:()=>Ge,FtReduxStore:()=>Vt,ReduxWatcher:()=>Yo,clearAllStores:()=>Hu,isFtReduxStore:()=>Wt,redux:()=>ut,reduxEventListener:()=>au,reduxReactive:()=>nu,watch:()=>zu});var nu=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ut=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:Le,attribute:!1,...e};w(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:c=>c[n],store:e.store})}},au=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Qr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Wt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var xl,vl,Sl,eo=Symbol("internalReduxEventsUnsubscribers"),ft=Symbol("internalStoresUnsubscribers"),Ht=Symbol("internalStores"),Ge=class extends K{constructor(){super(...arguments),this[xl]=new Map,this[vl]=new Map,this[Sl]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Ht].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ht].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ht].get(e)}addStore(e,r){var n;r=(n=r??(Wt(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[Ht].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Ht].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Ht].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[ft].has(e.store):this[ft].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[ft].set(e,r.subscribe(()=>this.updateFromStores())),this[eo].set(e,[]),Wt(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=c=>this[i](c);r.addEventListener(a.eventName,s),this[eo].get(e).push(()=>r.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ft].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[ft].has(e)&&this[ft].get(e)(),this[ft].delete(e),(r=this[eo].get(e))===null||r===void 0||r.forEach(n=>n()),this[eo].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};xl=ft,vl=Ht,Sl=eo;Ge.reduxProperties=new Map;Ge.reduxReactiveProperties=new Set;Ge.reduxEventListeners=new Map;function Ne(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function nt(t){return!!t&&!!t[ee]}function Pe(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===fu}(t)||Array.isArray(t)||!!t[Nl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Nl])||oi(t)||ni(t))}function zt(t,e,r){r===void 0&&(r=!1),ir(t)===0?(r?Object.keys:ar)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function ir(t){var e=t[ee];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:oi(t)?2:ni(t)?3:0}function nr(t,e){return ir(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function iu(t,e){return ir(t)===2?t.get(e):t[e]}function _l(t,e,r){var n=ir(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Tl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function oi(t){return pu&&t instanceof Map}function ni(t){return uu&&t instanceof Set}function ht(t){return t.o||t.t}function ai(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Pl(t);delete e[ee];for(var r=ar(e),n=0;n<r.length;n++){var a=r[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:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ii(t,e){return e===void 0&&(e=!1),si(t)||nt(t)||!Pe(t)||(ir(t)>1&&(t.set=t.add=t.clear=t.delete=su),Object.freeze(t),e&&zt(t,function(r,n){return ii(n,!0)},!0)),t}function su(){Ne(2)}function si(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ke(t){var e=ri[t];return e||Ne(18,t),e}function lu(t,e){ri[t]||(ri[t]=e)}function Qa(){return ro}function qa(t,e){e&&(Ke("Patches"),t.u=[],t.s=[],t.v=e)}function Vo(t){ei(t),t.p.forEach(cu),t.p=null}function ei(t){t===ro&&(ro=t.l)}function Ol(t){return ro={p:[],l:ro,h:t,m:!0,_:0}}function cu(t){var e=t[ee];e.i===0||e.i===1?e.j():e.g=!0}function Ya(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Ke("ES5").S(e,t,n),n?(r[ee].P&&(Vo(e),Ne(4)),Pe(t)&&(t=jo(e,t),e.l||Go(e,t)),e.u&&Ke("Patches").M(r[ee].t,t,e.u,e.s)):t=jo(e,r,[]),Vo(e),e.u&&e.v(e.u,e.s),t!==Il?t:void 0}function jo(t,e,r){if(si(e))return e;var n=e[ee];if(!n)return zt(e,function(c,d){return Cl(t,n,e,c,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Go(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ai(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),zt(i,function(c,d){return Cl(t,n,a,c,d,r,s)}),Go(t,a,!1),r&&t.u&&Ke("Patches").N(n,r,t.u,t.s)}return n.o}function Cl(t,e,r,n,a,i,s){if(nt(a)){var c=jo(t,a,i&&e&&e.i!==3&&!nr(e.R,n)?i.concat(n):void 0);if(_l(r,n,c),!nt(c))return;t.m=!1}else s&&r.add(a);if(Pe(a)&&!si(a)){if(!t.h.D&&t._<1)return;jo(t,a),e&&e.A.l||Go(t,a)}}function Go(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ii(e,r)}function Xa(t,e){var r=t[ee];return(r?ht(r):t)[e]}function El(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function yt(t){t.P||(t.P=!0,t.l&&yt(t.l))}function Ja(t){t.o||(t.o=ai(t.t))}function ti(t,e,r){var n=oi(e)?Ke("MapSet").F(e,r):ni(e)?Ke("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Qa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,p=oo;s&&(d=[c],p=to);var h=Proxy.revocable(d,p),f=h.revoke,m=h.proxy;return c.k=m,c.j=f,m}(e,r):Ke("ES5").J(e,r);return(r?r.A:Qa()).p.push(n),n}function du(t){return nt(t)||Ne(22,t),function e(r){if(!Pe(r))return r;var n,a=r[ee],i=ir(r);if(a){if(!a.P&&(a.i<4||!Ke("ES5").K(a)))return a.t;a.I=!0,n=wl(r,i),a.I=!1}else n=wl(r,i);return zt(n,function(s,c){a&&iu(a.t,s)===c||_l(n,s,e(c))}),i===3?new Set(n):n}(t)}function wl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ai(t)}function Ll(){function t(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var p=this[ee];return oo.get(p,s)},set:function(p){var h=this[ee];oo.set(h,s,p)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][ee];if(!d.P)switch(d.i){case 5:n(d)&&yt(d);break;case 4:r(d)&&yt(d)}}}function r(s){for(var c=s.t,d=s.k,p=ar(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==ee){var m=c[f];if(m===void 0&&!nr(c,f))return!0;var b=d[f],x=b&&b[ee];if(x?x.t!==m:!Tl(b,m))return!0}}var O=!!c[ee];return p.length!==ar(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&Ne(3,JSON.stringify(ht(s)))}var i={};lu("ES5",{J:function(s,c){var d=Array.isArray(s),p=function(f,m){if(f){for(var b=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var O=Pl(m);delete O[ee];for(var N=ar(O),T=0;T<N.length;T++){var L=N[T];O[L]=t(L,f||!!O[L].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(d,s),h={i:d?5:4,A:c?c.A:Qa(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,ee,{value:h,writable:!0}),p},S:function(s,c,d){d?nt(c)&&c[ee].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[ee];if(f){var m=f.t,b=f.k,x=f.R,O=f.i;if(O===4)zt(b,function(S){S!==ee&&(m[S]!==void 0||nr(m,S)?x[S]||p(b[S]):(x[S]=!0,yt(f)))}),zt(m,function(S){b[S]!==void 0||nr(b,S)||(x[S]=!1,yt(f))});else if(O===5){if(n(f)&&(yt(f),x.length=!0),b.length<m.length)for(var N=b.length;N<m.length;N++)x[N]=!1;else for(var T=m.length;T<b.length;T++)x[T]=!0;for(var L=Math.min(b.length,m.length),C=0;C<L;C++)b.hasOwnProperty(C)||(x[C]=!0),x[C]===void 0&&p(b[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Al,ro,li=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pu=typeof Map<"u",uu=typeof Set<"u",Rl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Il=li?Symbol.for("immer-nothing"):((Al={})["immer-nothing"]=!0,Al),Nl=li?Symbol.for("immer-draftable"):"__$immer_draftable",ee=li?Symbol.for("immer-state"):"__$immer_state";var fu=""+Object.prototype.constructor,ar=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Pl=Object.getOwnPropertyDescriptors||function(t){var e={};return ar(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ri={},oo={get:function(t,e){if(e===ee)return t;var r=ht(t);if(!nr(r,e))return function(a,i,s){var c,d=El(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!Pe(n)?n:n===Xa(t.t,e)?(Ja(t),t.o[e]=ti(t.A.h,n,t)):n},has:function(t,e){return e in ht(t)},ownKeys:function(t){return Reflect.ownKeys(ht(t))},set:function(t,e,r){var n=El(ht(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=Xa(ht(t),e),i=a?.[ee];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Tl(r,a)&&(r!==void 0||nr(t.t,e)))return!0;Ja(t),yt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Xa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ja(t),yt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ht(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ne(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ne(12)}},to={};zt(oo,function(t,e){to[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),to.deleteProperty=function(t,e){return to.set.call(this,t,e,void 0)},to.set=function(t,e,r){return oo.set.call(this,t[0],e,r,t[0])};var hu=function(){function t(r){var n=this;this.O=Rl,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var d=n;return function(O){var N=this;O===void 0&&(O=c);for(var T=arguments.length,L=Array(T>1?T-1:0),C=1;C<T;C++)L[C-1]=arguments[C];return d.produce(O,function(S){var E;return(E=i).call.apply(E,[N,S].concat(L))})}}var p;if(typeof i!="function"&&Ne(6),s!==void 0&&typeof s!="function"&&Ne(7),Pe(a)){var h=Ol(n),f=ti(n,a,void 0),m=!0;try{p=i(f),m=!1}finally{m?Vo(h):ei(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return qa(h,s),Ya(O,h)},function(O){throw Vo(h),O}):(qa(h,s),Ya(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===Il&&(p=void 0),n.D&&ii(p,!0),s){var b=[],x=[];Ke("Patches").M(a,p,b,x),s(b,x)}return p}Ne(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(p,function(b){return a.apply(void 0,[b].concat(f))})};var s,c,d=n.produce(a,i,function(p,h){s=p,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Pe(r)||Ne(8),nt(r)&&(r=du(r));var n=Ol(this),a=ti(this,r,void 0);return a[ee].C=!0,ei(n),a},e.finishDraft=function(r,n){var a=r&&r[ee],i=a.A;return qa(i,n),Ya(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Rl&&Ne(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Ke("Patches").$;return nt(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),Ee=new hu,yu=Ee.produce,Nb=Ee.produceWithPatches.bind(Ee),_b=Ee.setAutoFreeze.bind(Ee),Tb=Ee.setUseProxies.bind(Ee),Lb=Ee.applyPatches.bind(Ee),Ib=Ee.createDraft.bind(Ee),Pb=Ee.finishDraft.bind(Ee),Ko=yu;function mt(t){"@babel/helpers - typeof";return mt=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},mt(t)}function ci(t,e){if(mt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(mt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function di(t){var e=ci(t,"string");return mt(e)==="symbol"?e:String(e)}function pi(t,e,r){return e=di(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Zo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$l(Object(r),!0).forEach(function(n){pi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$l(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var kl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ui=function(){return Math.random().toString(36).substring(7).split("").join(".")},qo={INIT:"@@redux/INIT"+ui(),REPLACE:"@@redux/REPLACE"+ui(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ui()}};function mu(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function fi(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(fe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(fe(1));return r(fi)(t,e)}if(typeof t!="function")throw new Error(fe(2));var a=t,i=e,s=[],c=s,d=!1;function p(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(fe(3));return i}function f(O){if(typeof O!="function")throw new Error(fe(4));if(d)throw new Error(fe(5));var N=!0;return p(),c.push(O),function(){if(N){if(d)throw new Error(fe(6));N=!1,p();var L=c.indexOf(O);c.splice(L,1),s=null}}}function m(O){if(!mu(O))throw new Error(fe(7));if(typeof O.type>"u")throw new Error(fe(8));if(d)throw new Error(fe(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var N=s=c,T=0;T<N.length;T++){var L=N[T];L()}return O}function b(O){if(typeof O!="function")throw new Error(fe(10));a=O,m({type:qo.REPLACE})}function x(){var O,N=f;return O={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(fe(11));function C(){L.next&&L.next(h())}C();var S=N(C);return{unsubscribe:S}}},O[kl]=function(){return this},O}return m({type:qo.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:b},n[kl]=x,n}function gu(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:qo.INIT});if(typeof n>"u")throw new Error(fe(12));if(typeof r(void 0,{type:qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(fe(13))})}function Dl(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{gu(r)}catch(d){c=d}return function(p,h){if(p===void 0&&(p={}),c)throw c;if(0)var f;for(var m=!1,b={},x=0;x<i.length;x++){var O=i[x],N=r[O],T=p[O],L=N(T,h);if(typeof L>"u"){var C=h&&h.type;throw new Error(fe(14))}b[O]=L,m=m||L!==T}return m=m||i.length!==Object.keys(p).length,m?b:p}}function sr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];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 Ml(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(fe(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return i=sr.apply(void 0,c)(a.dispatch),Zo(Zo({},a),{},{dispatch:i})}}}function Ul(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var Bl=Ul();Bl.withExtraArgument=Ul;var hi=Bl;var Vl=function(){var t=function(e,r){return t=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])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),bu=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,a=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){r.label=p[1];break}if(p[0]===6&&r.label<i[1]){r.label=i[1],i=p;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(p);break}i[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},lr=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},xu=Object.defineProperty,vu=Object.defineProperties,Su=Object.getOwnPropertyDescriptors,Fl=Object.getOwnPropertySymbols,Ou=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable,Wl=function(t,e,r){return e in t?xu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},gt=function(t,e){for(var r in e||(e={}))Ou.call(e,r)&&Wl(t,r,e[r]);if(Fl)for(var n=0,a=Fl(e);n<a.length;n++){var r=a[n];Cu.call(e,r)&&Wl(t,r,e[r])}return t},yi=function(t,e){return vu(t,Su(e))},Eu=function(t,e,r){return new Promise(function(n,a){var i=function(d){try{c(r.next(d))}catch(p){a(p)}},s=function(d){try{c(r.throw(d))}catch(p){a(p)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(t,e)).next())})};var wu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?sr:sr.apply(null,arguments)},Xb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Au(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Ru=function(t){Vl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,lr([void 0],r[0].concat(this)))):new(e.bind.apply(e,lr([void 0],r.concat(this))))},e}(Array),Nu=function(t){Vl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,lr([void 0],r[0].concat(this)))):new(e.bind.apply(e,lr([void 0],r.concat(this))))},e}(Array);function bi(t){return Pe(t)?Ko(t,function(){}):t}function _u(t){return typeof t=="boolean"}function Tu(){return function(e){return Lu(e)}}function Lu(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,c=new Ru;if(r&&(_u(r)?c.push(hi):c.push(hi.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var p}return c}var mi=!0;function jl(t){var e=Tu(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,c=r.devTools,d=c===void 0?!0:c,p=r.preloadedState,h=p===void 0?void 0:p,f=r.enhancers,m=f===void 0?void 0:f,b;if(typeof a=="function")b=a;else if(Au(a))b=Dl(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 x=s;if(typeof x=="function"&&(x=x(e),!mi&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!mi&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Ml.apply(void 0,x),N=sr;d&&(N=wu(gt({trace:!mi},typeof d=="object"&&d)));var T=new Nu(O),L=T;Array.isArray(m)?L=lr([O],m):typeof m=="function"&&(L=m(T));var C=N.apply(void 0,L);return fi(b,h,C)}function bt(t,e){function r(){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 gt(gt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Gl(t){var e={},r=[],n,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function Iu(t){return typeof t=="function"}function Pu(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?Gl(e):[e,r,n],i=a[0],s=a[1],c=a[2],d;if(Iu(t))d=function(){return bi(t())};else{var p=bi(t);d=function(){return p}}function h(f,m){f===void 0&&(f=d());var b=lr([i[m.type]],s.filter(function(x){var O=x.matcher;return O(m)}).map(function(x){var O=x.reducer;return O}));return b.filter(function(x){return!!x}).length===0&&(b=[c]),b.reduce(function(x,O){if(O)if(nt(x)){var N=x,T=O(N,m);return T===void 0?x:T}else{if(Pe(x))return Ko(x,function(L){return O(L,m)});var T=O(x,m);if(T===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return x},f)}return h.getInitialState=d,h}function $u(t,e){return t+"/"+e}function Kl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:bi(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},c={};a.forEach(function(h){var f=n[h],m=$u(e,h),b,x;"reducer"in f?(b=f.reducer,x=f.prepare):b=f,i[h]=b,s[m]=b,c[h]=x?bt(m,x):bt(m)});function d(){var h=typeof t.extraReducers=="function"?Gl(t.extraReducers):[t.extraReducers],f=h[0],m=f===void 0?{}:f,b=h[1],x=b===void 0?[]:b,O=h[2],N=O===void 0?void 0:O,T=gt(gt({},m),s);return Pu(r,function(L){for(var C in T)L.addCase(C,T[C]);for(var S=0,E=x;S<E.length;S++){var I=E[S];L.addMatcher(I.matcher,I.reducer)}N&&L.addDefaultCase(N)})}var p;return{name:e,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:c,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var ku="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Du=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=ku[Math.random()*64|0];return e},Mu=["name","message","stack","code"],gi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Hl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Uu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Mu;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},tx=function(){function t(e,r,n){var a=bt(e+"/fulfilled",function(h,f,m,b){return{payload:h,meta:yi(gt({},b||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),i=bt(e+"/pending",function(h,f,m){return{payload:void 0,meta:yi(gt({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=bt(e+"/rejected",function(h,f,m,b,x){return{payload:b,error:(n&&n.serializeError||Uu)(h||"Rejected"),meta:yi(gt({},x||{}),{arg:m,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(f,m,b){var x=n?.idGenerator?n.idGenerator(h):Du(),O=new d,N,T=!1;function L(S){N=S,O.abort()}var C=function(){return Eu(this,null,function(){var S,E,I,M,z,W,$;return bu(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),M=(S=n?.condition)==null?void 0:S.call(n,h,{getState:m,extra:b}),Fu(M)?[4,M]:[3,2];case 1:M=y.sent(),y.label=2;case 2:if(M===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,z=new Promise(function(v,P){return O.signal.addEventListener("abort",function(){return P({name:"AbortError",message:N||"Aborted"})})}),f(i(x,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:x,arg:h},{getState:m,extra:b}))),[4,Promise.race([z,Promise.resolve(r(h,{dispatch:f,getState:m,extra:b,requestId:x,signal:O.signal,abort:L,rejectWithValue:function(v,P){return new gi(v,P)},fulfillWithValue:function(v,P){return new Hl(v,P)}})).then(function(v){if(v instanceof gi)throw v;return v instanceof Hl?a(v.payload,x,h,v.meta):a(v,x,h)})])];case 3:return I=y.sent(),[3,5];case 4:return W=y.sent(),I=W instanceof gi?s(null,x,h,W.payload,W.meta):s(W,x,h),[3,5];case 5:return $=n&&!n.dispatchConditionRejection&&s.match(I)&&I.meta.condition,$||f(I),[2,I]}})})}();return Object.assign(C,{abort:L,requestId:x,arg:h,unwrap:function(){return C.then(Bu)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function Bu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Fu(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Zl="listener",ql="completed",Yl="cancelled",rx="task-"+Yl,ox="task-"+ql,nx=Zl+"-"+Yl,ax=Zl+"-"+ql;var xi="listenerMiddleware";var ix=bt(xi+"/add"),sx=bt(xi+"/removeAll"),lx=bt(xi+"/remove");var zl,cx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(zl||(zl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Wu=function(t){return function(e){setTimeout(e,t)}},dx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Wu(10);Ll();window.ftReduxStores||(window.ftReduxStores={});var Vt=class t extends Dt{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(Wt(i))return i;if(a==null)return;let s=Kl({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=jl({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new t(s,c)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Qr;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,s)=>{let c=i,d=a[c];return d?(...p)=>{let h=d(...p.map(n));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[c]:n(p)})}}})}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 Hu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Wt(e)&&e.clear()}var Yo=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Le(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function zu(t,e,r){return new Yo(t,e,r).watch()}var Ei={};Z(Ei,{scrollHelper:()=>Ci});var Si,Xo=new Map,Oi=class{lock(e,r){if(r){let n=Xo.get(r);if(n==null||n===e)return Xo.set(r,e),r}}release(e,r){r&&Xo.get(r)===e&&Xo.delete(r)}findFirstScrollableParent(e){var r;let n,a;for(let i of Kn(e)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,c=Ur(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Si=window.FluidTopicsScrollHelper)!==null&&Si!==void 0?Si:new Oi;var Ci=window.FluidTopicsScrollHelper;var wi={};Z(wi,{shadowQuerySelector:()=>Vu,shadowQuerySelectorAll:()=>ju});function Vu(t,e,...r){var n;let a=t.querySelector(e);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function ju(t,e,...r){let n=[...t.querySelectorAll(e)];for(let a of r)n=n.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return n}var Ai={};Z(Ai,{SearchPlaceConverter:()=>ao,SearchPlaceQueryParams:()=>Y,isSearchPlaceQueryParams:()=>Sc,serializeRequest:()=>Zu});var Gu=md(Jl(),1);var Ql;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ql||(Ql={}));var ec;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(ec||(ec={}));var tc;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(tc||(tc={}));var rc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(rc||(rc={}));var oc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(oc||(oc={}));var nc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(nc||(nc={}));var ac;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ac||(ac={}));var ic;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ic||(ic={}));var sc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(sc||(sc={}));var lc;(function(t){t.ASC="ASC",t.DESC="DESC"})(lc||(lc={}));var cc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(cc||(cc={}));var dc;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(dc||(dc={}));var mc=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);var pc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(pc||(pc={}));var uc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(uc||(uc={}));var fc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(fc||(fc={}));var no;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(no||(no={}));var gc=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);var hc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(hc||(hc={}));var yc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(yc||(yc={}));var le;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(le||(le={}));var bc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(bc||(bc={}));var xc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(xc||(xc={}));var Lx={[le.PERSONAL_BOOK_SHARE_USER]:[le.PERSONAL_BOOK_USER],[le.HTML_EXPORT_USER]:[le.PERSONAL_BOOK_USER],[le.PDF_EXPORT_USER]:[le.PERSONAL_BOOK_USER],[le.KHUB_ADMIN]:[le.CONTENT_PUBLISHER],[le.ADMIN]:[le.KHUB_ADMIN,le.USERS_ADMIN,le.PORTAL_ADMIN],[le.DEVELOPER]:[le.BETA_USER,le.DEBUG_USER],[le.GENERATIVE_AI_EXPORT_USER]:[le.GENERATIVE_AI_USER]};function Ku(t){return`"${t}"`}function vc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Zu(t,e){return new ao(t).serialize(e)}var Y;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(Y||(Y={}));var qu=new Set(Object.values(Y));function Sc(t){return qu.has(t)}var ao=class{constructor(e,r={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=r,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,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=this.toURLSearchParams(e).toString(),a=r==null||r.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=n,i.toString()}toURLSearchParams(e,r=!1){var n,a,i,s,c,d,p,h,f,m,b,x;let O=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&O.append(Y.LOCALE,e.contentLocale):O.append(Y.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&O.append(Y.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&O.append(Y.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&O.append(Y.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&O.append(Y.SORT,"last_update");let N=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(N.length>0){let S=N.map(E=>{var I,M;let z=((M=(I=E.valueFilter)===null||I===void 0?void 0:I.values)!==null&&M!==void 0?M:[]).map(W=>this.escapeFilters(W)).map(W=>encodeURIComponent(Ku(vc(W)))).join("_");return`${E.key}~${z}`}).join("*");O.append(Y.VALUE_FILTERS,S)}let T=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(T.length>0){let S=T.map(E=>{var I;return`${E.key}~${(I=E.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");O.append(Y.DATE_FILTERS,S)}let L=(h=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&h!==void 0?h:[];if(L.length>0){let S=L.map(E=>{var I,M;return`${E.key}~${(I=E.rangeFilter)===null||I===void 0?void 0:I.from}_${(M=E.rangeFilter)===null||M===void 0?void 0:M.to}`}).join("*");O.append(Y.RANGE_FILTERS,S)}let C=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let S in C)O.append(S,C[S]);return!((m=e.paging)===null||m===void 0)&&m.perPage&&((x=(b=e.paging)===null||b===void 0?void 0:b.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&O.append(Y.PER_PAGE,String(e.paging.perPage)),O}parse(e){var r;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:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,n,a,i,s,c,d,p;let h=e.get(Y.LOCALE)==="all"?void 0:e.get(Y.LOCALE),f=((r=e.get(Y.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),m=((n=e.get(Y.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(a=e.get(Y.SCOPE))!==null&&a!==void 0?a:"default",x=+((i=e.get(Y.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),O={};for(let N of e.keys())Sc(N)||(O[N]=e.get(N));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(Y.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[b])!==null&&c!==void 0?c:"DEFAULT",virtualField:mc(f)?f:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:Ur(1,isNaN(x)?this.defaultPerPage:x,1e3)},otherQueryParams:O}}parseCompatFilters(e){var r,n,a,i,s,c;let d=[];return e.has(Y.FILTERS)&&(d=this.parseValueFilters((r=e.get(Y.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(Y.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(Y.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(Y.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(Y.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(Y.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(vc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:no[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(gc(e))return[{key:"ft:lastEdition",dateFilter:{type:no[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Ni={};Z(Ni,{toFtFormComponent:()=>Ri});var en=Symbol("elementInternals");function Ri(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[en].form}constructor(...a){super(a),this[en]=this.attachInternals(),this[en].role=e}setFormValue(a){this[en].setFormValue(a)}}return r}var _i={};Z(_i,{DateFormatter:()=>dr});var dr=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Ti,Li,Ii,Pi,$i=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ii=(Li=(Ti=window.safari)===null||Ti===void 0?void 0:Ti.pushNotification)===null||Li===void 0?void 0:Li.toString())!==null&&Ii!==void 0?Ii:"")==="[object SafariRemoteNotification]",Yu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Pi=window.ftGlobals)!==null&&Pi!==void 0?Pi:{lit:Nn,litDecorators:Tn,litRepeat:Ln,litClassMap:In,litStyleMap:$n,litUnsafeHTML:Dn,wcUtils:{...zn,...Un,...jn,..._i,...Gn,...qn,...Ea,...Hn,...Ba,...Ca,...za,...Wa,...ml,...Zn,...Ga,...Ka,...bl,...Za,...vi,...Fa,...Ei,...wi,...Ai,...Ni,isSafari:$i,isTouchScreen:Yu,setVariable:A}};var Oc;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Oc||(Oc={}));var Xu=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Di=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ki=Symbol("registerInterval");function Ju(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[ki]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ki]):this.dispatchEvent(new Di)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ki,Xu([J()],r.prototype,"stateManager",void 0),r}var pr=class extends Ju(Ge){};var Ec=Symbol.for(""),Qu=t=>{if(t?.r===Ec)return t?._$litStatic$},Mi=t=>({_$litStatic$:t,r:Ec});var Cc=new Map,wc=t=>(e,...r)=>{let n=r.length,a,i,s=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(i=r[p],(a=Qu(i))!==void 0);)d+=a+e[++p],h=!0;p!==n&&c.push(i),s.push(d),p++}if(p===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=Cc.get(f))===void 0&&(s.raw=s,Cc.set(f,e=s)),r=c}return t(e,...r)},Ui=wc(ps),C0=wc(us);var vt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(vt||(vt={}));function Ac(t){let e=Br[t];return k`
50
+ `;var vl={};var qa={};Z(qa,{ParametrizedLabelResolver:()=>eo});var eo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)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,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Si={};Z(Si,{FtCommandQueue:()=>to,FtLitElementRedux:()=>Ke,FtReduxStore:()=>Gt,ReduxWatcher:()=>Yo,clearAllStores:()=>Ku,isFtReduxStore:()=>zt,redux:()=>ut,reduxEventListener:()=>du,reduxReactive:()=>cu,watch:()=>Zu});var cu=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ut=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:Pe,attribute:!1,...e};A(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},du=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var to=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function zt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Sl,Ol,Cl,ro=Symbol("internalReduxEventsUnsubscribers"),ft=Symbol("internalStoresUnsubscribers"),jt=Symbol("internalStores"),Ke=class extends K{constructor(){super(...arguments),this[Sl]=new Map,this[Ol]=new Map,this[Cl]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[jt].get(e)}addStore(e,r){var n;r=(n=r??(zt(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[jt].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[jt].delete(r)}setupStores(){this.unsubscribeFromStores(),this[jt].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[ft].has(e.store):this[ft].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[ft].set(e,r.subscribe(()=>this.updateFromStores())),this[ro].set(e,[]),zt(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=l=>this[i](l);r.addEventListener(a.eventName,s),this[ro].get(e).push(()=>r.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ft].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[ft].has(e)&&this[ft].get(e)(),this[ft].delete(e),(r=this[ro].get(e))===null||r===void 0||r.forEach(n=>n()),this[ro].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Sl=ft,Ol=jt,Cl=ro;Ke.reduxProperties=new Map;Ke.reduxReactiveProperties=new Set;Ke.reduxEventListeners=new Map;function Ne(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function at(t){return!!t&&!!t[ee]}function De(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===bu}(t)||Array.isArray(t)||!!t[Tl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Tl])||ni(t)||ai(t))}function Vt(t,e,r){r===void 0&&(r=!1),lr(t)===0?(r?Object.keys:sr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function lr(t){var e=t[ee];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ni(t)?2:ai(t)?3:0}function ir(t,e){return lr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function pu(t,e){return lr(t)===2?t.get(e):t[e]}function Ll(t,e,r){var n=lr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Pl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ni(t){return mu&&t instanceof Map}function ai(t){return gu&&t instanceof Set}function ht(t){return t.o||t.t}function ii(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=kl(t);delete e[ee];for(var r=sr(e),n=0;n<r.length;n++){var a=r[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:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function si(t,e){return e===void 0&&(e=!1),li(t)||at(t)||!De(t)||(lr(t)>1&&(t.set=t.add=t.clear=t.delete=uu),Object.freeze(t),e&&Vt(t,function(r,n){return si(n,!0)},!0)),t}function uu(){Ne(2)}function li(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ze(t){var e=oi[t];return e||Ne(18,t),e}function fu(t,e){oi[t]||(oi[t]=e)}function ei(){return no}function Ya(t,e){e&&(Ze("Patches"),t.u=[],t.s=[],t.v=e)}function jo(t){ti(t),t.p.forEach(hu),t.p=null}function ti(t){t===no&&(no=t.l)}function El(t){return no={p:[],l:no,h:t,m:!0,_:0}}function hu(t){var e=t[ee];e.i===0||e.i===1?e.j():e.g=!0}function Xa(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Ze("ES5").S(e,t,n),n?(r[ee].P&&(jo(e),Ne(4)),De(t)&&(t=Vo(e,t),e.l||Go(e,t)),e.u&&Ze("Patches").M(r[ee].t,t,e.u,e.s)):t=Vo(e,r,[]),jo(e),e.u&&e.v(e.u,e.s),t!==$l?t:void 0}function Vo(t,e,r){if(li(e))return e;var n=e[ee];if(!n)return Vt(e,function(l,d){return Al(t,n,e,l,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Go(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ii(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Vt(i,function(l,d){return Al(t,n,a,l,d,r,s)}),Go(t,a,!1),r&&t.u&&Ze("Patches").N(n,r,t.u,t.s)}return n.o}function Al(t,e,r,n,a,i,s){if(at(a)){var l=Vo(t,a,i&&e&&e.i!==3&&!ir(e.R,n)?i.concat(n):void 0);if(Ll(r,n,l),!at(l))return;t.m=!1}else s&&r.add(a);if(De(a)&&!li(a)){if(!t.h.D&&t._<1)return;Vo(t,a),e&&e.A.l||Go(t,a)}}function Go(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&si(e,r)}function Ja(t,e){var r=t[ee];return(r?ht(r):t)[e]}function wl(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function yt(t){t.P||(t.P=!0,t.l&&yt(t.l))}function Qa(t){t.o||(t.o=ii(t.t))}function ri(t,e,r){var n=ni(e)?Ze("MapSet").F(e,r):ai(e)?Ze("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:ei(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=ao;s&&(d=[l],p=oo);var h=Proxy.revocable(d,p),f=h.revoke,y=h.proxy;return l.k=y,l.j=f,y}(e,r):Ze("ES5").J(e,r);return(r?r.A:ei()).p.push(n),n}function yu(t){return at(t)||Ne(22,t),function e(r){if(!De(r))return r;var n,a=r[ee],i=lr(r);if(a){if(!a.P&&(a.i<4||!Ze("ES5").K(a)))return a.t;a.I=!0,n=Rl(r,i),a.I=!1}else n=Rl(r,i);return Vt(n,function(s,l){a&&pu(a.t,s)===l||Ll(n,s,e(l))}),i===3?new Set(n):n}(t)}function Rl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ii(t)}function Il(){function t(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[ee];return ao.get(p,s)},set:function(p){var h=this[ee];ao.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][ee];if(!d.P)switch(d.i){case 5:n(d)&&yt(d);break;case 4:r(d)&&yt(d)}}}function r(s){for(var l=s.t,d=s.k,p=sr(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==ee){var y=l[f];if(y===void 0&&!ir(l,f))return!0;var b=d[f],x=b&&b[ee];if(x?x.t!==y:!Pl(b,y))return!0}}var O=!!l[ee];return p.length!==sr(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&Ne(3,JSON.stringify(ht(s)))}var i={};fu("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(f,y){if(f){for(var b=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var O=kl(y);delete O[ee];for(var R=sr(O),N=0;N<R.length;N++){var L=R[N];O[L]=t(L,f||!!O[L].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(d,s),h={i:d?5:4,A:l?l.A:ei(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,ee,{value:h,writable:!0}),p},S:function(s,l,d){d?at(l)&&l[ee].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[ee];if(f){var y=f.t,b=f.k,x=f.R,O=f.i;if(O===4)Vt(b,function(v){v!==ee&&(y[v]!==void 0||ir(y,v)?x[v]||p(b[v]):(x[v]=!0,yt(f)))}),Vt(y,function(v){b[v]!==void 0||ir(b,v)||(x[v]=!1,yt(f))});else if(O===5){if(n(f)&&(yt(f),x.length=!0),b.length<y.length)for(var R=b.length;R<y.length;R++)x[R]=!1;else for(var N=y.length;N<b.length;N++)x[N]=!0;for(var L=Math.min(b.length,y.length),C=0;C<L;C++)b.hasOwnProperty(C)||(x[C]=!0),x[C]===void 0&&p(b[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var _l,no,ci=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",mu=typeof Map<"u",gu=typeof Set<"u",Nl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$l=ci?Symbol.for("immer-nothing"):((_l={})["immer-nothing"]=!0,_l),Tl=ci?Symbol.for("immer-draftable"):"__$immer_draftable",ee=ci?Symbol.for("immer-state"):"__$immer_state";var bu=""+Object.prototype.constructor,sr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,kl=Object.getOwnPropertyDescriptors||function(t){var e={};return sr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},oi={},ao={get:function(t,e){if(e===ee)return t;var r=ht(t);if(!ir(r,e))return function(a,i,s){var l,d=wl(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!De(n)?n:n===Ja(t.t,e)?(Qa(t),t.o[e]=ri(t.A.h,n,t)):n},has:function(t,e){return e in ht(t)},ownKeys:function(t){return Reflect.ownKeys(ht(t))},set:function(t,e,r){var n=wl(ht(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=Ja(ht(t),e),i=a?.[ee];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Pl(r,a)&&(r!==void 0||ir(t.t,e)))return!0;Qa(t),yt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ja(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Qa(t),yt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ht(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ne(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ne(12)}},oo={};Vt(ao,function(t,e){oo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),oo.deleteProperty=function(t,e){return oo.set.call(this,t,e,void 0)},oo.set=function(t,e,r){return ao.set.call(this,t[0],e,r,t[0])};var xu=function(){function t(r){var n=this;this.O=Nl,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(O){var R=this;O===void 0&&(O=l);for(var N=arguments.length,L=Array(N>1?N-1:0),C=1;C<N;C++)L[C-1]=arguments[C];return d.produce(O,function(v){var E;return(E=i).call.apply(E,[R,v].concat(L))})}}var p;if(typeof i!="function"&&Ne(6),s!==void 0&&typeof s!="function"&&Ne(7),De(a)){var h=El(n),f=ri(n,a,void 0),y=!0;try{p=i(f),y=!1}finally{y?jo(h):ti(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return Ya(h,s),Xa(O,h)},function(O){throw jo(h),O}):(Ya(h,s),Xa(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===$l&&(p=void 0),n.D&&si(p,!0),s){var b=[],x=[];Ze("Patches").M(a,p,b,x),s(b,x)}return p}Ne(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),y=1;y<h;y++)f[y-1]=arguments[y];return n.produceWithPatches(p,function(b){return a.apply(void 0,[b].concat(f))})};var s,l,d=n.produce(a,i,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){De(r)||Ne(8),at(r)&&(r=yu(r));var n=El(this),a=ri(this,r,void 0);return a[ee].C=!0,ti(n),a},e.finishDraft=function(r,n){var a=r&&r[ee],i=a.A;return Ya(i,n),Xa(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Nl&&Ne(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Ze("Patches").$;return at(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),Ae=new xu,vu=Ae.produce,Pb=Ae.produceWithPatches.bind(Ae),Ib=Ae.setAutoFreeze.bind(Ae),$b=Ae.setUseProxies.bind(Ae),kb=Ae.applyPatches.bind(Ae),Db=Ae.createDraft.bind(Ae),Mb=Ae.finishDraft.bind(Ae),Ko=vu;function mt(t){"@babel/helpers - typeof";return mt=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},mt(t)}function di(t,e){if(mt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(mt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function pi(t){var e=di(t,"string");return mt(e)==="symbol"?e:String(e)}function ui(t,e,r){return e=pi(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Dl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Zo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Dl(Object(r),!0).forEach(function(n){ui(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dl(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ml=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),fi=function(){return Math.random().toString(36).substring(7).split("").join(".")},qo={INIT:"@@redux/INIT"+fi(),REPLACE:"@@redux/REPLACE"+fi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fi()}};function Su(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function hi(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(fe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(fe(1));return r(hi)(t,e)}if(typeof t!="function")throw new Error(fe(2));var a=t,i=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(fe(3));return i}function f(O){if(typeof O!="function")throw new Error(fe(4));if(d)throw new Error(fe(5));var R=!0;return p(),l.push(O),function(){if(R){if(d)throw new Error(fe(6));R=!1,p();var L=l.indexOf(O);l.splice(L,1),s=null}}}function y(O){if(!Su(O))throw new Error(fe(7));if(typeof O.type>"u")throw new Error(fe(8));if(d)throw new Error(fe(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var R=s=l,N=0;N<R.length;N++){var L=R[N];L()}return O}function b(O){if(typeof O!="function")throw new Error(fe(10));a=O,y({type:qo.REPLACE})}function x(){var O,R=f;return O={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(fe(11));function C(){L.next&&L.next(h())}C();var v=R(C);return{unsubscribe:v}}},O[Ml]=function(){return this},O}return y({type:qo.INIT}),n={dispatch:y,subscribe:f,getState:h,replaceReducer:b},n[Ml]=x,n}function Ou(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:qo.INIT});if(typeof n>"u")throw new Error(fe(12));if(typeof r(void 0,{type:qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(fe(13))})}function Ul(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,l;try{Ou(r)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var y=!1,b={},x=0;x<i.length;x++){var O=i[x],R=r[O],N=p[O],L=R(N,h);if(typeof L>"u"){var C=h&&h.type;throw new Error(fe(14))}b[O]=L,y=y||L!==N}return y=y||i.length!==Object.keys(p).length,y?b:p}}function cr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];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 Bl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(fe(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=cr.apply(void 0,l)(a.dispatch),Zo(Zo({},a),{},{dispatch:i})}}}function Fl(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var Wl=Fl();Wl.withExtraArgument=Fl;var yi=Wl;var Gl=function(){var t=function(e,r){return t=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])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Cu=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,a=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){r.label=p[1];break}if(p[0]===6&&r.label<i[1]){r.label=i[1],i=p;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(p);break}i[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},dr=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},Eu=Object.defineProperty,Au=Object.defineProperties,wu=Object.getOwnPropertyDescriptors,Hl=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,zl=function(t,e,r){return e in t?Eu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},gt=function(t,e){for(var r in e||(e={}))Ru.call(e,r)&&zl(t,r,e[r]);if(Hl)for(var n=0,a=Hl(e);n<a.length;n++){var r=a[n];_u.call(e,r)&&zl(t,r,e[r])}return t},mi=function(t,e){return Au(t,wu(e))},Nu=function(t,e,r){return new Promise(function(n,a){var i=function(d){try{l(r.next(d))}catch(p){a(p)}},s=function(d){try{l(r.throw(d))}catch(p){a(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(t,e)).next())})};var Tu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?cr:cr.apply(null,arguments)},tx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Lu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Pu=function(t){Gl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,dr([void 0],r[0].concat(this)))):new(e.bind.apply(e,dr([void 0],r.concat(this))))},e}(Array),Iu=function(t){Gl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,dr([void 0],r[0].concat(this)))):new(e.bind.apply(e,dr([void 0],r.concat(this))))},e}(Array);function xi(t){return De(t)?Ko(t,function(){}):t}function $u(t){return typeof t=="boolean"}function ku(){return function(e){return Du(e)}}function Du(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new Pu;if(r&&($u(r)?l.push(yi):l.push(yi.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var p}return l}var gi=!0;function Kl(t){var e=ku(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,l=r.devTools,d=l===void 0?!0:l,p=r.preloadedState,h=p===void 0?void 0:p,f=r.enhancers,y=f===void 0?void 0:f,b;if(typeof a=="function")b=a;else if(Lu(a))b=Ul(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 x=s;if(typeof x=="function"&&(x=x(e),!gi&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!gi&&x.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Bl.apply(void 0,x),R=cr;d&&(R=Tu(gt({trace:!gi},typeof d=="object"&&d)));var N=new Iu(O),L=N;Array.isArray(y)?L=dr([O],y):typeof y=="function"&&(L=y(N));var C=R.apply(void 0,L);return hi(b,h,C)}function bt(t,e){function r(){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 gt(gt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Zl(t){var e={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function Mu(t){return typeof t=="function"}function Uu(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?Zl(e):[e,r,n],i=a[0],s=a[1],l=a[2],d;if(Mu(t))d=function(){return xi(t())};else{var p=xi(t);d=function(){return p}}function h(f,y){f===void 0&&(f=d());var b=dr([i[y.type]],s.filter(function(x){var O=x.matcher;return O(y)}).map(function(x){var O=x.reducer;return O}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,O){if(O)if(at(x)){var R=x,N=O(R,y);return N===void 0?x:N}else{if(De(x))return Ko(x,function(L){return O(L,y)});var N=O(x,y);if(N===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return x},f)}return h.getInitialState=d,h}function Bu(t,e){return t+"/"+e}function ql(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:xi(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],y=Bu(e,h),b,x;"reducer"in f?(b=f.reducer,x=f.prepare):b=f,i[h]=b,s[y]=b,l[h]=x?bt(y,x):bt(y)});function d(){var h=typeof t.extraReducers=="function"?Zl(t.extraReducers):[t.extraReducers],f=h[0],y=f===void 0?{}:f,b=h[1],x=b===void 0?[]:b,O=h[2],R=O===void 0?void 0:O,N=gt(gt({},y),s);return Uu(r,function(L){for(var C in N)L.addCase(C,N[C]);for(var v=0,E=x;v<E.length;v++){var P=E[v];L.addMatcher(P.matcher,P.reducer)}R&&L.addDefaultCase(R)})}var p;return{name:e,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Fu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Wu=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Fu[Math.random()*64|0];return e},Hu=["name","message","stack","code"],bi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),jl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),zu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Hu;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},ax=function(){function t(e,r,n){var a=bt(e+"/fulfilled",function(h,f,y,b){return{payload:h,meta:mi(gt({},b||{}),{arg:y,requestId:f,requestStatus:"fulfilled"})}}),i=bt(e+"/pending",function(h,f,y){return{payload:void 0,meta:mi(gt({},y||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=bt(e+"/rejected",function(h,f,y,b,x){return{payload:b,error:(n&&n.serializeError||zu)(h||"Rejected"),meta:mi(gt({},x||{}),{arg:y,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(f,y,b){var x=n?.idGenerator?n.idGenerator(h):Wu(),O=new d,R,N=!1;function L(v){R=v,O.abort()}var C=function(){return Nu(this,null,function(){var v,E,P,M,W,F,$;return Cu(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),M=(v=n?.condition)==null?void 0:v.call(n,h,{getState:y,extra:b}),Vu(M)?[4,M]:[3,2];case 1:M=m.sent(),m.label=2;case 2:if(M===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,W=new Promise(function(S,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:R||"Aborted"})})}),f(i(x,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:x,arg:h},{getState:y,extra:b}))),[4,Promise.race([W,Promise.resolve(r(h,{dispatch:f,getState:y,extra:b,requestId:x,signal:O.signal,abort:L,rejectWithValue:function(S,I){return new bi(S,I)},fulfillWithValue:function(S,I){return new jl(S,I)}})).then(function(S){if(S instanceof bi)throw S;return S instanceof jl?a(S.payload,x,h,S.meta):a(S,x,h)})])];case 3:return P=m.sent(),[3,5];case 4:return F=m.sent(),P=F instanceof bi?s(null,x,h,F.payload,F.meta):s(F,x,h),[3,5];case 5:return $=n&&!n.dispatchConditionRejection&&s.match(P)&&P.meta.condition,$||f(P),[2,P]}})})}();return Object.assign(C,{abort:L,requestId:x,arg:h,unwrap:function(){return C.then(ju)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function ju(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Vu(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Yl="listener",Xl="completed",Jl="cancelled",ix="task-"+Jl,sx="task-"+Xl,lx=Yl+"-"+Jl,cx=Yl+"-"+Xl;var vi="listenerMiddleware";var dx=bt(vi+"/add"),px=bt(vi+"/removeAll"),ux=bt(vi+"/remove");var Vl,fx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Vl||(Vl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Gu=function(t){return function(e){setTimeout(e,t)}},hx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Gu(10);Il();window.ftReduxStores||(window.ftReduxStores={});var Gt=class t extends Dt{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(zt(i))return i;if(a==null)return;let s=ql({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Kl({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new t(s,l,a.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new to;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,p=i[d];return p?(...h)=>{let f=p(...h.map(a));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}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 Ku(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))zt(e)&&e.clear()}var Yo=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Pe(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Zu(t,e,r){return new Yo(t,e,r).watch()}var Ai={};Z(Ai,{scrollHelper:()=>Ei});var Oi,Xo=new Map,Ci=class{lock(e,r){if(r){let n=Xo.get(r);if(n==null||n===e)return Xo.set(r,e),r}}release(e,r){r&&Xo.get(r)===e&&Xo.delete(r)}findFirstScrollableParent(e){var r;let n,a;for(let i of Kn(e)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=Wr(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Oi=window.FluidTopicsScrollHelper)!==null&&Oi!==void 0?Oi:new Ci;var Ei=window.FluidTopicsScrollHelper;var wi={};Z(wi,{shadowQuerySelector:()=>qu,shadowQuerySelectorAll:()=>Yu});function qu(t,e,...r){var n;let a=t.querySelector(e);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Yu(t,e,...r){let n=[...t.querySelectorAll(e)];for(let a of r)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var _i={};Z(_i,{SearchPlaceConverter:()=>io,SearchPlaceQueryParams:()=>Y,isSearchPlaceQueryParams:()=>wc,serializeRequest:()=>Qu});var Xu=Sd(ec(),1);var tc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(tc||(tc={}));var rc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(rc||(rc={}));var oc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(oc||(oc={}));var nc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(nc||(nc={}));var ac;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(ac||(ac={}));var ic;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(ic||(ic={}));var sc;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(sc||(sc={}));var lc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(lc||(lc={}));var cc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(cc||(cc={}));var dc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(dc||(dc={}));var pc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(pc||(pc={}));var uc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(uc||(uc={}));var fc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(fc||(fc={}));var hc;(function(t){t.ASC="ASC",t.DESC="DESC"})(hc||(hc={}));var yc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(yc||(yc={}));var Ri;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ri||(Ri={}));var Sc=t=>Object.keys(Ri).includes(t);var mc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(mc||(mc={}));var gc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(gc||(gc={}));var bc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(bc||(bc={}));var ur;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ur||(ur={}));var Oc=t=>Object.keys(ur).includes(t);var xc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(xc||(xc={}));var vc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(vc||(vc={}));var le;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(le||(le={}));var Cc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Cc||(Cc={}));var Ec;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ec||(Ec={}));var kx={[le.PERSONAL_BOOK_SHARE_USER]:[le.PERSONAL_BOOK_USER],[le.HTML_EXPORT_USER]:[le.PERSONAL_BOOK_USER],[le.PDF_EXPORT_USER]:[le.PERSONAL_BOOK_USER],[le.KHUB_ADMIN]:[le.CONTENT_PUBLISHER],[le.ADMIN]:[le.KHUB_ADMIN,le.USERS_ADMIN,le.PORTAL_ADMIN],[le.DEVELOPER]:[le.BETA_USER,le.DEBUG_USER],[le.GENERATIVE_AI_EXPORT_USER]:[le.GENERATIVE_AI_USER]};function Ju(t){return`"${t}"`}function Ac(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Qu(t,e){return new io(t).serialize(e)}var Y;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(Y||(Y={}));var ef=new Set(Object.values(Y));function wc(t){return ef.has(t)}var io=class{constructor(e,r={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=r,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,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=this.toURLSearchParams(e).toString(),a=r==null||r.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=n,i.toString()}toURLSearchParams(e,r=!1){var n,a,i,s,l,d,p,h,f,y,b,x;let O=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&O.append(Y.LOCALE,e.contentLocale):O.append(Y.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&O.append(Y.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&O.append(Y.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&O.append(Y.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&O.append(Y.SORT,"last_update");let R=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(R.length>0){let v=R.map(E=>{var P,M;let W=((M=(P=E.valueFilter)===null||P===void 0?void 0:P.values)!==null&&M!==void 0?M:[]).map(F=>this.escapeFilters(F)).map(F=>encodeURIComponent(Ju(Ac(F)))).join("_");return`${E.key}~${W}`}).join("*");O.append(Y.VALUE_FILTERS,v)}let N=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(N.length>0){let v=N.map(E=>{var P;return`${E.key}~${(P=E.dateFilter)===null||P===void 0?void 0:P.type.toLowerCase()}`}).join("*");O.append(Y.DATE_FILTERS,v)}let L=(h=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(v=>v.rangeFilter))!==null&&h!==void 0?h:[];if(L.length>0){let v=L.map(E=>{var P,M;return`${E.key}~${(P=E.rangeFilter)===null||P===void 0?void 0:P.from}_${(M=E.rangeFilter)===null||M===void 0?void 0:M.to}`}).join("*");O.append(Y.RANGE_FILTERS,v)}let C=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let v in C)O.append(v,C[v]);return!((y=e.paging)===null||y===void 0)&&y.perPage&&((x=(b=e.paging)===null||b===void 0?void 0:b.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&O.append(Y.PER_PAGE,String(e.paging.perPage)),O}parse(e){var r;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:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,n,a,i,s,l,d,p;let h=e.get(Y.LOCALE)==="all"?void 0:e.get(Y.LOCALE),f=((r=e.get(Y.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),y=((n=e.get(Y.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(a=e.get(Y.SCOPE))!==null&&a!==void 0?a:"default",x=+((i=e.get(Y.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),O={};for(let R of e.keys())wc(R)||(O[R]=e.get(R));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(Y.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:Sc(f)?f:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[y])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:Wr(1,isNaN(x)?this.defaultPerPage:x,1e3)},otherQueryParams:O}}parseCompatFilters(e){var r,n,a,i,s,l;let d=[];return e.has(Y.FILTERS)&&(d=this.parseValueFilters((r=e.get(Y.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(Y.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(Y.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(Y.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(Y.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(Y.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Ac).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:ur[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Oc(e))return[{key:"ft:lastEdition",dateFilter:{type:ur[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Ti={};Z(Ti,{toFtFormComponent:()=>Ni});var en=Symbol("elementInternals");function Ni(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[en].form}constructor(...a){super(a),this[en]=this.attachInternals(),this[en].role=e}setFormValue(a){this[en].setFormValue(a)}}return r}var Li={};Z(Li,{DateFormatter:()=>fr});var fr=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Pi,Ii,$i,ki,Di=navigator.vendor&&!!navigator.vendor.match(/apple/i)||(($i=(Ii=(Pi=window.safari)===null||Pi===void 0?void 0:Pi.pushNotification)===null||Ii===void 0?void 0:Ii.toString())!==null&&$i!==void 0?$i:"")==="[object SafariRemoteNotification]",tf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ki=window.ftGlobals)!==null&&ki!==void 0?ki:{lit:_n,litDecorators:Tn,litRepeat:Ln,litClassMap:Pn,litStyleMap:$n,litUnsafeHTML:Dn,wcUtils:{...zn,...Un,...Vn,...Li,...Gn,...qn,...Ea,...Hn,...Fa,...Ca,...ja,...Ha,...bl,...Zn,...Ka,...Za,...vl,...qa,...Si,...Wa,...Ai,...wi,..._i,...Ti,isSafari:Di,isTouchScreen:tf,setVariable:w}};var Rc;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Rc||(Rc={}));var rf=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ui=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Mi=Symbol("registerInterval");function of(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Mi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Mi]):this.dispatchEvent(new Ui)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Mi,rf([J()],r.prototype,"stateManager",void 0),r}var hr=class extends of(Ke){};var Nc=Symbol.for(""),nf=t=>{if(t?.r===Nc)return t?._$litStatic$},Bi=t=>({_$litStatic$:t,r:Nc});var _c=new Map,Tc=t=>(e,...r)=>{let n=r.length,a,i,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(i=r[p],(a=nf(i))!==void 0);)d+=a+e[++p],h=!0;p!==n&&l.push(i),s.push(d),p++}if(p===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=_c.get(f))===void 0&&(s.raw=s,_c.set(f,e=s)),r=l}return t(e,...r)},Fi=Tc(fs),R0=Tc(hs);var vt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(vt||(vt={}));function Lc(t){let e=Hr[t];return k`
51
51
  .ft-typography--${Tt(t)} {
52
52
  font-family: ${e.fontFamily};
53
53
  font-size: ${e.fontSize};
@@ -56,35 +56,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
56
56
  line-height: ${e.lineHeight};
57
57
  text-transform: ${e.textCase};
58
58
  }
59
- `}var Rc=o.extend("--ft-typography-font-family","",H.titleFont),at=o.extend("--ft-typography-font-family","",H.contentFont),D={fontFamily:at,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ur={fontFamily:o.extend("--ft-typography-title-font-family","",Rc),fontSize:o.extend("--ft-typography-title-font-size","",D.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",D.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",D.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",D.textTransform,"inherit")},fr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Rc),fontSize:o.extend("--ft-typography-title-dense-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",D.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",D.textTransform,"inherit")},hr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",at),fontSize:o.extend("--ft-typography-subtitle1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",D.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",D.textTransform,"inherit")},yr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",at),fontSize:o.extend("--ft-typography-subtitle2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",D.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",D.textTransform,"inherit")},mr={fontFamily:o.extend("--ft-typography-body1-font-family","",at),fontSize:o.extend("--ft-typography-body1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",D.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",D.textTransform,"inherit")},gr={fontFamily:o.extend("--ft-typography-body2-font-family","",at),fontSize:o.extend("--ft-typography-body2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",D.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",D.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",D.textTransform,"inherit")},br={fontFamily:o.extend("--ft-typography-caption-font-family","",at),fontSize:o.extend("--ft-typography-caption-font-size","",D.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",D.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",D.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",D.textTransform,"inherit")},xr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",at),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",D.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",D.textTransform,"inherit")},vr={fontFamily:o.extend("--ft-typography-overline-font-family","",at),fontSize:o.extend("--ft-typography-overline-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",D.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",D.textTransform,"uppercase")},Ze={fontFamily:o.extend("--ft-typography-button-font-family","",at),fontSize:o.extend("--ft-typography-button-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",D.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",D.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",D.textTransform,"uppercase")},Nc=k`
59
+ `}var Pc=o.extend("--ft-typography-font-family","",z.titleFont),it=o.extend("--ft-typography-font-family","",z.contentFont),D={fontFamily:it,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yr={fontFamily:o.extend("--ft-typography-title-font-family","",Pc),fontSize:o.extend("--ft-typography-title-font-size","",D.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",D.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",D.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",D.textTransform,"inherit")},mr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Pc),fontSize:o.extend("--ft-typography-title-dense-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",D.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",D.textTransform,"inherit")},gr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",it),fontSize:o.extend("--ft-typography-subtitle1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",D.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",D.textTransform,"inherit")},br={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",it),fontSize:o.extend("--ft-typography-subtitle2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",D.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",D.textTransform,"inherit")},xr={fontFamily:o.extend("--ft-typography-body1-font-family","",it),fontSize:o.extend("--ft-typography-body1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",D.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",D.textTransform,"inherit")},vr={fontFamily:o.extend("--ft-typography-body2-font-family","",it),fontSize:o.extend("--ft-typography-body2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",D.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",D.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",D.textTransform,"inherit")},Sr={fontFamily:o.extend("--ft-typography-caption-font-family","",it),fontSize:o.extend("--ft-typography-caption-font-size","",D.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",D.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",D.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",D.textTransform,"inherit")},Or={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",it),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",D.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",D.textTransform,"inherit")},Cr={fontFamily:o.extend("--ft-typography-overline-font-family","",it),fontSize:o.extend("--ft-typography-overline-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",D.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",D.textTransform,"uppercase")},qe={fontFamily:o.extend("--ft-typography-button-font-family","",it),fontSize:o.extend("--ft-typography-button-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",D.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",D.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",D.textTransform,"uppercase")},Ic=k`
60
60
  .ft-typography--title {
61
- font-family: ${ur.fontFamily};
62
- font-size: ${ur.fontSize};
63
- font-weight: ${ur.fontWeight};
64
- letter-spacing: ${ur.letterSpacing};
65
- line-height: ${ur.lineHeight};
66
- text-transform: ${ur.textTransform};
67
- }
68
- `,_c=k`
69
- .ft-typography--title-dense {
70
- font-family: ${fr.fontFamily};
71
- font-size: ${fr.fontSize};
72
- font-weight: ${fr.fontWeight};
73
- letter-spacing: ${fr.letterSpacing};
74
- line-height: ${fr.lineHeight};
75
- text-transform: ${fr.textTransform};
76
- }
77
- `,Tc=k`
78
- .ft-typography--subtitle1 {
79
- font-family: ${hr.fontFamily};
80
- font-size: ${hr.fontSize};
81
- font-weight: ${hr.fontWeight};
82
- letter-spacing: ${hr.letterSpacing};
83
- line-height: ${hr.lineHeight};
84
- text-transform: ${hr.textTransform};
85
- }
86
- `,Lc=k`
87
- .ft-typography--subtitle2 {
88
61
  font-family: ${yr.fontFamily};
89
62
  font-size: ${yr.fontSize};
90
63
  font-weight: ${yr.fontWeight};
@@ -92,9 +65,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
92
65
  line-height: ${yr.lineHeight};
93
66
  text-transform: ${yr.textTransform};
94
67
  }
95
-
96
- `,Ic=k`
97
- .ft-typography--body1 {
68
+ `,$c=k`
69
+ .ft-typography--title-dense {
98
70
  font-family: ${mr.fontFamily};
99
71
  font-size: ${mr.fontSize};
100
72
  font-weight: ${mr.fontWeight};
@@ -102,8 +74,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
102
74
  line-height: ${mr.lineHeight};
103
75
  text-transform: ${mr.textTransform};
104
76
  }
105
- `,Pc=k`
106
- .ft-typography--body2 {
77
+ `,kc=k`
78
+ .ft-typography--subtitle1 {
107
79
  font-family: ${gr.fontFamily};
108
80
  font-size: ${gr.fontSize};
109
81
  font-weight: ${gr.fontWeight};
@@ -111,8 +83,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
111
83
  line-height: ${gr.lineHeight};
112
84
  text-transform: ${gr.textTransform};
113
85
  }
114
- `,$c=k`
115
- .ft-typography--caption {
86
+ `,Dc=k`
87
+ .ft-typography--subtitle2 {
116
88
  font-family: ${br.fontFamily};
117
89
  font-size: ${br.fontSize};
118
90
  font-weight: ${br.fontWeight};
@@ -120,8 +92,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
120
92
  line-height: ${br.lineHeight};
121
93
  text-transform: ${br.textTransform};
122
94
  }
123
- `,kc=k`
124
- .ft-typography--breadcrumb {
95
+
96
+ `,Mc=k`
97
+ .ft-typography--body1 {
125
98
  font-family: ${xr.fontFamily};
126
99
  font-size: ${xr.fontSize};
127
100
  font-weight: ${xr.fontWeight};
@@ -129,8 +102,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
129
102
  line-height: ${xr.lineHeight};
130
103
  text-transform: ${xr.textTransform};
131
104
  }
132
- `,Dc=k`
133
- .ft-typography--overline {
105
+ `,Uc=k`
106
+ .ft-typography--body2 {
134
107
  font-family: ${vr.fontFamily};
135
108
  font-size: ${vr.fontSize};
136
109
  font-weight: ${vr.fontWeight};
@@ -138,47 +111,74 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
138
111
  line-height: ${vr.lineHeight};
139
112
  text-transform: ${vr.textTransform};
140
113
  }
141
- `,Mc=k`
114
+ `,Bc=k`
115
+ .ft-typography--caption {
116
+ font-family: ${Sr.fontFamily};
117
+ font-size: ${Sr.fontSize};
118
+ font-weight: ${Sr.fontWeight};
119
+ letter-spacing: ${Sr.letterSpacing};
120
+ line-height: ${Sr.lineHeight};
121
+ text-transform: ${Sr.textTransform};
122
+ }
123
+ `,Fc=k`
124
+ .ft-typography--breadcrumb {
125
+ font-family: ${Or.fontFamily};
126
+ font-size: ${Or.fontSize};
127
+ font-weight: ${Or.fontWeight};
128
+ letter-spacing: ${Or.letterSpacing};
129
+ line-height: ${Or.lineHeight};
130
+ text-transform: ${Or.textTransform};
131
+ }
132
+ `,Wc=k`
133
+ .ft-typography--overline {
134
+ font-family: ${Cr.fontFamily};
135
+ font-size: ${Cr.fontSize};
136
+ font-weight: ${Cr.fontWeight};
137
+ letter-spacing: ${Cr.letterSpacing};
138
+ line-height: ${Cr.lineHeight};
139
+ text-transform: ${Cr.textTransform};
140
+ }
141
+ `,Hc=k`
142
142
  .ft-typography--button {
143
- font-family: ${Ze.fontFamily};
144
- font-size: ${Ze.fontSize};
145
- font-weight: ${Ze.fontWeight};
146
- letter-spacing: ${Ze.letterSpacing};
147
- line-height: ${Ze.lineHeight};
148
- text-transform: ${Ze.textTransform};
149
- }
150
- `,Uc=k`
143
+ font-family: ${qe.fontFamily};
144
+ font-size: ${qe.fontSize};
145
+ font-weight: ${qe.fontWeight};
146
+ letter-spacing: ${qe.letterSpacing};
147
+ line-height: ${qe.lineHeight};
148
+ text-transform: ${qe.textTransform};
149
+ }
150
+ `,zc=k`
151
151
  .ft-typography {
152
152
  vertical-align: inherit;
153
153
  }
154
- `,Bc=[Object.keys(Br).map(t=>Ac(t))];var Fc=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},we=class extends K{constructor(){super(...arguments),this.variant=vt.body1}render(){return this.element?Ui`
155
- <${Mi(this.element)}
154
+ `,jc=[Object.keys(Hr).map(t=>Lc(t))];var Vc=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},we=class extends K{constructor(){super(...arguments),this.variant=vt.body1}render(){return this.element?Fi`
155
+ <${Bi(this.element)}
156
156
  part="text"
157
157
  class="ft-typography ft-typography--${this.variant}">
158
158
  <slot></slot>
159
- </${Mi(this.element)}>
160
- `:Ui`
159
+ </${Bi(this.element)}>
160
+ `:Fi`
161
161
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
162
- `}};we.styles=[Nc,_c,Tc,Lc,Ic,Pc,$c,kc,Dc,Mc,Uc,...Bc];Fc([w()],we.prototype,"element",void 0);Fc([w()],we.prototype,"variant",void 0);Q("ft-typography")(we);var ef={outlineColor:o.extend("--ft-reader-internal-link-outline-color","",H.colorPrimary)},Wc=k`
162
+ `}};we.styles=[Ic,$c,kc,Dc,Mc,Uc,Bc,Fc,Wc,Hc,zc,...jc];Vc([A()],we.prototype,"element",void 0);Vc([A()],we.prototype,"variant",void 0);Q("ft-typography")(we);var af={outlineColor:o.extend("--ft-reader-internal-link-outline-color","",z.colorPrimary)},Gc=k`
163
163
  :host {
164
164
  display: contents;
165
165
  }
166
166
 
167
167
  a:focus {
168
- outline-color: ${ef.outlineColor};
168
+ outline-color: ${af.outlineColor};
169
169
  }
170
170
 
171
171
  .ft-reader-link--remove-style {
172
172
  text-decoration: none;
173
173
  color: inherit;
174
174
  }
175
- `;var tn=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},$e=class extends pr{constructor(){super(...arguments),this.removeStyle=!1}render(){var e;let r=Fe({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return j`
175
+ `;var tn=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Me=class extends hr{constructor(){super(...arguments),this.removeStyle=!1}render(){var e;let r=ze({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return V`
176
176
  <a class=${r}
177
177
  href="${(e=this.service)===null||e===void 0?void 0:e.getLink(this.tocId,this.pageNumber,this.section)}"
178
178
  @click=${n=>this.onLinkClick(n)}>
179
179
  <slot></slot>
180
180
  </a>
181
- `}onLinkClick(e){var r;!e.ctrlKey&&!e.metaKey&&(e.stopPropagation(),e.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};$e.styles=Wc;tn([w()],$e.prototype,"tocId",void 0);tn([w()],$e.prototype,"section",void 0);tn([w({type:Number})],$e.prototype,"pageNumber",void 0);tn([w({type:Boolean})],$e.prototype,"removeStyle",void 0);Q("ft-reader-internal-link")($e);var rn;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(rn||(rn={}));var _;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(_||(_={}));var $v=new Map([...["abw"].map(t=>[t,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,_.AUDIO]),...["avi"].map(t=>[t,_.AVI]),...["chm","xhs"].map(t=>[t,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,_.CODE]),...["csv"].map(t=>[t,_.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,_.DITA]),...["epub"].map(t=>[t,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,_.EXCEL]),...["flac"].map(t=>[t,_.FLAC]),...["gif"].map(t=>[t,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,_.GZIP]),...["html","htm","xhtml"].map(t=>[t,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,_.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,_.JPEG]),...["json"].map(t=>[t,_.JSON]),...["m4a","m4p"].map(t=>[t,_.M4A]),...["mov","qt"].map(t=>[t,_.MOV]),...["mp3"].map(t=>[t,_.MP3]),...["mp4","m4v"].map(t=>[t,_.MP4]),...["ogg","oga"].map(t=>[t,_.OGG]),...["pdf","ps"].map(t=>[t,_.PDF]),...["png"].map(t=>[t,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,_.POWERPOINT]),...["rar"].map(t=>[t,_.RAR]),...["stp"].map(t=>[t,_.STP]),...["txt","rtf","md","mdown"].map(t=>[t,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,_.VIDEO]),...["wav"].map(t=>[t,_.WAV]),...["wma"].map(t=>[t,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,_.WORD]),...["xml","xsl","rdf"].map(t=>[t,_.XML]),...["yaml","yml","x-yaml"].map(t=>[t,_.YAML]),...["zip"].map(t=>[t,_.ZIP])]);var kv={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var me={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Hc=k`
181
+ `}onLinkClick(e){var r;!e.ctrlKey&&!e.metaKey&&(e.stopPropagation(),e.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Me.styles=Gc;tn([A()],Me.prototype,"tocId",void 0);tn([A()],Me.prototype,"section",void 0);tn([A({type:Number})],Me.prototype,"pageNumber",void 0);tn([A({type:Boolean})],Me.prototype,"removeStyle",void 0);Q("ft-reader-internal-link")(Me);var rn;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(rn||(rn={}));var T;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(T||(T={}));var Uv=new Map([...["abw"].map(t=>[t,T.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,T.AUDIO]),...["avi"].map(t=>[t,T.AVI]),...["chm","xhs"].map(t=>[t,T.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,T.CODE]),...["csv"].map(t=>[t,T.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,T.DITA]),...["epub"].map(t=>[t,T.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,T.EXCEL]),...["flac"].map(t=>[t,T.FLAC]),...["gif"].map(t=>[t,T.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,T.GZIP]),...["html","htm","xhtml"].map(t=>[t,T.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,T.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,T.JPEG]),...["json"].map(t=>[t,T.JSON]),...["m4a","m4p"].map(t=>[t,T.M4A]),...["mov","qt"].map(t=>[t,T.MOV]),...["mp3"].map(t=>[t,T.MP3]),...["mp4","m4v"].map(t=>[t,T.MP4]),...["ogg","oga"].map(t=>[t,T.OGG]),...["pdf","ps"].map(t=>[t,T.PDF]),...["png"].map(t=>[t,T.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,T.POWERPOINT]),...["rar"].map(t=>[t,T.RAR]),...["stp"].map(t=>[t,T.STP]),...["txt","rtf","md","mdown"].map(t=>[t,T.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,T.VIDEO]),...["wav"].map(t=>[t,T.WAV]),...["wma"].map(t=>[t,T.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,T.WORD]),...["xml","xsl","rdf"].map(t=>[t,T.XML]),...["yaml","yml","x-yaml"].map(t=>[t,T.YAML]),...["zip"].map(t=>[t,T.ZIP])]);var Bv={[T.ABW]:"#91ABC6",[T.AUDIO]:"#1795E3",[T.AVI]:"#E63324",[T.CHM]:"#71C3EB",[T.CODE]:"#71C3EB",[T.CSV]:"#1F7345",[T.DITA]:"#71C3EB",[T.EPUB]:"#85B926",[T.EXCEL]:"#1F7345",[T.FLAC]:"#1795E3",[T.GIF]:"#59B031",[T.GZIP]:"#F8AB36",[T.HTML]:"#71C3EB",[T.IMAGE]:"#59B031",[T.JPEG]:"#59B031",[T.JSON]:"#71C3EB",[T.M4A]:"#1795E3",[T.MOV]:"#E63324",[T.MP3]:"#1795E3",[T.MP4]:"#E63324",[T.OGG]:"#1795E3",[T.PDF]:"#E44948",[T.PNG]:"#59B031",[T.POWERPOINT]:"#B54A2B",[T.RAR]:"#F8AB36",[T.STP]:"#3764B1",[T.TEXT]:"#3162AB",[T.UNKNOWN]:"#999999",[T.VIDEO]:"#E63324",[T.WAV]:"#1795E3",[T.WMA]:"#1795E3",[T.WORD]:"#3162AB",[T.XML]:"#71C3EB",[T.YAML]:"#71C3EB",[T.ZIP]:"#F8AB36"};var me={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Kc=k`
182
182
  :host, i.ft-icon {
183
183
  display: inline-flex;
184
184
  align-items: center;
@@ -226,12 +226,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
226
226
  .ft-icon--material {
227
227
  font-family: ${me.materialFontFamily}, "Material Icons", sans-serif;
228
228
  }
229
- `;var Ae;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ae||(Ae={}));var on=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},be=class extends K{constructor(){super(...arguments),this.resolvedIcon=q}render(){let e=this.variant&&Object.values(Ae).includes(this.variant)?this.variant:Ae.fluid_topics,r=e!==Ae.material||!!this.value;return j`
229
+ `;var Re;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Re||(Re={}));var on=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},xe=class extends K{constructor(){super(...arguments),this.resolvedIcon=q}render(){let e=this.variant&&Object.values(Re).includes(this.variant)?this.variant:Re.fluid_topics,r=e!==Re.material||!!this.value;return V`
230
230
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
231
231
  ${kn(this.resolvedIcon)}
232
232
  <slot ?hidden=${r}></slot>
233
233
  </i>
234
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Ae.file_format:this.resolvedIcon=(e=_[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ae.material:this.resolvedIcon=this.value||q;break;default:this.resolvedIcon=(r=rn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};be.elementDefinitions={};be.styles=Hc;on([w()],be.prototype,"variant",void 0);on([w()],be.prototype,"value",void 0);on([J()],be.prototype,"resolvedIcon",void 0);on([ue("slot")],be.prototype,"slottedContent",void 0);Q("ft-icon")(be);var zc=o.extend("--ft-ripple-color","",H.colorContent),R={color:zc,backgroundColor:o.extend("--ft-ripple-background-color","",zc),opacityContentOnSurfacePressed:o.external(H.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(H.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(H.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(H.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Vc=o.extend("--ft-ripple-color","",H.colorPrimary),jc={color:Vc,backgroundColor:o.extend("--ft-ripple-background-color","",Vc)},Gc=o.extend("--ft-ripple-color","",H.colorSecondary),Kc={color:Gc,backgroundColor:o.extend("--ft-ripple-background-color","",Gc)},Zc=k`
234
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Re.file_format:this.resolvedIcon=(e=T[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Re.material:this.resolvedIcon=this.value||q;break;default:this.resolvedIcon=(r=rn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};xe.elementDefinitions={};xe.styles=Kc;on([A()],xe.prototype,"variant",void 0);on([A()],xe.prototype,"value",void 0);on([J()],xe.prototype,"resolvedIcon",void 0);on([ue("slot")],xe.prototype,"slottedContent",void 0);Q("ft-icon")(xe);var Zc=o.extend("--ft-ripple-color","",z.colorContent),_={color:Zc,backgroundColor:o.extend("--ft-ripple-background-color","",Zc),opacityContentOnSurfacePressed:o.external(z.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(z.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(z.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(z.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},qc=o.extend("--ft-ripple-color","",z.colorPrimary),Yc={color:qc,backgroundColor:o.extend("--ft-ripple-background-color","",qc)},Xc=o.extend("--ft-ripple-color","",z.colorSecondary),Jc={color:Xc,backgroundColor:o.extend("--ft-ripple-background-color","",Xc)},Qc=k`
235
235
  :host {
236
236
  display: contents;
237
237
  }
@@ -244,7 +244,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
244
244
 
245
245
  .ft-ripple:not(.ft-ripple--unbounded) {
246
246
  overflow: hidden;
247
- border-radius: ${R.borderRadius};
247
+ border-radius: ${_.borderRadius};
248
248
  }
249
249
 
250
250
  .ft-ripple .ft-ripple--background,
@@ -278,27 +278,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
278
278
  }
279
279
 
280
280
  .ft-ripple .ft-ripple--background {
281
- background-color: ${R.backgroundColor};
281
+ background-color: ${_.backgroundColor};
282
282
  }
283
283
 
284
284
  .ft-ripple .ft-ripple--effect {
285
- background-color: ${R.color};
285
+ background-color: ${_.color};
286
286
  }
287
287
 
288
288
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
289
- background-color: ${Kc.backgroundColor};
289
+ background-color: ${Jc.backgroundColor};
290
290
  }
291
291
 
292
292
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
293
- background-color: ${Kc.color};
293
+ background-color: ${Jc.color};
294
294
  }
295
295
 
296
296
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
297
- background-color: ${jc.backgroundColor};
297
+ background-color: ${Yc.backgroundColor};
298
298
  }
299
299
 
300
300
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
301
- background-color: ${jc.color};
301
+ background-color: ${Yc.color};
302
302
  }
303
303
 
304
304
  .ft-ripple .ft-ripple--background {
@@ -328,22 +328,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
328
328
  }
329
329
 
330
330
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
331
- opacity: ${R.opacityContentOnSurfaceHover};
331
+ opacity: ${_.opacityContentOnSurfaceHover};
332
332
  }
333
333
 
334
334
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
335
- opacity: ${R.opacityContentOnSurfaceSelected};
335
+ opacity: ${_.opacityContentOnSurfaceSelected};
336
336
  }
337
337
 
338
338
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
339
- opacity: ${R.opacityContentOnSurfaceFocused};
339
+ opacity: ${_.opacityContentOnSurfaceFocused};
340
340
  }
341
341
 
342
342
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
343
- opacity: ${R.opacityContentOnSurfacePressed};
343
+ opacity: ${_.opacityContentOnSurfacePressed};
344
344
  transform: translate(-50%, -50%) scale(1);
345
345
  }
346
- `;var te={color:o.extend("--ft-loader-color","",H.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},qc=k`
346
+ `;var te={color:o.extend("--ft-loader-color","",z.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},ed=k`
347
347
  :host {
348
348
  line-height: 0;
349
349
  }
@@ -412,7 +412,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
412
412
  transform: translate(calc(0.35 * ${te.size}), 0);
413
413
  }
414
414
  }
415
- `;var Yc=o.extend("--ft-button-color","",H.colorPrimary),re={backgroundColor:o.extend("--ft-button-background-color","",H.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",H.borderRadiusL),color:Yc,fontSize:o.extend("--ft-button-font-size","",Ze.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Yc),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(H.colorOpacityDisabled,"Design system")},Xc=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",H.colorOnPrimary)),Bi={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",H.colorPrimary)),color:Xc,rippleColor:o.extend("--ft-button-primary-ripple-color","",Xc)},qe={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",H.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Jc=[k`
415
+ `;var td=o.extend("--ft-button-color","",z.colorPrimary),re={backgroundColor:o.extend("--ft-button-background-color","",z.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",z.borderRadiusL),color:td,fontSize:o.extend("--ft-button-font-size","",qe.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",td),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(z.colorOpacityDisabled,"Design system")},rd=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",z.colorOnPrimary)),Wi={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",z.colorPrimary)),color:rd,rippleColor:o.extend("--ft-button-primary-ripple-color","",rd)},Ye={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",z.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},od=[k`
416
416
  :host {
417
417
  display: inline-block;
418
418
  max-width: 100%;
@@ -455,8 +455,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
455
455
 
456
456
  --ft-button-internal-line-height: max(calc(${re.fontSize} + 2px), ${re.iconSize});
457
457
  --ft-button-internal-color: ${re.color};
458
- ${A(me.size,re.iconSize)};
459
- ${A(R.color,re.rippleColor)};
458
+ ${w(me.size,re.iconSize)};
459
+ ${w(_.color,re.rippleColor)};
460
460
 
461
461
  border-radius: ${re.borderRadius};
462
462
  padding: ${re.verticalPadding} ${re.horizontalPadding};
@@ -471,13 +471,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
471
471
  }
472
472
 
473
473
  .ft-button.ft-button--dense {
474
- padding: ${qe.verticalPadding} ${qe.horizontalPadding};
475
- border-radius: ${qe.borderRadius};
476
- gap: ${qe.iconPadding};
474
+ padding: ${Ye.verticalPadding} ${Ye.horizontalPadding};
475
+ border-radius: ${Ye.borderRadius};
476
+ gap: ${Ye.iconPadding};
477
477
  }
478
478
 
479
479
  .ft-button.ft-button--dense.ft-button--outlined {
480
- padding: calc(${qe.verticalPadding} - 1px) calc(${qe.horizontalPadding} - 1px);
480
+ padding: calc(${Ye.verticalPadding} - 1px) calc(${Ye.horizontalPadding} - 1px);
481
481
  }
482
482
 
483
483
  .ft-button:not([disabled]):hover {
@@ -489,7 +489,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
489
489
  }
490
490
 
491
491
  .ft-button--round.ft-button--dense {
492
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${qe.verticalPadding});
492
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ye.verticalPadding});
493
493
  }
494
494
 
495
495
  .ft-button[disabled] {
@@ -498,9 +498,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
498
498
  }
499
499
 
500
500
  .ft-button.ft-button--primary {
501
- background-color: ${Bi.backgroundColor};
502
- --ft-button-internal-color: ${Bi.color};
503
- ${A(R.color,Bi.rippleColor)};
501
+ background-color: ${Wi.backgroundColor};
502
+ --ft-button-internal-color: ${Wi.color};
503
+ ${w(_.color,Wi.rippleColor)};
504
504
  }
505
505
 
506
506
  .ft-button:focus {
@@ -514,12 +514,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
514
514
  text-overflow: ellipsis;
515
515
  display: block;
516
516
  margin: 0 ${re.iconPadding};
517
- ${A(Ze.fontSize,"1em")};
518
- ${A(Ze.lineHeight,"var(--ft-button-internal-line-height)")};
517
+ ${w(qe.fontSize,"1em")};
518
+ ${w(qe.lineHeight,"var(--ft-button-internal-line-height)")};
519
519
  }
520
520
 
521
521
  .ft-button--dense .ft-button--label {
522
- margin: 0 ${qe.iconPadding};
522
+ margin: 0 ${Ye.iconPadding};
523
523
  }
524
524
 
525
525
  .ft-button--label[hidden] {
@@ -537,8 +537,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
537
537
  }
538
538
 
539
539
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
540
- margin: 0 calc(${qe.horizontalPadding} * -1);
541
- padding: 0 ${qe.verticalPadding};
540
+ margin: 0 calc(${Ye.horizontalPadding} * -1);
541
+ padding: 0 ${Ye.verticalPadding};
542
542
  }
543
543
 
544
544
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -546,21 +546,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
546
546
  }
547
547
 
548
548
  ft-loader {
549
- ${A(te.size,re.iconSize)};
550
- ${A(te.color,"var(--ft-button-internal-color)")};
549
+ ${w(te.size,re.iconSize)};
550
+ ${w(te.color,"var(--ft-button-internal-color)")};
551
551
  }
552
- `,Yr];var xe=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ne=class extends K{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ye(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ye(10),this.moveRipple=e=>{var r,n;let{x:a,y:i}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return j`
552
+ `,Jr];var ve=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ne=class extends K{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ye(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ye(10),this.moveRipple=e=>{var r,n;let{x:a,y:i}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return V`
553
553
  <style>
554
554
  .ft-ripple .ft-ripple--effect {
555
555
  left: ${this.originX}px;
556
556
  top: ${this.originY}px;
557
557
  }
558
558
  </style>
559
- <div class="${Fe(e)}">
559
+ <div class="${ze(e)}">
560
560
  <div class="ft-ripple--background"></div>
561
561
  <div class="ft-ripple--effect"></div>
562
562
  </div>
563
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ne.elementDefinitions={};ne.styles=Zc;xe([w({type:Boolean})],ne.prototype,"primary",void 0);xe([w({type:Boolean})],ne.prototype,"secondary",void 0);xe([w({type:Boolean})],ne.prototype,"unbounded",void 0);xe([w({type:Boolean})],ne.prototype,"activated",void 0);xe([w({type:Boolean})],ne.prototype,"selected",void 0);xe([w({type:Boolean})],ne.prototype,"disabled",void 0);xe([J()],ne.prototype,"hovered",void 0);xe([J()],ne.prototype,"focused",void 0);xe([J()],ne.prototype,"pressed",void 0);xe([J()],ne.prototype,"rippling",void 0);xe([J()],ne.prototype,"originX",void 0);xe([J()],ne.prototype,"originY",void 0);xe([ue(".ft-ripple")],ne.prototype,"ripple",void 0);xe([ue(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0);Q("ft-ripple")(ne);var Sr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(H.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Qc=k`
563
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ne.elementDefinitions={};ne.styles=Qc;ve([A({type:Boolean})],ne.prototype,"primary",void 0);ve([A({type:Boolean})],ne.prototype,"secondary",void 0);ve([A({type:Boolean})],ne.prototype,"unbounded",void 0);ve([A({type:Boolean})],ne.prototype,"activated",void 0);ve([A({type:Boolean})],ne.prototype,"selected",void 0);ve([A({type:Boolean})],ne.prototype,"disabled",void 0);ve([J()],ne.prototype,"hovered",void 0);ve([J()],ne.prototype,"focused",void 0);ve([J()],ne.prototype,"pressed",void 0);ve([J()],ne.prototype,"rippling",void 0);ve([J()],ne.prototype,"originX",void 0);ve([J()],ne.prototype,"originY",void 0);ve([ue(".ft-ripple")],ne.prototype,"ripple",void 0);ve([ue(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0);Q("ft-ripple")(ne);var Er={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(z.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},nd=k`
564
564
  .ft-tooltip--container {
565
565
  display: block;
566
566
  }
@@ -575,21 +575,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
575
575
  box-sizing: border-box;
576
576
  overflow: hidden;
577
577
  width: max-content;
578
- max-width: ${Sr.maxWidth};
578
+ max-width: ${Er.maxWidth};
579
579
  text-align: center;
580
- padding: ${Sr.distance};
581
- z-index: ${Sr.zIndex};
580
+ padding: ${Er.distance};
581
+ z-index: ${Er.zIndex};
582
582
  }
583
583
 
584
584
  .ft-tooltip--content {
585
585
  padding: 4px 8px;
586
- border-radius: ${Sr.borderRadiusS};
587
- background-color: ${Sr.backgroundColor};
588
- color: ${Sr.color};
586
+ border-radius: ${Er.borderRadiusS};
587
+ background-color: ${Er.backgroundColor};
588
+ color: ${Er.color};
589
589
  position: relative;
590
590
  word-break: break-word;
591
591
  }
592
- `;var ve=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ae=class extends K{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ye,this.revealDebouncer=new ye}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return j`
592
+ `;var Se=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ae=class extends K{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ye,this.revealDebouncer=new ye}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return V`
593
593
  <div part="container"
594
594
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
595
595
  @mouseenter=${this.onHover}
@@ -607,51 +607,51 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
607
607
  </div>
608
608
  </div>
609
609
  </div>
610
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ua(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};ae.elementDefinitions={"ft-typography":we};ae.styles=Qc;ve([w()],ae.prototype,"text",void 0);ve([w({type:Boolean})],ae.prototype,"manual",void 0);ve([w({type:Boolean})],ae.prototype,"inline",void 0);ve([w({type:Number})],ae.prototype,"delay",void 0);ve([w()],ae.prototype,"position",void 0);ve([_n()],ae.prototype,"slotNodes",void 0);ve([ue(".ft-tooltip--container")],ae.prototype,"container",void 0);ve([ue(".ft-tooltip")],ae.prototype,"tooltip",void 0);ve([ue(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);ve([J()],ae.prototype,"visible",void 0);ve([Yt({passive:!0})],ae.prototype,"onTouch",null);ve([Yt({passive:!0})],ae.prototype,"onHover",null);ve([Yt({passive:!0})],ae.prototype,"onOut",null);ve([Yt({passive:!0})],ae.prototype,"onClick",null);Q("ft-tooltip")(ae);var jt=class extends K{render(){return j`
610
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ba(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};ae.elementDefinitions={"ft-typography":we};ae.styles=nd;Se([A()],ae.prototype,"text",void 0);Se([A({type:Boolean})],ae.prototype,"manual",void 0);Se([A({type:Boolean})],ae.prototype,"inline",void 0);Se([A({type:Number})],ae.prototype,"delay",void 0);Se([A()],ae.prototype,"position",void 0);Se([Nn()],ae.prototype,"slotNodes",void 0);Se([ue(".ft-tooltip--container")],ae.prototype,"container",void 0);Se([ue(".ft-tooltip")],ae.prototype,"tooltip",void 0);Se([ue(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);Se([J()],ae.prototype,"visible",void 0);Se([Jt({passive:!0})],ae.prototype,"onTouch",null);Se([Jt({passive:!0})],ae.prototype,"onHover",null);Se([Jt({passive:!0})],ae.prototype,"onOut",null);Se([Jt({passive:!0})],ae.prototype,"onClick",null);Q("ft-tooltip")(ae);var Kt=class extends K{render(){return V`
611
611
  <div class="ft-loader">
612
612
  <div></div>
613
613
  <div></div>
614
614
  <div></div>
615
615
  <div></div>
616
616
  </div>
617
- `}};jt.styles=qc;Q("ft-loader")(jt);var pe=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},oe=class extends Ri(K,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let a=j`
617
+ `}};Kt.styles=ed;Q("ft-loader")(Kt);var pe=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},oe=class extends Ni(K,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let a=V`
618
618
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
619
619
  <ft-typography part="label"
620
620
  variant=${this.typographyVariant}
621
621
  element="span"
622
- class="ft-button--label ${$i?"ft-safari-ellipsis-fix":""}"
622
+ class="ft-button--label ${Di?"ft-safari-ellipsis-fix":""}"
623
623
  ?hidden=${!this.hasTextContent()}>
624
624
  <slot @slotchange=${this.onSlotchange}></slot>
625
625
  </ft-typography>
626
626
  ${this.resolveIcon()}
627
- `,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?j`
627
+ `,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?V`
628
628
  <a href="${i}"
629
629
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
630
630
  part="button"
631
- class="${Fe(this.buttonClasses)}"
631
+ class="${ze(this.buttonClasses)}"
632
632
  aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
633
633
  ?disabled=${this.isDisabled()}>
634
634
  ${a}
635
635
  </a>
636
- `:j`
636
+ `:V`
637
637
  <button part="button"
638
- class="${Fe(this.buttonClasses)}"
638
+ class="${ze(this.buttonClasses)}"
639
639
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
640
640
  ?disabled=${this.isDisabled()}>
641
641
  ${a}
642
642
  </button>
643
- `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?j`
643
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?V`
644
644
  <ft-tooltip part="tooltip"
645
645
  text="${this.getLabel()}"
646
646
  position="${this.tooltipPosition}">
647
647
  ${e}
648
648
  </ft-tooltip>
649
- `:e}resolveIcon(){return this.loading?j`
650
- <ft-loader part="loader icon"></ft-loader> `:this.icon?j`
649
+ `:e}resolveIcon(){return this.loading?V`
650
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?V`
651
651
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
652
- `:j`
652
+ `:V`
653
653
  <slot part="icon" name="icon"></slot>
654
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return Do(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};oe.elementDefinitions={"ft-ripple":ne,"ft-tooltip":ae,"ft-typography":we,"ft-icon":be,"ft-loader":jt};pe([w()],oe.prototype,"href",void 0);pe([w()],oe.prototype,"target",void 0);pe([w({type:String,reflect:!0})],oe.prototype,"role",void 0);pe([w()],oe.prototype,"type",void 0);pe([w({type:Boolean})],oe.prototype,"disabled",void 0);pe([w()],oe.prototype,"label",void 0);pe([w()],oe.prototype,"icon",void 0);pe([w()],oe.prototype,"iconVariant",void 0);pe([w({type:Boolean})],oe.prototype,"trailingIcon",void 0);pe([w({type:Boolean})],oe.prototype,"loading",void 0);pe([w({attribute:"aria-label"})],oe.prototype,"ariaLabel",void 0);pe([w()],oe.prototype,"tooltipPosition",void 0);pe([w({type:Boolean})],oe.prototype,"hideTooltip",void 0);pe([w({type:Boolean})],oe.prototype,"forceTooltip",void 0);pe([ue(".ft-button")],oe.prototype,"button",void 0);pe([ue(".ft-button--label slot")],oe.prototype,"slottedContent",void 0);pe([ue("[part=tooltip]")],oe.prototype,"tooltip",void 0);var nn=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ke=class extends oe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ke.styles=[Xr,Jc];nn([w({type:Boolean})],ke.prototype,"primary",void 0);nn([w({type:Boolean})],ke.prototype,"outlined",void 0);nn([w({type:Boolean})],ke.prototype,"dense",void 0);nn([w({type:Boolean})],ke.prototype,"round",void 0);var ed=[k`
654
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return Mo(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};oe.elementDefinitions={"ft-ripple":ne,"ft-tooltip":ae,"ft-typography":we,"ft-icon":xe,"ft-loader":Kt};pe([A()],oe.prototype,"href",void 0);pe([A()],oe.prototype,"target",void 0);pe([A({type:String,reflect:!0})],oe.prototype,"role",void 0);pe([A()],oe.prototype,"type",void 0);pe([A({type:Boolean})],oe.prototype,"disabled",void 0);pe([A()],oe.prototype,"label",void 0);pe([A()],oe.prototype,"icon",void 0);pe([A()],oe.prototype,"iconVariant",void 0);pe([A({type:Boolean})],oe.prototype,"trailingIcon",void 0);pe([A({type:Boolean})],oe.prototype,"loading",void 0);pe([A({attribute:"aria-label"})],oe.prototype,"ariaLabel",void 0);pe([A()],oe.prototype,"tooltipPosition",void 0);pe([A({type:Boolean})],oe.prototype,"hideTooltip",void 0);pe([A({type:Boolean})],oe.prototype,"forceTooltip",void 0);pe([ue(".ft-button")],oe.prototype,"button",void 0);pe([ue(".ft-button--label slot")],oe.prototype,"slottedContent",void 0);pe([ue("[part=tooltip]")],oe.prototype,"tooltip",void 0);var nn=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ue=class extends oe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ue.styles=[Qr,od];nn([A({type:Boolean})],Ue.prototype,"primary",void 0);nn([A({type:Boolean})],Ue.prototype,"outlined",void 0);nn([A({type:Boolean})],Ue.prototype,"dense",void 0);nn([A({type:Boolean})],Ue.prototype,"round",void 0);var ad=[k`
655
655
  :host {
656
656
  display: inline-block;
657
657
  max-width: 100%;
@@ -736,13 +736,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
736
736
  /** Brand Primary styles **/
737
737
 
738
738
  .ftds--family-brand.ft-button--primary {
739
- ${A(te.color,g.primaryBrandIconColor)};
739
+ ${w(te.color,g.primaryBrandIconColor)};
740
740
 
741
- ${A(R.color,g.primaryBrandStateLayerColor)};
742
- ${A(R.opacityContentOnSurfaceHover,g.primaryBrandHoverStateLayerOpacity)};
743
- ${A(R.opacityContentOnSurfaceFocused,g.primaryBrandFocusStateLayerOpacity)};
744
- ${A(R.opacityContentOnSurfaceSelected,g.primaryBrandActiveStateLayerOpacity)};
745
- ${A(R.opacityContentOnSurfacePressed,g.primaryBrandActiveStateLayerOpacity)};
741
+ ${w(_.color,g.primaryBrandStateLayerColor)};
742
+ ${w(_.opacityContentOnSurfaceHover,g.primaryBrandHoverStateLayerOpacity)};
743
+ ${w(_.opacityContentOnSurfaceFocused,g.primaryBrandFocusStateLayerOpacity)};
744
+ ${w(_.opacityContentOnSurfaceSelected,g.primaryBrandActiveStateLayerOpacity)};
745
+ ${w(_.opacityContentOnSurfacePressed,g.primaryBrandActiveStateLayerOpacity)};
746
746
 
747
747
  background-color: ${g.primaryBrandBackgroundColor};
748
748
  color: ${g.primaryBrandColor};
@@ -760,13 +760,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
760
760
  /** Brand Secondary styles **/
761
761
 
762
762
  .ftds--family-brand.ft-button--secondary {
763
- ${A(te.color,g.secondaryBrandIconColor)};
763
+ ${w(te.color,g.secondaryBrandIconColor)};
764
764
 
765
- ${A(R.color,g.secondaryBrandStateLayerColor)};
766
- ${A(R.opacityContentOnSurfaceHover,g.secondaryBrandHoverStateLayerOpacity)};
767
- ${A(R.opacityContentOnSurfaceFocused,g.secondaryBrandFocusStateLayerOpacity)};
768
- ${A(R.opacityContentOnSurfaceSelected,g.secondaryBrandActiveStateLayerOpacity)};
769
- ${A(R.opacityContentOnSurfacePressed,g.secondaryBrandActiveStateLayerOpacity)};
765
+ ${w(_.color,g.secondaryBrandStateLayerColor)};
766
+ ${w(_.opacityContentOnSurfaceHover,g.secondaryBrandHoverStateLayerOpacity)};
767
+ ${w(_.opacityContentOnSurfaceFocused,g.secondaryBrandFocusStateLayerOpacity)};
768
+ ${w(_.opacityContentOnSurfaceSelected,g.secondaryBrandActiveStateLayerOpacity)};
769
+ ${w(_.opacityContentOnSurfacePressed,g.secondaryBrandActiveStateLayerOpacity)};
770
770
 
771
771
  background-color: ${g.secondaryBrandBackgroundColor};
772
772
  color: ${g.secondaryBrandColor};
@@ -785,13 +785,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
785
785
  /** Brand Tertiary styles **/
786
786
 
787
787
  .ftds--family-brand.ft-button--tertiary {
788
- ${A(te.color,g.tertiaryBrandIconColor)};
788
+ ${w(te.color,g.tertiaryBrandIconColor)};
789
789
 
790
- ${A(R.color,g.tertiaryBrandStateLayerColor)};
791
- ${A(R.opacityContentOnSurfaceHover,g.tertiaryBrandHoverStateLayerOpacity)};
792
- ${A(R.opacityContentOnSurfaceFocused,g.tertiaryBrandFocusStateLayerOpacity)};
793
- ${A(R.opacityContentOnSurfaceSelected,g.tertiaryBrandActiveStateLayerOpacity)};
794
- ${A(R.opacityContentOnSurfacePressed,g.tertiaryBrandActiveStateLayerOpacity)};
790
+ ${w(_.color,g.tertiaryBrandStateLayerColor)};
791
+ ${w(_.opacityContentOnSurfaceHover,g.tertiaryBrandHoverStateLayerOpacity)};
792
+ ${w(_.opacityContentOnSurfaceFocused,g.tertiaryBrandFocusStateLayerOpacity)};
793
+ ${w(_.opacityContentOnSurfaceSelected,g.tertiaryBrandActiveStateLayerOpacity)};
794
+ ${w(_.opacityContentOnSurfacePressed,g.tertiaryBrandActiveStateLayerOpacity)};
795
795
 
796
796
  background-color: ${g.tertiaryBrandBackgroundColor};
797
797
  color: ${g.tertiaryBrandColor};
@@ -809,13 +809,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
809
809
  /** Neutral Secondary styles **/
810
810
 
811
811
  .ftds--family-neutral.ft-button--secondary {
812
- ${A(te.color,g.secondaryNeutralIconColor)};
812
+ ${w(te.color,g.secondaryNeutralIconColor)};
813
813
 
814
- ${A(R.backgroundColor,g.secondaryNeutralStateLayerColor)};
815
- ${A(R.opacityContentOnSurfaceHover,g.secondaryNeutralHoverStateLayerOpacity)};
816
- ${A(R.opacityContentOnSurfaceFocused,g.secondaryNeutralFocusStateLayerOpacity)};
817
- ${A(R.opacityContentOnSurfaceSelected,g.secondaryNeutralActiveStateLayerOpacity)};
818
- ${A(R.opacityContentOnSurfacePressed,g.secondaryNeutralActiveStateLayerOpacity)};
814
+ ${w(_.backgroundColor,g.secondaryNeutralStateLayerColor)};
815
+ ${w(_.opacityContentOnSurfaceHover,g.secondaryNeutralHoverStateLayerOpacity)};
816
+ ${w(_.opacityContentOnSurfaceFocused,g.secondaryNeutralFocusStateLayerOpacity)};
817
+ ${w(_.opacityContentOnSurfaceSelected,g.secondaryNeutralActiveStateLayerOpacity)};
818
+ ${w(_.opacityContentOnSurfacePressed,g.secondaryNeutralActiveStateLayerOpacity)};
819
819
 
820
820
  background-color: ${g.secondaryNeutralBackgroundColor};
821
821
  color: ${g.secondaryNeutralColor};
@@ -834,13 +834,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
834
834
  /** Neutral Tertiary styles **/
835
835
 
836
836
  .ftds--family-neutral.ft-button--tertiary {
837
- ${A(te.color,g.tertiaryNeutralIconColor)};
837
+ ${w(te.color,g.tertiaryNeutralIconColor)};
838
838
 
839
- ${A(R.backgroundColor,g.tertiaryNeutralStateLayerColor)};
840
- ${A(R.opacityContentOnSurfaceHover,g.tertiaryNeutralHoverStateLayerOpacity)};
841
- ${A(R.opacityContentOnSurfaceFocused,g.tertiaryNeutralFocusStateLayerOpacity)};
842
- ${A(R.opacityContentOnSurfaceSelected,g.tertiaryNeutralActiveStateLayerOpacity)};
843
- ${A(R.opacityContentOnSurfacePressed,g.tertiaryNeutralActiveStateLayerOpacity)};
839
+ ${w(_.backgroundColor,g.tertiaryNeutralStateLayerColor)};
840
+ ${w(_.opacityContentOnSurfaceHover,g.tertiaryNeutralHoverStateLayerOpacity)};
841
+ ${w(_.opacityContentOnSurfaceFocused,g.tertiaryNeutralFocusStateLayerOpacity)};
842
+ ${w(_.opacityContentOnSurfaceSelected,g.tertiaryNeutralActiveStateLayerOpacity)};
843
+ ${w(_.opacityContentOnSurfacePressed,g.tertiaryNeutralActiveStateLayerOpacity)};
844
844
 
845
845
  background-color: ${g.tertiaryNeutralBackgroundColor};
846
846
  color: ${g.tertiaryNeutralColor};
@@ -858,13 +858,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
858
858
  /** Info Secondary styles **/
859
859
 
860
860
  .ftds--family-info.ft-button--secondary {
861
- ${A(te.color,g.secondaryInfoIconColor)};
861
+ ${w(te.color,g.secondaryInfoIconColor)};
862
862
 
863
- ${A(R.backgroundColor,g.secondaryInfoStateLayerColor)};
864
- ${A(R.opacityContentOnSurfaceHover,g.secondaryInfoHoverStateLayerOpacity)};
865
- ${A(R.opacityContentOnSurfaceFocused,g.secondaryInfoFocusStateLayerOpacity)};
866
- ${A(R.opacityContentOnSurfaceSelected,g.secondaryInfoActiveStateLayerOpacity)};
867
- ${A(R.opacityContentOnSurfacePressed,g.secondaryInfoActiveStateLayerOpacity)};
863
+ ${w(_.backgroundColor,g.secondaryInfoStateLayerColor)};
864
+ ${w(_.opacityContentOnSurfaceHover,g.secondaryInfoHoverStateLayerOpacity)};
865
+ ${w(_.opacityContentOnSurfaceFocused,g.secondaryInfoFocusStateLayerOpacity)};
866
+ ${w(_.opacityContentOnSurfaceSelected,g.secondaryInfoActiveStateLayerOpacity)};
867
+ ${w(_.opacityContentOnSurfacePressed,g.secondaryInfoActiveStateLayerOpacity)};
868
868
 
869
869
  background-color: ${g.secondaryInfoBackgroundColor};
870
870
  color: ${g.secondaryInfoColor};
@@ -883,13 +883,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
883
883
  /** Info Tertiary styles **/
884
884
 
885
885
  .ftds--family-info.ft-button--tertiary {
886
- ${A(te.color,g.tertiaryInfoIconColor)};
886
+ ${w(te.color,g.tertiaryInfoIconColor)};
887
887
 
888
- ${A(R.backgroundColor,g.tertiaryInfoStateLayerColor)};
889
- ${A(R.opacityContentOnSurfaceHover,g.tertiaryInfoHoverStateLayerOpacity)};
890
- ${A(R.opacityContentOnSurfaceFocused,g.tertiaryInfoFocusStateLayerOpacity)};
891
- ${A(R.opacityContentOnSurfaceSelected,g.tertiaryInfoActiveStateLayerOpacity)};
892
- ${A(R.opacityContentOnSurfacePressed,g.tertiaryInfoActiveStateLayerOpacity)};
888
+ ${w(_.backgroundColor,g.tertiaryInfoStateLayerColor)};
889
+ ${w(_.opacityContentOnSurfaceHover,g.tertiaryInfoHoverStateLayerOpacity)};
890
+ ${w(_.opacityContentOnSurfaceFocused,g.tertiaryInfoFocusStateLayerOpacity)};
891
+ ${w(_.opacityContentOnSurfaceSelected,g.tertiaryInfoActiveStateLayerOpacity)};
892
+ ${w(_.opacityContentOnSurfacePressed,g.tertiaryInfoActiveStateLayerOpacity)};
893
893
 
894
894
  background-color: ${g.tertiaryInfoBackgroundColor};
895
895
  color: ${g.tertiaryInfoColor};
@@ -907,13 +907,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
907
907
  /** Success Secondary styles **/
908
908
 
909
909
  .ftds--family-success.ft-button--secondary {
910
- ${A(te.color,g.secondarySuccessIconColor)};
910
+ ${w(te.color,g.secondarySuccessIconColor)};
911
911
 
912
- ${A(R.backgroundColor,g.secondarySuccessStateLayerColor)};
913
- ${A(R.opacityContentOnSurfaceHover,g.secondarySuccessHoverStateLayerOpacity)};
914
- ${A(R.opacityContentOnSurfaceFocused,g.secondarySuccessFocusStateLayerOpacity)};
915
- ${A(R.opacityContentOnSurfaceSelected,g.secondarySuccessActiveStateLayerOpacity)};
916
- ${A(R.opacityContentOnSurfacePressed,g.secondarySuccessActiveStateLayerOpacity)};
912
+ ${w(_.backgroundColor,g.secondarySuccessStateLayerColor)};
913
+ ${w(_.opacityContentOnSurfaceHover,g.secondarySuccessHoverStateLayerOpacity)};
914
+ ${w(_.opacityContentOnSurfaceFocused,g.secondarySuccessFocusStateLayerOpacity)};
915
+ ${w(_.opacityContentOnSurfaceSelected,g.secondarySuccessActiveStateLayerOpacity)};
916
+ ${w(_.opacityContentOnSurfacePressed,g.secondarySuccessActiveStateLayerOpacity)};
917
917
 
918
918
  background-color: ${g.secondarySuccessBackgroundColor};
919
919
  color: ${g.secondarySuccessColor};
@@ -932,13 +932,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
932
932
  /** Success Tertiary styles **/
933
933
 
934
934
  .ftds--family-success.ft-button--tertiary {
935
- ${A(te.color,g.tertiarySuccessIconColor)};
935
+ ${w(te.color,g.tertiarySuccessIconColor)};
936
936
 
937
- ${A(R.backgroundColor,g.tertiarySuccessStateLayerColor)};
938
- ${A(R.opacityContentOnSurfaceHover,g.tertiarySuccessHoverStateLayerOpacity)};
939
- ${A(R.opacityContentOnSurfaceFocused,g.tertiarySuccessFocusStateLayerOpacity)};
940
- ${A(R.opacityContentOnSurfaceSelected,g.tertiarySuccessActiveStateLayerOpacity)};
941
- ${A(R.opacityContentOnSurfacePressed,g.tertiarySuccessActiveStateLayerOpacity)};
937
+ ${w(_.backgroundColor,g.tertiarySuccessStateLayerColor)};
938
+ ${w(_.opacityContentOnSurfaceHover,g.tertiarySuccessHoverStateLayerOpacity)};
939
+ ${w(_.opacityContentOnSurfaceFocused,g.tertiarySuccessFocusStateLayerOpacity)};
940
+ ${w(_.opacityContentOnSurfaceSelected,g.tertiarySuccessActiveStateLayerOpacity)};
941
+ ${w(_.opacityContentOnSurfacePressed,g.tertiarySuccessActiveStateLayerOpacity)};
942
942
 
943
943
  background-color: ${g.tertiarySuccessBackgroundColor};
944
944
  color: ${g.tertiarySuccessColor};
@@ -956,13 +956,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
956
956
  /** Warning Secondary styles **/
957
957
 
958
958
  .ftds--family-warning.ft-button--secondary {
959
- ${A(te.color,g.secondaryWarningIconColor)};
959
+ ${w(te.color,g.secondaryWarningIconColor)};
960
960
 
961
- ${A(R.backgroundColor,g.secondaryWarningStateLayerColor)};
962
- ${A(R.opacityContentOnSurfaceHover,g.secondaryWarningHoverStateLayerOpacity)};
963
- ${A(R.opacityContentOnSurfaceFocused,g.secondaryWarningFocusStateLayerOpacity)};
964
- ${A(R.opacityContentOnSurfaceSelected,g.secondaryWarningActiveStateLayerOpacity)};
965
- ${A(R.opacityContentOnSurfacePressed,g.secondaryWarningActiveStateLayerOpacity)};
961
+ ${w(_.backgroundColor,g.secondaryWarningStateLayerColor)};
962
+ ${w(_.opacityContentOnSurfaceHover,g.secondaryWarningHoverStateLayerOpacity)};
963
+ ${w(_.opacityContentOnSurfaceFocused,g.secondaryWarningFocusStateLayerOpacity)};
964
+ ${w(_.opacityContentOnSurfaceSelected,g.secondaryWarningActiveStateLayerOpacity)};
965
+ ${w(_.opacityContentOnSurfacePressed,g.secondaryWarningActiveStateLayerOpacity)};
966
966
 
967
967
  background-color: ${g.secondaryWarningBackgroundColor};
968
968
  color: ${g.secondaryWarningColor};
@@ -981,13 +981,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
981
981
  /** Warning Tertiary styles **/
982
982
 
983
983
  .ftds--family-warning.ft-button--tertiary {
984
- ${A(te.color,g.tertiaryWarningIconColor)};
984
+ ${w(te.color,g.tertiaryWarningIconColor)};
985
985
 
986
- ${A(R.backgroundColor,g.tertiaryWarningStateLayerColor)};
987
- ${A(R.opacityContentOnSurfaceHover,g.tertiaryWarningHoverStateLayerOpacity)};
988
- ${A(R.opacityContentOnSurfaceFocused,g.tertiaryWarningFocusStateLayerOpacity)};
989
- ${A(R.opacityContentOnSurfaceSelected,g.tertiaryWarningActiveStateLayerOpacity)};
990
- ${A(R.opacityContentOnSurfacePressed,g.tertiaryWarningActiveStateLayerOpacity)};
986
+ ${w(_.backgroundColor,g.tertiaryWarningStateLayerColor)};
987
+ ${w(_.opacityContentOnSurfaceHover,g.tertiaryWarningHoverStateLayerOpacity)};
988
+ ${w(_.opacityContentOnSurfaceFocused,g.tertiaryWarningFocusStateLayerOpacity)};
989
+ ${w(_.opacityContentOnSurfaceSelected,g.tertiaryWarningActiveStateLayerOpacity)};
990
+ ${w(_.opacityContentOnSurfacePressed,g.tertiaryWarningActiveStateLayerOpacity)};
991
991
 
992
992
  background-color: ${g.tertiaryWarningBackgroundColor};
993
993
  color: ${g.tertiaryWarningColor};
@@ -1005,13 +1005,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1005
1005
  /** Error Secondary styles **/
1006
1006
 
1007
1007
  .ftds--family-error.ft-button--secondary {
1008
- ${A(te.color,g.secondaryErrorIconColor)};
1008
+ ${w(te.color,g.secondaryErrorIconColor)};
1009
1009
 
1010
- ${A(R.backgroundColor,g.secondaryErrorStateLayerColor)};
1011
- ${A(R.opacityContentOnSurfaceHover,g.secondaryErrorHoverStateLayerOpacity)};
1012
- ${A(R.opacityContentOnSurfaceFocused,g.secondaryErrorFocusStateLayerOpacity)};
1013
- ${A(R.opacityContentOnSurfaceSelected,g.secondaryErrorActiveStateLayerOpacity)};
1014
- ${A(R.opacityContentOnSurfacePressed,g.secondaryErrorActiveStateLayerOpacity)};
1010
+ ${w(_.backgroundColor,g.secondaryErrorStateLayerColor)};
1011
+ ${w(_.opacityContentOnSurfaceHover,g.secondaryErrorHoverStateLayerOpacity)};
1012
+ ${w(_.opacityContentOnSurfaceFocused,g.secondaryErrorFocusStateLayerOpacity)};
1013
+ ${w(_.opacityContentOnSurfaceSelected,g.secondaryErrorActiveStateLayerOpacity)};
1014
+ ${w(_.opacityContentOnSurfacePressed,g.secondaryErrorActiveStateLayerOpacity)};
1015
1015
 
1016
1016
  background-color: ${g.secondaryErrorBackgroundColor};
1017
1017
  color: ${g.secondaryErrorColor};
@@ -1030,13 +1030,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1030
1030
  /** Error Tertiary styles **/
1031
1031
 
1032
1032
  .ftds--family-error.ft-button--tertiary {
1033
- ${A(te.color,g.tertiaryErrorIconColor)};
1033
+ ${w(te.color,g.tertiaryErrorIconColor)};
1034
1034
 
1035
- ${A(R.backgroundColor,g.tertiaryErrorStateLayerColor)};
1036
- ${A(R.opacityContentOnSurfaceHover,g.tertiaryErrorHoverStateLayerOpacity)};
1037
- ${A(R.opacityContentOnSurfaceFocused,g.tertiaryErrorFocusStateLayerOpacity)};
1038
- ${A(R.opacityContentOnSurfaceSelected,g.tertiaryErrorActiveStateLayerOpacity)};
1039
- ${A(R.opacityContentOnSurfacePressed,g.tertiaryErrorActiveStateLayerOpacity)};
1035
+ ${w(_.backgroundColor,g.tertiaryErrorStateLayerColor)};
1036
+ ${w(_.opacityContentOnSurfaceHover,g.tertiaryErrorHoverStateLayerOpacity)};
1037
+ ${w(_.opacityContentOnSurfaceFocused,g.tertiaryErrorFocusStateLayerOpacity)};
1038
+ ${w(_.opacityContentOnSurfaceSelected,g.tertiaryErrorActiveStateLayerOpacity)};
1039
+ ${w(_.opacityContentOnSurfacePressed,g.tertiaryErrorActiveStateLayerOpacity)};
1040
1040
 
1041
1041
  background-color: ${g.tertiaryErrorBackgroundColor};
1042
1042
  color: ${g.tertiaryErrorColor};
@@ -1054,8 +1054,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1054
1054
  /** Large styles **/
1055
1055
 
1056
1056
  .ftds--size-large {
1057
- ${A(me.size,g.largeIconSize)};
1058
- ${A(te.size,g.largeIconSize)};
1057
+ ${w(me.size,g.largeIconSize)};
1058
+ ${w(te.size,g.largeIconSize)};
1059
1059
 
1060
1060
  height: ${g.largeHeight};
1061
1061
  padding: 0 ${g.largeHorizontalPadding};
@@ -1076,8 +1076,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1076
1076
  /** Small styles **/
1077
1077
 
1078
1078
  .ftds--size-medium {
1079
- ${A(me.size,g.mediumIconSize)};
1080
- ${A(te.size,g.mediumIconSize)};
1079
+ ${w(me.size,g.mediumIconSize)};
1080
+ ${w(te.size,g.mediumIconSize)};
1081
1081
 
1082
1082
  height: ${g.mediumHeight};
1083
1083
  padding: 0 ${g.mediumHorizontalPadding};
@@ -1099,8 +1099,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1099
1099
  /** Small styles **/
1100
1100
 
1101
1101
  .ftds--size-small {
1102
- ${A(me.size,g.smallIconSize)};
1103
- ${A(te.size,g.smallIconSize)};
1102
+ ${w(me.size,g.smallIconSize)};
1103
+ ${w(te.size,g.smallIconSize)};
1104
1104
 
1105
1105
  height: ${g.smallHeight};
1106
1106
  padding: 0 ${g.smallHorizontalPadding};
@@ -1117,7 +1117,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1117
1117
  .ftds--size-small.ft-button--icon-only {
1118
1118
  width: ${g.smallIconOnlyWidth};
1119
1119
  }
1120
- `,Yr];var an=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},it=class extends zo(oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Mt.brand,this.iconVariant=Ae.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case et.large:return vt.body2medium;case et.medium:return vt.caption1medium;case et.small:return vt.caption2medium}}};it.styles=[Xr,ed];an([w({type:Boolean})],it.prototype,"primary",void 0);an([w({type:Boolean})],it.prototype,"secondary",void 0);an([w({type:Boolean})],it.prototype,"tertiary",void 0);an([w({type:Boolean})],it.prototype,"round",void 0);Q("ft-button")(ke);Q("ftds-button")(it);var Se;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Se||(Se={}));var td=k`
1120
+ `,Jr];var an=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},st=class extends zo(oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Mt.brand,this.iconVariant=Re.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case tt.large:return vt.body2medium;case tt.medium:return vt.caption1medium;case tt.small:return vt.caption2medium}}};st.styles=[Qr,ad];an([A({type:Boolean})],st.prototype,"primary",void 0);an([A({type:Boolean})],st.prototype,"secondary",void 0);an([A({type:Boolean})],st.prototype,"tertiary",void 0);an([A({type:Boolean})],st.prototype,"round",void 0);Q("ft-button")(Ue);Q("ftds-button")(st);var Oe;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Oe||(Oe={}));var id=k`
1121
1121
  .ft-size-watcher--pixel {
1122
1122
  width: 0;
1123
1123
  height: 0;
@@ -1136,11 +1136,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1136
1136
  .ft-size-watcher--local .ft-size-watcher--watcher {
1137
1137
  width: 100%;
1138
1138
  }
1139
- `;var io=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Fi=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Re=class extends K{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Se.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ye}render(){return j`
1139
+ `;var so=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Hi=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},_e=class extends K{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Oe.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ye}render(){return V`
1140
1140
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1141
1141
  <div class="ft-size-watcher--watcher"></div>
1142
1142
  </div>
1143
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Se.S:this.size<976?this.category=Se.M:this.size<1024?this.category=Se.L:this.size<1440?this.category=Se.XL:this.category=Se.XXL,this.dispatchEvent(new Fi(this.size,this.category)))},this.debounceTimeout)}};Re.elementDefinitions={};Re.styles=td;io([w({type:Number})],Re.prototype,"debounceTimeout",void 0);io([w({type:Boolean})],Re.prototype,"local",void 0);io([w({type:Number,reflect:!0})],Re.prototype,"size",void 0);io([w({type:String,reflect:!0})],Re.prototype,"category",void 0);io([ue(".ft-size-watcher--watcher")],Re.prototype,"watcher",void 0);Q("ft-size-watcher")(Re);var ce={tabulationSize:o.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:o.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:o.extend("--ft-reader-toc-text-color","",H.colorOnSurface),hoverColor:o.extend("--ft-reader-toc-hover-color","",H.colorPrimary),highlightedTextColor:o.extend("--ft-reader-toc-highlighted-text-color","",H.colorPrimary),highlightedFontWeight:o.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:o.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:o.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:o.create("--ft-reader-toc-tree-node-icon-color","","COLOR",H.colorPrimary),leafNodeIconColor:o.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",H.colorPrimary),nodeButtonBackgroundColor:o.create("--ft-reader-toc-node-button-background-color","","COLOR",H.colorSurface),expandCollapseAllButtonColor:o.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",H.colorPrimary),expandCollapseAllButtonBackgroundColor:o.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",H.colorSurface)},rd=k`
1143
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Oe.S:this.size<976?this.category=Oe.M:this.size<1024?this.category=Oe.L:this.size<1440?this.category=Oe.XL:this.category=Oe.XXL,this.dispatchEvent(new Hi(this.size,this.category)))},this.debounceTimeout)}};_e.elementDefinitions={};_e.styles=id;so([A({type:Number})],_e.prototype,"debounceTimeout",void 0);so([A({type:Boolean})],_e.prototype,"local",void 0);so([A({type:Number,reflect:!0})],_e.prototype,"size",void 0);so([A({type:String,reflect:!0})],_e.prototype,"category",void 0);so([ue(".ft-size-watcher--watcher")],_e.prototype,"watcher",void 0);Q("ft-size-watcher")(_e);var ce={tabulationSize:o.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:o.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:o.extend("--ft-reader-toc-text-color","",z.colorOnSurface),hoverColor:o.extend("--ft-reader-toc-hover-color","",z.colorPrimary),highlightedTextColor:o.extend("--ft-reader-toc-highlighted-text-color","",z.colorPrimary),highlightedFontWeight:o.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:o.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:o.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:o.create("--ft-reader-toc-tree-node-icon-color","","COLOR",z.colorPrimary),leafNodeIconColor:o.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",z.colorPrimary),nodeButtonBackgroundColor:o.create("--ft-reader-toc-node-button-background-color","","COLOR",z.colorSurface),expandCollapseAllButtonColor:o.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",z.colorPrimary),expandCollapseAllButtonBackgroundColor:o.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",z.colorSurface)},sd=k`
1144
1144
  .ft-reader-toc {
1145
1145
  color: ${ce.textColor};
1146
1146
  }
@@ -1148,7 +1148,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1148
1148
  .ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
1149
1149
  background-color: ${ce.highlightedBackgroundColor};
1150
1150
  color: ${ce.highlightedTextColor};
1151
- ${A(D.fontWeight,ce.highlightedFontWeight)}
1151
+ ${w(D.fontWeight,ce.highlightedFontWeight)}
1152
1152
  }
1153
1153
 
1154
1154
  .ft-reader-toc--link-container {
@@ -1167,7 +1167,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1167
1167
  }
1168
1168
 
1169
1169
  ft-button {
1170
- ${A(re.iconSize,ce.iconFontSize)};
1170
+ ${w(re.iconSize,ce.iconFontSize)};
1171
1171
  }
1172
1172
 
1173
1173
  [part="leaf-node-icon"] {
@@ -1175,13 +1175,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1175
1175
  }
1176
1176
 
1177
1177
  .ft-reader-toc--tree-node-button {
1178
- ${A(re.color,ce.treeNodeIconColor)};
1179
- ${A(re.backgroundColor,ce.nodeButtonBackgroundColor)};
1178
+ ${w(re.color,ce.treeNodeIconColor)};
1179
+ ${w(re.backgroundColor,ce.nodeButtonBackgroundColor)};
1180
1180
  }
1181
1181
 
1182
1182
  .ft-reader-toc--expand-collapse-all-button {
1183
- ${A(re.color,ce.expandCollapseAllButtonColor)};
1184
- ${A(re.backgroundColor,ce.expandCollapseAllButtonBackgroundColor)};
1183
+ ${w(re.color,ce.expandCollapseAllButtonColor)};
1184
+ ${w(re.backgroundColor,ce.expandCollapseAllButtonBackgroundColor)};
1185
1185
  }
1186
1186
 
1187
1187
  .ft-reader-toc--toggle-container {
@@ -1224,21 +1224,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1224
1224
  .ft-reader-toc-expand-collapse-all-justify ft-button {
1225
1225
  flex-grow: 1;
1226
1226
  }
1227
- `;var od=k`
1228
- `;var nd=k`
1229
- `;var tf="ft-app-info",Wi=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},rf={session:(t,e)=>{Te(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>B.dispatchEvent(new Wi(e.payload)),0))}},B=Vt.get({name:tf,reducers:rf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Gt=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=B.getState(),a=e??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let a=B.subscribe(()=>{n=t.get(e),n&&(a(),r(n))})}})}};var St=class{constructor(e=!0,r){var n;this.overrideApi=r;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new We,this.cache=e?a.commonCache:new We}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Gt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Gt.await()}clearCache(){this.cache.clearAll()}};var ad,of=Symbol("clearAfterUnitTest"),sn=class extends St{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ad]=()=>{this.defaultMessages={},this.cache=new We,this.listeners={}},this.currentUiLocale=B.getState().uiLocale,B.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=B.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Te(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new Jr((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>ko(0).then(()=>r()).catch(()=>null)))}};ad=of;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends sn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends sn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Kt=window.FluidTopicsI18nService,id=window.FluidTopicsCustomI18nService;var he=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ie=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Gt.get(),this.messageContexts=[],this.cache=new We,this.cleanSessionDebouncer=new ye}render(){return j`
1227
+ `;var ld=k`
1228
+ `;var cd=k`
1229
+ `;var sf="ft-app-info",zi=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},lf={session:(t,e)=>{Le(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>B.dispatchEvent(new zi(e.payload)),0))}},B=Gt.get({name:sf,reducers:lf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Zt=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=B.getState(),a=e??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let a=B.subscribe(()=>{n=t.get(e),n&&(a(),r(n))})}})}};var St=class{constructor(e=!0,r){var n;this.overrideApi=r;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new je,this.cache=e?a.commonCache:new je}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Zt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Zt.await()}clearCache(){this.cache.clearAll()}};var dd,cf=Symbol("clearAfterUnitTest"),sn=class extends St{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[dd]=()=>{this.defaultMessages={},this.cache=new je,this.listeners={}},this.currentUiLocale=B.getState().uiLocale,B.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=B.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Le(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new eo((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(e){var r,n,a;if(!this.cache.has(e))if(((n=(r=window.process)===null||r===void 0?void 0:r.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(e,(a=this.defaultMessages[e])!==null&&a!==void 0?a:{});else try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(i){console.error(i)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>Do(0).then(()=>r()).catch(()=>null)))}};dd=cf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends sn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends sn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var qt=window.FluidTopicsI18nService,pd=window.FluidTopicsCustomI18nService;var he=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ie=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Zt.get(),this.messageContexts=[],this.cache=new je,this.cleanSessionDebouncer=new ye}render(){return V`
1230
1230
  <slot></slot>
1231
- `}update(e){var r,n,a,i,s;super.update(e),e.has("baseUrl")&&(B.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&B.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&B.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&B.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&B.actions.noCustom(this.noCustom),e.has("editorMode")&&B.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&B.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&B.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>Kt.addContext(c)),e.has("openExternalDocumentInNewTab")&&B.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&B.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&B.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(B.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),B.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),B.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ie.elementDefinitions={};ie.styles=nd;he([w()],ie.prototype,"baseUrl",void 0);he([w()],ie.prototype,"apiIntegrationIdentifier",void 0);he([w()],ie.prototype,"uiLocale",void 0);he([He(null)],ie.prototype,"availableUiLocales",void 0);he([He(null)],ie.prototype,"metadataConfiguration",void 0);he([w({type:Boolean})],ie.prototype,"editorMode",void 0);he([w({type:Boolean})],ie.prototype,"noCustom",void 0);he([w({type:Boolean})],ie.prototype,"openExternalDocumentInNewTab",void 0);he([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ie.prototype,"noCustomComponent",void 0);he([w({type:Boolean})],ie.prototype,"withManualResources",void 0);he([w({type:Boolean})],ie.prototype,"navigatorOnline",void 0);he([w({type:Boolean})],ie.prototype,"forcedOffline",void 0);he([w({type:Object})],ie.prototype,"apiProvider",void 0);he([He([])],ie.prototype,"messageContexts",void 0);he([He(void 0)],ie.prototype,"session",void 0);he([J()],ie.prototype,"localesConfiguration",void 0);var ln=class extends St{async listMySearches(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var cn=class extends St{async listMyBookmarks(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var nf="ft-user-assets",dn=Vt.get({name:nf,initialState:{savedSearches:void 0,bookmarks:void 0}}),Hi=class{constructor(){this.currentSession=B.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new cn,this.savedSearchesService=new ln,B.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=B.getState();Te((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),dn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),dn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();dn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;dn.actions.bookmarks(r)}}},GC=new Hi;var zi=class{addCommand(e,r=!1){B.commands.add(e,r)}consumeCommand(e){return B.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new zi;var Vi=class{highlightHtml(e,r,n){ja(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Vi;var ji=class{isDate(e){var r,n,a,i;return(i=(a=((n=(r=B.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var n,a,i;return dr.format(e,(n=r?.locale)!==null&&n!==void 0?n:B.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new ji;Q("ft-app-context")(ie);var af=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Gi=Symbol("i18nAttributes"),Ki=Symbol("i18nListAttributes"),pn=Symbol("i18nProperties"),Zi=Symbol("i18nManualContexts"),so=Symbol("i18nUnsubs");function fn(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?id:Kt}i18n(i,s,...c){var d;if(typeof i=="string")return this.i18nService.resolveMessage(i,s,...c);let p=(d=i.args)!==null&&d!==void 0?d:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...p)}onI18nUpdate(i){var s,c,d;(s=this[Gi])===null||s===void 0||s.forEach((p,h)=>{let f=this.getI18nAttributeValue(h);f&&(this[h]=this.getI18nAttributeMessage(f,p,i))}),(c=this[Ki])===null||c===void 0||c.forEach((p,h)=>{let f=this.getI18nListAttributeValues(h);this[h]=f?.map(m=>this.getI18nAttributeMessage(m,p,i))}),(d=this[pn])===null||d===void 0||d.forEach((p,h)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,s){return{...i,message:this.i18n({context:i.context,key:i.key,...s})}}getI18nAttributeMessage(i,s,c){var d;let p=!c||((d=i.context)===null||d===void 0?void 0:d.toLowerCase())===c.toLowerCase();return i.context&&i.key&&p?this.buildI18nAttributeMessage(i,s):i}update(i){var s,c,d;super.update(i),(s=this[Gi])===null||s===void 0||s.forEach((p,h)=>{let f=this.getI18nAttributeValue(h);f?.context&&f.key&&(i.has(h)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,i,h),this[h]=this.getI18nAttributeMessage(f,p))}),(c=this[Ki])===null||c===void 0||c.forEach((p,h)=>{let f=this.getI18nListAttributeValues(h);(i.has(h)||p.argsProvider!=null)&&(this[h]=f?.map(m=>(this.addI18nContextIfNeeded(m,i,h),this.getI18nAttributeMessage(m,p))))}),(d=this[pn])===null||d===void 0||d.forEach((p,h)=>{p.argsProvider!=null&&(this[h]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,s,c){i.context&&i.key&&s.has(c)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,s){i=i.toLowerCase(),this[so].has(i)||this[so].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,s??{}),this.onI18nUpdate(i)}connectedCallback(){var i,s,c,d,p,h;super.connectedCallback(),new Set([...(s=(i=this[pn])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(d=(c=this[Gi])===null||c===void 0?void 0:c.keys())!==null&&d!==void 0?d:[]].map(f=>this.getI18nAttributeValue(f)),...[...(h=(p=this[Ki])===null||p===void 0?void 0:p.keys())!==null&&h!==void 0?h:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f)),this[Zi].forEach((f,m)=>{this.addI18nMessages(m,f)})}addI18nMessages(i,s){this[Zi].set(i,s??{}),this.addI18nMessagesAndSubscribe(i,s)}addI18nContext(i,s){this.addI18nMessages(typeof i=="string"?i:i.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[so].forEach(i=>i()),this[so].clear()}}return e=Zi,r=so,af([w({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var sd=class extends fn(K){},un=class extends fn(Ge){};var lo=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},De=class extends un{constructor(){super(),this.editorMode=!1,this.addStore(B)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":q:j`
1231
+ `}update(e){var r,n,a,i,s;super.update(e),e.has("baseUrl")&&(B.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&B.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&B.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&B.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&B.actions.noCustom(this.noCustom),e.has("editorMode")&&B.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&B.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&B.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>qt.addContext(l)),e.has("openExternalDocumentInNewTab")&&B.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&B.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&B.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(B.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),B.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),B.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ie.elementDefinitions={};ie.styles=cd;he([A()],ie.prototype,"baseUrl",void 0);he([A()],ie.prototype,"apiIntegrationIdentifier",void 0);he([A()],ie.prototype,"uiLocale",void 0);he([Ve(null)],ie.prototype,"availableUiLocales",void 0);he([Ve(null)],ie.prototype,"metadataConfiguration",void 0);he([A({type:Boolean})],ie.prototype,"editorMode",void 0);he([A({type:Boolean})],ie.prototype,"noCustom",void 0);he([A({type:Boolean})],ie.prototype,"openExternalDocumentInNewTab",void 0);he([A({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ie.prototype,"noCustomComponent",void 0);he([A({type:Boolean})],ie.prototype,"withManualResources",void 0);he([A({type:Boolean})],ie.prototype,"navigatorOnline",void 0);he([A({type:Boolean})],ie.prototype,"forcedOffline",void 0);he([A({type:Object})],ie.prototype,"apiProvider",void 0);he([Ve([])],ie.prototype,"messageContexts",void 0);he([Ve(void 0)],ie.prototype,"session",void 0);he([J()],ie.prototype,"localesConfiguration",void 0);var ln=class extends St{async listMySearches(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var cn=class extends St{async listMyBookmarks(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var df="ft-user-assets",dn=Gt.get({name:df,initialState:{savedSearches:void 0,bookmarks:void 0}}),ji=class{constructor(){this.currentSession=B.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new cn,this.savedSearchesService=new ln,B.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=B.getState();Le((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),dn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),dn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();dn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;dn.actions.bookmarks(r)}}},YC=new ji;var Vi=class{addCommand(e,r=!1){B.commands.add(e,r)}consumeCommand(e){return B.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Vi;var Gi=class{highlightHtml(e,r,n){Ga(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Gi;var Ki=class{isDate(e){var r,n,a,i;return(i=(a=((n=(r=B.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var n,a,i;return fr.format(e,(n=r?.locale)!==null&&n!==void 0?n:B.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Ki;Q("ft-app-context")(ie);var pf=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Zi=Symbol("i18nAttributes"),qi=Symbol("i18nListAttributes"),pn=Symbol("i18nProperties"),Yi=Symbol("i18nManualContexts"),lo=Symbol("i18nUnsubs");function fn(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?pd:qt}i18n(i,s,...l){var d;if(typeof i=="string")return this.i18nService.resolveMessage(i,s,...l);let p=(d=i.args)!==null&&d!==void 0?d:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...p)}onI18nUpdate(i){var s,l,d;(s=this[Zi])===null||s===void 0||s.forEach((p,h)=>{let f=this.getI18nAttributeValue(h);f&&(this[h]=this.getI18nAttributeMessage(f,p,i))}),(l=this[qi])===null||l===void 0||l.forEach((p,h)=>{let f=this.getI18nListAttributeValues(h);this[h]=f?.map(y=>this.getI18nAttributeMessage(y,p,i))}),(d=this[pn])===null||d===void 0||d.forEach((p,h)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,s){return{...i,message:this.i18n({context:i.context,key:i.key,...s})}}getI18nAttributeMessage(i,s,l){var d;let p=!l||((d=i.context)===null||d===void 0?void 0:d.toLowerCase())===l.toLowerCase();return i.context&&i.key&&p?this.buildI18nAttributeMessage(i,s):i}update(i){var s,l,d;super.update(i),(s=this[Zi])===null||s===void 0||s.forEach((p,h)=>{let f=this.getI18nAttributeValue(h);f?.context&&f.key&&(i.has(h)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,i,h),this[h]=this.getI18nAttributeMessage(f,p))}),(l=this[qi])===null||l===void 0||l.forEach((p,h)=>{let f=this.getI18nListAttributeValues(h);(i.has(h)||p.argsProvider!=null)&&(this[h]=f?.map(y=>(this.addI18nContextIfNeeded(y,i,h),this.getI18nAttributeMessage(y,p))))}),(d=this[pn])===null||d===void 0||d.forEach((p,h)=>{p.argsProvider!=null&&(this[h]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,s,l){i.context&&i.key&&s.has(l)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,s){i=i.toLowerCase(),this[lo].has(i)||this[lo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,s??{}),this.onI18nUpdate(i)}connectedCallback(){var i,s,l,d,p,h;super.connectedCallback(),new Set([...(s=(i=this[pn])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(d=(l=this[Zi])===null||l===void 0?void 0:l.keys())!==null&&d!==void 0?d:[]].map(f=>this.getI18nAttributeValue(f)),...[...(h=(p=this[qi])===null||p===void 0?void 0:p.keys())!==null&&h!==void 0?h:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f)),this[Yi].forEach((f,y)=>{this.addI18nMessages(y,f)})}addI18nMessages(i,s){this[Yi].set(i,s??{}),this.addI18nMessagesAndSubscribe(i,s)}addI18nContext(i,s){this.addI18nMessages(typeof i=="string"?i:i.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[lo].forEach(i=>i()),this[lo].clear()}}return e=Yi,r=lo,pf([A({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var ud=class extends fn(K){},un=class extends fn(Ke){};var co=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Be=class extends un{constructor(){super(),this.editorMode=!1,this.addStore(B)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":q:V`
1232
1232
  <span class="ft-i18n">
1233
1233
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1234
1234
  </span>
1235
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};De.elementDefinitions={};De.styles=od;lo([ut()],De.prototype,"editorMode",void 0);lo([w()],De.prototype,"context",void 0);lo([w()],De.prototype,"key",void 0);lo([He([])],De.prototype,"args",void 0);lo([w()],De.prototype,"defaultMessage",void 0);var hn=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let a=n;return i=>({context:this.name,key:a,args:typeof i=="function"?void 0:i,argsProvider:typeof i=="function"?i:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...a)=>Kt.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(r,n)=>Kt.resolveRawMessage(this.name,n)})}};Q("ft-i18n")(De);var Ot=hn.build("designedReaderToc"),ld={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var X=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},G=class extends fn(pr){get isCurrentPageToc(){return this.scope==="current-page"}constructor(){super(),this.expanded=!1,this.iconVariant=Ae.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=Ae.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scrollCurrentTopicIntoView=!1,this.scope="pages",this.empty=!0,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=Se.M,this.nodesToExpandExist=!1,this.addI18nContext(Ot,ld)}update(e){var r,n,a;super.update(e),e.has("toc")&&(this.nodesToExpandExist=((r=this.toc)!==null&&r!==void 0?r:[]).some(i=>i.children.length>0)),e.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((a=this.toc)!==null&&a!==void 0?a:[]).length===0}contentAvailableCallback(e){var r,n;if(super.contentAvailableCallback(e),this.scrollCurrentTopicIntoView&&e.has("highlightedTocIds")&&this.highlightedTocIds&&((r=this.highlightedTocIds)===null||r===void 0?void 0:r.length)>0){let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`[tocId="${this.highlightedTocIds[0]}"]`);a&&Ci.scrollIntoViewIfPossible(a,{behavior:"instant",position:.25})}}render(){var e;let r={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Se.S,"ft-reader-toc-desktop":this.viewportSize!==Se.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return j`
1236
- <div class=${Fe(r)}>
1235
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Be.elementDefinitions={};Be.styles=ld;co([ut()],Be.prototype,"editorMode",void 0);co([A()],Be.prototype,"context",void 0);co([A()],Be.prototype,"key",void 0);co([Ve([])],Be.prototype,"args",void 0);co([A()],Be.prototype,"defaultMessage",void 0);var hn=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let a=n;return i=>({context:this.name,key:a,args:typeof i=="function"?void 0:i,argsProvider:typeof i=="function"?i:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...a)=>qt.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(r,n)=>qt.resolveRawMessage(this.name,n)})}};Q("ft-i18n")(Be);var Ot=hn.build("designedReaderToc"),fd={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var X=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},G=class extends fn(hr){get isCurrentPageToc(){return this.scope==="current-page"}constructor(){super(),this.expanded=!1,this.iconVariant=Re.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=Re.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scrollCurrentTopicIntoView=!1,this.scope="pages",this.empty=!0,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=Oe.M,this.nodesToExpandExist=!1,this.addI18nContext(Ot,fd)}update(e){var r,n,a;super.update(e),e.has("toc")&&(this.nodesToExpandExist=((r=this.toc)!==null&&r!==void 0?r:[]).some(i=>i.children.length>0)),e.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((a=this.toc)!==null&&a!==void 0?a:[]).length===0}contentAvailableCallback(e){var r,n;if(super.contentAvailableCallback(e),this.scrollCurrentTopicIntoView&&e.has("highlightedTocIds")&&this.highlightedTocIds&&((r=this.highlightedTocIds)===null||r===void 0?void 0:r.length)>0){let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`[tocId="${this.highlightedTocIds[0]}"]`);a&&Ei.scrollIntoViewIfPossible(a,{behavior:"instant",position:.25})}}render(){var e;let r={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Oe.S,"ft-reader-toc-desktop":this.viewportSize!==Oe.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return V`
1236
+ <div class=${ze(r)}>
1237
1237
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
1238
1238
  ${this.renderExpandCollapseAll()}
1239
- ${$o((e=this.toc)!==null&&e!==void 0?e:[],n=>n.tocId,n=>this.renderNode(n))}
1239
+ ${ko((e=this.toc)!==null&&e!==void 0?e:[],n=>n.tocId,n=>this.renderNode(n))}
1240
1240
  </div>
1241
- `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?j`
1241
+ `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?V`
1242
1242
  <div part="expand-collapse-all-container"
1243
1243
  class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
1244
1244
  <ft-button part="expand-collapse-all"
@@ -1252,16 +1252,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1252
1252
  ${this.expandCollapseAllHideLabel?"":this.expandAll?Ot.messages.collapseAll():Ot.messages.expandAll()}
1253
1253
  </ft-button>
1254
1254
  </div>
1255
- `:q}renderNode(e){var r,n,a;let i=(r=this.highlightedTocIds)===null||r===void 0?void 0:r.includes(e.tocId),s=this.expanded||this.manuallyExpandedNodes.has(e.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(e.tocId))&&!this.manuallyCollapsedNodes.has(e.tocId),c=e.children.length>0,d=this.isCurrentPageToc?((a=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&a!==void 0?a:0)+1:0,p=e.depth-1-d,h={"padding-left":`calc( ${ce.tabulationSize} * ${p} + 4px)`};return j`
1255
+ `:q}renderNode(e){var r,n,a;let i=(r=this.highlightedTocIds)===null||r===void 0?void 0:r.includes(e.tocId),s=this.expanded||this.manuallyExpandedNodes.has(e.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(e.tocId))&&!this.manuallyCollapsedNodes.has(e.tocId),l=e.children.length>0,d=this.isCurrentPageToc?((a=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&a!==void 0?a:0)+1:0,p=e.depth-1-d,h={"padding-left":`calc( ${ce.tabulationSize} * ${p} + 4px)`};return V`
1256
1256
  <div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}">
1257
- <div class="ft-reader-toc--link-container" data-depth="${e.depth}" style=${Pn(h)}>
1258
- ${this.nodesToExpandExist&&!this.expanded?j`
1257
+ <div class="ft-reader-toc--link-container" data-depth="${e.depth}" style=${In(h)}>
1258
+ ${this.nodesToExpandExist&&!this.expanded?V`
1259
1259
  <div class="ft-reader-toc--toggle-container">
1260
- ${c?j`
1260
+ ${l?V`
1261
1261
  <ft-button part="expand-collapse-node"
1262
1262
  class="ft-reader-toc--tree-node-button"
1263
1263
  round hideTooltip
1264
- ?dense=${this.viewportSize!==Se.S}
1264
+ ?dense=${this.viewportSize!==Oe.S}
1265
1265
  label="${s?Ot.messages.collapse(e.title):Ot.messages.expand(e.title)}"
1266
1266
  .iconVariant="${this.iconVariant}"
1267
1267
  icon="${s?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
@@ -1272,27 +1272,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1272
1272
  </ft-button>
1273
1273
  `:this.getLeafNodeIcon()}
1274
1274
  </div>
1275
- `:c?q:this.getLeafNodeIcon()}
1275
+ `:l?q:this.getLeafNodeIcon()}
1276
1276
  <ft-reader-internal-link part="node-link"
1277
1277
  tocId="${e.tocId}"
1278
1278
  removeStyle>
1279
1279
  <ft-typography part="node-label" variant="body2">${e.title}</ft-typography>
1280
1280
  </ft-reader-internal-link>
1281
1281
  </div>
1282
- ${c?j`
1282
+ ${l?V`
1283
1283
  <div id="${e.tocId}-children"
1284
1284
  class="ft-reader-toc--node-children"
1285
1285
  ?hidden=${!s}>
1286
- ${$o(s?e.children:[],f=>f.tocId,f=>this.renderNode(f))}
1286
+ ${ko(s?e.children:[],f=>f.tocId,f=>this.renderNode(f))}
1287
1287
  </div>
1288
1288
  `:q}
1289
1289
  </div>
1290
- `}buildAutomaticallyExpandedNodes(e){var r,n;let a=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of e){let s=i;for(;s&&!a.has(s);)a.add(s),this.manuallyCollapsedNodes.delete(s),s=(n=(r=this.service)===null||r===void 0?void 0:r.getTocNodeNow(s))===null||n===void 0?void 0:n.parentTocId}return a}manuallyToggle(e,r){r?(this.manuallyCollapsedNodes.add(e),this.manuallyExpandedNodes.delete(e)):(this.manuallyExpandedNodes.add(e),this.manuallyCollapsedNodes.delete(e)),this.requestUpdate()}onViewportSizeChange(e){this.viewportSize=e.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return j`
1290
+ `}buildAutomaticallyExpandedNodes(e){var r,n;let a=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of e){let s=i;for(;s&&!a.has(s);)a.add(s),this.manuallyCollapsedNodes.delete(s),s=(n=(r=this.service)===null||r===void 0?void 0:r.getTocNodeNow(s))===null||n===void 0?void 0:n.parentTocId}return a}manuallyToggle(e,r){r?(this.manuallyCollapsedNodes.add(e),this.manuallyExpandedNodes.delete(e)):(this.manuallyExpandedNodes.add(e),this.manuallyCollapsedNodes.delete(e)),this.requestUpdate()}onViewportSizeChange(e){this.viewportSize=e.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return V`
1291
1291
  <ft-icon class="ft-reader-toc--leaf-node-icon"
1292
1292
  part="leaf-node-icon"
1293
1293
  .variant="${this.leafNodeIconVariant}"
1294
1294
  .value="${this.leafNodeIcon}"></ft-icon>
1295
- `}};G.elementDefinitions={"ft-button":ke,"ft-icon":be,"ft-reader-internal-link":$e,"ft-size-watcher":Re,"ft-typography":we};G.styles=rd;X([w({type:Boolean})],G.prototype,"expanded",void 0);X([w()],G.prototype,"iconVariant",void 0);X([w()],G.prototype,"collapseIcon",void 0);X([w()],G.prototype,"expandIcon",void 0);X([w()],G.prototype,"leafNodeIconVariant",void 0);X([w()],G.prototype,"leafNodeIcon",void 0);X([w({type:Boolean})],G.prototype,"expandCollapseAll",void 0);X([w({type:Boolean})],G.prototype,"expandCollapseAllHideLabel",void 0);X([w({type:Boolean})],G.prototype,"expandCollapseAllTrailingIcon",void 0);X([w()],G.prototype,"expandCollapseAllAlignment",void 0);X([w({type:Boolean})],G.prototype,"expandCollapseAllHideIcon",void 0);X([w()],G.prototype,"expandCollapseAllIconVariant",void 0);X([w()],G.prototype,"collapseAllIcon",void 0);X([w()],G.prototype,"expandAllIcon",void 0);X([w({type:Boolean})],G.prototype,"autoCollapse",void 0);X([w({type:Boolean})],G.prototype,"scrollCurrentTopicIntoView",void 0);X([w()],G.prototype,"scope",void 0);X([w({type:Boolean,reflect:!0})],G.prototype,"empty",void 0);X([ut({selector:(t,e)=>{var r,n,a;return e.isCurrentPageToc?!((r=t.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc?(n=t.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((a=t.paginationConfiguration)===null||a===void 0)&&a.splitCurrentPageToc?t.pagesToc:t.toc}})],G.prototype,"toc",void 0);X([ut()],G.prototype,"currentPage",void 0);X([ut({selector:(t,e)=>{var r,n;return!((r=t.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc&&!e.isCurrentPageToc?!((n=t.currentPage)===null||n===void 0)&&n.rootTocId?[t.currentPage.rootTocId]:[]:t.visibleTopics}})],G.prototype,"highlightedTocIds",void 0);X([J({hasChanged:Le})],G.prototype,"automaticallyExpandedNodes",void 0);X([J({hasChanged:Le})],G.prototype,"manuallyExpandedNodes",void 0);X([J({hasChanged:Le})],G.prototype,"manuallyCollapsedNodes",void 0);X([J()],G.prototype,"expandAll",void 0);X([J()],G.prototype,"viewportSize",void 0);Q("ft-reader-toc")(G);})();
1295
+ `}};G.elementDefinitions={"ft-button":Ue,"ft-icon":xe,"ft-reader-internal-link":Me,"ft-size-watcher":_e,"ft-typography":we};G.styles=sd;X([A({type:Boolean})],G.prototype,"expanded",void 0);X([A()],G.prototype,"iconVariant",void 0);X([A()],G.prototype,"collapseIcon",void 0);X([A()],G.prototype,"expandIcon",void 0);X([A()],G.prototype,"leafNodeIconVariant",void 0);X([A()],G.prototype,"leafNodeIcon",void 0);X([A({type:Boolean})],G.prototype,"expandCollapseAll",void 0);X([A({type:Boolean})],G.prototype,"expandCollapseAllHideLabel",void 0);X([A({type:Boolean})],G.prototype,"expandCollapseAllTrailingIcon",void 0);X([A()],G.prototype,"expandCollapseAllAlignment",void 0);X([A({type:Boolean})],G.prototype,"expandCollapseAllHideIcon",void 0);X([A()],G.prototype,"expandCollapseAllIconVariant",void 0);X([A()],G.prototype,"collapseAllIcon",void 0);X([A()],G.prototype,"expandAllIcon",void 0);X([A({type:Boolean})],G.prototype,"autoCollapse",void 0);X([A({type:Boolean})],G.prototype,"scrollCurrentTopicIntoView",void 0);X([A()],G.prototype,"scope",void 0);X([A({type:Boolean,reflect:!0})],G.prototype,"empty",void 0);X([ut({selector:(t,e)=>{var r,n,a;return e.isCurrentPageToc?!((r=t.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc?(n=t.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((a=t.paginationConfiguration)===null||a===void 0)&&a.splitCurrentPageToc?t.pagesToc:t.toc}})],G.prototype,"toc",void 0);X([ut()],G.prototype,"currentPage",void 0);X([ut({selector:(t,e)=>{var r,n;return!((r=t.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc&&!e.isCurrentPageToc?!((n=t.currentPage)===null||n===void 0)&&n.rootTocId?[t.currentPage.rootTocId]:[]:t.visibleTopics}})],G.prototype,"highlightedTocIds",void 0);X([J({hasChanged:Pe})],G.prototype,"automaticallyExpandedNodes",void 0);X([J({hasChanged:Pe})],G.prototype,"manuallyExpandedNodes",void 0);X([J({hasChanged:Pe})],G.prototype,"manuallyCollapsedNodes",void 0);X([J()],G.prototype,"expandAll",void 0);X([J()],G.prototype,"viewportSize",void 0);Q("ft-reader-toc")(G);})();
1296
1296
  /*! Bundled license information:
1297
1297
 
1298
1298
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: