@fluid-topics/ft-page-layout 1.2.29 → 1.2.30

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,12 @@
1
- "use strict";(()=>{var _d=Object.create;var _n=Object.defineProperty;var Nd=Object.getOwnPropertyDescriptor;var Td=Object.getOwnPropertyNames;var Ld=Object.getPrototypeOf,Pd=Object.prototype.hasOwnProperty;var Id=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),q=(e,t)=>{for(var o in t)_n(e,o,{get:t[o],enumerable:!0})},$d=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Td(t))!Pd.call(e,i)&&i!==o&&_n(e,i,{get:()=>t[i],enumerable:!(n=Nd(t,i))||n.enumerable});return e};var kd=(e,t,o)=>(o=e!=null?_d(Ld(e)):{},$d(t||!e||!e.__esModule?_n(o,"default",{value:e,enumerable:!0}):o,e));var lc=Id((Pe,sc)=>{var pn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,un=function(){function e(){this.fetch=!1,this.DOMException=pn.DOMException}return e.prototype=pn,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},i={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 a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.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 i.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)},i.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 C(m){var S=new FileReader,I=b(S),z=/charset=([A-Za-z0-9_-]+)/.exec(m.type),V=z?z[1]:"utf-8";return S.readAsText(m,V),I}function _(m){for(var S=new Uint8Array(m),I=new Array(S.length),z=0;z<S.length;z++)I[z]=String.fromCharCode(S[z]);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:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.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):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.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(i.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 C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(P)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(m){var S=m.toUpperCase();return O.indexOf(S)>-1?S:m}function A(m,S){if(!(this instanceof A))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 A){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 M=new AbortController;return M.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 z=/([?&])_=[^&]*/;if(z.test(this.url))this.url=this.url.replace(z,"$1_="+new Date().getTime());else{var V=/\?/;this.url+=(V.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})};function P(m){var S=new FormData;return m.trim().split("&").forEach(function(I){if(I){var z=I.split("="),V=z.shift().replace(/\+/g," "),M=z.join("=").replace(/\+/g," ");S.append(decodeURIComponent(V),decodeURIComponent(M))}}),S}function U(m){var S=new f,I=m.replace(/\r?\n[\t ]+/g," ");return I.split("\r").map(function(z){return z.indexOf(`
2
- `)===0?z.substr(1,z.length):z}).forEach(function(z){var V=z.split(":"),M=V.shift().trim();if(M){var Xt=V.join(":").trim();try{S.append(M,Xt)}catch(Mr){console.warn("Response "+Mr.message)}}}),S}L.call(A.prototype);function H(m,S){if(!(this instanceof H))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(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},H.error=function(){var m=new H(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var W=[301,302,303,307,308];H.redirect=function(m,S){if(W.indexOf(S)===-1)throw new RangeError("Invalid status code");return new H(null,{status:S,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(S,I){this.message=S,this.name=I;var z=Error(S);this.stack=z.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function k(m,S){return new Promise(function(I,z){var V=new A(m,S);if(V.signal&&V.signal.aborted)return z(new o.DOMException("Aborted","AbortError"));var M=new XMLHttpRequest;function Xt(){M.abort()}M.onload=function(){var bt={statusText:M.statusText,headers:U(M.getAllResponseHeaders()||"")};V.url.indexOf("file://")===0&&(M.status<200||M.status>599)?bt.status=200:bt.status=M.status,bt.url="responseURL"in M?M.responseURL:bt.headers.get("X-Request-URL");var $e="response"in M?M.response:M.responseText;setTimeout(function(){I(new H($e,bt))},0)},M.onerror=function(){setTimeout(function(){z(new TypeError("Network request failed"))},0)},M.ontimeout=function(){setTimeout(function(){z(new TypeError("Network request timed out"))},0)},M.onabort=function(){setTimeout(function(){z(new o.DOMException("Aborted","AbortError"))},0)};function Mr(bt){try{return bt===""&&n.location.href?n.location.href:bt}catch{return bt}}if(M.open(V.method,Mr(V.url),!0),V.credentials==="include"?M.withCredentials=!0:V.credentials==="omit"&&(M.withCredentials=!1),"responseType"in M&&(i.blob?M.responseType="blob":i.arrayBuffer&&(M.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof f||n.Headers&&S.headers instanceof n.Headers)){var is=[];Object.getOwnPropertyNames(S.headers).forEach(function(bt){is.push(d(bt)),M.setRequestHeader(bt,p(S.headers[bt]))}),V.headers.forEach(function(bt,$e){is.indexOf($e)===-1&&M.setRequestHeader($e,bt)})}else V.headers.forEach(function(bt,$e){M.setRequestHeader($e,bt)});V.signal&&(V.signal.addEventListener("abort",Xt),M.onreadystatechange=function(){M.readyState===4&&V.signal.removeEventListener("abort",Xt)}),M.send(typeof V._bodyInit>"u"?null:V._bodyInit)})}return k.polyfill=!0,n.fetch||(n.fetch=k,n.Headers=f,n.Request=A,n.Response=H),o.Headers=f,o.Request=A,o.Response=H,o.fetch=k,o}({})})(un);un.fetch.ponyfill=!0;delete un.fetch.polyfill;var Rr=pn.fetch?pn:un;Pe=Rr.fetch;Pe.default=Rr.fetch;Pe.fetch=Rr.fetch;Pe.Headers=Rr.Headers;Pe.Request=Rr.Request;Pe.Response=Rr.Response;sc.exports=Pe});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,v){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=v.prototype.attributeChangedCallback,P=new Set(v.observedAttributes||[]);y(v,P,A);let U={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:P};this._definitionsByTag.set(O,U),this._definitionsByClass.set(v,U);let H=o.call(n,O);H||(H=f(O),t.call(n,O,H)),this===window.customElements&&(s.set(v,U),U.standInClass=H);let W=this._awaitingUpgrade.get(O);if(W){this._awaitingUpgrade.delete(O);for(let m of W)a.delete(m),x(m,U,!0)}let k=this._whenDefinedPromises.get(O);return k!==void 0&&(k.resolve(v),this._whenDefinedPromises.delete(O)),v}upgrade(){_.push(this),n.upgrade.apply(n,arguments),_.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let v=this._getDefinition(O);if(v!==void 0)return Promise.resolve(v.elementClass);let A=this._whenDefinedPromises.get(O);return A===void 0&&(A={},A.promise=new Promise(P=>A.resolve=P),this._whenDefinedPromises.set(O,A)),A.promise}_upgradeWhenDefined(O,v,A){let P=this._awaitingUpgrade.get(v);P||this._awaitingUpgrade.set(v,P=new Set),A?P.add(O):P.delete(O)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(e,[],A.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),i.set(v,A),v},window.HTMLElement.prototype=e.prototype;let p=O=>O===document||O instanceof ShadowRoot,h=O=>{let v=O.getRootNode();if(!p(v)){let A=_[_.length-1];if(A instanceof CustomElementRegistry)return A;v=A.getRootNode(),p(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},f=O=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let P=h(A)||window.customElements,U=P._getDefinition(O);return U?x(A,U):a.set(A,P),A}connectedCallback(){let A=i.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let A=i.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=i.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=i.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=i.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=i.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},y=(O,v,A)=>{if(v.size===0||A===void 0)return;let P=O.prototype.setAttribute;P&&(O.prototype.setAttribute=function(W,k){let m=W.toLowerCase();if(v.has(m)){let S=this.getAttribute(m);P.call(this,m,k),A.call(this,m,S,k)}else P.call(this,m,k)});let U=O.prototype.removeAttribute;U&&(O.prototype.removeAttribute=function(W){let k=W.toLowerCase();if(v.has(k)){let m=this.getAttribute(k);U.call(this,k),A.call(this,k,m,null)}else U.call(this,k)});let H=O.prototype.toggleAttribute;H&&(O.prototype.toggleAttribute=function(W,k){let m=W.toLowerCase();if(v.has(m)){let S=this.getAttribute(m);H.call(this,m,k);let I=this.getAttribute(m);A.call(this,m,S,I)}else H.call(this,m,k)})},b=O=>{let v=Object.getPrototypeOf(O);if(v!==window.HTMLElement)return v===e?Object.setPrototypeOf(O,window.HTMLElement):b(v)},x=(O,v,A=!1)=>{Object.setPrototypeOf(O,v.elementClass.prototype),i.set(O,v),d=O;try{new v.elementClass}catch{b(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(P=>{O.hasAttribute(P)&&v.attributeChangedCallback.call(O,P,null,O.getAttribute(P))}),A&&v.connectedCallback&&O.isConnected&&v.connectedCallback.call(O)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let v=C.apply(this,arguments);return O.customElements&&(v.customElements=O.customElements),v};let _=[document],N=(O,v,A=void 0)=>{let P=(A?Object.getPrototypeOf(A):O.prototype)[v];O.prototype[v]=function(){_.push(this);let U=P.apply(A||this,arguments);return U!==void 0&&l.set(U,this),_.pop(),U}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let L=(O,v)=>{let A=Object.getOwnPropertyDescriptor(O.prototype,v);Object.defineProperty(O.prototype,v,{...A,set(P){_.push(this),A.set.call(this,P),_.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 O=new WeakMap,v=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let k=v.call(this,...W);return O.set(k,this),k},A.forEach(W=>{let k=window.ElementInternals.prototype,m=k[W];k[W]=function(...S){let I=O.get(this);if(i.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(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class U{constructor(k){let m=new Map;k.forEach((S,I)=>{let z=S.getAttribute("name"),V=m.get(z)||[];this[+I]=S,V.push(S),m.set(z,V)}),this.length=k.length,m.forEach((S,I)=>{S&&(S.length===1?this[I]=S[0]:this[I]=new P(S))})}namedItem(k){return this[k]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=H.get.call(this,[]),k=[];for(let m of W){let S=i.get(m);(!S||S.formAssociated===!0)&&k.push(m)}return new U(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Wn={};q(Wn,{CSSResult:()=>pr,LitElement:()=>ce,ReactiveElement:()=>Jt,_$LE:()=>ip,_$LH:()=>rp,adoptStyles:()=>Bo,css:()=>$,defaultConverter:()=>Uo,getCompatibleStyle:()=>Kr,html:()=>D,isServer:()=>Uf,noChange:()=>xe,notEqual:()=>kn,nothing:()=>G,render:()=>Fn,supportsAdoptingStyleSheets:()=>Gr,svg:()=>ep,unsafeCSS:()=>se});var Oo=globalThis,wo=Oo.ShadowRoot&&(Oo.ShadyCSS===void 0||Oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ss=Symbol(),as=new WeakMap,Eo=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==ss)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(wo&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=as.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&as.set(o,t))}return t}toString(){return this.cssText}},ls=e=>new Eo(typeof e=="string"?e:e+"",void 0,ss);var Nn=(e,t)=>{if(wo)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Oo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Ao=wo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return ls(o)})(e):e;var{is:Dd,defineProperty:Bd,getOwnPropertyDescriptor:Ud,getOwnPropertyNames:Md,getOwnPropertySymbols:Fd,getPrototypeOf:Wd}=Object,Ro=globalThis,cs=Ro.trustedTypes,Hd=cs?cs.emptyScript:"",zd=Ro.reactiveElementPolyfillSupport,Fr=(e,t)=>e,Wr={toAttribute(e,t){switch(t){case Boolean:e=e?Hd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},_o=(e,t)=>!Dd(e,t),ds={attribute:!0,type:String,converter:Wr,reflect:!1,hasChanged:_o};Symbol.metadata??=Symbol("metadata"),Ro.litPropertyMetadata??=new WeakMap;var ke=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=ds){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Bd(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Ud(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ds}static _$Ei(){if(this.hasOwnProperty(Fr("elementProperties")))return;let t=Wd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Fr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Fr("properties"))){let o=this.properties,n=[...Md(o),...Fd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Ao(i))}else t!==void 0&&o.push(Ao(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Nn(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Wr).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Wr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??_o)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};ke.elementStyles=[],ke.shadowRootOptions={mode:"open"},ke[Fr("elementProperties")]=new Map,ke[Fr("finalized")]=new Map,zd?.({ReactiveElement:ke}),(Ro.reactiveElementVersions??=[]).push("2.0.2");var Ln=globalThis,No=Ln.trustedTypes,ps=No?No.createPolicy("lit-html",{createHTML:e=>e}):void 0,Pn="$lit$",ae=`lit$${(Math.random()+"").slice(9)}$`,In="?"+ae,jd=`<${In}>`,Ue=document,To=()=>Ue.createComment(""),zr=e=>e===null||typeof e!="object"&&typeof e!="function",gs=Array.isArray,bs=e=>gs(e)||typeof e?.[Symbol.iterator]=="function",Tn=`[
3
- \f\r]`,Hr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,us=/-->/g,fs=/>/g,De=RegExp(`>|${Tn}(?:([^\\s"'>=/]+)(${Tn}*=${Tn}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),hs=/'/g,ys=/"/g,xs=/^(?:script|style|textarea|title)$/i,vs=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ss=vs(1),Cs=vs(2),Lt=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),ms=new WeakMap,Be=Ue.createTreeWalker(Ue,129);function Os(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ps!==void 0?ps.createHTML(t):t}var Es=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Hr;for(let l=0;l<o;l++){let d=e[l],p,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===Hr?h[1]==="!--"?s=us:h[1]!==void 0?s=fs:h[2]!==void 0?(xs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=De):h[3]!==void 0&&(s=De):s===De?h[0]===">"?(s=i??Hr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?De:h[3]==='"'?ys:hs):s===ys||s===hs?s=De:s===us||s===fs?s=Hr:(s=De,i=void 0);let b=s===De&&e[l+1].startsWith("/>")?" ":"";a+=s===Hr?d+jd:f>=0?(n.push(p),d.slice(0,f)+Pn+d.slice(f)+ae+b):d+ae+(f===-2?l:b)}return[Os(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},jr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[p,h]=Es(t,o);if(this.el=e.createElement(p,n),Be.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Be.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Pn)){let y=h[s++],b=i.getAttribute(f).split(ae),x=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Po:x[1]==="?"?Io:x[1]==="@"?$o:Fe}),i.removeAttribute(f)}else f.startsWith(ae)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(xs.test(i.tagName)){let f=i.textContent.split(ae),y=f.length-1;if(y>0){i.textContent=No?No.emptyScript:"";for(let b=0;b<y;b++)i.append(f[b],To()),Be.nextNode(),d.push({type:2,index:++a});i.append(f[y],To())}}}else if(i.nodeType===8)if(i.data===In)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ae,f+1))!==-1;)d.push({type:7,index:a}),f+=ae.length-1}a++}}static createElement(t,o){let n=Ue.createElement("template");return n.innerHTML=t,n}};function Me(e,t,o=e,n){if(t===Lt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=zr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Me(e,i._$AS(e,t.values),i,n)),t}var Lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Ue).importNode(o,!0);Be.currentNode=i;let a=Be.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Vr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new ko(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=Be.nextNode(),s++)}return Be.currentNode=Ue,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Vr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=it,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Me(this,t,o),zr(t)?t===it||t==null||t===""?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==Lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):bs(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==it&&zr(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ue.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=jr.createElement(Os(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Lo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=ms.get(t.strings);return o===void 0&&ms.set(t.strings,o=new jr(t)),o}T(t){gs(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(To()),this.k(To()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=it}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Me(this,t,o,0),s=!zr(t)||t!==this._$AH&&t!==Lt,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=Me(this,l[n+d],o,d),p===Lt&&(p=this._$AH[d]),s||=!zr(p)||p!==this._$AH[d],p===it?t=it:t!==it&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Po=class extends Fe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===it?void 0:t}},Io=class extends Fe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==it)}},$o=class extends Fe{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Me(this,t,o,0)??it)===Lt)return;let n=this._$AH,i=t===it&&n!==it||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==it&&(n===it||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ko=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Me(this,t)}},ws={j:Pn,P:ae,A:In,C:1,M:Es,L:Lo,R:bs,V:Me,D:Vr,I:Fe,H:Io,N:$o,U:Po,B:ko},Vd=Ln.litHtmlPolyfillSupport;Vd?.(jr,Vr),(Ln.litHtmlVersions??=[]).push("3.1.0");var Do=globalThis,Gr=Do.ShadowRoot&&(Do.ShadyCSS===void 0||Do.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$n=Symbol(),As=new WeakMap,pr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==$n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Gr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=As.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&As.set(o,t))}return t}toString(){return this.cssText}},se=e=>new pr(typeof e=="string"?e:e+"",void 0,$n),$=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>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.")})(i)+e[a+1],e[0]);return new pr(o,e,$n)},Bo=(e,t)=>{if(Gr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Do.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Kr=Gr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return se(o)})(e):e;var{is:Gd,defineProperty:Kd,getOwnPropertyDescriptor:Zd,getOwnPropertyNames:qd,getOwnPropertySymbols:Yd,getPrototypeOf:Xd}=Object,Mo=globalThis,Rs=Mo.trustedTypes,Jd=Rs?Rs.emptyScript:"",Qd=Mo.reactiveElementPolyfillSupport,Zr=(e,t)=>e,Uo={toAttribute(e,t){switch(t){case Boolean:e=e?Jd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},kn=(e,t)=>!Gd(e,t),_s={attribute:!0,type:String,converter:Uo,reflect:!1,hasChanged:kn};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var Jt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=_s){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Kd(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Zd(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??_s}static _$Ei(){if(this.hasOwnProperty(Zr("elementProperties")))return;let t=Xd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Zr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Zr("properties"))){let o=this.properties,n=[...qd(o),...Yd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Kr(i))}else t!==void 0&&o.push(Kr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Bo(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Uo).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Uo;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??kn)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[Zr("elementProperties")]=new Map,Jt[Zr("finalized")]=new Map,Qd?.({ReactiveElement:Jt}),(Mo.reactiveElementVersions??=[]).push("2.0.2");var Bn=globalThis,Fo=Bn.trustedTypes,Ns=Fo?Fo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Un="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,Mn="?"+le,tp=`<${Mn}>`,ze=document,Yr=()=>ze.createComment(""),Xr=e=>e===null||typeof e!="object"&&typeof e!="function",ks=Array.isArray,Ds=e=>ks(e)||typeof e?.[Symbol.iterator]=="function",Dn=`[
5
- \f\r]`,qr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ts=/-->/g,Ls=/>/g,We=RegExp(`>|${Dn}(?:([^\\s"'>=/]+)(${Dn}*=${Dn}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ps=/'/g,Is=/"/g,Bs=/^(?:script|style|textarea|title)$/i,Us=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),D=Us(1),ep=Us(2),xe=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),$s=new WeakMap,He=ze.createTreeWalker(ze,129);function Ms(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ns!==void 0?Ns.createHTML(t):t}var Fs=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=qr;for(let l=0;l<o;l++){let d=e[l],p,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===qr?h[1]==="!--"?s=Ts:h[1]!==void 0?s=Ls:h[2]!==void 0?(Bs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=We):h[3]!==void 0&&(s=We):s===We?h[0]===">"?(s=i??qr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?We:h[3]==='"'?Is:Ps):s===Is||s===Ps?s=We:s===Ts||s===Ls?s=qr:(s=We,i=void 0);let b=s===We&&e[l+1].startsWith("/>")?" ":"";a+=s===qr?d+tp:f>=0?(n.push(p),d.slice(0,f)+Un+d.slice(f)+le+b):d+le+(f===-2?l:b)}return[Ms(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Jr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[p,h]=Fs(t,o);if(this.el=e.createElement(p,n),He.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=He.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Un)){let y=h[s++],b=i.getAttribute(f).split(le),x=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Ho:x[1]==="?"?zo:x[1]==="@"?jo:Ve}),i.removeAttribute(f)}else f.startsWith(le)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Bs.test(i.tagName)){let f=i.textContent.split(le),y=f.length-1;if(y>0){i.textContent=Fo?Fo.emptyScript:"";for(let b=0;b<y;b++)i.append(f[b],Yr()),He.nextNode(),d.push({type:2,index:++a});i.append(f[y],Yr())}}}else if(i.nodeType===8)if(i.data===Mn)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(le,f+1))!==-1;)d.push({type:7,index:a}),f+=le.length-1}a++}}static createElement(t,o){let n=ze.createElement("template");return n.innerHTML=t,n}};function je(e,t,o=e,n){if(t===xe)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Xr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=je(e,i._$AS(e,t.values),i,n)),t}var Wo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ze).importNode(o,!0);He.currentNode=i;let a=He.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new ur(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Vo(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=He.nextNode(),s++)}return He.currentNode=ze,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},ur=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=je(this,t,o),Xr(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==xe&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ds(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&Xr(this._$AH)?this._$AA.nextSibling.data=t:this.$(ze.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Jr.createElement(Ms(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Wo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=$s.get(t.strings);return o===void 0&&$s.set(t.strings,o=new Jr(t)),o}T(t){ks(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Yr()),this.k(Yr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ve=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=je(this,t,o,0),s=!Xr(t)||t!==this._$AH&&t!==xe,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=je(this,l[n+d],o,d),p===xe&&(p=this._$AH[d]),s||=!Xr(p)||p!==this._$AH[d],p===G?t=G:t!==G&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ho=class extends Ve{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===G?void 0:t}},zo=class extends Ve{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},jo=class extends Ve{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=je(this,t,o,0)??G)===xe)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Vo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){je(this,t)}},rp={j:Un,P:le,A:Mn,C:1,M:Fs,L:Wo,R:Ds,V:je,D:ur,I:Ve,H:zo,N:jo,U:Ho,B:Vo},op=Bn.litHtmlPolyfillSupport;op?.(Jr,ur),(Bn.litHtmlVersions??=[]).push("3.1.0");var Fn=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new ur(t.insertBefore(Yr(),a),a,void 0,o??{})}return i._$AI(e),i};var ce=class extends Jt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Fn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xe}};ce._$litElement$=!0,ce.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ce});var np=globalThis.litElementPolyfillSupport;np?.({LitElement:ce});var ip={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Uf=!1;var Hn={};q(Hn,{customElement:()=>ap,eventOptions:()=>fr,property:()=>E,query:()=>J,queryAll:()=>cp,queryAssignedElements:()=>pp,queryAssignedNodes:()=>Ge,queryAsync:()=>dp,standardProperty:()=>Ws,state:()=>yt});var ap=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var sp={attribute:!0,type:String,converter:Wr,reflect:!1,hasChanged:_o},Ws=(e=sp,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function E(e){return(t,o)=>typeof o=="object"?Ws(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function yt(e){return E({...e,state:!0,attribute:!1})}function fr(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var zt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function J(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return zt(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return zt(o,n,{get(){return a(this)}})}}var lp;function cp(e){return(t,o)=>zt(t,o,{get(){return(this.renderRoot??(lp??=document.createDocumentFragment())).querySelectorAll(e)}})}function dp(e){return(t,o)=>zt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function pp(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return zt(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Ge(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return zt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var zn={};q(zn,{repeat:()=>Ko});var ve={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Se=e=>(...t)=>({_$litDirective$:e,values:t}),Qt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:up}=ws;var Hs=()=>document.createComment(""),hr=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Hs(),i),s=n.insertBefore(Hs(),i);o=new up(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||l){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},Ce=(e,t,o=e)=>(e._$AI(t,o),e),fp={},zs=(e,t=fp)=>e._$AH=t,js=e=>e._$AH,Go=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var Vs=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Ko=Se(class extends Qt{constructor(e){if(super(e),e.type!==ve.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=js(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],d=[],p,h,f=0,y=i.length-1,b=0,x=a.length-1;for(;f<=y&&b<=x;)if(i[f]===null)f++;else if(i[y]===null)y--;else if(l[f]===s[b])d[b]=Ce(i[f],a[b]),f++,b++;else if(l[y]===s[x])d[x]=Ce(i[y],a[x]),y--,x--;else if(l[f]===s[x])d[x]=Ce(i[f],a[x]),hr(e,d[x+1],i[f]),f++,x--;else if(l[y]===s[b])d[b]=Ce(i[y],a[b]),hr(e,i[f],i[y]),y--,b++;else if(p===void 0&&(p=Vs(s,b,x),h=Vs(l,f,y)),p.has(l[f]))if(p.has(l[y])){let C=h.get(s[b]),_=C!==void 0?i[C]:null;if(_===null){let N=hr(e,i[f]);Ce(N,a[b]),d[b]=N}else d[b]=Ce(_,a[b]),hr(e,i[f],_),i[C]=null;b++}else Go(i[y]),y--;else Go(i[f]),f++;for(;b<=x;){let C=hr(e,d[x+1]);Ce(C,a[b]),d[b++]=C}for(;f<=y;){let C=i[f++];C!==null&&Go(C)}return this.dt=s,zs(e,d),Lt}});var jn={};q(jn,{classMap:()=>vt});var vt=Se(class extends Qt{constructor(e){if(super(e),e.type!==ve.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return Lt}});var Vn={};q(Vn,{styleMap:()=>yp});var Gs="important",hp=" !"+Gs,yp=Se(class extends Qt{constructor(e){if(super(e),e.type!==ve.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(hp);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Gs:""):o[n]=i}}return Lt}});var Kn={};q(Kn,{UnsafeHTMLDirective:()=>yr,unsafeHTML:()=>Gn});var yr=class extends Qt{constructor(t){if(super(t),this.et=it,t.type!==ve.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||t==null)return this.vt=void 0,this.et=t;if(t===Lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};yr.directiveName="unsafeHTML",yr.resultType=1;var Gn=Se(yr);var ti={};q(ti,{CacheRegistry:()=>te,ClearCacheEvent:()=>to});var qn={};q(qn,{CancelablePromise:()=>mr,CanceledPromiseError:()=>Qr,cancelable:()=>Zn});var Qr=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},mr=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Qr("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Qr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Zn=e=>new mr((t,o)=>e.then(t).catch(o));var Qn={};q(Qn,{FtNotificationEvent:()=>Yn,PostResizeEvent:()=>Jn,PreResizeEvent:()=>Xn,WithEventBus:()=>Ke,withEventBus:()=>Ks});var Yn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Xn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Jn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ks(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}var Ke=class extends Ks(Object){};var to=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},te=class extends Ke{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new to(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new to([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof mr&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Zn(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ri={};q(ri,{ClusteringHelper:()=>ei});var ei=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t){var o,n,i,a,s;let l=((a=(n=(o=t.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=t.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(l,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(l.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(l.join(" > ")),o&&o>1&&l.length>=o?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>e.extractResultMetadata({result:f,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:t,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(t,f.value),metadata:f})).sort((f,y)=>this.compareMetadata(f.metadata.value,y.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var p;return((p=e.extractResultMetadata({result:d,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var oi={};q(oi,{Debouncer:()=>Pt});var Pt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ai={};q(ai,{customElement:()=>X,isNumber:()=>Xs,jsonProperty:()=>ee,optionalNumberProperty:()=>Sp});var ii={};q(ii,{dateReviver:()=>gp,deepEqual:()=>jt,delay:()=>Zo,eventPathContainsMatchingElement:()=>xp,flatDeep:()=>qs,getComposedPathTo:()=>ni,hasChanged:()=>Ze,last:()=>vp,minmax:()=>eo,parseDate:()=>Ys,unslotText:()=>Oe,waitFor:()=>Zs,waitUntil:()=>mp});var Zo=e=>new Promise(t=>setTimeout(t,e));async function mp(e,t=10,o=2e4){await Zs(async()=>await e()||void 0,t,o)}async function Zs(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Zo(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function qs(e,t){return e.flatMap(o=>[o,...qs(t(o),t)])}function gp(...e){return function(t,o){return e.includes(t)?Ys(o):o}}function Ys(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function bp(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!jt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!jt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(i=a(e),o=i.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!jt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function jt(e,t){try{return bp(e,t)}catch{return!1}}function Ze(e,t){return!jt(e,t)}function xp(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function eo(e,t,o){return Math.min(Math.max(e,t),o)}function vp(e){return e[e.length-1]}function Oe(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Oe(t)).join(""):e?.textContent||""}function ni(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function ee(e,t){let o=()=>JSON.parse(JSON.stringify(e));return E({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ze,...t??{}})}function Sp(e){return E({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Xs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Xs(e){return!isNaN(parseFloat(e))}var ki={};q(ki,{designSystemVariables:()=>K});var $i={};q($i,{DesignSystemFamily:()=>St,DesignSystemSize:()=>Q,FtCssVariableFactory:()=>r,badge:()=>wp,banner:()=>Ep,button:()=>g,chart:()=>Bp,checkbox:()=>Fp,chip:()=>j,chipChoice:()=>Op,collapsible:()=>kp,comboboxMultiSelect:()=>$p,comboboxSingleSelect:()=>Ip,drawer:()=>_p,floatingMenu:()=>Pp,foundation:()=>c,link:()=>ut,modal:()=>Rp,notice:()=>Mp,notification:()=>zp,pageDesigner:()=>Up,pageFooter:()=>pe,pageHeader:()=>at,pageLayout:()=>Ap,popover:()=>wt,radio:()=>Hp,reorderableList:()=>Vp,resolveFamilyClass:()=>Pi,resolveSizeClass:()=>Ii,semantic:()=>u,setVariable:()=>w,switch_:()=>Dp,tabs:()=>Np,textArea:()=>Lp,textInput:()=>Tp,titleBreadcrumb:()=>gr,toggle:()=>Wp,tooltip:()=>jp,typographies:()=>Ee,typographyBody1Medium:()=>ui,typographyBody1Regular:()=>pi,typographyBody1Semibold:()=>fi,typographyBody2Medium:()=>yi,typographyBody2MediumUnderline:()=>Js,typographyBody2Regular:()=>hi,typographyBody2Semibold:()=>mi,typographyCaption1Bold:()=>wi,typographyCaption1Medium:()=>Oi,typographyCaption1Semibold:()=>Ei,typographyCaption2Bold:()=>_i,typographyCaption2Medium:()=>Ai,typographyCaption2Semibold:()=>Ri,typographyCaption3Bold:()=>Li,typographyCaption3Medium:()=>Ni,typographyCaption3Semibold:()=>Ti,typographyDisplay:()=>si,typographyLabel1Bold:()=>xi,typographyLabel1Medium:()=>gi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Ci,typographyLabel2Medium:()=>vi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>li,typographyTitle2:()=>ci,typographyTitle3:()=>di,typographyVariants:()=>Cp});var de=e=>typeof e=="string"?se(e):e,r=class{static create(t,o,n,i){let a=l=>de(l??i),s=$`var(${de(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>$`var(${de(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=$`var(${de(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>$`var(${de(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):de(a??t.lastResortDefaultValue()),i=$`var(${de(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>$`var(${de(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function w(e,t){return de(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},si={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},yi={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Js={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},mi={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},gi={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ti={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ee={display:si,"title-1":li,"title-2":ci,"title-3":di,"body-1-regular":pi,"body-1-medium":ui,"body-1-semibold":fi,"body-2-regular":hi,"body-2-medium":yi,"body-2-medium-underline":Js,"body-2-semibold":mi,"label-1-medium":gi,"label-1-semibold":bi,"label-1-bold":xi,"label-2-medium":vi,"label-2-semibold":Si,"label-2-bold":Ci,"caption-1-medium":Oi,"caption-1-semibold":Ei,"caption-1-bold":wi,"caption-2-medium":Ai,"caption-2-semibold":Ri,"caption-2-bold":_i,"caption-3-medium":Ni,"caption-3-semibold":Ti,"caption-3-bold":Li},Cp=["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:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Op={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var j={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ut={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Ep={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var wp={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var gr={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var at={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var pe={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Ap={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Rp={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var _p={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Np={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Tp={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Lp={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Pp={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Ip={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var $p={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var wt={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var kp={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Dp={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Bp={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Up={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Mp={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var Fp={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var Wp={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var Hp={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var zp={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var jp={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Vp={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var St;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(St||(St={}));var Q;(function(e){e.large="large",e.medium="medium",e.small="small"})(Q||(Q={}));function Pi(e){return`ftds--family-${e}`}function Ii(e){return`ftds--size-${e}`}var K={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ji={};q(Ji,{computeFlipOffsetPosition:()=>Xi,computeOffsetPosition:()=>Yi});var tl=["top","right","bottom","left"],Qs=["start","end"],Di=tl.reduce((e,t)=>e.concat(t,t+"-"+Qs[0],t+"-"+Qs[1]),[]),qe=Math.min,At=Math.max,no=Math.round;var ue=e=>({x:e,y:e}),Gp={left:"right",right:"left",bottom:"top",top:"bottom"},Kp={start:"end",end:"start"};function Bi(e,t,o){return At(e,qe(t,o))}function Ye(e,t){return typeof e=="function"?e(t):e}function Vt(e){return e.split("-")[0]}function Gt(e){return e.split("-")[1]}function Ui(e){return e==="x"?"y":"x"}function Mi(e){return e==="y"?"height":"width"}function br(e){return["top","bottom"].includes(Vt(e))?"y":"x"}function Fi(e){return Ui(br(e))}function Wi(e,t,o){o===void 0&&(o=!1);let n=Gt(e),i=Fi(e),a=Mi(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=oo(s)),[s,oo(s)]}function el(e){let t=oo(e);return[ro(e),t,ro(t)]}function ro(e){return e.replace(/start|end/g,t=>Kp[t])}function Zp(e,t,o){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:n:t?n:i;case"left":case"right":return t?a:s;default:return[]}}function rl(e,t,o,n){let i=Gt(e),a=Zp(Vt(e),o==="start",n);return i&&(a=a.map(s=>s+"-"+i),t&&(a=a.concat(a.map(ro)))),a}function oo(e){return e.replace(/left|right|bottom|top/g,t=>Gp[t])}function qp(e){return{top:0,right:0,bottom:0,left:0,...e}}function ol(e){return typeof e!="number"?qp(e):{top:e,right:e,bottom:e,left:e}}function Xe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function nl(e,t,o){let{reference:n,floating:i}=e,a=br(t),s=Fi(t),l=Mi(s),d=Vt(t),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:h,y:n.y-i.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-i.width,y:f};break;default:b={x:n.x,y:n.y}}switch(Gt(t)){case"start":b[s]-=y*(o&&p?-1:1);break;case"end":b[s]+=y*(o&&p?-1:1);break}return b}var il=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:f}=nl(p,n,d),y=n,b={},x=0;for(let C=0;C<l.length;C++){let{name:_,fn:N}=l[C],{x:L,y:O,data:v,reset:A}=await N({x:h,y:f,initialPlacement:n,placement:y,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(h=L??h,f=O??f,b={...b,[_]:{...b[_],...v}},A&&x<=50){x++,typeof A=="object"&&(A.placement&&(y=A.placement),A.rects&&(p=A.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):A.rects),{x:h,y:f}=nl(p,y,d)),C=-1;continue}}return{x:h,y:f,placement:y,strategy:i,middlewareData:b}};async function io(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:b=0}=Ye(t,e),x=ol(b),_=l[y?f==="floating"?"reference":"floating":f],N=Xe(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(_)))==null||o?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),L=f==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),v=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},A=Xe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:O,strategy:d}):L);return{top:(N.top-A.top+x.top)/v.y,bottom:(A.bottom-N.bottom+x.bottom)/v.y,left:(N.left-A.left+x.left)/v.x,right:(A.right-N.right+x.right)/v.x}}function Yp(e,t,o){return(e?[...o.filter(i=>Gt(i)===e),...o.filter(i=>Gt(i)!==e)]:o.filter(i=>Vt(i)===i)).filter(i=>e?Gt(i)===e||(t?ro(i)!==i:!1):!0)}var Hi=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:y=Di,autoAlignment:b=!0,...x}=Ye(e,t),C=f!==void 0||y===Di?Yp(f||null,b,y):y,_=await io(t,x),N=((o=s.autoPlacement)==null?void 0:o.index)||0,L=C[N];if(L==null)return{};let O=Wi(L,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==L)return{reset:{placement:C[0]}};let v=[_[Vt(L)],_[O[0]],_[O[1]]],A=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:v}],P=C[N+1];if(P)return{data:{index:N+1,overflows:A},reset:{placement:P}};let U=A.map(k=>{let m=Gt(k.placement);return[k.placement,m&&h?k.overflows.slice(0,2).reduce((S,I)=>S+I,0):k.overflows[0],k.overflows]}).sort((k,m)=>k[1]-m[1]),W=((i=U.filter(k=>k[2].slice(0,Gt(k[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||U[0][0];return W!==l?{data:{index:N+1,overflows:A},reset:{placement:W}}:{}}}},zi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:p}=t,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:y,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:C=!0,..._}=Ye(e,t);if((o=a.arrow)!=null&&o.alignmentOffset)return{};let N=Vt(i),L=Vt(l)===l,O=await(d.isRTL==null?void 0:d.isRTL(p.floating)),v=y||(L||!C?[oo(l)]:el(l));!y&&x!=="none"&&v.push(...rl(l,C,x,O));let A=[l,...v],P=await io(t,_),U=[],H=((n=a.flip)==null?void 0:n.overflows)||[];if(h&&U.push(P[N]),f){let S=Wi(i,s,O);U.push(P[S[0]],P[S[1]])}if(H=[...H,{placement:i,overflows:U}],!U.every(S=>S<=0)){var W,k;let S=(((W=a.flip)==null?void 0:W.index)||0)+1,I=A[S];if(I)return{data:{index:S,overflows:H},reset:{placement:I}};let z=(k=H.filter(V=>V.overflows[0]<=0).sort((V,M)=>V.overflows[1]-M.overflows[1])[0])==null?void 0:k.placement;if(!z)switch(b){case"bestFit":{var m;let V=(m=H.map(M=>[M.placement,M.overflows.filter(Xt=>Xt>0).reduce((Xt,Mr)=>Xt+Mr,0)]).sort((M,Xt)=>M[1]-Xt[1])[0])==null?void 0:m[0];V&&(z=V);break}case"initialPlacement":z=l;break}if(i!==z)return{reset:{placement:z}}}return{}}}};async function Xp(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Vt(o),l=Gt(o),d=br(o)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=Ye(t,e),{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 ji=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=t,d=await Xp(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Vi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:N,y:L}=_;return{x:N,y:L}}},...d}=Ye(e,t),p={x:o,y:n},h=await io(t,d),f=br(Vt(i)),y=Ui(f),b=p[y],x=p[f];if(a){let _=y==="y"?"top":"left",N=y==="y"?"bottom":"right",L=b+h[_],O=b-h[N];b=Bi(L,b,O)}if(s){let _=f==="y"?"top":"left",N=f==="y"?"bottom":"right",L=x+h[_],O=x-h[N];x=Bi(L,x,O)}let C=l.fn({...t,[y]:b,[f]:x});return{...C,data:{x:C.x-o,y:C.y-n}}}}};var Gi=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:o,rects:n,platform:i,elements:a}=t,{apply:s=()=>{},...l}=Ye(e,t),d=await io(t,l),p=Vt(o),h=Gt(o),f=br(o)==="y",{width:y,height:b}=n.floating,x,C;p==="top"||p==="bottom"?(x=p,C=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(C=p,x=h==="end"?"top":"bottom");let _=b-d[x],N=y-d[C],L=!t.middlewareData.shift,O=_,v=N;if(f){let P=y-d.left-d.right;v=h||L?qe(N,P):P}else{let P=b-d.top-d.bottom;O=h||L?qe(_,P):P}if(L&&!h){let P=At(d.left,0),U=At(d.right,0),H=At(d.top,0),W=At(d.bottom,0);f?v=y-2*(P!==0||U!==0?P+U:At(d.left,d.right)):O=b-2*(H!==0||W!==0?H+W:At(d.top,d.bottom))}await s({...t,availableWidth:v,availableHeight:O});let A=await i.getDimensions(a.floating);return y!==A.width||b!==A.height?{reset:{rects:!0}}:{}}}};function fe(e){return sl(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function he(e){var t;return(t=(sl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sl(e){return e instanceof Node||e instanceof Rt(e).Node}function re(e){return e instanceof Element||e instanceof Rt(e).Element}function Kt(e){return e instanceof HTMLElement||e instanceof Rt(e).HTMLElement}function al(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function xr(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=It(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function ll(e){return["table","td","th"].includes(fe(e))}function Yo(e){let t=Xo(),o=It(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function cl(e){let t=Je(e);for(;Kt(t)&&!ao(t);){if(Yo(t))return t;t=Je(t)}return null}function Xo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ao(e){return["html","body","#document"].includes(fe(e))}function It(e){return Rt(e).getComputedStyle(e)}function so(e){return re(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Je(e){if(fe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||al(e)&&e.host||he(e);return al(t)?t.host:t}function dl(e){let t=Je(e);return ao(t)?e.ownerDocument?e.ownerDocument.body:e.body:Kt(t)&&xr(t)?t:dl(t)}function qo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=dl(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=Rt(i);return a?t.concat(s,s.visualViewport||[],xr(i)?i:[],s.frameElement&&o?qo(s.frameElement):[]):t.concat(i,qo(i,[],o))}function fl(e){let t=It(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Kt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=no(o)!==a||no(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function hl(e){return re(e)?e:e.contextElement}function vr(e){let t=hl(e);if(!Kt(t))return ue(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=fl(t),s=(a?no(o.width):o.width)/n,l=(a?no(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Jp=ue(0);function yl(e){let t=Rt(e);return!Xo()||!t.visualViewport?Jp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qp(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Rt(e)?!1:t}function lo(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=hl(e),s=ue(1);t&&(n?re(n)&&(s=vr(n)):s=vr(e));let l=Qp(a,o,n)?yl(a):ue(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let y=Rt(a),b=n&&re(n)?Rt(n):n,x=y.frameElement;for(;x&&n&&b!==y;){let C=vr(x),_=x.getBoundingClientRect(),N=It(x),L=_.left+(x.clientLeft+parseFloat(N.paddingLeft))*C.x,O=_.top+(x.clientTop+parseFloat(N.paddingTop))*C.y;d*=C.x,p*=C.y,h*=C.x,f*=C.y,d+=L,p+=O,x=Rt(x).frameElement}}return Xe({width:h,height:f,x:d,y:p})}function tu(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Kt(o),a=he(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=ue(1),d=ue(0);if((i||!i&&n!=="fixed")&&((fe(o)!=="body"||xr(a))&&(s=so(o)),Kt(o))){let p=lo(o);l=vr(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function eu(e){return Array.from(e.getClientRects())}function ml(e){return lo(he(e)).left+so(e).scrollLeft}function ru(e){let t=he(e),o=so(e),n=e.ownerDocument.body,i=At(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=At(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+ml(e),l=-o.scrollTop;return It(n).direction==="rtl"&&(s+=At(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function ou(e,t){let o=Rt(e),n=he(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=Xo();(!p||p&&t==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function nu(e,t){let o=lo(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Kt(e)?vr(e):ue(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function pl(e,t,o){let n;if(t==="viewport")n=ou(e,o);else if(t==="document")n=ru(he(e));else if(re(t))n=nu(t,o);else{let i=yl(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return Xe(n)}function gl(e,t){let o=Je(e);return o===t||!re(o)||ao(o)?!1:It(o).position==="fixed"||gl(o,t)}function iu(e,t){let o=t.get(e);if(o)return o;let n=qo(e,[],!1).filter(l=>re(l)&&fe(l)!=="body"),i=null,a=It(e).position==="fixed",s=a?Je(e):e;for(;re(s)&&!ao(s);){let l=It(s),d=Yo(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||xr(s)&&!d&&gl(e,s))?n=n.filter(h=>h!==s):i=l,s=Je(s)}return t.set(e,n),n}function au(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?iu(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,h)=>{let f=pl(t,h,i);return p.top=At(f.top,p.top),p.right=qe(f.right,p.right),p.bottom=qe(f.bottom,p.bottom),p.left=At(f.left,p.left),p},pl(t,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function su(e){return fl(e)}function lu(e,t,o){let n=Kt(t),i=he(t),a=o==="fixed",s=lo(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=ue(0);if(n||!n&&!a)if((fe(t)!=="body"||xr(i))&&(l=so(t)),n){let p=lo(t,!0,a,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else i&&(d.x=ml(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function ul(e,t){return!Kt(e)||It(e).position==="fixed"?null:t?t(e):e.offsetParent}function bl(e,t){let o=Rt(e);if(!Kt(e))return o;let n=ul(e,t);for(;n&&ll(n)&&It(n).position==="static";)n=ul(n,t);return n&&(fe(n)==="html"||fe(n)==="body"&&It(n).position==="static"&&!Yo(n))?o:n||cl(e)||o}var cu=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||bl,a=this.getDimensions;return{reference:lu(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function du(e){return It(e).direction==="rtl"}var Sr={convertOffsetParentRelativeRectToViewportRelativeRect:tu,getDocumentElement:he,getClippingRect:au,getOffsetParent:bl,getElementRects:cu,getClientRects:eu,getDimensions:su,getScale:vr,isElement:re,isRTL:du};var Ki=(e,t,o)=>{let n=new Map,i={platform:Sr,...o},a={...i.platform,_c:n};return il(e,t,{...i,platform:a})};function qi(e){return pu(e)}function Zi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function pu(e){for(let t=e;t;t=Zi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Zi(e);t;t=Zi(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Yi(e,t,o){return Ki(e,t,{platform:{...Sr,getOffsetParent:n=>Sr.getOffsetParent(n,qi)},middleware:[Vi({crossAxis:!0}),Hi({allowedPlacements:[o]})]})}async function Xi(e,t,o,n,i,a,s=4){return Ki(e,t,{placement:o,strategy:i,platform:{...Sr,getOffsetParent:l=>Sr.getOffsetParent(l,qi)},middleware:[ji(s),zi({fallbackPlacements:n}),Gi({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var ea={};q(ea,{FtdsBase:()=>Qe,toFtdsBase:()=>tn});var ta={};q(ta,{FtLitElement:()=>Z});var Qi={};q(Qi,{ScopedRegistryLitElement:()=>co});var Jo=window,uu=Jo.ShadowRoot&&(Jo.ShadyCSS===void 0||Jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,db=Symbol();var xl=(e,t)=>{uu?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Jo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var co=class extends ce{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return xl(n,t.elementStyles),n}};var Qo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ol,vl=Symbol("constructorPrototype"),Sl=Symbol("constructorName"),El=Symbol("exportpartsDebouncer"),Cl=Symbol("dynamicDependenciesLoaded"),Z=class extends co{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ol]=new Pt(5),this[Sl]=this.constructor.name,this[vl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Sl]&&Object.setPrototypeOf(this,this[vl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[Cl]||(t[Cl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[El].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,l;let d=y=>y!=null&&y.trim().length>0,p=t.filter(d).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(d).map(C=>C.trim()).forEach(C=>h.add(C))}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(", "))}};Ol=El;Qo([E()],Z.prototype,"exportpartsPrefix",void 0);Qo([ee([])],Z.prototype,"exportpartsPrefixes",void 0);Qo([E()],Z.prototype,"customStylesheet",void 0);Qo([yt()],Z.prototype,"useAdoptedStyleSheets",void 0);var wl=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function tn(e){class t extends e{constructor(){super(...arguments),this.size=Q.medium,this.family=St.neutral}getDesignSystemBaseClasses(){return{[Pi(this.family)]:!0,[Ii(this.size)]:!0}}}return wl([E()],t.prototype,"size",void 0),wl([E()],t.prototype,"family",void 0),t}var Qe=class extends tn(Z){};var Al={};var na={};q(na,{highlightHtml:()=>oa,highlightHtmlColorCssVariable:()=>Rl,highlightHtmlStyles:()=>hu});var tr=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(p=>{e.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,y=>this.checkIframeFilter(p,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(t,b=>d.push(b),i)}),d.push(p);d.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var po=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new tr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,l=o-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return tr.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),y=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),t.value=f+y,t.nodes.forEach((b,x)=>{x>=l&&(t.nodes[x].start>0&&x!==l&&(t.nodes[x].start-=h),t.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=t.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),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=t.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)=>{t.lastIndex=y,i(f)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,y=>o(y,l,a.value.substring(p,h),d),y=>{n(y,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),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[i](h,1,(y,b)=>this.opt.filter(b,p,n,f),y=>{f++,n++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=tr.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ra(e){let t=new po(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var fu=ra,Rl=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),hu=$`
1
+ "use strict";(()=>{var kc=Object.create;var en=Object.defineProperty;var $c=Object.getOwnPropertyDescriptor;var Dc=Object.getOwnPropertyNames;var Bc=Object.getPrototypeOf,Mc=Object.prototype.hasOwnProperty;var Uc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),q=(e,t)=>{for(var o in t)en(e,o,{get:t[o],enumerable:!0})},Fc=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Dc(t))!Mc.call(e,a)&&a!==o&&en(e,a,{get:()=>t[a],enumerable:!(n=$c(t,a))||n.enumerable});return e};var Wc=(e,t,o)=>(o=e!=null?kc(Bc(e)):{},Fc(t||!e||!e.__esModule?en(o,"default",{value:e,enumerable:!0}):o,e));var yl=Uc((Te,hl)=>{var Mo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Uo=function(){function e(){this.fetch=!1,this.DOMException=Mo.DOMException}return e.prototype=Mo,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||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 f(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var S={next:function(){var I=y.shift();return{done:I===void 0,value:I}}};return a.iterable&&(S[Symbol.iterator]=function(){return S}),S}function u(y){this.map={},y instanceof u?y.forEach(function(S,I){this.append(I,S)},this):Array.isArray(y)?y.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):y&&Object.getOwnPropertyNames(y).forEach(function(S){this.append(S,y[S])},this)}u.prototype.append=function(y,S){y=d(y),S=f(S);var I=this.map[y];this.map[y]=I?I+", "+S:S},u.prototype.delete=function(y){delete this.map[d(y)]},u.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},u.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},u.prototype.set=function(y,S){this.map[d(y)]=f(S)},u.prototype.forEach=function(y,S){for(var I in this.map)this.map.hasOwnProperty(I)&&y.call(S,this.map[I],I,this)},u.prototype.keys=function(){var y=[];return this.forEach(function(S,I){y.push(I)}),h(y)},u.prototype.values=function(){var y=[];return this.forEach(function(S){y.push(S)}),h(y)},u.prototype.entries=function(){var y=[];return this.forEach(function(S,I){y.push([I,S])}),h(y)},a.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(S,I){y.onload=function(){S(y.result)},y.onerror=function(){I(y.error)}})}function b(y){var S=new FileReader,I=x(S);return S.readAsArrayBuffer(y),I}function O(y){var S=new FileReader,I=x(S),H=/charset=([A-Za-z0-9_-]+)/.exec(y.type),Z=H?H[1]:"utf-8";return S.readAsText(y,Z),I}function N(y){for(var S=new Uint8Array(y),I=new Array(S.length),H=0;H<S.length;H++)I[H]=String.fromCharCode(S[H]);return I.join("")}function L(y){if(y.slice)return y.slice(0);var S=new Uint8Array(y.byteLength);return S.set(new Uint8Array(y)),S.buffer}function T(){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=L(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=L(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(b);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(k)}),this.json=function(){return this.text().then(JSON.parse)},this}var E=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(y){var S=y.toUpperCase();return E.indexOf(S)>-1?S:y}function A(y,S){if(!(this instanceof A))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(y instanceof A){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,S.headers||(this.headers=new u(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!I&&y._bodyInit!=null&&(I=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new u(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 W=new AbortController;return W.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 Z=/\?/;this.url+=(Z.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})};function k(y){var S=new FormData;return y.trim().split("&").forEach(function(I){if(I){var H=I.split("="),Z=H.shift().replace(/\+/g," "),W=H.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Z),decodeURIComponent(W))}}),S}function M(y){var S=new u,I=y.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 Z=H.split(":"),W=Z.shift().trim();if(W){var Ft=Z.join(":").trim();try{S.append(W,Ft)}catch(Et){console.warn("Response "+Et.message)}}}),S}T.call(A.prototype);function j(y,S){if(!(this instanceof j))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 u(S.headers),this.url=S.url||"",this._initBody(y)}T.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},j.error=function(){var y=new j(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var F=[301,302,303,307,308];j.redirect=function(y,S){if(F.indexOf(S)===-1)throw new RangeError("Invalid status code");return new j(null,{status:S,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(S,I){this.message=S,this.name=I;var H=Error(S);this.stack=H.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function P(y,S){return new Promise(function(I,H){var Z=new A(y,S);if(Z.signal&&Z.signal.aborted)return H(new o.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function Ft(){W.abort()}W.onload=function(){var ht={statusText:W.statusText,headers:M(W.getAllResponseHeaders()||"")};Z.url.indexOf("file://")===0&&(W.status<200||W.status>599)?ht.status=200:ht.status=W.status,ht.url="responseURL"in W?W.responseURL:ht.headers.get("X-Request-URL");var Ie="response"in W?W.response:W.responseText;setTimeout(function(){I(new j(Ie,ht))},0)},W.onerror=function(){setTimeout(function(){H(new TypeError("Network request failed"))},0)},W.ontimeout=function(){setTimeout(function(){H(new TypeError("Network request timed out"))},0)},W.onabort=function(){setTimeout(function(){H(new o.DOMException("Aborted","AbortError"))},0)};function Et(ht){try{return ht===""&&n.location.href?n.location.href:ht}catch{return ht}}if(W.open(Z.method,Et(Z.url),!0),Z.credentials==="include"?W.withCredentials=!0:Z.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&(a.blob?W.responseType="blob":a.arrayBuffer&&(W.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof u||n.Headers&&S.headers instanceof n.Headers)){var zt=[];Object.getOwnPropertyNames(S.headers).forEach(function(ht){zt.push(d(ht)),W.setRequestHeader(ht,f(S.headers[ht]))}),Z.headers.forEach(function(ht,Ie){zt.indexOf(Ie)===-1&&W.setRequestHeader(Ie,ht)})}else Z.headers.forEach(function(ht,Ie){W.setRequestHeader(Ie,ht)});Z.signal&&(Z.signal.addEventListener("abort",Ft),W.onreadystatechange=function(){W.readyState===4&&Z.signal.removeEventListener("abort",Ft)}),W.send(typeof Z._bodyInit>"u"?null:Z._bodyInit)})}return P.polyfill=!0,n.fetch||(n.fetch=P,n.Headers=u,n.Request=A,n.Response=j),o.Headers=u,o.Request=A,o.Response=j,o.fetch=P,o}({})})(Uo);Uo.fetch.ponyfill=!0;delete Uo.fetch.polyfill;var Sr=Mo.fetch?Mo:Uo;Te=Sr.fetch;Te.default=Sr.fetch;Te.fetch=Sr.fetch;Te.Headers=Sr.Headers;Te.Request=Sr.Request;Te.Response=Sr.Response;hl.exports=Te});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=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(E,v){if(E=E.toLowerCase(),this._getDefinition(E)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${E}" 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 A=v.prototype.attributeChangedCallback,k=new Set(v.observedAttributes||[]);m(v,k,A);let M={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(E,M),this._definitionsByClass.set(v,M);let j=o.call(n,E);j||(j=u(E),t.call(n,E,j)),this===window.customElements&&(s.set(v,M),M.standInClass=j);let F=this._awaitingUpgrade.get(E);if(F){this._awaitingUpgrade.delete(E);for(let y of F)i.delete(y),b(y,M,!0)}let P=this._whenDefinedPromises.get(E);return P!==void 0&&(P.resolve(v),this._whenDefinedPromises.delete(E)),v}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.pop()}get(E){return this._definitionsByTag.get(E)?.elementClass}_getDefinition(E){return this._definitionsByTag.get(E)}whenDefined(E){let v=this._getDefinition(E);if(v!==void 0)return Promise.resolve(v.elementClass);let A=this._whenDefinedPromises.get(E);return A===void 0&&(A={},A.promise=new Promise(k=>A.resolve=k),this._whenDefinedPromises.set(E,A)),A.promise}_upgradeWhenDefined(E,v,A){let k=this._awaitingUpgrade.get(v);k||this._awaitingUpgrade.set(v,k=new Set),A?k.add(E):k.delete(E)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(e,[],A.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),a.set(v,A),v},window.HTMLElement.prototype=e.prototype;let f=E=>E===document||E instanceof ShadowRoot,h=E=>{let v=E.getRootNode();if(!f(v)){let A=N[N.length-1];if(A instanceof CustomElementRegistry)return A;v=A.getRootNode(),f(v)||(v=c.get(v)?.getRootNode()||document)}return v.customElements},u=E=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let k=h(A)||window.customElements,M=k._getDefinition(E);return M?b(A,M):i.set(A,k),A}connectedCallback(){let A=a.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,E,!0)}disconnectedCallback(){let A=a.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,E,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=a.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=a.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=a.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=a.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},m=(E,v,A)=>{if(v.size===0||A===void 0)return;let k=E.prototype.setAttribute;k&&(E.prototype.setAttribute=function(F,P){let y=F.toLowerCase();if(v.has(y)){let S=this.getAttribute(y);k.call(this,y,P),A.call(this,y,S,P)}else k.call(this,y,P)});let M=E.prototype.removeAttribute;M&&(E.prototype.removeAttribute=function(F){let P=F.toLowerCase();if(v.has(P)){let y=this.getAttribute(P);M.call(this,P),A.call(this,P,y,null)}else M.call(this,P)});let j=E.prototype.toggleAttribute;j&&(E.prototype.toggleAttribute=function(F,P){let y=F.toLowerCase();if(v.has(y)){let S=this.getAttribute(y);j.call(this,y,P);let I=this.getAttribute(y);A.call(this,y,S,I)}else j.call(this,y,P)})},x=E=>{let v=Object.getPrototypeOf(E);if(v!==window.HTMLElement)return v===e?Object.setPrototypeOf(E,window.HTMLElement):x(v)},b=(E,v,A=!1)=>{Object.setPrototypeOf(E,v.elementClass.prototype),a.set(E,v),d=E;try{new v.elementClass}catch{x(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(k=>{E.hasAttribute(k)&&v.attributeChangedCallback.call(E,k,null,E.getAttribute(k))}),A&&v.connectedCallback&&E.isConnected&&v.connectedCallback.call(E)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(E){let v=O.apply(this,arguments);return E.customElements&&(v.customElements=E.customElements),v};let N=[document],L=(E,v,A=void 0)=>{let k=(A?Object.getPrototypeOf(A):E.prototype)[v];E.prototype[v]=function(){N.push(this);let M=k.apply(A||this,arguments);return M!==void 0&&c.set(M,this),N.pop(),M}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let T=(E,v)=>{let A=Object.getOwnPropertyDescriptor(E.prototype,v);Object.defineProperty(E.prototype,v,{...A,set(k){N.push(this),A.set.call(this,k),N.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let E=new WeakMap,v=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...F){let P=v.call(this,...F);return E.set(P,this),P},A.forEach(F=>{let P=window.ElementInternals.prototype,y=P[F];P[F]=function(...S){let I=E.get(this);if(a.get(I).formAssociated===!0)return y?.call(this,...S);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class M{constructor(P){let y=new Map;P.forEach((S,I)=>{let H=S.getAttribute("name"),Z=y.get(H)||[];this[+I]=S,Z.push(S),y.set(H,Z)}),this.length=P.length,y.forEach((S,I)=>{S&&(S.length===1?this[I]=S[0]:this[I]=new k(S))})}namedItem(P){return this[P]}}let j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let F=j.get.call(this,[]),P=[];for(let y of F){let S=a.get(y);(!S||S.formAssociated===!0)&&P.push(y)}return new M(P)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{t.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var yn={};q(yn,{CSSResult:()=>nr,LitElement:()=>ce,ReactiveElement:()=>Jt,_$LE:()=>Qc,_$LH:()=>fn,adoptStyles:()=>kr,css:()=>$,defaultConverter:()=>ar,getCompatibleStyle:()=>uo,html:()=>D,isServer:()=>Af,mathml:()=>pn,noChange:()=>xt,notEqual:()=>Dr,nothing:()=>z,render:()=>un,supportsAdoptingStyleSheets:()=>Ir,svg:()=>dn,unsafeCSS:()=>se});var fo=globalThis,Ir=fo.ShadowRoot&&(fo.ShadyCSS===void 0||fo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,rn=Symbol(),Ii=new WeakMap,nr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==rn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Ir&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ii.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ii.set(o,t))}return t}toString(){return this.cssText}},se=e=>new nr(typeof e=="string"?e:e+"",void 0,rn),$=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[i+1],e[0]);return new nr(o,e,rn)},kr=(e,t)=>{if(Ir)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=fo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}},uo=Ir?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return se(o)})(e):e;var{is:Hc,defineProperty:zc,getOwnPropertyDescriptor:jc,getOwnPropertyNames:Gc,getOwnPropertySymbols:Vc,getPrototypeOf:Kc}=Object,ho=globalThis,ki=ho.trustedTypes,Zc=ki?ki.emptyScript:"",qc=ho.reactiveElementPolyfillSupport,$r=(e,t)=>e,ar={toAttribute(e,t){switch(t){case Boolean:e=e?Zc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Dr=(e,t)=>!Hc(e,t),$i={attribute:!0,type:String,converter:ar,reflect:!1,useDefault:!1,hasChanged:Dr};Symbol.metadata??=Symbol("metadata"),ho.litPropertyMetadata??=new WeakMap;var Jt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=$i){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,o);a!==void 0&&zc(this.prototype,t,a)}}static getPropertyDescriptor(t,o,n){let{get:a,set:i}=jc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get:a,set(s){let c=a?.call(this);i?.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$i}static _$Ei(){if(this.hasOwnProperty($r("elementProperties")))return;let t=Kc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($r("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($r("properties"))){let o=this.properties,n=[...Gc(o),...Vc(o)];for(let a of n)this.createProperty(a,o[a])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)o.unshift(uo(a))}else t!==void 0&&o.push(uo(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return kr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$ET(t,o){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:ar).toAttribute(o,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,o){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:ar;this._$Em=a,this[a]=s.fromAttribute(o,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,o,n){if(t!==void 0){let a=this.constructor,i=this[t];if(n??=a.getPropertyOptions(t),!((n.hasChanged??Dr)(i,o)||n.useDefault&&n.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,n))))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,o,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??o??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(o=void 0),this._$AL.set(t,o)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:s}=i,c=this[a];s!==!0||this._$AL.has(a)||c===void 0||this.C(a,void 0,i,c)}}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(t){}firstUpdated(t){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[$r("elementProperties")]=new Map,Jt[$r("finalized")]=new Map,qc?.({ReactiveElement:Jt}),(ho.reactiveElementVersions??=[]).push("2.1.0");var nn=globalThis,yo=nn.trustedTypes,Di=yo?yo.createPolicy("lit-html",{createHTML:e=>e}):void 0,an="$lit$",le=`lit$${Math.random().toFixed(9).slice(2)}$`,sn="?"+le,Yc=`<${sn}>`,De=document,Mr=()=>De.createComment(""),Ur=e=>e===null||typeof e!="object"&&typeof e!="function",ln=Array.isArray,Hi=e=>ln(e)||typeof e?.[Symbol.iterator]=="function",on=`[
3
+ \f\r]`,Br=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bi=/-->/g,Mi=/>/g,ke=RegExp(`>|${on}(?:([^\\s"'>=/]+)(${on}*=${on}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ui=/'/g,Fi=/"/g,zi=/^(?:script|style|textarea|title)$/i,cn=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),D=cn(1),dn=cn(2),pn=cn(3),xt=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Wi=new WeakMap,$e=De.createTreeWalker(De,129);function ji(e,t){if(!ln(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Di!==void 0?Di.createHTML(t):t}var Gi=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=Br;for(let c=0;c<o;c++){let d=e[c],f,h,u=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Br?h[1]==="!--"?s=Bi:h[1]!==void 0?s=Mi:h[2]!==void 0?(zi.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=ke):h[3]!==void 0&&(s=ke):s===ke?h[0]===">"?(s=a??Br,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?ke:h[3]==='"'?Fi:Ui):s===Fi||s===Ui?s=ke:s===Bi||s===Mi?s=Br:(s=ke,a=void 0);let x=s===ke&&e[c+1].startsWith("/>")?" ":"";i+=s===Br?d+Yc:u>=0?(n.push(f),d.slice(0,u)+an+d.slice(u)+le+x):d+le+(u===-2?c:x)}return[ji(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Fr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,c=t.length-1,d=this.parts,[f,h]=Gi(t,o);if(this.el=e.createElement(f,n),$e.currentNode=this.el.content,o===2||o===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(a=$e.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let u of a.getAttributeNames())if(u.endsWith(an)){let m=h[s++],x=a.getAttribute(u).split(le),b=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:b[2],strings:x,ctor:b[1]==="."?go:b[1]==="?"?bo:b[1]==="@"?xo:Me}),a.removeAttribute(u)}else u.startsWith(le)&&(d.push({type:6,index:i}),a.removeAttribute(u));if(zi.test(a.tagName)){let u=a.textContent.split(le),m=u.length-1;if(m>0){a.textContent=yo?yo.emptyScript:"";for(let x=0;x<m;x++)a.append(u[x],Mr()),$e.nextNode(),d.push({type:2,index:++i});a.append(u[m],Mr())}}}else if(a.nodeType===8)if(a.data===sn)d.push({type:2,index:i});else{let u=-1;for(;(u=a.data.indexOf(le,u+1))!==-1;)d.push({type:7,index:i}),u+=le.length-1}i++}}static createElement(t,o){let n=De.createElement("template");return n.innerHTML=t,n}};function Be(e,t,o=e,n){if(t===xt)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Ur(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Be(e,a._$AS(e,t.values),a,n)),t}var mo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??De).importNode(o,!0);$e.currentNode=a;let i=$e.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new ir(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new vo(i,this,t)),this._$AV.push(f),d=n[++c]}s!==d?.index&&(i=$e.nextNode(),s++)}return $e.currentNode=De,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},ir=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Be(this,t,o),Ur(t)?t===z||t==null||t===""?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==xt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Hi(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==z&&Ur(this._$AH)?this._$AA.nextSibling.data=t:this.T(De.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Fr.createElement(ji(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new mo(a,this),s=i.u(this.options);i.p(o),this.T(s),this._$AH=i}}_$AC(t){let o=Wi.get(t.strings);return o===void 0&&Wi.set(t.strings,o=new Fr(t)),o}k(t){ln(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.O(Mr()),this.O(Mr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Me=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=z,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=z}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=Be(this,t,o,0),s=!Ur(t)||t!==this._$AH&&t!==xt,s&&(this._$AH=t);else{let c=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=Be(this,c[n+d],o,d),f===xt&&(f=this._$AH[d]),s||=!Ur(f)||f!==this._$AH[d],f===z?t=z:t!==z&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},go=class extends Me{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===z?void 0:t}},bo=class extends Me{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==z)}},xo=class extends Me{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Be(this,t,o,0)??z)===xt)return;let n=this._$AH,a=t===z&&n!==z||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==z&&(n===z||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},vo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Be(this,t)}},fn={M:an,P:le,A:sn,C:1,L:Gi,R:mo,D:Hi,V:Be,I:ir,H:Me,N:bo,U:xo,B:go,F:vo},Xc=nn.litHtmlPolyfillSupport;Xc?.(Fr,ir),(nn.litHtmlVersions??=[]).push("3.3.0");var un=(e,t,o)=>{let n=o?.renderBefore??t,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new ir(t.insertBefore(Mr(),i),i,void 0,o??{})}return a._$AI(e),a};var hn=globalThis,ce=class extends Jt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=un(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xt}};ce._$litElement$=!0,ce.finalized=!0,hn.litElementHydrateSupport?.({LitElement:ce});var Jc=hn.litElementPolyfillSupport;Jc?.({LitElement:ce});var Qc={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(hn.litElementVersions??=[]).push("4.2.0");var Af=!1;var mn={};q(mn,{customElement:()=>td,eventOptions:()=>sr,property:()=>C,query:()=>J,queryAll:()=>od,queryAssignedElements:()=>ad,queryAssignedNodes:()=>Ue,queryAsync:()=>nd,standardProperty:()=>Vi,state:()=>yt});var td=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var ed={attribute:!0,type:String,converter:ar,reflect:!1,hasChanged:Dr},Vi=(e=ed,t,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(c){let d=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,d,e)},init(c){return c!==void 0&&this.C(s,void 0,e,c),c}}}if(n==="setter"){let{name:s}=o;return function(c){let d=this[s];t.call(this,c),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function C(e){return(t,o)=>typeof o=="object"?Vi(e,t,o):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,o)}function yt(e){return C({...e,state:!0,attribute:!1})}function sr(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var jt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function J(e,t){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return jt(o,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return jt(o,n,{get(){return i(this)}})}}var rd;function od(e){return(t,o)=>jt(t,o,{get(){return(this.renderRoot??(rd??=document.createDocumentFragment())).querySelectorAll(e)}})}function nd(e){return(t,o)=>jt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function ad(e){return(t,o)=>{let{slot:n,selector:a}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return jt(t,o,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(e)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function Ue(e){return(t,o)=>{let{slot:n}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return jt(t,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var gn={};q(gn,{repeat:()=>Oo});var xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ve=e=>(...t)=>({_$litDirective$:e,values:t}),Qt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:id}=fn;var Ki=()=>document.createComment(""),lr=(e,t,o)=>{let n=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(o===void 0){let i=n.insertBefore(Ki(),a),s=n.insertBefore(Ki(),a);o=new id(i,s,e,e.options)}else{let i=o._$AB.nextSibling,s=o._$AM,c=s!==e;if(c){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(i!==a||c){let d=o._$AA;for(;d!==i;){let f=d.nextSibling;n.insertBefore(d,a),d=f}}}return o},Se=(e,t,o=e)=>(e._$AI(t,o),e),sd={},Zi=(e,t=sd)=>e._$AH=t,qi=e=>e._$AH,So=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var Yi=(e,t,o)=>{let n=new Map;for(let a=t;a<=o;a++)n.set(e[a],a);return n},Oo=ve(class extends Qt{constructor(e){if(super(e),e.type!==xe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let a=[],i=[],s=0;for(let c of e)a[s]=n?n(c,s):s,i[s]=o(c,s),s++;return{values:i,keys:a}}render(e,t,o){return this.dt(e,t,o).values}update(e,[t,o,n]){let a=qi(e),{values:i,keys:s}=this.dt(t,o,n);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],f,h,u=0,m=a.length-1,x=0,b=i.length-1;for(;u<=m&&x<=b;)if(a[u]===null)u++;else if(a[m]===null)m--;else if(c[u]===s[x])d[x]=Se(a[u],i[x]),u++,x++;else if(c[m]===s[b])d[b]=Se(a[m],i[b]),m--,b--;else if(c[u]===s[b])d[b]=Se(a[u],i[b]),lr(e,d[b+1],a[u]),u++,b--;else if(c[m]===s[x])d[x]=Se(a[m],i[x]),lr(e,a[u],a[m]),m--,x++;else if(f===void 0&&(f=Yi(s,x,b),h=Yi(c,u,m)),f.has(c[u]))if(f.has(c[m])){let O=h.get(s[x]),N=O!==void 0?a[O]:null;if(N===null){let L=lr(e,a[u]);Se(L,i[x]),d[x]=L}else d[x]=Se(N,i[x]),lr(e,a[u],N),a[O]=null;x++}else So(a[m]),m--;else So(a[u]),u++;for(;x<=b;){let O=lr(e,d[b+1]);Se(O,i[x]),d[x++]=O}for(;u<=m;){let O=a[u++];O!==null&&So(O)}return this.ut=s,Zi(e,d),xt}});var bn={};q(bn,{classMap:()=>vt});var vt=ve(class extends Qt{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.st)n in t||(o.remove(n),this.st.delete(n));for(let n in t){let a=!!t[n];a===this.st.has(n)||this.nt?.has(n)||(a?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return xt}});var xn={};q(xn,{styleMap:()=>cd});var Xi="important",ld=" !"+Xi,cd=ve(class extends Qt{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let a=t[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(ld);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?Xi:""):o[n]=a}}return xt}});var Sn={};q(Sn,{UnsafeHTMLDirective:()=>cr,unsafeHTML:()=>vn});var cr=class extends Qt{constructor(t){if(super(t),this.it=z,t.type!==xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===z||t==null)return this._t=void 0,this.it=t;if(t===xt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let o=[t];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};cr.directiveName="unsafeHTML",cr.resultType=1;var vn=ve(cr);var Nn={};q(Nn,{CacheRegistry:()=>te,ClearCacheEvent:()=>Hr});var Cn={};q(Cn,{CancelablePromise:()=>dr,CanceledPromiseError:()=>Wr,cancelable:()=>On});var Wr=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},dr=class extends Promise{constructor(t){super((o,n)=>t(a=>{this.isCanceled?n(new Wr("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new Wr("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},On=e=>new dr((t,o)=>e.then(t).catch(o));var Rn={};q(Rn,{FtNotificationEvent:()=>En,PostResizeEvent:()=>An,PreResizeEvent:()=>wn,WithEventBus:()=>Fe,withEventBus:()=>Ji});var En=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},wn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},An=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ji(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Fe=class extends Ji(Object){};var Hr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},te=class extends Fe{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new Hr(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new Hr([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof dr&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let a=On(o());return this.content[t]=a,a.then(i=>(this.content[t]=i,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),i))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var _n={};q(_n,{ClusteringHelper:()=>Ln});var Ln=class e{constructor(t,o,n,a){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(t){var o,n,a,i,s;let c=((i=(n=(o=t.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(a=t.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(c,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(c.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,o,n)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(c=>{i.push(c.join(" > ")),o&&o>1&&c.length>=o?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(c=>n?n(c):c).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",a,i){var s,c;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(t))===null||c===void 0?void 0:c.label;return this.allResults.map(u=>e.extractResultMetadata({result:u,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(u=>u??{key:t,label:f,value:void 0,displayValue:n}).filter(u=>u.value!=d?.value).filter((u,m,x)=>x.findIndex(b=>b.value===u.value)===m).map(u=>({result:this.findBestResultForMetadataValue(t,u.value),metadata:u})).sort((u,m)=>this.compareMetadata(u.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,a){if(t==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==o}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,c=-1;for(let d of n){let f=this.countMatchingMetadata(d,i);if(f>c&&(c=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Tn={};q(Tn,{Debouncer:()=>Tt});var Tt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(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 kn={};q(kn,{customElement:()=>X,isNumber:()=>rs,jsonProperty:()=>ee,optionalNumberProperty:()=>yd});var In={};q(In,{dateReviver:()=>pd,deepEqual:()=>Gt,delay:()=>Co,eventPathContainsMatchingElement:()=>ud,flatDeep:()=>ts,getComposedPathTo:()=>Pn,hasChanged:()=>We,last:()=>hd,minmax:()=>zr,parseDate:()=>es,unslotText:()=>Oe,waitFor:()=>Qi,waitUntil:()=>dd});var Co=e=>new Promise(t=>setTimeout(t,e));async function dd(e,t=10,o=2e4){await Qi(async()=>await e()||void 0,t,o)}async function Qi(e,t=10,o=2e4){let n=await e(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await Co(t),n=await e(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ts(e,t){return e.flatMap(o=>[o,...ts(t(o),t)])}function pd(...e){return function(t,o){return e.includes(t)?es(o):o}}function es(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,a)=>o+n+":"+a),new Date(e)}function fd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Gt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Gt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(e),o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!Gt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Gt(e,t){try{return fd(e,t)}catch{return!1}}function We(e,t){return!Gt(e,t)}function ud(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function zr(e,t,o){return Math.min(Math.max(e,t),o)}function hd(e){return e[e.length-1]}function Oe(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Oe(t)).join(""):e?.textContent||""}function Pn(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function ee(e,t){let o=()=>JSON.parse(JSON.stringify(e));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:We,...t??{}})}function yd(e){return C({type:Object,converter:{fromAttribute:t=>{if(t!=null)return rs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function rs(e){return!isNaN(parseFloat(e))}var ca={};q(ca,{designSystemVariables:()=>V});var la={};q(la,{DesignSystemFamily:()=>St,DesignSystemSize:()=>Q,FtCssVariableFactory:()=>r,badge:()=>Sd,banner:()=>vd,button:()=>g,chart:()=>Id,checkbox:()=>gd,chip:()=>G,chipChoice:()=>xd,collapsible:()=>Td,comboboxMultiSelect:()=>_d,comboboxSingleSelect:()=>Ld,drawer:()=>Ed,floatingMenu:()=>Nd,foundation:()=>l,link:()=>pt,modal:()=>Cd,notice:()=>$d,notification:()=>Md,pageDesigner:()=>kd,pageFooter:()=>pe,pageHeader:()=>at,pageLayout:()=>Od,popover:()=>At,radio:()=>Bd,reorderableList:()=>Fd,resolveFamilyClass:()=>ia,resolveSizeClass:()=>sa,semantic:()=>p,setVariable:()=>w,switch_:()=>Pd,table:()=>bd,tabs:()=>wd,textArea:()=>Rd,textInput:()=>Ad,titleBreadcrumb:()=>pr,toggle:()=>Dd,tooltip:()=>Ud,typographies:()=>Ce,typographyBody1Medium:()=>Fn,typographyBody1Regular:()=>Un,typographyBody1Semibold:()=>Wn,typographyBody2Medium:()=>zn,typographyBody2MediumUnderline:()=>os,typographyBody2Regular:()=>Hn,typographyBody2Semibold:()=>jn,typographyCaption1Bold:()=>Qn,typographyCaption1Medium:()=>Xn,typographyCaption1Semibold:()=>Jn,typographyCaption2Bold:()=>ra,typographyCaption2Medium:()=>ta,typographyCaption2Semibold:()=>ea,typographyCaption3Bold:()=>aa,typographyCaption3Medium:()=>oa,typographyCaption3Semibold:()=>na,typographyDisplay:()=>$n,typographyLabel1Bold:()=>Kn,typographyLabel1Medium:()=>Gn,typographyLabel1Semibold:()=>Vn,typographyLabel2Bold:()=>Yn,typographyLabel2Medium:()=>Zn,typographyLabel2Semibold:()=>qn,typographyTitle1:()=>Dn,typographyTitle2:()=>Bn,typographyTitle3:()=>Mn,typographyVariants:()=>md});var de=e=>typeof e=="string"?se(e):e,r=class{static create(t,o,n,a){let i=c=>de(c??a),s=$`var(${de(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>$`var(${de(t)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,o,n,a){let i=c=>n.get(c??a),s=$`var(${de(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>$`var(${de(t)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,o){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):de(i??t.lastResortDefaultValue()),a=$`var(${de(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>$`var(${de(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function w(e,t){return de(`${e.name}: ${t}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},$n={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Dn={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Bn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Mn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Un={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Fn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Wn={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Hn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},zn={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},os={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},jn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Gn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Vn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ta={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ea={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ra={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},oa={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},na={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},aa={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ce={display:$n,"title-1":Dn,"title-2":Bn,"title-3":Mn,"body-1-regular":Un,"body-1-medium":Fn,"body-1-semibold":Wn,"body-2-regular":Hn,"body-2-medium":zn,"body-2-medium-underline":os,"body-2-semibold":jn,"label-1-medium":Gn,"label-1-semibold":Vn,"label-1-bold":Kn,"label-2-medium":Zn,"label-2-semibold":qn,"label-2-bold":Yn,"caption-1-medium":Xn,"caption-1-semibold":Jn,"caption-1-bold":Qn,"caption-2-medium":ta,"caption-2-semibold":ea,"caption-2-bold":ra,"caption-3-medium":oa,"caption-3-semibold":na,"caption-3-bold":aa},md=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var gd={iconSize:r.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",l.spacing2)};var bd={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowDefaultHoverStateLayerOpacity:r.extend("--ft-table-data-row-default-hover-state-layer-opacity","",l.opacity8),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverStateLayerOpacity:r.extend("--ft-table-data-row-selectable-unselected-hover-state-layer-opacity","",l.opacity8),dataRowSelectableSelectedDefaultStateLayerOpacity:r.extend("--ft-table-data-row-selectable-selected-default-state-layer-opacity","",l.opacity8),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverStateLayerOpacity:r.extend("--ft-table-data-row-selectable-selected-hover-state-layer-opacity","",l.opacity16),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverStateLayerOpacity:r.extend("--ft-table-data-row-clickable-hover-state-layer-opacity","",l.opacity12),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusStateLayerOpacity:r.extend("--ft-table-data-row-clickable-focus-state-layer-opacity","",l.opacity12),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveStateLayerOpacity:r.extend("--ft-table-data-row-clickable-active-state-layer-opacity","",l.opacity24),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3)};var xd={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var G={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var pt={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var vd={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Sd={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",p.contentActionPrimary)};var pr={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var at={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var pe={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)};var Od={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)};var Cd={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Ed={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var wd={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Ad={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Rd={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Nd={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Ld={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var _d={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var At={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var Td={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Pd={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Id={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var kd={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var $d={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var Dd={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Bd={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Md={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var Ud={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var Fd={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var St;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(St||(St={}));var Q;(function(e){e.large="large",e.medium="medium",e.small="small"})(Q||(Q={}));function ia(e){return`ftds--family-${e}`}function sa(e){return`ftds--size-${e}`}var V={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ra={};q(Ra,{computeFlipOffsetPosition:()=>Aa,computeOffsetPosition:()=>wa});var as=["top","right","bottom","left"],ns=["start","end"],da=as.reduce((e,t)=>e.concat(t,t+"-"+ns[0],t+"-"+ns[1]),[]),Eo=Math.min,Ee=Math.max;var Wd={left:"right",right:"left",bottom:"top",top:"bottom"},Hd={start:"end",end:"start"};function pa(e,t,o){return Ee(e,Eo(t,o))}function He(e,t){return typeof e=="function"?e(t):e}function Vt(e){return e.split("-")[0]}function Kt(e){return e.split("-")[1]}function fa(e){return e==="x"?"y":"x"}function ua(e){return e==="y"?"height":"width"}function re(e){return["top","bottom"].includes(Vt(e))?"y":"x"}function ha(e){return fa(re(e))}function ya(e,t,o){o===void 0&&(o=!1);let n=Kt(e),a=ha(e),i=ua(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Gr(s)),[s,Gr(s)]}function is(e){let t=Gr(e);return[jr(e),t,jr(t)]}function jr(e){return e.replace(/start|end/g,t=>Hd[t])}function zd(e,t,o){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?t?a:n:t?n:a;case"left":case"right":return t?i:s;default:return[]}}function ss(e,t,o,n){let a=Kt(e),i=zd(Vt(e),o==="start",n);return a&&(i=i.map(s=>s+"-"+a),t&&(i=i.concat(i.map(jr)))),i}function Gr(e){return e.replace(/left|right|bottom|top/g,t=>Wd[t])}function jd(e){return{top:0,right:0,bottom:0,left:0,...e}}function ls(e){return typeof e!="number"?jd(e):{top:e,right:e,bottom:e,left:e}}function ze(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function cs(e,t,o){let{reference:n,floating:a}=e,i=re(t),s=ha(t),c=ua(s),d=Vt(t),f=i==="y",h=n.x+n.width/2-a.width/2,u=n.y+n.height/2-a.height/2,m=n[c]/2-a[c]/2,x;switch(d){case"top":x={x:h,y:n.y-a.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:u};break;case"left":x={x:n.x-a.width,y:u};break;default:x={x:n.x,y:n.y}}switch(Kt(t)){case"start":x[s]-=m*(o&&f?-1:1);break;case"end":x[s]+=m*(o&&f?-1:1);break}return x}var ds=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:u}=cs(f,n,d),m=n,x={},b=0;for(let O=0;O<c.length;O++){let{name:N,fn:L}=c[O],{x:T,y:E,data:v,reset:A}=await L({x:h,y:u,initialPlacement:n,placement:m,strategy:a,middlewareData:x,rects:f,platform:s,elements:{reference:e,floating:t}});h=T??h,u=E??u,x={...x,[N]:{...x[N],...v}},A&&b<=50&&(b++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(f=A.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):A.rects),{x:h,y:u}=cs(f,m,d)),O=-1)}return{x:h,y:u,placement:m,strategy:a,middlewareData:x}};async function Vr(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:c,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:x=0}=He(t,e),b=ls(x),N=c[m?u==="floating"?"reference":"floating":u],L=ze(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(N)))==null||o?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:d})),T=u==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),v=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},A=ze(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:T,offsetParent:E,strategy:d}):T);return{top:(L.top-A.top+b.top)/v.y,bottom:(A.bottom-L.bottom+b.bottom)/v.y,left:(L.left-A.left+b.left)/v.x,right:(A.right-L.right+b.right)/v.x}}function Gd(e,t,o){return(e?[...o.filter(a=>Kt(a)===e),...o.filter(a=>Kt(a)!==e)]:o.filter(a=>Vt(a)===a)).filter(a=>e?Kt(a)===e||(t?jr(a)!==a:!1):!0)}var ma=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=da,autoAlignment:x=!0,...b}=He(e,t),O=u!==void 0||m===da?Gd(u||null,x,m):m,N=await Vr(t,b),L=((o=s.autoPlacement)==null?void 0:o.index)||0,T=O[L];if(T==null)return{};let E=ya(T,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(c!==T)return{reset:{placement:O[0]}};let v=[N[Vt(T)],N[E[0]],N[E[1]]],A=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:v}],k=O[L+1];if(k)return{data:{index:L+1,overflows:A},reset:{placement:k}};let M=A.map(P=>{let y=Kt(P.placement);return[P.placement,y&&h?P.overflows.slice(0,2).reduce((S,I)=>S+I,0):P.overflows[0],P.overflows]}).sort((P,y)=>P[1]-y[1]),F=((a=M.filter(P=>P[2].slice(0,Kt(P[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||M[0][0];return F!==c?{data:{index:L+1,overflows:A},reset:{placement:F}}:{}}}},ga=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:O=!0,...N}=He(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};let L=Vt(a),T=re(c),E=Vt(c)===c,v=await(d.isRTL==null?void 0:d.isRTL(f.floating)),A=m||(E||!O?[Gr(c)]:is(c)),k=b!=="none";!m&&k&&A.push(...ss(c,O,b,v));let M=[c,...A],j=await Vr(t,N),F=[],P=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&F.push(j[L]),u){let H=ya(a,s,v);F.push(j[H[0]],j[H[1]])}if(P=[...P,{placement:a,overflows:F}],!F.every(H=>H<=0)){var y,S;let H=(((y=i.flip)==null?void 0:y.index)||0)+1,Z=M[H];if(Z&&(!(u==="alignment"?T!==re(Z):!1)||P.every(Et=>Et.overflows[0]>0&&re(Et.placement)===T)))return{data:{index:H,overflows:P},reset:{placement:Z}};let W=(S=P.filter(Ft=>Ft.overflows[0]<=0).sort((Ft,Et)=>Ft.overflows[1]-Et.overflows[1])[0])==null?void 0:S.placement;if(!W)switch(x){case"bestFit":{var I;let Ft=(I=P.filter(Et=>{if(k){let zt=re(Et.placement);return zt===T||zt==="y"}return!0}).map(Et=>[Et.placement,Et.overflows.filter(zt=>zt>0).reduce((zt,ht)=>zt+ht,0)]).sort((Et,zt)=>Et[1]-zt[1])[0])==null?void 0:I[0];Ft&&(W=Ft);break}case"initialPlacement":W=c;break}if(a!==W)return{reset:{placement:W}}}return{}}}};async function Vd(e,t){let{placement:o,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=Vt(o),c=Kt(o),d=re(o)==="y",f=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,u=He(t,e),{mainAxis:m,crossAxis:x,alignmentAxis:b}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof b=="number"&&(x=c==="end"?b*-1:b),d?{x:x*h,y:m*f}:{x:m*f,y:x*h}}var ba=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:a,y:i,placement:s,middlewareData:c}=t,d=await Vd(t,e);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},xa=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:L,y:T}=N;return{x:L,y:T}}},...d}=He(e,t),f={x:o,y:n},h=await Vr(t,d),u=re(Vt(a)),m=fa(u),x=f[m],b=f[u];if(i){let N=m==="y"?"top":"left",L=m==="y"?"bottom":"right",T=x+h[N],E=x-h[L];x=pa(T,x,E)}if(s){let N=u==="y"?"top":"left",L=u==="y"?"bottom":"right",T=b+h[N],E=b-h[L];b=pa(T,b,E)}let O=c.fn({...t,[m]:x,[u]:b});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[m]:i,[u]:s}}}}}};var va=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,n;let{placement:a,rects:i,platform:s,elements:c}=t,{apply:d=()=>{},...f}=He(e,t),h=await Vr(t,f),u=Vt(a),m=Kt(a),x=re(a)==="y",{width:b,height:O}=i.floating,N,L;u==="top"||u==="bottom"?(N=u,L=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(L=u,N=m==="end"?"top":"bottom");let T=O-h.top-h.bottom,E=b-h.left-h.right,v=Eo(O-h[N],T),A=Eo(b-h[L],E),k=!t.middlewareData.shift,M=v,j=A;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(j=E),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(M=T),k&&!m){let P=Ee(h.left,0),y=Ee(h.right,0),S=Ee(h.top,0),I=Ee(h.bottom,0);x?j=b-2*(P!==0||y!==0?P+y:Ee(h.left,h.right)):M=O-2*(S!==0||I!==0?S+I:Ee(h.top,h.bottom))}await d({...t,availableWidth:j,availableHeight:M});let F=await s.getDimensions(c.floating);return b!==F.width||O!==F.height?{reset:{rects:!0}}:{}}}};var Sa=Math.min,fr=Math.max,Kr=Math.round;var fe=e=>({x:e,y:e});function ue(e){return fs(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function he(e){var t;return(t=(fs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fs(e){return e instanceof Node||e instanceof Rt(e).Node}function oe(e){return e instanceof Element||e instanceof Rt(e).Element}function Zt(e){return e instanceof HTMLElement||e instanceof Rt(e).HTMLElement}function ps(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function ur(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function us(e){return["table","td","th"].includes(ue(e))}function Ao(e){let t=Ro(),o=Pt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function hs(e){let t=je(e);for(;Zt(t)&&!Zr(t);){if(Ao(t))return t;t=je(t)}return null}function Ro(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zr(e){return["html","body","#document"].includes(ue(e))}function Pt(e){return Rt(e).getComputedStyle(e)}function qr(e){return oe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function je(e){if(ue(e)==="html")return e;let t=e.assignedSlot||e.parentNode||ps(e)&&e.host||he(e);return ps(t)?t.host:t}function ys(e){let t=je(e);return Zr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Zt(t)&&ur(t)?t:ys(t)}function wo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=ys(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=Rt(a);return i?t.concat(s,s.visualViewport||[],ur(a)?a:[],s.frameElement&&o?wo(s.frameElement):[]):t.concat(a,wo(a,[],o))}function bs(e){let t=Pt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Zt(e),i=a?e.offsetWidth:o,s=a?e.offsetHeight:n,c=Kr(o)!==i||Kr(n)!==s;return c&&(o=i,n=s),{width:o,height:n,$:c}}function xs(e){return oe(e)?e:e.contextElement}function hr(e){let t=xs(e);if(!Zt(t))return fe(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=bs(t),s=(i?Kr(o.width):o.width)/n,c=(i?Kr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Kd=fe(0);function vs(e){let t=Rt(e);return!Ro()||!t.visualViewport?Kd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Rt(e)?!1:t}function Yr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=xs(e),s=fe(1);t&&(n?oe(n)&&(s=hr(n)):s=hr(e));let c=Zd(i,o,n)?vs(i):fe(0),d=(a.left+c.x)/s.x,f=(a.top+c.y)/s.y,h=a.width/s.x,u=a.height/s.y;if(i){let m=Rt(i),x=n&&oe(n)?Rt(n):n,b=m.frameElement;for(;b&&n&&x!==m;){let O=hr(b),N=b.getBoundingClientRect(),L=Pt(b),T=N.left+(b.clientLeft+parseFloat(L.paddingLeft))*O.x,E=N.top+(b.clientTop+parseFloat(L.paddingTop))*O.y;d*=O.x,f*=O.y,h*=O.x,u*=O.y,d+=T,f+=E,b=Rt(b).frameElement}}return ze({width:h,height:u,x:d,y:f})}function qd(e){let{rect:t,offsetParent:o,strategy:n}=e,a=Zt(o),i=he(o);if(o===i)return t;let s={scrollLeft:0,scrollTop:0},c=fe(1),d=fe(0);if((a||!a&&n!=="fixed")&&((ue(o)!=="body"||ur(i))&&(s=qr(o)),Zt(o))){let f=Yr(o);c=hr(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+d.x,y:t.y*c.y-s.scrollTop*c.y+d.y}}function Yd(e){return Array.from(e.getClientRects())}function Ss(e){return Yr(he(e)).left+qr(e).scrollLeft}function Xd(e){let t=he(e),o=qr(e),n=e.ownerDocument.body,a=fr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=fr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ss(e),c=-o.scrollTop;return Pt(n).direction==="rtl"&&(s+=fr(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:c}}function Jd(e,t){let o=Rt(e),n=he(e),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let f=Ro();(!f||f&&t==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:c,y:d}}function Qd(e,t){let o=Yr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Zt(e)?hr(e):fe(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,d=a*i.x,f=n*i.y;return{width:s,height:c,x:d,y:f}}function ms(e,t,o){let n;if(t==="viewport")n=Jd(e,o);else if(t==="document")n=Xd(he(e));else if(oe(t))n=Qd(t,o);else{let a=vs(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return ze(n)}function Os(e,t){let o=je(e);return o===t||!oe(o)||Zr(o)?!1:Pt(o).position==="fixed"||Os(o,t)}function tp(e,t){let o=t.get(e);if(o)return o;let n=wo(e,[],!1).filter(c=>oe(c)&&ue(c)!=="body"),a=null,i=Pt(e).position==="fixed",s=i?je(e):e;for(;oe(s)&&!Zr(s);){let c=Pt(s),d=Ao(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||ur(s)&&!d&&Os(e,s))?n=n.filter(h=>h!==s):a=c,s=je(s)}return t.set(e,n),n}function ep(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,s=[...o==="clippingAncestors"?tp(t,this._c):[].concat(o),n],c=s[0],d=s.reduce((f,h)=>{let u=ms(t,h,a);return f.top=fr(u.top,f.top),f.right=Sa(u.right,f.right),f.bottom=Sa(u.bottom,f.bottom),f.left=fr(u.left,f.left),f},ms(t,c,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function rp(e){return bs(e)}function op(e,t,o){let n=Zt(t),a=he(t),i=o==="fixed",s=Yr(e,!0,i,t),c={scrollLeft:0,scrollTop:0},d=fe(0);if(n||!n&&!i)if((ue(t)!=="body"||ur(a))&&(c=qr(t)),n){let f=Yr(t,!0,i,t);d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}else a&&(d.x=Ss(a));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function gs(e,t){return!Zt(e)||Pt(e).position==="fixed"?null:t?t(e):e.offsetParent}function Cs(e,t){let o=Rt(e);if(!Zt(e))return o;let n=gs(e,t);for(;n&&us(n)&&Pt(n).position==="static";)n=gs(n,t);return n&&(ue(n)==="html"||ue(n)==="body"&&Pt(n).position==="static"&&!Ao(n))?o:n||hs(e)||o}var np=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||Cs,i=this.getDimensions;return{reference:op(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function ap(e){return Pt(e).direction==="rtl"}var yr={convertOffsetParentRelativeRectToViewportRelativeRect:qd,getDocumentElement:he,getClippingRect:ep,getOffsetParent:Cs,getElementRects:np,getClientRects:Yd,getDimensions:rp,getScale:hr,isElement:oe,isRTL:ap};var Oa=(e,t,o)=>{let n=new Map,a={platform:yr,...o},i={...a.platform,_c:n};return ds(e,t,{...a,platform:i})};function Ea(e){return ip(e)}function Ca(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ip(e){for(let t=e;t;t=Ca(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ca(e);t;t=Ca(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function wa(e,t,o){return Oa(e,t,{platform:{...yr,getOffsetParent:n=>yr.getOffsetParent(n,Ea)},middleware:[xa({crossAxis:!0}),ma({allowedPlacements:[o]})]})}async function Aa(e,t,o,n,a,i,s=4){return Oa(e,t,{placement:o,strategy:a,platform:{...yr,getOffsetParent:c=>yr.getOffsetParent(c,Ea)},middleware:[ba(s),ga({fallbackPlacements:n}),va({apply({availableHeight:c,elements:d}){i?d.floating.style.maxHeight=`min(${Math.max(0,c)}px, var(${i}))`:d.floating.style.maxHeight=`${Math.max(0,c)}px`}})]})}var _a={};q(_a,{FtdsBase:()=>Ge,toFtdsBase:()=>Lo});var La={};q(La,{FtLitElement:()=>K});var Na={};q(Na,{ScopedRegistryLitElement:()=>Xr});var Xr=class extends ce{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return kr(n,t.elementStyles),n}};var No=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Rs,Es=Symbol("constructorPrototype"),ws=Symbol("constructorName"),Ns=Symbol("exportpartsDebouncer"),As=Symbol("dynamicDependenciesLoaded"),K=class extends Xr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Rs]=new Tt(5),this[ws]=this.constructor.name,this[Es]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ws]&&Object.setPrototypeOf(this,this[Es])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[As]||(t[As]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ns].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,a,i,s,c;let d=m=>m!=null&&m.trim().length>0,f=t.filter(d).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(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(...x,...b).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>f.map(x=>`${m}:${x}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Rs=Ns;No([C()],K.prototype,"exportpartsPrefix",void 0);No([ee([])],K.prototype,"exportpartsPrefixes",void 0);No([C()],K.prototype,"customStylesheet",void 0);No([yt()],K.prototype,"useAdoptedStyleSheets",void 0);var Ls=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i};function Lo(e){class t extends e{constructor(){super(...arguments),this.size=Q.medium,this.family=St.neutral}getDesignSystemBaseClasses(){return{[ia(this.family)]:!0,[sa(this.size)]:!0}}}return Ls([C()],t.prototype,"size",void 0),Ls([C()],t.prototype,"family",void 0),t}var Ge=class extends Lo(K){};var _s={};var Ia={};q(Ia,{highlightHtml:()=>Pa,highlightHtmlColorCssVariable:()=>Ts,highlightHtmlStyles:()=>lp});var Ve=class e{constructor(t,o=!0,n=[],a=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(t,o){let n=typeof o=="string"?[o]:o,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(t,o,n,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{o(f)&&(c++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let a=t.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===n&&(i=d,s=c.handled)}),this.compareNodeIframe(t,o,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(t,o,n,a,i){let s=this.createIterator(o,t,a),c=[],d=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(f,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(t,x=>d.push(x),a)}),d.push(f);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,t,n,a),i()}forEachNode(t,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(t,c,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var Jr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Ve(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,n);c&&(a.start=i,a.length=s-i,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,a,i=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),a=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:a,valid:i}}checkWhitespaceRanges(t,o,n){let a,i=!0,s=n.length,c=o-s,d=parseInt(t.start,10)-c;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Ve.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(o),s=i.splitText(n-o),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(t,o,n,a,i){t.nodes.every((s,c)=>{let d=t.nodes[c+1];if(typeof d>"u"||d.start>o){if(!a(s.node))return!1;let f=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=u+m,t.nodes.forEach((x,b)=>{b>=c&&(t.nodes[b].start>0&&b!==c&&(t.nodes[b].start-=h),t.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(c=>{let d;for(;(d=t.exec(c.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let u=1;u<s;u++)f+=d[u].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(c,f,h,u=>n(d[s],u),(u,m)=>{t.lastIndex=m,a(u)})}i()})}wrapRangeFromIndex(t,o,n,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((c,d)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(c,s,i.value);u&&this.wrapRangeInMappedTextNode(i,f,h,m=>o(m,c,i.value.substring(f,h),d),m=>{n(m,c)})}),a()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),i,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,x)=>this.opt.filter(x,f,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(n):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(t,o){this.opt=o;let n=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,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(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Ve.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ta(e){let t=new Jr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var sp=Ta,Ts=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),lp=$`
8
6
  .highlight-html-match {
9
- background: ${Rl};
7
+ background: ${Ts};
10
8
  }
11
- `;function oa(e,t,o){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new fu(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var ia={};q(ia,{noTextInputDefaultClearButton:()=>mu,noTextSelect:()=>er,safariEllipsisFix:()=>rr,wordWrap:()=>yu});var er=$`
9
+ `;function Pa(e,t,o){var n,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new sp(e);if(s.unmark(),t&&t.trim()){let c={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(c.each=f=>{for(let h in o.attributes)f.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...c,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var ka={};q(ka,{noTextInputDefaultClearButton:()=>dp,noTextSelect:()=>Ke,safariEllipsisFix:()=>Ze,wordWrap:()=>cp});var Ke=$`
12
10
  .ft-no-text-select {
13
11
  -webkit-touch-callout: none;
14
12
  -webkit-user-select: none;
@@ -17,7 +15,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
17
15
  -ms-user-select: none;
18
16
  user-select: none;
19
17
  }
20
- `,yu=$`
18
+ `,cp=$`
21
19
  .ft-word-wrap {
22
20
  white-space: normal;
23
21
  word-wrap: break-word;
@@ -29,7 +27,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
29
27
  -webkit-hyphens: auto;
30
28
  hyphens: auto
31
29
  }
32
- `,rr=$`
30
+ `,Ze=$`
33
31
  .ft-safari-ellipsis-fix {
34
32
  margin-right: 0;
35
33
 
@@ -40,22 +38,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
40
38
  display: inline-block;
41
39
  width: 0;
42
40
  }
43
- `,mu=$`
41
+ `,dp=$`
44
42
  input::-webkit-search-cancel-button,
45
43
  input::-webkit-search-decoration,
46
44
  input::-webkit-search-results-button,
47
45
  input::-webkit-search-results-decoration {
48
46
  display: none;
49
47
  }
50
- `;var _l={};var aa={};q(aa,{ParametrizedLabelResolver:()=>uo});var uo=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...o)}static replaceParameters(t,...o){return o.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Pa={};q(Pa,{FtCommandQueue:()=>fo,FtLitElementRedux:()=>Ae,FtReduxStore:()=>ar,ReduxWatcher:()=>cn,clearAllStores:()=>ef,isFtReduxStore:()=>or,redux:()=>en,reduxEventListener:()=>bu,reduxReactive:()=>gu,watch:()=>rf});var gu=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},en=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:Ze,attribute:!1,...t};E(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:l=>l[n],store:t.store})}},bu=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var fo=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function or(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Nl,Tl,Ll,ho=Symbol("internalReduxEventsUnsubscribers"),we=Symbol("internalStoresUnsubscribers"),nr=Symbol("internalStores"),Ae=class extends Z{constructor(){super(...arguments),this[Nl]=new Map,this[Tl]=new Map,this[Ll]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[nr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nr].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[nr].get(t)}addStore(t,o){var n;o=(n=o??(or(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[nr].set(o,t),this.subscribeToStore(o,t),this.updateFromStores()}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[nr].delete(o)}setupStores(){this.unsubscribeFromStores(),this[nr].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[we].has(t.store):this[we].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[we].set(t,o.subscribe(()=>this.updateFromStores())),this[ho].set(t,[]),or(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=l=>this[a](l);o.addEventListener(i.eventName,s),this[ho].get(t).push(()=>o.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[we].forEach((t,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(t){var o;this[we].has(t)&&this[we].get(t)(),this[we].delete(t),(o=this[ho].get(t))===null||o===void 0||o.forEach(n=>n()),this[ho].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Nl=we,Tl=nr,Ll=ho;Ae.reduxProperties=new Map;Ae.reduxReactiveProperties=new Set;Ae.reduxEventListeners=new Map;function Wt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ye(e){return!!e&&!!e[tt]}function Zt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Au}(e)||Array.isArray(e)||!!e[Ul]||!!(!((t=e.constructor)===null||t===void 0)&&t[Ul])||ya(e)||ma(e))}function ir(e,t,o){o===void 0&&(o=!1),Er(e)===0?(o?Object.keys:Or)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Er(e){var t=e[tt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ya(e)?2:ma(e)?3:0}function Cr(e,t){return Er(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function xu(e,t){return Er(e)===2?e.get(t):e[t]}function Ml(e,t,o){var n=Er(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Fl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ya(e){return Eu&&e instanceof Map}function ma(e){return wu&&e instanceof Set}function Re(e){return e.o||e.t}function ga(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=zl(e);delete t[tt];for(var o=Or(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function ba(e,t){return t===void 0&&(t=!1),xa(e)||ye(e)||!Zt(e)||(Er(e)>1&&(e.set=e.add=e.clear=e.delete=vu),Object.freeze(e),t&&ir(e,function(o,n){return ba(n,!0)},!0)),e}function vu(){Wt(2)}function xa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function oe(e){var t=ha[e];return t||Wt(18,e),t}function Su(e,t){ha[e]||(ha[e]=t)}function pa(){return mo}function sa(e,t){t&&(oe("Patches"),e.u=[],e.s=[],e.v=t)}function rn(e){ua(e),e.p.forEach(Cu),e.p=null}function ua(e){e===mo&&(mo=e.l)}function Pl(e){return mo={p:[],l:mo,h:e,m:!0,_:0}}function Cu(e){var t=e[tt];t.i===0||t.i===1?t.j():t.g=!0}function la(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||oe("ES5").S(t,e,n),n?(o[tt].P&&(rn(t),Wt(4)),Zt(e)&&(e=on(t,e),t.l||nn(t,e)),t.u&&oe("Patches").M(o[tt].t,e,t.u,t.s)):e=on(t,o,[]),rn(t),t.u&&t.v(t.u,t.s),e!==Hl?e:void 0}function on(e,t,o){if(xa(t))return t;var n=t[tt];if(!n)return ir(t,function(l,d){return Il(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return nn(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ga(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ir(a,function(l,d){return Il(e,n,i,l,d,o,s)}),nn(e,i,!1),o&&e.u&&oe("Patches").N(n,o,e.u,e.s)}return n.o}function Il(e,t,o,n,i,a,s){if(ye(i)){var l=on(e,i,a&&t&&t.i!==3&&!Cr(t.R,n)?a.concat(n):void 0);if(Ml(o,n,l),!ye(l))return;e.m=!1}else s&&o.add(i);if(Zt(i)&&!xa(i)){if(!e.h.D&&e._<1)return;on(e,i),t&&t.A.l||nn(e,i)}}function nn(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ba(t,o)}function ca(e,t){var o=e[tt];return(o?Re(o):e)[t]}function $l(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function _e(e){e.P||(e.P=!0,e.l&&_e(e.l))}function da(e){e.o||(e.o=ga(e.t))}function fa(e,t,o){var n=ya(t)?oe("MapSet").F(t,o):ma(t)?oe("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:pa(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=go;s&&(d=[l],p=yo);var h=Proxy.revocable(d,p),f=h.revoke,y=h.proxy;return l.k=y,l.j=f,y}(t,o):oe("ES5").J(t,o);return(o?o.A:pa()).p.push(n),n}function Ou(e){return ye(e)||Wt(22,e),function t(o){if(!Zt(o))return o;var n,i=o[tt],a=Er(o);if(i){if(!i.P&&(i.i<4||!oe("ES5").K(i)))return i.t;i.I=!0,n=kl(o,a),i.I=!1}else n=kl(o,a);return ir(n,function(s,l){i&&xu(i.t,s)===l||Ml(n,s,t(l))}),a===3?new Set(n):n}(e)}function kl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ga(e)}function Wl(){function e(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[tt];return go.get(p,s)},set:function(p){var h=this[tt];go.set(h,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][tt];if(!d.P)switch(d.i){case 5:n(d)&&_e(d);break;case 4:o(d)&&_e(d)}}}function o(s){for(var l=s.t,d=s.k,p=Or(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==tt){var y=l[f];if(y===void 0&&!Cr(l,f))return!0;var b=d[f],x=b&&b[tt];if(x?x.t!==y:!Fl(b,y))return!0}}var C=!!l[tt];return p.length!==Or(l).length+(C?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 i(s){s.g&&Wt(3,JSON.stringify(Re(s)))}var a={};Su("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,e(x,!0));return b}var C=zl(y);delete C[tt];for(var _=Or(C),N=0;N<_.length;N++){var L=_[N];C[L]=e(L,f||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(y),C)}(d,s),h={i:d?5:4,A:l?l.A:pa(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,tt,{value:h,writable:!0}),p},S:function(s,l,d){d?ye(l)&&l[tt].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[tt];if(f){var y=f.t,b=f.k,x=f.R,C=f.i;if(C===4)ir(b,function(v){v!==tt&&(y[v]!==void 0||Cr(y,v)?x[v]||p(b[v]):(x[v]=!0,_e(f)))}),ir(y,function(v){b[v]!==void 0||Cr(b,v)||(x[v]=!1,_e(f))});else if(C===5){if(n(f)&&(_e(f),x.length=!0),b.length<y.length)for(var _=b.length;_<y.length;_++)x[_]=!1;else for(var N=y.length;N<b.length;N++)x[N]=!0;for(var L=Math.min(b.length,y.length),O=0;O<L;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&p(b[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Dl,mo,va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Eu=typeof Map<"u",wu=typeof Set<"u",Bl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Hl=va?Symbol.for("immer-nothing"):((Dl={})["immer-nothing"]=!0,Dl),Ul=va?Symbol.for("immer-draftable"):"__$immer_draftable",tt=va?Symbol.for("immer-state"):"__$immer_state";var Au=""+Object.prototype.constructor,Or=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,zl=Object.getOwnPropertyDescriptors||function(e){var t={};return Or(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ha={},go={get:function(e,t){if(t===tt)return e;var o=Re(e);if(!Cr(o,t))return function(i,a,s){var l,d=$l(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Zt(n)?n:n===ca(e.t,t)?(da(e),e.o[t]=fa(e.A.h,n,e)):n},has:function(e,t){return t in Re(e)},ownKeys:function(e){return Reflect.ownKeys(Re(e))},set:function(e,t,o){var n=$l(Re(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=ca(Re(e),t),a=i?.[tt];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Fl(o,i)&&(o!==void 0||Cr(e.t,t)))return!0;da(e),_e(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return ca(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,da(e),_e(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Re(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Wt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Wt(12)}},yo={};ir(go,function(e,t){yo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),yo.deleteProperty=function(e,t){return yo.set.call(this,e,t,void 0)},yo.set=function(e,t,o){return go.set.call(this,e[0],t,o,e[0])};var Ru=function(){function e(o){var n=this;this.O=Bl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(C){var _=this;C===void 0&&(C=l);for(var N=arguments.length,L=Array(N>1?N-1:0),O=1;O<N;O++)L[O-1]=arguments[O];return d.produce(C,function(v){var A;return(A=a).call.apply(A,[_,v].concat(L))})}}var p;if(typeof a!="function"&&Wt(6),s!==void 0&&typeof s!="function"&&Wt(7),Zt(i)){var h=Pl(n),f=fa(n,i,void 0),y=!0;try{p=a(f),y=!1}finally{y?rn(h):ua(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return sa(h,s),la(C,h)},function(C){throw rn(h),C}):(sa(h,s),la(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Hl&&(p=void 0),n.D&&ba(p,!0),s){var b=[],x=[];oe("Patches").M(i,p,b,x),s(b,x)}return p}Wt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="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 i.apply(void 0,[b].concat(f))})};var s,l,d=n.produce(i,a,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 o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Zt(o)||Wt(8),ye(o)&&(o=Ou(o));var n=Pl(this),i=fa(this,o,void 0);return i[tt].C=!0,ua(n),i},t.finishDraft=function(o,n){var i=o&&o[tt],a=i.A;return sa(a,n),la(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Bl&&Wt(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=oe("Patches").$;return ye(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),$t=new Ru,_u=$t.produce,Ub=$t.produceWithPatches.bind($t),Mb=$t.setAutoFreeze.bind($t),Fb=$t.setUseProxies.bind($t),Wb=$t.applyPatches.bind($t),Hb=$t.createDraft.bind($t),zb=$t.finishDraft.bind($t),an=_u;function Ne(e){"@babel/helpers - typeof";return Ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ne(e)}function Sa(e,t){if(Ne(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Ne(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ca(e){var t=Sa(e,"string");return Ne(t)==="symbol"?t:String(t)}function Oa(e,t,o){return t=Ca(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function jl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function sn(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?jl(Object(o),!0).forEach(function(n){Oa(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Ct(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Vl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ea=function(){return Math.random().toString(36).substring(7).split("").join(".")},ln={INIT:"@@redux/INIT"+Ea(),REPLACE:"@@redux/REPLACE"+Ea(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ea()}};function Nu(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function wa(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Ct(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Ct(1));return o(wa)(e,t)}if(typeof e!="function")throw new Error(Ct(2));var i=e,a=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Ct(3));return a}function f(C){if(typeof C!="function")throw new Error(Ct(4));if(d)throw new Error(Ct(5));var _=!0;return p(),l.push(C),function(){if(_){if(d)throw new Error(Ct(6));_=!1,p();var L=l.indexOf(C);l.splice(L,1),s=null}}}function y(C){if(!Nu(C))throw new Error(Ct(7));if(typeof C.type>"u")throw new Error(Ct(8));if(d)throw new Error(Ct(9));try{d=!0,a=i(a,C)}finally{d=!1}for(var _=s=l,N=0;N<_.length;N++){var L=_[N];L()}return C}function b(C){if(typeof C!="function")throw new Error(Ct(10));i=C,y({type:ln.REPLACE})}function x(){var C,_=f;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Ct(11));function O(){L.next&&L.next(h())}O();var v=_(O);return{unsubscribe:v}}},C[Vl]=function(){return this},C}return y({type:ln.INIT}),n={dispatch:y,subscribe:f,getState:h,replaceReducer:b},n[Vl]=x,n}function Tu(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:ln.INIT});if(typeof n>"u")throw new Error(Ct(12));if(typeof o(void 0,{type:ln.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ct(13))})}function Gl(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,l;try{Tu(o)}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<a.length;x++){var C=a[x],_=o[C],N=p[C],L=_(N,h);if(typeof L>"u"){var O=h&&h.type;throw new Error(Ct(14))}b[C]=L,y=y||L!==N}return y=y||a.length!==Object.keys(p).length,y?b:p}}function wr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Kl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ct(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return a=wr.apply(void 0,l)(i.dispatch),sn(sn({},i),{},{dispatch:a})}}}function Zl(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var ql=Zl();ql.withExtraArgument=Zl;var Aa=ql;var tc=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Lu=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,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(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ar=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Pu=Object.defineProperty,Iu=Object.defineProperties,$u=Object.getOwnPropertyDescriptors,Yl=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable,Xl=function(e,t,o){return t in e?Pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Te=function(e,t){for(var o in t||(t={}))ku.call(t,o)&&Xl(e,o,t[o]);if(Yl)for(var n=0,i=Yl(t);n<i.length;n++){var o=i[n];Du.call(t,o)&&Xl(e,o,t[o])}return e},Ra=function(e,t){return Iu(e,$u(t))},Bu=function(e,t,o){return new Promise(function(n,i){var a=function(d){try{l(o.next(d))}catch(p){i(p)}},s=function(d){try{l(o.throw(d))}catch(p){i(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(e,t)).next())})};var Uu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?wr:wr.apply(null,arguments)},sx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Mu(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Fu=function(e){tc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ar([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ar([void 0],o.concat(this))))},t}(Array),Wu=function(e){tc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ar([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ar([void 0],o.concat(this))))},t}(Array);function Ta(e){return Zt(e)?an(e,function(){}):e}function Hu(e){return typeof e=="boolean"}function zu(){return function(t){return ju(t)}}function ju(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,l=new Fu;if(o&&(Hu(o)?l.push(Aa):l.push(Aa.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}var _a=!0;function ec(e){var t=zu(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,y=f===void 0?void 0:f,b;if(typeof i=="function")b=i;else if(Mu(i))b=Gl(i);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(t),!_a&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!_a&&x.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Kl.apply(void 0,x),_=wr;d&&(_=Uu(Te({trace:!_a},typeof d=="object"&&d)));var N=new Wu(C),L=N;Array.isArray(y)?L=Ar([C],y):typeof y=="function"&&(L=y(N));var O=_.apply(void 0,L);return wa(b,h,O)}function Le(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Te(Te({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function rc(e){var t={},o=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function Vu(e){return typeof e=="function"}function Gu(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?rc(t):[t,o,n],a=i[0],s=i[1],l=i[2],d;if(Vu(e))d=function(){return Ta(e())};else{var p=Ta(e);d=function(){return p}}function h(f,y){f===void 0&&(f=d());var b=Ar([a[y.type]],s.filter(function(x){var C=x.matcher;return C(y)}).map(function(x){var C=x.reducer;return C}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,C){if(C)if(ye(x)){var _=x,N=C(_,y);return N===void 0?x:N}else{if(Zt(x))return an(x,function(L){return C(L,y)});var N=C(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 Ku(e,t){return e+"/"+t}function oc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Ta(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var f=n[h],y=Ku(t,h),b,x;"reducer"in f?(b=f.reducer,x=f.prepare):b=f,a[h]=b,s[y]=b,l[h]=x?Le(y,x):Le(y)});function d(){var h=typeof e.extraReducers=="function"?rc(e.extraReducers):[e.extraReducers],f=h[0],y=f===void 0?{}:f,b=h[1],x=b===void 0?[]:b,C=h[2],_=C===void 0?void 0:C,N=Te(Te({},y),s);return Gu(o,function(L){for(var O in N)L.addCase(O,N[O]);for(var v=0,A=x;v<A.length;v++){var P=A[v];L.addMatcher(P.matcher,P.reducer)}_&&L.addDefaultCase(_)})}var p;return{name:t,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Zu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",qu=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Zu[Math.random()*64|0];return t},Yu=["name","message","stack","code"],Na=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Jl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Xu=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Yu;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},px=function(){function e(t,o,n){var i=Le(t+"/fulfilled",function(h,f,y,b){return{payload:h,meta:Ra(Te({},b||{}),{arg:y,requestId:f,requestStatus:"fulfilled"})}}),a=Le(t+"/pending",function(h,f,y){return{payload:void 0,meta:Ra(Te({},y||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Le(t+"/rejected",function(h,f,y,b,x){return{payload:b,error:(n&&n.serializeError||Xu)(h||"Rejected"),meta:Ra(Te({},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):qu(),C=new d,_,N=!1;function L(v){_=v,C.abort()}var O=function(){return Bu(this,null,function(){var v,A,P,U,H,W,k;return Lu(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),U=(v=n?.condition)==null?void 0:v.call(n,h,{getState:y,extra:b}),Qu(U)?[4,U]:[3,2];case 1:U=m.sent(),m.label=2;case 2:if(U===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,H=new Promise(function(S,I){return C.signal.addEventListener("abort",function(){return I({name:"AbortError",message:_||"Aborted"})})}),f(a(x,h,(A=n?.getPendingMeta)==null?void 0:A.call(n,{requestId:x,arg:h},{getState:y,extra:b}))),[4,Promise.race([H,Promise.resolve(o(h,{dispatch:f,getState:y,extra:b,requestId:x,signal:C.signal,abort:L,rejectWithValue:function(S,I){return new Na(S,I)},fulfillWithValue:function(S,I){return new Jl(S,I)}})).then(function(S){if(S instanceof Na)throw S;return S instanceof Jl?i(S.payload,x,h,S.meta):i(S,x,h)})])];case 3:return P=m.sent(),[3,5];case 4:return W=m.sent(),P=W instanceof Na?s(null,x,h,W.payload,W.meta):s(W,x,h),[3,5];case 5:return k=n&&!n.dispatchConditionRejection&&s.match(P)&&P.meta.condition,k||f(P),[2,P]}})})}();return Object.assign(O,{abort:L,requestId:x,arg:h,unwrap:function(){return O.then(Ju)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Ju(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Qu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var nc="listener",ic="completed",ac="cancelled",ux="task-"+ac,fx="task-"+ic,hx=nc+"-"+ac,yx=nc+"-"+ic;var La="listenerMiddleware";var mx=Le(La+"/add"),gx=Le(La+"/removeAll"),bx=Le(La+"/remove");var Ql,xx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ql||(Ql=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},tf=function(e){return function(t){setTimeout(t,e)}},vx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:tf(10);Wl();window.ftReduxStores||(window.ftReduxStores={});var ar=class e extends Ke{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(or(a))return a;if(i==null)return;let s=oc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=ec({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[i.name]=new e(s,l,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new fo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,p=a[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function ef(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))or(t)&&t.clear()}var cn=class{constructor(t,o,n){this.store=t,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),o=this.valueSelector(t);Ze(this.lastValue,o)&&(this.callback(o,t),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function rf(e,t,o){return new cn(e,t,o).watch()}var ka={};q(ka,{scrollHelper:()=>of});var Ia,dn=new Map,$a=class{lock(t,o){if(o){let n=dn.get(o);if(n==null||n===t)return dn.set(o,t),o}}release(t,o){o&&dn.get(o)===t&&dn.delete(o)}findFirstScrollableParent(t){var o;let n,i;for(let a of ni(t)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,i;let a=0;for(;o&&o.offsetParent!==t.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=eo(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Ia=window.FluidTopicsScrollHelper)!==null&&Ia!==void 0?Ia:new $a;var of=window.FluidTopicsScrollHelper;var Da={};q(Da,{shadowQuerySelector:()=>nf,shadowQuerySelectorAll:()=>af});function nf(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function af(e,t,...o){let n=[...e.querySelectorAll(t)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ua={};q(Ua,{SearchPlaceConverter:()=>bo,SearchPlaceQueryParams:()=>Y,isSearchPlaceQueryParams:()=>$c,serializeRequest:()=>cf});var sf=kd(lc(),1);var cc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(cc||(cc={}));var dc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(dc||(dc={}));var pc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(pc||(pc={}));var uc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(uc||(uc={}));var fc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(fc||(fc={}));var hc;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(hc||(hc={}));var yc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(yc||(yc={}));var mc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(mc||(mc={}));var gc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(gc||(gc={}));var bc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(bc||(bc={}));var xc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(xc||(xc={}));var vc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(vc||(vc={}));var Sc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Sc||(Sc={}));var Cc;(function(e){e.ASC="ASC",e.DESC="DESC"})(Cc||(Cc={}));var Oc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Oc||(Oc={}));var Ba;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ba||(Ba={}));var Nc=e=>Object.keys(Ba).includes(e);var Ec;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ec||(Ec={}));var wc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(wc||(wc={}));var Ac;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ac||(Ac={}));var _r;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(_r||(_r={}));var Tc=e=>Object.keys(_r).includes(e);var Rc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Rc||(Rc={}));var _c;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(_c||(_c={}));var ft;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(ft||(ft={}));var Lc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Lc||(Lc={}));var Pc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Pc||(Pc={}));var Wx={[ft.PERSONAL_BOOK_SHARE_USER]:[ft.PERSONAL_BOOK_USER],[ft.HTML_EXPORT_USER]:[ft.PERSONAL_BOOK_USER],[ft.PDF_EXPORT_USER]:[ft.PERSONAL_BOOK_USER],[ft.KHUB_ADMIN]:[ft.CONTENT_PUBLISHER],[ft.ADMIN]:[ft.KHUB_ADMIN,ft.USERS_ADMIN,ft.PORTAL_ADMIN],[ft.DEVELOPER]:[ft.BETA_USER,ft.DEBUG_USER],[ft.GENERATIVE_AI_EXPORT_USER]:[ft.GENERATIVE_AI_USER]};function lf(e){return`"${e}"`}function Ic(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function cf(e,t){return new bo(e).serialize(t)}var Y;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(Y||(Y={}));var df=new Set(Object.values(Y));function $c(e){return df.has(e)}var bo=class{constructor(t,o={},n=20,i=!1,a="en-US"){this.baseUrl=t,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=i,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).toString(),i=o==null||o.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return a.search=n,a.toString()}toURLSearchParams(t,o=!1){var n,i,a,s,l,d,p,h,f,y,b,x;let C=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&C.append(Y.LOCALE,t.contentLocale):C.append(Y.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&C.append(Y.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&C.append(Y.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&C.append(Y.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&C.append(Y.SORT,"last_update");let _=(s=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(_.length>0){let v=_.map(A=>{var P,U;let H=((U=(P=A.valueFilter)===null||P===void 0?void 0:P.values)!==null&&U!==void 0?U:[]).map(W=>this.escapeFilters(W)).map(W=>encodeURIComponent(lf(Ic(W)))).join("_");return`${A.key}~${H}`}).join("*");C.append(Y.VALUE_FILTERS,v)}let N=(d=(l=t.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(A=>{var P;return`${A.key}~${(P=A.dateFilter)===null||P===void 0?void 0:P.type.toLowerCase()}`}).join("*");C.append(Y.DATE_FILTERS,v)}let L=(h=(p=t.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(A=>{var P,U;return`${A.key}~${(P=A.rangeFilter)===null||P===void 0?void 0:P.from}_${(U=A.rangeFilter)===null||U===void 0?void 0:U.to}`}).join("*");C.append(Y.RANGE_FILTERS,v)}let O=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let v in O)C.append(v,O[v]);return!((y=t.paging)===null||y===void 0)&&y.perPage&&((x=(b=t.paging)===null||b===void 0?void 0:b.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&C.append(Y.PER_PAGE,String(t.paging.perPage)),C}parse(t){var o;let n=t.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(t){var o,n,i,a,s,l,d,p;let h=t.get(Y.LOCALE)==="all"?void 0:t.get(Y.LOCALE),f=((o=t.get(Y.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),y=((n=t.get(Y.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(i=t.get(Y.SCOPE))!==null&&i!==void 0?i:"default",x=+((a=t.get(Y.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),C={};for(let _ of t.keys())$c(_)||(C[_]=t.get(_));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(Y.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:Nc(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(t),facets:[],paging:{page:1,perPage:eo(1,isNaN(x)?this.defaultPerPage:x,1e3)},otherQueryParams:C}}parseCompatFilters(t){var o,n,i,a,s,l;let d=[];return t.has(Y.FILTERS)&&(d=this.parseValueFilters((o=t.get(Y.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(Y.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=t.get(Y.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=t.get(Y.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=t.get(Y.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(Y.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Ic).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:_r[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(n,i);return t}unescapeFilterValue(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replace(i,o);return t}parseLegacyPeriodFilter(t){if(Tc(t))return[{key:"ft:lastEdition",dateFilter:{type:_r[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var Fa={};q(Fa,{toFtFormComponent:()=>Ma});var fn=Symbol("elementInternals");function Ma(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[fn].form}constructor(...i){super(i),this[fn]=this.attachInternals(),this[fn].role=t}setFormValue(i){this[fn].setFormValue(i)}}return o}var Wa={};q(Wa,{DateFormatter:()=>Nr});var Nr=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var Ha,za,ja,Va,sr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ja=(za=(Ha=window.safari)===null||Ha===void 0?void 0:Ha.pushNotification)===null||za===void 0?void 0:za.toString())!==null&&ja!==void 0?ja:"")==="[object SafariRemoteNotification]",pf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Va=window.ftGlobals)!==null&&Va!==void 0?Va:{lit:Wn,litDecorators:Hn,litRepeat:zn,litClassMap:jn,litStyleMap:Vn,litUnsafeHTML:Kn,wcUtils:{...ti,...qn,...ri,...Wa,...oi,...ai,...ki,...Qn,...Ji,...$i,...ea,...ta,...Al,...ii,...na,...ia,..._l,...aa,...Pa,...Qi,...ka,...Da,...Ua,...Fa,isSafari:sr,isTouchScreen:pf,setVariable:w}};var kc=e=>e??it;var Dc={contentVerticalPadding:r.create("--ft-page-layout--content-vertical-padding","","SIZE","24px"),contentHorizontalPadding:r.create("--ft-page-layout--content-horizontal-padding","","SIZE","24px")},Bc=$`
48
+ `;var Ps={};var $a={};q($a,{ParametrizedLabelResolver:()=>Qr});var Qr=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,a;t=this.resolvePluralKey(t,o);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...o)}static replaceParameters(t,...o){return o.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=a=>o?.includes("date")?t.toLocaleDateString(a):o?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var ai={};q(ai,{FtCommandQueue:()=>to,FtLitElementRedux:()=>Ae,FtReduxStore:()=>Qe,ReduxWatcher:()=>Do,clearAllStores:()=>qp,isFtReduxStore:()=>qe,redux:()=>_o,reduxEventListener:()=>fp,reduxReactive:()=>pp,watch:()=>Yp});var pp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},_o=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:We,attribute:!1,...t};C(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:c=>c[n],store:t.store})}},fp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var to=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function qe(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Is,ks,$s,eo=Symbol("internalReduxEventsUnsubscribers"),we=Symbol("internalStoresUnsubscribers"),Ye=Symbol("internalStores"),Ae=class extends K{constructor(){super(...arguments),this[Is]=new Map,this[ks]=new Map,this[$s]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ye].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Ye].get(t)}addStore(t,o){var n;o=(n=o??(qe(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[Ye].set(o,t),this.subscribeToStore(o,t),this.updateFromStores()}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Ye].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Ye].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[we].has(t.store):this[we].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[we].set(t,o.subscribe(()=>this.updateFromStores())),this[eo].set(t,[]),qe(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=c=>this[i](c);o.addEventListener(a.eventName,s),this[eo].get(t).push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[we].forEach((t,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(t){var o;this[we].has(t)&&this[we].get(t)(),this[we].delete(t),(o=this[eo].get(t))===null||o===void 0||o.forEach(n=>n()),this[eo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Is=we,ks=Ye,$s=eo;Ae.reduxProperties=new Map;Ae.reduxReactiveProperties=new Set;Ae.reduxEventListeners=new Map;function Wt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ye(e){return!!e&&!!e[tt]}function qt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===vp}(e)||Array.isArray(e)||!!e[Hs]||!!(!((t=e.constructor)===null||t===void 0)&&t[Hs])||ja(e)||Ga(e))}function Xe(e,t,o){o===void 0&&(o=!1),br(e)===0?(o?Object.keys:gr)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function br(e){var t=e[tt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ja(e)?2:Ga(e)?3:0}function mr(e,t){return br(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function up(e,t){return br(e)===2?e.get(t):e[t]}function zs(e,t,o){var n=br(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function js(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ja(e){return bp&&e instanceof Map}function Ga(e){return xp&&e instanceof Set}function Re(e){return e.o||e.t}function Va(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Ks(e);delete t[tt];for(var o=gr(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ka(e,t){return t===void 0&&(t=!1),Za(e)||ye(e)||!qt(e)||(br(e)>1&&(e.set=e.add=e.clear=e.delete=hp),Object.freeze(e),t&&Xe(e,function(o,n){return Ka(n,!0)},!0)),e}function hp(){Wt(2)}function Za(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function ne(e){var t=za[e];return t||Wt(18,e),t}function yp(e,t){za[e]||(za[e]=t)}function Fa(){return oo}function Da(e,t){t&&(ne("Patches"),e.u=[],e.s=[],e.v=t)}function To(e){Wa(e),e.p.forEach(mp),e.p=null}function Wa(e){e===oo&&(oo=e.l)}function Ds(e){return oo={p:[],l:oo,h:e,m:!0,_:0}}function mp(e){var t=e[tt];t.i===0||t.i===1?t.j():t.g=!0}function Ba(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||ne("ES5").S(t,e,n),n?(o[tt].P&&(To(t),Wt(4)),qt(e)&&(e=Po(t,e),t.l||Io(t,e)),t.u&&ne("Patches").M(o[tt].t,e,t.u,t.s)):e=Po(t,o,[]),To(t),t.u&&t.v(t.u,t.s),e!==Vs?e:void 0}function Po(e,t,o){if(Za(t))return t;var n=t[tt];if(!n)return Xe(t,function(c,d){return Bs(e,n,t,c,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Io(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Va(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Xe(i,function(c,d){return Bs(e,n,a,c,d,o,s)}),Io(e,a,!1),o&&e.u&&ne("Patches").N(n,o,e.u,e.s)}return n.o}function Bs(e,t,o,n,a,i,s){if(ye(a)){var c=Po(e,a,i&&t&&t.i!==3&&!mr(t.R,n)?i.concat(n):void 0);if(zs(o,n,c),!ye(c))return;e.m=!1}else s&&o.add(a);if(qt(a)&&!Za(a)){if(!e.h.D&&e._<1)return;Po(e,a),t&&t.A.l||Io(e,a)}}function Io(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Ka(t,o)}function Ma(e,t){var o=e[tt];return(o?Re(o):e)[t]}function Ms(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Ne(e){e.P||(e.P=!0,e.l&&Ne(e.l))}function Ua(e){e.o||(e.o=Va(e.t))}function Ha(e,t,o){var n=ja(t)?ne("MapSet").F(t,o):Ga(t)?ne("MapSet").T(t,o):e.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Fa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,f=no;s&&(d=[c],f=ro);var h=Proxy.revocable(d,f),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(t,o):ne("ES5").J(t,o);return(o?o.A:Fa()).p.push(n),n}function gp(e){return ye(e)||Wt(22,e),function t(o){if(!qt(o))return o;var n,a=o[tt],i=br(o);if(a){if(!a.P&&(a.i<4||!ne("ES5").K(a)))return a.t;a.I=!0,n=Us(o,i),a.I=!1}else n=Us(o,i);return Xe(n,function(s,c){a&&up(a.t,s)===c||zs(n,s,t(c))}),i===3?new Set(n):n}(e)}function Us(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Va(e)}function Gs(){function e(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var f=this[tt];return no.get(f,s)},set:function(f){var h=this[tt];no.set(h,s,f)}},d}function t(s){for(var c=s.length-1;c>=0;c--){var d=s[c][tt];if(!d.P)switch(d.i){case 5:n(d)&&Ne(d);break;case 4:o(d)&&Ne(d)}}}function o(s){for(var c=s.t,d=s.k,f=gr(d),h=f.length-1;h>=0;h--){var u=f[h];if(u!==tt){var m=c[u];if(m===void 0&&!mr(c,u))return!0;var x=d[u],b=x&&x[tt];if(b?b.t!==m:!js(x,m))return!0}}var O=!!c[tt];return f.length!==gr(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 f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&Wt(3,JSON.stringify(Re(s)))}var i={};yp("ES5",{J:function(s,c){var d=Array.isArray(s),f=function(u,m){if(u){for(var x=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(x,""+b,e(b,!0));return x}var O=Ks(m);delete O[tt];for(var N=gr(O),L=0;L<N.length;L++){var T=N[L];O[T]=e(T,u||!!O[T].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(d,s),h={i:d?5:4,A:c?c.A:Fa(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,tt,{value:h,writable:!0}),f},S:function(s,c,d){d?ye(c)&&c[tt].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[tt];if(u){var m=u.t,x=u.k,b=u.R,O=u.i;if(O===4)Xe(x,function(v){v!==tt&&(m[v]!==void 0||mr(m,v)?b[v]||f(x[v]):(b[v]=!0,Ne(u)))}),Xe(m,function(v){x[v]!==void 0||mr(x,v)||(b[v]=!1,Ne(u))});else if(O===5){if(n(u)&&(Ne(u),b.length=!0),x.length<m.length)for(var N=x.length;N<m.length;N++)b[N]=!1;else for(var L=m.length;L<x.length;L++)b[L]=!0;for(var T=Math.min(x.length,m.length),E=0;E<T;E++)x.hasOwnProperty(E)||(b[E]=!0),b[E]===void 0&&f(x[E])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Fs,oo,qa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",bp=typeof Map<"u",xp=typeof Set<"u",Ws=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Vs=qa?Symbol.for("immer-nothing"):((Fs={})["immer-nothing"]=!0,Fs),Hs=qa?Symbol.for("immer-draftable"):"__$immer_draftable",tt=qa?Symbol.for("immer-state"):"__$immer_state";var vp=""+Object.prototype.constructor,gr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ks=Object.getOwnPropertyDescriptors||function(e){var t={};return gr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},za={},no={get:function(e,t){if(t===tt)return e;var o=Re(e);if(!mr(o,t))return function(a,i,s){var c,d=Ms(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!qt(n)?n:n===Ma(e.t,t)?(Ua(e),e.o[t]=Ha(e.A.h,n,e)):n},has:function(e,t){return t in Re(e)},ownKeys:function(e){return Reflect.ownKeys(Re(e))},set:function(e,t,o){var n=Ms(Re(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Ma(Re(e),t),i=a?.[tt];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(js(o,a)&&(o!==void 0||mr(e.t,t)))return!0;Ua(e),Ne(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Ma(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ua(e),Ne(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Re(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Wt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Wt(12)}},ro={};Xe(no,function(e,t){ro[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ro.deleteProperty=function(e,t){return ro.set.call(this,e,t,void 0)},ro.set=function(e,t,o){return no.set.call(this,e[0],t,o,e[0])};var Sp=function(){function e(o){var n=this;this.O=Ws,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 L=arguments.length,T=Array(L>1?L-1:0),E=1;E<L;E++)T[E-1]=arguments[E];return d.produce(O,function(v){var A;return(A=i).call.apply(A,[N,v].concat(T))})}}var f;if(typeof i!="function"&&Wt(6),s!==void 0&&typeof s!="function"&&Wt(7),qt(a)){var h=Ds(n),u=Ha(n,a,void 0),m=!0;try{f=i(u),m=!1}finally{m?To(h):Wa(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(O){return Da(h,s),Ba(O,h)},function(O){throw To(h),O}):(Da(h,s),Ba(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Vs&&(f=void 0),n.D&&Ka(f,!0),s){var x=[],b=[];ne("Patches").M(a,f,x,b),s(x,b)}return f}Wt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(f,function(x){return a.apply(void 0,[x].concat(u))})};var s,c,d=n.produce(a,i,function(f,h){s=f,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,c]}):[d,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){qt(o)||Wt(8),ye(o)&&(o=gp(o));var n=Ds(this),a=Ha(this,o,void 0);return a[tt].C=!0,Wa(n),a},t.finishDraft=function(o,n){var a=o&&o[tt],i=a.A;return Da(i,n),Ba(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Ws&&Wt(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=ne("Patches").$;return ye(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),It=new Sp,Op=It.produce,_g=It.produceWithPatches.bind(It),Tg=It.setAutoFreeze.bind(It),Pg=It.setUseProxies.bind(It),Ig=It.applyPatches.bind(It),kg=It.createDraft.bind(It),$g=It.finishDraft.bind(It),ko=Op;function Je(e){"@babel/helpers - typeof";return Je=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Je(e)}function Zs(e,t){if(Je(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Je(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qs(e){var t=Zs(e,"string");return Je(t)=="symbol"?t:t+""}function Ys(e,t,o){return(t=qs(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Xs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Ya(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Xs(Object(o),!0).forEach(function(n){Ys(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Xs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Ot(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Js=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Xa=function(){return Math.random().toString(36).substring(7).split("").join(".")},$o={INIT:"@@redux/INIT"+Xa(),REPLACE:"@@redux/REPLACE"+Xa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xa()}};function Cp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ja(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Ot(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Ot(1));return o(Ja)(e,t)}if(typeof e!="function")throw new Error(Ot(2));var a=e,i=t,s=[],c=s,d=!1;function f(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(Ot(3));return i}function u(O){if(typeof O!="function")throw new Error(Ot(4));if(d)throw new Error(Ot(5));var N=!0;return f(),c.push(O),function(){if(N){if(d)throw new Error(Ot(6));N=!1,f();var T=c.indexOf(O);c.splice(T,1),s=null}}}function m(O){if(!Cp(O))throw new Error(Ot(7));if(typeof O.type>"u")throw new Error(Ot(8));if(d)throw new Error(Ot(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var N=s=c,L=0;L<N.length;L++){var T=N[L];T()}return O}function x(O){if(typeof O!="function")throw new Error(Ot(10));a=O,m({type:$o.REPLACE})}function b(){var O,N=u;return O={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(Ot(11));function E(){T.next&&T.next(h())}E();var v=N(E);return{unsubscribe:v}}},O[Js]=function(){return this},O}return m({type:$o.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:x},n[Js]=b,n}function Ep(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:$o.INIT});if(typeof n>"u")throw new Error(Ot(12));if(typeof o(void 0,{type:$o.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ot(13))})}function Qs(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,c;try{Ep(o)}catch(d){c=d}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var u;for(var m=!1,x={},b=0;b<i.length;b++){var O=i[b],N=o[O],L=f[O],T=N(L,h);if(typeof T>"u"){var E=h&&h.type;throw new Error(Ot(14))}x[O]=T,m=m||T!==L}return m=m||i.length!==Object.keys(f).length,m?x:f}}function xr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function tl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(Ot(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=t.map(function(d){return d(s)});return i=xr.apply(void 0,c)(a.dispatch),Ya(Ya({},a),{},{dispatch:i})}}}function el(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,e):s(c)}}};return t}var rl=el();rl.withExtraArgument=el;var Qa=rl;var sl=function(){var e=function(t,o){return e=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])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),wp=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,a=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){o.label=f[1];break}if(f[0]===6&&o.label<i[1]){o.label=i[1],i=f;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(f);break}i[2]&&o.ops.pop(),o.trys.pop();continue}f=t.call(e,o)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},vr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Ap=Object.defineProperty,Rp=Object.defineProperties,Np=Object.getOwnPropertyDescriptors,ol=Object.getOwnPropertySymbols,Lp=Object.prototype.hasOwnProperty,_p=Object.prototype.propertyIsEnumerable,nl=function(e,t,o){return t in e?Ap(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Le=function(e,t){for(var o in t||(t={}))Lp.call(t,o)&&nl(e,o,t[o]);if(ol)for(var n=0,a=ol(t);n<a.length;n++){var o=a[n];_p.call(t,o)&&nl(e,o,t[o])}return e},ti=function(e,t){return Rp(e,Np(t))},Tp=function(e,t,o){return new Promise(function(n,a){var i=function(d){try{c(o.next(d))}catch(f){a(f)}},s=function(d){try{c(o.throw(d))}catch(f){a(f)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};c((o=o.apply(e,t)).next())})};var Pp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?xr:xr.apply(null,arguments)},Qg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Ip(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var kp=function(e){sl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,vr([void 0],o[0].concat(this)))):new(t.bind.apply(t,vr([void 0],o.concat(this))))},t}(Array),$p=function(e){sl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,vr([void 0],o[0].concat(this)))):new(t.bind.apply(t,vr([void 0],o.concat(this))))},t}(Array);function oi(e){return qt(e)?ko(e,function(){}):e}function Dp(e){return typeof e=="boolean"}function Bp(){return function(t){return Mp(t)}}function Mp(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,c=new kp;if(o&&(Dp(o)?c.push(Qa):c.push(Qa.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var f}return c}var ei=!0;function ll(e){var t=Bp(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,c=o.devTools,d=c===void 0?!0:c,f=o.preloadedState,h=f===void 0?void 0:f,u=o.enhancers,m=u===void 0?void 0:u,x;if(typeof a=="function")x=a;else if(Ip(a))x=Qs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(t),!ei&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ei&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=tl.apply(void 0,b),N=xr;d&&(N=Pp(Le({trace:!ei},typeof d=="object"&&d)));var L=new $p(O),T=L;Array.isArray(m)?T=vr([O],m):typeof m=="function"&&(T=m(L));var E=N.apply(void 0,T);return Ja(x,h,E)}function _e(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Le(Le({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function cl(e){var t={},o=[],n,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function Up(e){return typeof e=="function"}function Fp(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?cl(t):[t,o,n],i=a[0],s=a[1],c=a[2],d;if(Up(e))d=function(){return oi(e())};else{var f=oi(e);d=function(){return f}}function h(u,m){u===void 0&&(u=d());var x=vr([i[m.type]],s.filter(function(b){var O=b.matcher;return O(m)}).map(function(b){var O=b.reducer;return O}));return x.filter(function(b){return!!b}).length===0&&(x=[c]),x.reduce(function(b,O){if(O)if(ye(b)){var N=b,L=O(N,m);return L===void 0?b:L}else{if(qt(b))return ko(b,function(T){return O(T,m)});var L=O(b,m);if(L===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return b},u)}return h.getInitialState=d,h}function Wp(e,t){return e+"/"+t}function dl(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:oi(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},c={};a.forEach(function(h){var u=n[h],m=Wp(t,h),x,b;"reducer"in u?(x=u.reducer,b=u.prepare):x=u,i[h]=x,s[m]=x,c[h]=b?_e(m,b):_e(m)});function d(){var h=typeof e.extraReducers=="function"?cl(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,x=h[1],b=x===void 0?[]:x,O=h[2],N=O===void 0?void 0:O,L=Le(Le({},m),s);return Fp(o,function(T){for(var E in L)T.addCase(E,L[E]);for(var v=0,A=b;v<A.length;v++){var k=A[v];T.addMatcher(k.matcher,k.reducer)}N&&T.addDefaultCase(N)})}var f;return{name:t,reducer:function(h,u){return f||(f=d()),f(h,u)},actions:c,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Hp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Hp[Math.random()*64|0];return t},jp=["name","message","stack","code"],ri=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),al=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Gp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=jp;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},ob=function(){function e(t,o,n){var a=_e(t+"/fulfilled",function(h,u,m,x){return{payload:h,meta:ti(Le({},x||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),i=_e(t+"/pending",function(h,u,m){return{payload:void 0,meta:ti(Le({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=_e(t+"/rejected",function(h,u,m,x,b){return{payload:x,error:(n&&n.serializeError||Gp)(h||"Rejected"),meta:ti(Le({},b||{}),{arg:m,requestId:u,rejectedWithValue:!!x,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 f(h){return function(u,m,x){var b=n?.idGenerator?n.idGenerator(h):zp(),O=new d,N,L=!1;function T(v){N=v,O.abort()}var E=function(){return Tp(this,null,function(){var v,A,k,M,j,F,P;return wp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),M=(v=n?.condition)==null?void 0:v.call(n,h,{getState:m,extra:x}),Kp(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 L=!0,j=new Promise(function(S,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:N||"Aborted"})})}),u(i(b,h,(A=n?.getPendingMeta)==null?void 0:A.call(n,{requestId:b,arg:h},{getState:m,extra:x}))),[4,Promise.race([j,Promise.resolve(o(h,{dispatch:u,getState:m,extra:x,requestId:b,signal:O.signal,abort:T,rejectWithValue:function(S,I){return new ri(S,I)},fulfillWithValue:function(S,I){return new al(S,I)}})).then(function(S){if(S instanceof ri)throw S;return S instanceof al?a(S.payload,b,h,S.meta):a(S,b,h)})])];case 3:return k=y.sent(),[3,5];case 4:return F=y.sent(),k=F instanceof ri?s(null,b,h,F.payload,F.meta):s(F,b,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(k)&&k.meta.condition,P||u(k),[2,k]}})})}();return Object.assign(E,{abort:T,requestId:b,arg:h,unwrap:function(){return E.then(Vp)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Vp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Kp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var pl="listener",fl="completed",ul="cancelled",nb="task-"+ul,ab="task-"+fl,ib=pl+"-"+ul,sb=pl+"-"+fl;var ni="listenerMiddleware";var lb=_e(ni+"/add"),cb=_e(ni+"/removeAll"),db=_e(ni+"/remove");var il,pb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(il||(il=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Zp=function(e){return function(t){setTimeout(t,e)}},fb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Zp(10);Gs();window.ftReduxStores||(window.ftReduxStores={});var Qe=class e extends Fe{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(qe(i))return i;if(a==null)return;let s=dl({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),c=ll({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[a.name]=new e(s,c,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,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,c)=>{let d=s,f=i[d];return f?(...h)=>{let u=f(...h.map(a));return this.reduxStore.dispatch(u),u}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function qp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))qe(t)&&t.clear()}var Do=class{constructor(t,o,n){this.store=t,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),o=this.valueSelector(t);We(this.lastValue,o)&&(this.callback(o,t),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Yp(e,t,o){return new Do(e,t,o).watch()}var li={};q(li,{scrollHelper:()=>Xp});var ii,Bo=new Map,si=class{lock(t,o){if(o){let n=Bo.get(o);if(n==null||n===t)return Bo.set(o,t),o}}release(t,o){o&&Bo.get(o)===t&&Bo.delete(o)}findFirstScrollableParent(t){var o;let n,a;for(let i of Pn(t)){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(o=n??a)!==null&&o!==void 0?o:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,a;let i=0;for(;o&&o.offsetParent!==t.offsetParent;)i+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return i+((a=o?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,c=zr(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,c)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(ii=window.FluidTopicsScrollHelper)!==null&&ii!==void 0?ii:new si;var Xp=window.FluidTopicsScrollHelper;var ci={};q(ci,{shadowQuerySelector:()=>Jp,shadowQuerySelectorAll:()=>Qp});function Jp(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Qp(e,t,...o){let n=[...e.querySelectorAll(t)];for(let a of o)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 pi={};q(pi,{SearchPlaceConverter:()=>ao,SearchPlaceQueryParams:()=>Y,isSearchPlaceQueryParams:()=>Wl,serializeRequest:()=>rf});var tf=Wc(yl(),1);var ml;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(ml||(ml={}));var gl;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(gl||(gl={}));var bl;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(bl||(bl={}));var xl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(xl||(xl={}));var vl;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(vl||(vl={}));var Sl;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Sl||(Sl={}));var Ol;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Ol||(Ol={}));var Cl;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Cl||(Cl={}));var El;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(El||(El={}));var wl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(wl||(wl={}));var Al;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Al||(Al={}));var Rl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Rl||(Rl={}));var Nl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Nl||(Nl={}));var Ll;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ll||(Ll={}));var _l;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(_l||(_l={}));var di;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(di||(di={}));var Dl=e=>Object.keys(di).includes(e);var Tl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Tl||(Tl={}));var Pl;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Pl||(Pl={}));var Il;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Il||(Il={}));var Or;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Or||(Or={}));var Bl=e=>Object.keys(Or).includes(e);var kl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(kl||(kl={}));var $l;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})($l||($l={}));var ft;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(ft||(ft={}));var Ml;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Ml||(Ml={}));var Ul;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Ul||(Ul={}));var Ib={[ft.PERSONAL_BOOK_SHARE_USER]:[ft.PERSONAL_BOOK_USER],[ft.HTML_EXPORT_USER]:[ft.PERSONAL_BOOK_USER],[ft.PDF_EXPORT_USER]:[ft.PERSONAL_BOOK_USER],[ft.KHUB_ADMIN]:[ft.CONTENT_PUBLISHER],[ft.ADMIN]:[ft.KHUB_ADMIN,ft.USERS_ADMIN,ft.PORTAL_ADMIN],[ft.DEVELOPER]:[ft.BETA_USER,ft.DEBUG_USER],[ft.GENERATIVE_AI_EXPORT_USER]:[ft.GENERATIVE_AI_USER]};function ef(e){return`"${e}"`}function Fl(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function rf(e,t){return new ao(e).serialize(t)}var Y;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(Y||(Y={}));var of=new Set(Object.values(Y));function Wl(e){return of.has(e)}var ao=class{constructor(t,o={},n=20,a=!1,i="en-US"){this.baseUrl=t,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).toString(),a=o==null||o.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=n,i.toString()}toURLSearchParams(t,o=!1){var n,a,i,s,c,d,f,h,u,m,x,b;let O=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&O.append(Y.LOCALE,t.contentLocale):O.append(Y.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&O.append(Y.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&O.append(Y.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&O.append(Y.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((a=t.sort)===null||a===void 0?void 0:a.length)>0&&t.sort[0].key==="ft:lastEdition"&&O.append(Y.SORT,"last_update");let N=(s=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(N.length>0){let v=N.map(A=>{var k,M;let j=((M=(k=A.valueFilter)===null||k===void 0?void 0:k.values)!==null&&M!==void 0?M:[]).map(F=>this.escapeFilters(F)).map(F=>encodeURIComponent(ef(Fl(F)))).join("_");return`${A.key}~${j}`}).join("*");O.append(Y.VALUE_FILTERS,v)}let L=(d=(c=t.metadataFilters)===null||c===void 0?void 0:c.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(L.length>0){let v=L.map(A=>{var k;return`${A.key}~${(k=A.dateFilter)===null||k===void 0?void 0:k.type.toLowerCase()}`}).join("*");O.append(Y.DATE_FILTERS,v)}let T=(h=(f=t.metadataFilters)===null||f===void 0?void 0:f.filter(v=>v.rangeFilter))!==null&&h!==void 0?h:[];if(T.length>0){let v=T.map(A=>{var k,M;return`${A.key}~${(k=A.rangeFilter)===null||k===void 0?void 0:k.from}_${(M=A.rangeFilter)===null||M===void 0?void 0:M.to}`}).join("*");O.append(Y.RANGE_FILTERS,v)}let E=(u=t.otherQueryParams)!==null&&u!==void 0?u:{};for(let v in E)O.append(v,E[v]);return!((m=t.paging)===null||m===void 0)&&m.perPage&&((b=(x=t.paging)===null||x===void 0?void 0:x.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&O.append(Y.PER_PAGE,String(t.paging.perPage)),O}parse(t){var o;let n=t.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(t){var o,n,a,i,s,c,d,f;let h=t.get(Y.LOCALE)==="all"?void 0:t.get(Y.LOCALE),u=((o=t.get(Y.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),m=((n=t.get(Y.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),x=(a=t.get(Y.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=t.get(Y.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),O={};for(let N of t.keys())Wl(N)||(O[N]=t.get(N));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(Y.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[x])!==null&&c!==void 0?c:"DEFAULT",virtualField:Dl(u)?u:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:zr(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:O}}parseCompatFilters(t){var o,n,a,i,s,c;let d=[];return t.has(Y.FILTERS)&&(d=this.parseValueFilters((o=t.get(Y.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(Y.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(Y.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(Y.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(Y.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=t.get(Y.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Fl).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Or[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replace(a,o);return t}parseLegacyPeriodFilter(t){if(Bl(t))return[{key:"ft:lastEdition",dateFilter:{type:Or[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var ui={};q(ui,{toFtFormComponent:()=>fi});var Fo=Symbol("elementInternals");function fi(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[Fo].form}constructor(...a){super(a),this[Fo]=this.attachInternals(),this[Fo].role=t}setFormValue(a){this[Fo].setFormValue(a)}}return o}var hi={};q(hi,{DateFormatter:()=>Cr});var Cr=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,a)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var yi,mi,gi,bi,tr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((gi=(mi=(yi=window.safari)===null||yi===void 0?void 0:yi.pushNotification)===null||mi===void 0?void 0:mi.toString())!==null&&gi!==void 0?gi:"")==="[object SafariRemoteNotification]",nf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(bi=window.ftGlobals)!==null&&bi!==void 0?bi:{lit:yn,litDecorators:mn,litRepeat:gn,litClassMap:bn,litStyleMap:xn,litUnsafeHTML:Sn,wcUtils:{...Nn,...Cn,..._n,...hi,...Tn,...kn,...ca,...Rn,...Ra,...la,..._a,...La,..._s,...In,...Ia,...ka,...Ps,...$a,...ai,...Na,...li,...ci,...pi,...ui,isSafari:tr,isTouchScreen:nf,setVariable:w}};var Hl=e=>e??z;var zl={contentVerticalPadding:r.create("--ft-page-layout--content-vertical-padding","","SIZE","24px"),contentHorizontalPadding:r.create("--ft-page-layout--content-horizontal-padding","","SIZE","24px")},jl=$`
51
49
  :host {
52
50
  display: flex;
53
51
  flex-direction: column;
54
52
  height: 100%;
55
53
  background: ${at.backgroundColor};
56
54
  color: ${at.parentTitleColor};
57
- font-family: ${Ee["body-1-regular"].fontFamily}, system-ui, sans-serif;
58
- font-size: ${Ee["body-1-regular"].fontSize};
55
+ font-family: ${Ce["body-1-regular"].fontFamily}, system-ui, sans-serif;
56
+ font-size: ${Ce["body-1-regular"].fontSize};
59
57
  }
60
58
 
61
59
  .ftds-page-layout--left-slot {
@@ -126,7 +124,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
126
124
  /* BREADCRUMB */
127
125
  nav.ftds-page-layout--breadcrumb {
128
126
  display: flex;
129
- gap: ${gr.horizontalGap};
127
+ gap: ${pr.horizontalGap};
130
128
  align-items: center;
131
129
  }
132
130
 
@@ -141,7 +139,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
141
139
  }
142
140
 
143
141
  nav.ftds-page-layout--breadcrumb ft-typography.ftds-page-layout--breadcrumb-item {
144
- color: ${gr.previousNonClickableColor};
142
+ color: ${pr.previousNonClickableColor};
145
143
  }
146
144
 
147
145
  nav.ftds-page-layout--breadcrumb li + li::before {
@@ -149,11 +147,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
149
147
  margin: 0 0.25em;
150
148
  height: 0.8em;
151
149
  content: ">";
152
- color: ${gr.iconColor};
150
+ color: ${pr.iconColor};
153
151
  }
154
152
 
155
153
  nav.ftds-page-layout--breadcrumb .ftds-page-layout--title {
156
- color: ${gr.currentColor};
154
+ color: ${pr.currentColor};
157
155
  font-weight: 600;
158
156
  }
159
157
 
@@ -161,7 +159,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
161
159
  main {
162
160
  overflow: auto;
163
161
  flex-grow: 1;
164
- padding: ${Dc.contentVerticalPadding} ${Dc.contentHorizontalPadding};
162
+ padding: ${zl.contentVerticalPadding} ${zl.contentHorizontalPadding};
165
163
  }
166
164
 
167
165
  /* FOOTER */
@@ -175,7 +173,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
175
173
  .ftds-page-layout--footer[hidden] {
176
174
  display: none;
177
175
  }
178
- `;var Mc=Symbol.for(""),uf=e=>{if(e?.r===Mc)return e?._$litStatic$},Ga=e=>({_$litStatic$:e,r:Mc});var Uc=new Map,Fc=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=t[p];p<n&&(a=o[p],(i=uf(a))!==void 0);)d+=i+t[++p],h=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(t[n]),h){let f=s.join("$$lit$$");(t=Uc.get(f))===void 0&&(s.raw=s,Uc.set(f,t=s)),o=l}return e(t,...o)},Ka=Fc(Ss),Dv=Fc(Cs);var ht;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ht||(ht={}));function Wc(e){let t=Ee[e];return $`
176
+ `;var Vl=Symbol.for(""),af=e=>{if(e?.r===Vl)return e?._$litStatic$},xi=e=>({_$litStatic$:e,r:Vl});var Gl=new Map,vi=e=>(t,...o)=>{let n=o.length,a,i,s=[],c=[],d,f=0,h=!1;for(;f<n;){for(d=t[f];f<n&&(i=o[f],(a=af(i))!==void 0);)d+=a+t[++f],h=!0;f!==n&&c.push(i),s.push(d),f++}if(f===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=Gl.get(u))===void 0&&(s.raw=s,Gl.set(u,t=s)),o=c}return e(t,...o)},Si=vi(D),Nx=vi(dn),Lx=vi(pn);var ut;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ut||(ut={}));function Kl(e){let t=Ce[e];return $`
179
177
  .ft-typography--${se(e)} {
180
178
  font-family: ${t.fontFamily};
181
179
  font-size: ${t.fontSize};
@@ -184,53 +182,53 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
184
182
  line-height: ${t.lineHeight};
185
183
  text-transform: ${t.textCase};
186
184
  }
187
- `}var Hc=r.extend("--ft-typography-font-family","",K.titleFont),me=r.extend("--ft-typography-font-family","",K.contentFont),B={fontFamily:me,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Tr={fontFamily:r.extend("--ft-typography-title-font-family","",Hc),fontSize:r.extend("--ft-typography-title-font-size","",B.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",B.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",B.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",B.textTransform,"inherit")},Lr={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Hc),fontSize:r.extend("--ft-typography-title-dense-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",B.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",B.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",B.textTransform,"inherit")},Pr={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",me),fontSize:r.extend("--ft-typography-subtitle1-font-size","",B.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",B.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",B.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",B.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",B.textTransform,"inherit")},Ir={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",me),fontSize:r.extend("--ft-typography-subtitle2-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",B.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",B.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",B.textTransform,"inherit")},$r={fontFamily:r.extend("--ft-typography-body1-font-family","",me),fontSize:r.extend("--ft-typography-body1-font-size","",B.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",B.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",B.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",B.textTransform,"inherit")},Ht={fontFamily:r.extend("--ft-typography-body2-font-family","",me),fontSize:r.extend("--ft-typography-body2-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",B.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",B.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",B.textTransform,"inherit")},kr={fontFamily:r.extend("--ft-typography-caption-font-family","",me),fontSize:r.extend("--ft-typography-caption-font-size","",B.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",B.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",B.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",B.textTransform,"inherit")},Dr={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",me),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",B.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",B.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",B.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",B.textTransform,"inherit")},Br={fontFamily:r.extend("--ft-typography-overline-font-family","",me),fontSize:r.extend("--ft-typography-overline-font-size","",B.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",B.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",B.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",B.textTransform,"uppercase")},ne={fontFamily:r.extend("--ft-typography-button-font-family","",me),fontSize:r.extend("--ft-typography-button-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",B.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",B.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",B.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",B.textTransform,"uppercase")},zc=$`
185
+ `}var Zl=r.extend("--ft-typography-font-family","",V.titleFont),me=r.extend("--ft-typography-font-family","",V.contentFont),B={fontFamily:me,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Er={fontFamily:r.extend("--ft-typography-title-font-family","",Zl),fontSize:r.extend("--ft-typography-title-font-size","",B.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",B.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",B.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",B.textTransform,"inherit")},wr={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Zl),fontSize:r.extend("--ft-typography-title-dense-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",B.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",B.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",B.textTransform,"inherit")},Ar={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",me),fontSize:r.extend("--ft-typography-subtitle1-font-size","",B.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",B.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",B.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",B.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",B.textTransform,"inherit")},Rr={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",me),fontSize:r.extend("--ft-typography-subtitle2-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",B.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",B.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",B.textTransform,"inherit")},Nr={fontFamily:r.extend("--ft-typography-body1-font-family","",me),fontSize:r.extend("--ft-typography-body1-font-size","",B.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",B.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",B.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",B.textTransform,"inherit")},Ht={fontFamily:r.extend("--ft-typography-body2-font-family","",me),fontSize:r.extend("--ft-typography-body2-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",B.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",B.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",B.textTransform,"inherit")},Lr={fontFamily:r.extend("--ft-typography-caption-font-family","",me),fontSize:r.extend("--ft-typography-caption-font-size","",B.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",B.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",B.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",B.textTransform,"inherit")},_r={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",me),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",B.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",B.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",B.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",B.textTransform,"inherit")},Tr={fontFamily:r.extend("--ft-typography-overline-font-family","",me),fontSize:r.extend("--ft-typography-overline-font-size","",B.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",B.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",B.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",B.textTransform,"uppercase")},ae={fontFamily:r.extend("--ft-typography-button-font-family","",me),fontSize:r.extend("--ft-typography-button-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",B.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",B.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",B.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",B.textTransform,"uppercase")},ql=$`
188
186
  .ft-typography--title {
189
- font-family: ${Tr.fontFamily};
190
- font-size: ${Tr.fontSize};
191
- font-weight: ${Tr.fontWeight};
192
- letter-spacing: ${Tr.letterSpacing};
193
- line-height: ${Tr.lineHeight};
194
- text-transform: ${Tr.textTransform};
195
- }
196
- `,jc=$`
187
+ font-family: ${Er.fontFamily};
188
+ font-size: ${Er.fontSize};
189
+ font-weight: ${Er.fontWeight};
190
+ letter-spacing: ${Er.letterSpacing};
191
+ line-height: ${Er.lineHeight};
192
+ text-transform: ${Er.textTransform};
193
+ }
194
+ `,Yl=$`
197
195
  .ft-typography--title-dense {
198
- font-family: ${Lr.fontFamily};
199
- font-size: ${Lr.fontSize};
200
- font-weight: ${Lr.fontWeight};
201
- letter-spacing: ${Lr.letterSpacing};
202
- line-height: ${Lr.lineHeight};
203
- text-transform: ${Lr.textTransform};
204
- }
205
- `,Vc=$`
196
+ font-family: ${wr.fontFamily};
197
+ font-size: ${wr.fontSize};
198
+ font-weight: ${wr.fontWeight};
199
+ letter-spacing: ${wr.letterSpacing};
200
+ line-height: ${wr.lineHeight};
201
+ text-transform: ${wr.textTransform};
202
+ }
203
+ `,Xl=$`
206
204
  .ft-typography--subtitle1 {
207
- font-family: ${Pr.fontFamily};
208
- font-size: ${Pr.fontSize};
209
- font-weight: ${Pr.fontWeight};
210
- letter-spacing: ${Pr.letterSpacing};
211
- line-height: ${Pr.lineHeight};
212
- text-transform: ${Pr.textTransform};
213
- }
214
- `,Gc=$`
205
+ font-family: ${Ar.fontFamily};
206
+ font-size: ${Ar.fontSize};
207
+ font-weight: ${Ar.fontWeight};
208
+ letter-spacing: ${Ar.letterSpacing};
209
+ line-height: ${Ar.lineHeight};
210
+ text-transform: ${Ar.textTransform};
211
+ }
212
+ `,Jl=$`
215
213
  .ft-typography--subtitle2 {
216
- font-family: ${Ir.fontFamily};
217
- font-size: ${Ir.fontSize};
218
- font-weight: ${Ir.fontWeight};
219
- letter-spacing: ${Ir.letterSpacing};
220
- line-height: ${Ir.lineHeight};
221
- text-transform: ${Ir.textTransform};
214
+ font-family: ${Rr.fontFamily};
215
+ font-size: ${Rr.fontSize};
216
+ font-weight: ${Rr.fontWeight};
217
+ letter-spacing: ${Rr.letterSpacing};
218
+ line-height: ${Rr.lineHeight};
219
+ text-transform: ${Rr.textTransform};
222
220
  }
223
221
 
224
- `,Kc=$`
222
+ `,Ql=$`
225
223
  .ft-typography--body1 {
226
- font-family: ${$r.fontFamily};
227
- font-size: ${$r.fontSize};
228
- font-weight: ${$r.fontWeight};
229
- letter-spacing: ${$r.letterSpacing};
230
- line-height: ${$r.lineHeight};
231
- text-transform: ${$r.textTransform};
232
- }
233
- `,Zc=$`
224
+ font-family: ${Nr.fontFamily};
225
+ font-size: ${Nr.fontSize};
226
+ font-weight: ${Nr.fontWeight};
227
+ letter-spacing: ${Nr.letterSpacing};
228
+ line-height: ${Nr.lineHeight};
229
+ text-transform: ${Nr.textTransform};
230
+ }
231
+ `,tc=$`
234
232
  .ft-typography--body2 {
235
233
  font-family: ${Ht.fontFamily};
236
234
  font-size: ${Ht.fontSize};
@@ -239,55 +237,55 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
239
237
  line-height: ${Ht.lineHeight};
240
238
  text-transform: ${Ht.textTransform};
241
239
  }
242
- `,qc=$`
240
+ `,ec=$`
243
241
  .ft-typography--caption {
244
- font-family: ${kr.fontFamily};
245
- font-size: ${kr.fontSize};
246
- font-weight: ${kr.fontWeight};
247
- letter-spacing: ${kr.letterSpacing};
248
- line-height: ${kr.lineHeight};
249
- text-transform: ${kr.textTransform};
250
- }
251
- `,Yc=$`
242
+ font-family: ${Lr.fontFamily};
243
+ font-size: ${Lr.fontSize};
244
+ font-weight: ${Lr.fontWeight};
245
+ letter-spacing: ${Lr.letterSpacing};
246
+ line-height: ${Lr.lineHeight};
247
+ text-transform: ${Lr.textTransform};
248
+ }
249
+ `,rc=$`
252
250
  .ft-typography--breadcrumb {
253
- font-family: ${Dr.fontFamily};
254
- font-size: ${Dr.fontSize};
255
- font-weight: ${Dr.fontWeight};
256
- letter-spacing: ${Dr.letterSpacing};
257
- line-height: ${Dr.lineHeight};
258
- text-transform: ${Dr.textTransform};
259
- }
260
- `,Xc=$`
251
+ font-family: ${_r.fontFamily};
252
+ font-size: ${_r.fontSize};
253
+ font-weight: ${_r.fontWeight};
254
+ letter-spacing: ${_r.letterSpacing};
255
+ line-height: ${_r.lineHeight};
256
+ text-transform: ${_r.textTransform};
257
+ }
258
+ `,oc=$`
261
259
  .ft-typography--overline {
262
- font-family: ${Br.fontFamily};
263
- font-size: ${Br.fontSize};
264
- font-weight: ${Br.fontWeight};
265
- letter-spacing: ${Br.letterSpacing};
266
- line-height: ${Br.lineHeight};
267
- text-transform: ${Br.textTransform};
268
- }
269
- `,Jc=$`
260
+ font-family: ${Tr.fontFamily};
261
+ font-size: ${Tr.fontSize};
262
+ font-weight: ${Tr.fontWeight};
263
+ letter-spacing: ${Tr.letterSpacing};
264
+ line-height: ${Tr.lineHeight};
265
+ text-transform: ${Tr.textTransform};
266
+ }
267
+ `,nc=$`
270
268
  .ft-typography--button {
271
- font-family: ${ne.fontFamily};
272
- font-size: ${ne.fontSize};
273
- font-weight: ${ne.fontWeight};
274
- letter-spacing: ${ne.letterSpacing};
275
- line-height: ${ne.lineHeight};
276
- text-transform: ${ne.textTransform};
277
- }
278
- `,Qc=$`
269
+ font-family: ${ae.fontFamily};
270
+ font-size: ${ae.fontSize};
271
+ font-weight: ${ae.fontWeight};
272
+ letter-spacing: ${ae.letterSpacing};
273
+ line-height: ${ae.lineHeight};
274
+ text-transform: ${ae.textTransform};
275
+ }
276
+ `,ac=$`
279
277
  .ft-typography {
280
278
  vertical-align: inherit;
281
279
  }
282
- `,td=[Object.keys(Ee).map(e=>Wc(e))];var ed=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},dt=class extends Z{constructor(){super(...arguments),this.variant=ht.body1}render(){return this.element?Ka`
283
- <${Ga(this.element)}
280
+ `,ic=[Object.keys(Ce).map(e=>Kl(e))];var sc=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ct=class extends K{constructor(){super(...arguments),this.variant=ut.body1}render(){return this.element?Si`
281
+ <${xi(this.element)}
284
282
  part="text"
285
283
  class="ft-typography ft-typography--${this.variant}">
286
284
  <slot></slot>
287
- </${Ga(this.element)}>
288
- `:Ka`
285
+ </${xi(this.element)}>
286
+ `:Si`
289
287
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
290
- `}};dt.styles=[zc,jc,Vc,Gc,Kc,Zc,qc,Yc,Xc,Jc,Qc,...td];ed([E()],dt.prototype,"element",void 0);ed([E()],dt.prototype,"variant",void 0);X("ft-typography")(dt);var rd=r.extend("--ft-ripple-color","",K.colorContent),R={color:rd,backgroundColor:r.extend("--ft-ripple-background-color","",rd),opacityContentOnSurfacePressed:r.external(K.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(K.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(K.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(K.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},od=r.extend("--ft-ripple-color","",K.colorPrimary),nd={color:od,backgroundColor:r.extend("--ft-ripple-background-color","",od)},id=r.extend("--ft-ripple-color","",K.colorSecondary),ad={color:id,backgroundColor:r.extend("--ft-ripple-background-color","",id)},sd=$`
288
+ `}};ct.styles=[ql,Yl,Xl,Jl,Ql,tc,ec,rc,oc,nc,ac,...ic];sc([C()],ct.prototype,"element",void 0);sc([C()],ct.prototype,"variant",void 0);X("ft-typography")(ct);var lc=r.extend("--ft-ripple-color","",V.colorContent),R={color:lc,backgroundColor:r.extend("--ft-ripple-background-color","",lc),opacityContentOnSurfacePressed:r.external(V.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(V.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(V.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(V.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},cc=r.extend("--ft-ripple-color","",V.colorPrimary),dc={color:cc,backgroundColor:r.extend("--ft-ripple-background-color","",cc)},pc=r.extend("--ft-ripple-color","",V.colorSecondary),fc={color:pc,backgroundColor:r.extend("--ft-ripple-background-color","",pc)},uc=$`
291
289
  :host {
292
290
  display: contents;
293
291
  }
@@ -342,19 +340,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
342
340
  }
343
341
 
344
342
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
345
- background-color: ${ad.backgroundColor};
343
+ background-color: ${fc.backgroundColor};
346
344
  }
347
345
 
348
346
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
349
- background-color: ${ad.color};
347
+ background-color: ${fc.color};
350
348
  }
351
349
 
352
350
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
353
- background-color: ${nd.backgroundColor};
351
+ background-color: ${dc.backgroundColor};
354
352
  }
355
353
 
356
354
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
357
- background-color: ${nd.color};
355
+ background-color: ${dc.color};
358
356
  }
359
357
 
360
358
  .ft-ripple .ft-ripple--background {
@@ -399,7 +397,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
399
397
  opacity: ${R.opacityContentOnSurfacePressed};
400
398
  transform: translate(-50%, -50%) scale(1);
401
399
  }
402
- `;var et={color:r.extend("--ft-loader-color","",K.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},ld=$`
400
+ `;var et={color:r.extend("--ft-loader-color","",V.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},hc=$`
403
401
  :host {
404
402
  line-height: 0;
405
403
  }
@@ -468,7 +466,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
468
466
  transform: translate(calc(0.35 * ${et.size}), 0);
469
467
  }
470
468
  }
471
- `;var rt={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},cd=$`
469
+ `;var rt={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},yc=$`
472
470
  :host, i.ft-icon {
473
471
  display: inline-flex;
474
472
  align-items: center;
@@ -516,7 +514,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
516
514
  .ft-icon--material {
517
515
  font-family: ${rt.materialFontFamily}, "Material Icons", sans-serif;
518
516
  }
519
- `;var dd=r.extend("--ft-button-color","",K.colorPrimary),st={backgroundColor:r.extend("--ft-button-background-color","",K.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",K.borderRadiusL),color:dd,fontSize:r.extend("--ft-button-font-size","",ne.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",dd),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(K.colorOpacityDisabled,"Design system")},pd=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",K.colorOnPrimary)),Za={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",K.colorPrimary)),color:pd,rippleColor:r.extend("--ft-button-primary-ripple-color","",pd)},ie={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",K.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},ud=[$`
517
+ `;var mc=r.extend("--ft-button-color","",V.colorPrimary),it={backgroundColor:r.extend("--ft-button-background-color","",V.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",V.borderRadiusL),color:mc,fontSize:r.extend("--ft-button-font-size","",ae.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",mc),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(V.colorOpacityDisabled,"Design system")},gc=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",V.colorOnPrimary)),Oi={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",V.colorPrimary)),color:gc,rippleColor:r.extend("--ft-button-primary-ripple-color","",gc)},ie={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",V.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},bc=[$`
520
518
  :host {
521
519
  display: inline-block;
522
520
  max-width: 100%;
@@ -527,7 +525,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
527
525
  box-shadow: 0px 0px 0px transparent;
528
526
  border: 0px solid transparent;
529
527
  text-shadow: 0px 0px 0px transparent;
530
- font-size: ${st.fontSize};
528
+ font-size: ${it.fontSize};
531
529
  text-decoration: none;
532
530
  }
533
531
 
@@ -557,21 +555,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
557
555
  border: none;
558
556
  pointer-events: auto;
559
557
 
560
- --ft-button-internal-line-height: max(calc(${st.fontSize} + 2px), ${st.iconSize});
561
- --ft-button-internal-color: ${st.color};
562
- ${w(rt.size,st.iconSize)};
563
- ${w(R.color,st.rippleColor)};
558
+ --ft-button-internal-line-height: max(calc(${it.fontSize} + 2px), ${it.iconSize});
559
+ --ft-button-internal-color: ${it.color};
560
+ ${w(rt.size,it.iconSize)};
561
+ ${w(R.color,it.rippleColor)};
564
562
 
565
- border-radius: ${st.borderRadius};
566
- padding: ${st.verticalPadding} ${st.horizontalPadding};
567
- background-color: ${st.backgroundColor};
563
+ border-radius: ${it.borderRadius};
564
+ padding: ${it.verticalPadding} ${it.horizontalPadding};
565
+ background-color: ${it.backgroundColor};
568
566
  color: var(--ft-button-internal-color);
569
567
  -webkit-mask-image: radial-gradient(white, black);
570
568
  }
571
569
 
572
570
  .ft-button.ft-button--outlined {
573
571
  border: 1px solid var(--ft-button-internal-color);
574
- padding: calc(${st.verticalPadding} - 1px) calc(${st.horizontalPadding} - 1px);
572
+ padding: calc(${it.verticalPadding} - 1px) calc(${it.horizontalPadding} - 1px);
575
573
  }
576
574
 
577
575
  .ft-button.ft-button--dense {
@@ -589,7 +587,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
589
587
  }
590
588
 
591
589
  .ft-button--round {
592
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${st.verticalPadding});
590
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${it.verticalPadding});
593
591
  }
594
592
 
595
593
  .ft-button--round.ft-button--dense {
@@ -598,13 +596,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
598
596
 
599
597
  .ft-button[disabled] {
600
598
  filter: grayscale(1);
601
- opacity: ${st.opacityDisabled};
599
+ opacity: ${it.opacityDisabled};
602
600
  }
603
601
 
604
602
  .ft-button.ft-button--primary {
605
- background-color: ${Za.backgroundColor};
606
- --ft-button-internal-color: ${Za.color};
607
- ${w(R.color,Za.rippleColor)};
603
+ background-color: ${Oi.backgroundColor};
604
+ --ft-button-internal-color: ${Oi.color};
605
+ ${w(R.color,Oi.rippleColor)};
608
606
  }
609
607
 
610
608
  .ft-button:focus {
@@ -617,9 +615,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
617
615
  white-space: nowrap;
618
616
  text-overflow: ellipsis;
619
617
  display: block;
620
- margin: 0 ${st.iconPadding};
621
- ${w(ne.fontSize,"1em")};
622
- ${w(ne.lineHeight,"var(--ft-button-internal-line-height)")};
618
+ margin: 0 ${it.iconPadding};
619
+ ${w(ae.fontSize,"1em")};
620
+ ${w(ae.lineHeight,"var(--ft-button-internal-line-height)")};
623
621
  }
624
622
 
625
623
  .ft-button--dense .ft-button--label {
@@ -636,8 +634,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
636
634
  }
637
635
 
638
636
  .ft-button--label[hidden] + [part="icon"] {
639
- margin: 0 calc(${st.horizontalPadding} * -1);
640
- padding: 0 ${st.verticalPadding};
637
+ margin: 0 calc(${it.horizontalPadding} * -1);
638
+ padding: 0 ${it.verticalPadding};
641
639
  }
642
640
 
643
641
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
@@ -650,10 +648,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
650
648
  }
651
649
 
652
650
  ft-loader {
653
- ${w(et.size,st.iconSize)};
651
+ ${w(et.size,it.iconSize)};
654
652
  ${w(et.color,"var(--ft-button-internal-color)")};
655
653
  }
656
- `,er];var _t=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ot=class extends Z{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 Pt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Pt(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 D`
654
+ `,Ke];var Nt=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ot=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 Tt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Tt(10),this.moveRipple=t=>{var o,n;let{x:a,y:i}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.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=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 D`
657
655
  <style>
658
656
  .ft-ripple .ft-ripple--effect {
659
657
  left: ${this.originX}px;
@@ -664,7 +662,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
664
662
  <div class="ft-ripple--background"></div>
665
663
  <div class="ft-ripple--effect"></div>
666
664
  </div>
667
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ot.elementDefinitions={};ot.styles=sd;_t([E({type:Boolean})],ot.prototype,"primary",void 0);_t([E({type:Boolean})],ot.prototype,"secondary",void 0);_t([E({type:Boolean})],ot.prototype,"unbounded",void 0);_t([E({type:Boolean})],ot.prototype,"activated",void 0);_t([E({type:Boolean})],ot.prototype,"selected",void 0);_t([E({type:Boolean})],ot.prototype,"disabled",void 0);_t([yt()],ot.prototype,"hovered",void 0);_t([yt()],ot.prototype,"focused",void 0);_t([yt()],ot.prototype,"pressed",void 0);_t([yt()],ot.prototype,"rippling",void 0);_t([yt()],ot.prototype,"originX",void 0);_t([yt()],ot.prototype,"originY",void 0);_t([J(".ft-ripple")],ot.prototype,"ripple",void 0);_t([J(".ft-ripple--effect")],ot.prototype,"rippleEffect",void 0);X("ft-ripple")(ot);var Ur={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(K.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},fd=$`
665
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>d=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",a,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",i,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",a,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ot.elementDefinitions={};ot.styles=uc;Nt([C({type:Boolean})],ot.prototype,"primary",void 0);Nt([C({type:Boolean})],ot.prototype,"secondary",void 0);Nt([C({type:Boolean})],ot.prototype,"unbounded",void 0);Nt([C({type:Boolean})],ot.prototype,"activated",void 0);Nt([C({type:Boolean})],ot.prototype,"selected",void 0);Nt([C({type:Boolean})],ot.prototype,"disabled",void 0);Nt([yt()],ot.prototype,"hovered",void 0);Nt([yt()],ot.prototype,"focused",void 0);Nt([yt()],ot.prototype,"pressed",void 0);Nt([yt()],ot.prototype,"rippling",void 0);Nt([yt()],ot.prototype,"originX",void 0);Nt([yt()],ot.prototype,"originY",void 0);Nt([J(".ft-ripple")],ot.prototype,"ripple",void 0);Nt([J(".ft-ripple--effect")],ot.prototype,"rippleEffect",void 0);X("ft-ripple")(ot);var Pr={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(V.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},xc=$`
668
666
  .ft-tooltip--container {
669
667
  display: block;
670
668
  }
@@ -679,21 +677,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
679
677
  box-sizing: border-box;
680
678
  overflow: hidden;
681
679
  width: max-content;
682
- max-width: ${Ur.maxWidth};
680
+ max-width: ${Pr.maxWidth};
683
681
  text-align: center;
684
- padding: ${Ur.distance};
685
- z-index: ${Ur.zIndex};
682
+ padding: ${Pr.distance};
683
+ z-index: ${Pr.zIndex};
686
684
  }
687
685
 
688
686
  .ft-tooltip--content {
689
687
  padding: 4px 8px;
690
- border-radius: ${Ur.borderRadiusS};
691
- background-color: ${Ur.backgroundColor};
692
- color: ${Ur.color};
688
+ border-radius: ${Pr.borderRadiusS};
689
+ background-color: ${Pr.backgroundColor};
690
+ color: ${Pr.color};
693
691
  position: relative;
694
692
  word-break: break-word;
695
693
  }
696
- `;var Nt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},lt=class extends Z{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 Pt,this.revealDebouncer=new Pt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return D`
694
+ `;var Lt=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},st=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 Tt,this.revealDebouncer=new Tt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return D`
697
695
  <div part="container"
698
696
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
699
697
  @mouseenter=${this.onHover}
@@ -711,43 +709,43 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
711
709
  </div>
712
710
  </div>
713
711
  </div>
714
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Yi(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};lt.elementDefinitions={"ft-typography":dt};lt.styles=fd;Nt([E()],lt.prototype,"text",void 0);Nt([E({type:Boolean})],lt.prototype,"manual",void 0);Nt([E({type:Boolean})],lt.prototype,"inline",void 0);Nt([E({type:Number})],lt.prototype,"delay",void 0);Nt([E()],lt.prototype,"position",void 0);Nt([Ge()],lt.prototype,"slotNodes",void 0);Nt([J(".ft-tooltip--container")],lt.prototype,"container",void 0);Nt([J(".ft-tooltip")],lt.prototype,"tooltip",void 0);Nt([J(".ft-tooltip--content")],lt.prototype,"tooltipContent",void 0);Nt([yt()],lt.prototype,"visible",void 0);Nt([fr({passive:!0})],lt.prototype,"onTouch",null);Nt([fr({passive:!0})],lt.prototype,"onHover",null);Nt([fr({passive:!0})],lt.prototype,"onOut",null);Nt([fr({passive:!0})],lt.prototype,"onClick",null);X("ft-tooltip")(lt);var ge;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(ge||(ge={}));var T;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(T||(T={}));var CS=new Map([...["abw"].map(e=>[e,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(e=>[e,T.AUDIO]),...["avi"].map(e=>[e,T.AVI]),...["chm","xhs"].map(e=>[e,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(e=>[e,T.CODE]),...["csv"].map(e=>[e,T.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,T.DITA]),...["epub"].map(e=>[e,T.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,T.EXCEL]),...["flac"].map(e=>[e,T.FLAC]),...["gif"].map(e=>[e,T.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,T.GZIP]),...["html","htm","xhtml"].map(e=>[e,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(e=>[e,T.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,T.JPEG]),...["json"].map(e=>[e,T.JSON]),...["m4a","m4p"].map(e=>[e,T.M4A]),...["mov","qt"].map(e=>[e,T.MOV]),...["mp3"].map(e=>[e,T.MP3]),...["mp4","m4v"].map(e=>[e,T.MP4]),...["ogg","oga"].map(e=>[e,T.OGG]),...["pdf","ps"].map(e=>[e,T.PDF]),...["png"].map(e=>[e,T.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,T.POWERPOINT]),...["rar"].map(e=>[e,T.RAR]),...["stp"].map(e=>[e,T.STP]),...["txt","rtf","md","mdown"].map(e=>[e,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(e=>[e,T.VIDEO]),...["wav"].map(e=>[e,T.WAV]),...["wma"].map(e=>[e,T.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,T.WORD]),...["xml","xsl","rdf"].map(e=>[e,T.XML]),...["yaml","yml","x-yaml"].map(e=>[e,T.YAML]),...["zip"].map(e=>[e,T.ZIP])]);var OS={[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 Tt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Tt||(Tt={}));var hn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},gt=class extends Z{constructor(){super(...arguments),this.resolvedIcon=G}render(){let t=this.variant&&Object.values(Tt).includes(this.variant)?this.variant:Tt.fluid_topics,o=t!==Tt.material||!!this.value;return D`
712
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",wa(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};st.elementDefinitions={"ft-typography":ct};st.styles=xc;Lt([C()],st.prototype,"text",void 0);Lt([C({type:Boolean})],st.prototype,"manual",void 0);Lt([C({type:Boolean})],st.prototype,"inline",void 0);Lt([C({type:Number})],st.prototype,"delay",void 0);Lt([C()],st.prototype,"position",void 0);Lt([Ue()],st.prototype,"slotNodes",void 0);Lt([J(".ft-tooltip--container")],st.prototype,"container",void 0);Lt([J(".ft-tooltip")],st.prototype,"tooltip",void 0);Lt([J(".ft-tooltip--content")],st.prototype,"tooltipContent",void 0);Lt([yt()],st.prototype,"visible",void 0);Lt([sr({passive:!0})],st.prototype,"onTouch",null);Lt([sr({passive:!0})],st.prototype,"onHover",null);Lt([sr({passive:!0})],st.prototype,"onOut",null);Lt([sr({passive:!0})],st.prototype,"onClick",null);X("ft-tooltip")(st);var ge;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(ge||(ge={}));var _;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(_||(_={}));var y0=new Map([...["abw"].map(e=>[e,_.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(e=>[e,_.AUDIO]),...["avi"].map(e=>[e,_.AVI]),...["chm","xhs"].map(e=>[e,_.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(e=>[e,_.CODE]),...["csv"].map(e=>[e,_.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,_.DITA]),...["epub"].map(e=>[e,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,_.EXCEL]),...["flac"].map(e=>[e,_.FLAC]),...["gif"].map(e=>[e,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,_.GZIP]),...["html","htm","xhtml"].map(e=>[e,_.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(e=>[e,_.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,_.JPEG]),...["json"].map(e=>[e,_.JSON]),...["m4a","m4p"].map(e=>[e,_.M4A]),...["mov","qt"].map(e=>[e,_.MOV]),...["mp3"].map(e=>[e,_.MP3]),...["mp4","m4v"].map(e=>[e,_.MP4]),...["ogg","oga"].map(e=>[e,_.OGG]),...["pdf","ps"].map(e=>[e,_.PDF]),...["png"].map(e=>[e,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,_.POWERPOINT]),...["rar"].map(e=>[e,_.RAR]),...["stp"].map(e=>[e,_.STP]),...["txt","rtf","md","mdown"].map(e=>[e,_.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(e=>[e,_.VIDEO]),...["wav"].map(e=>[e,_.WAV]),...["wma"].map(e=>[e,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,_.WORD]),...["xml","xsl","rdf"].map(e=>[e,_.XML]),...["yaml","yml","x-yaml"].map(e=>[e,_.YAML]),...["zip"].map(e=>[e,_.ZIP])]);var m0={[_.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 _t;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(_t||(_t={}));var Wo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},gt=class extends K{constructor(){super(...arguments),this.resolvedIcon=z}render(){let t=this.variant&&Object.values(_t).includes(this.variant)?this.variant:_t.fluid_topics,o=t!==_t.material||!!this.value;return D`
715
713
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
716
- ${Gn(this.resolvedIcon)}
714
+ ${vn(this.resolvedIcon)}
717
715
  <slot ?hidden=${o}></slot>
718
716
  </i>
719
- `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Tt.file_format:this.resolvedIcon=(t=T[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Tt.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=(o=ge[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};gt.elementDefinitions={};gt.styles=cd;hn([E()],gt.prototype,"variant",void 0);hn([E()],gt.prototype,"value",void 0);hn([yt()],gt.prototype,"resolvedIcon",void 0);hn([J("slot")],gt.prototype,"slottedContent",void 0);X("ft-icon")(gt);var lr=class extends Z{render(){return D`
717
+ `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case _t.file_format:this.resolvedIcon=(t=_[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case _t.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(o=ge[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};gt.elementDefinitions={};gt.styles=yc;Wo([C()],gt.prototype,"variant",void 0);Wo([C()],gt.prototype,"value",void 0);Wo([yt()],gt.prototype,"resolvedIcon",void 0);Wo([J("slot")],gt.prototype,"slottedContent",void 0);X("ft-icon")(gt);var er=class extends K{render(){return D`
720
718
  <div class="ft-loader">
721
719
  <div></div>
722
720
  <div></div>
723
721
  <div></div>
724
722
  <div></div>
725
723
  </div>
726
- `}};lr.styles=ld;X("ft-loader")(lr);var xt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},nt=class extends Ma(Z,"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",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let i=D`
724
+ `}};er.styles=hc;X("ft-loader")(er);var bt=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},nt=class extends fi(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",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=D`
727
725
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
728
726
  <ft-typography part="label"
729
727
  variant=${this.typographyVariant}
730
728
  element="span"
731
- class="ft-button--label ${sr?"ft-safari-ellipsis-fix":""}"
729
+ class="ft-button--label ${tr?"ft-safari-ellipsis-fix":""}"
732
730
  ?hidden=${!this.hasTextContent()}>
733
731
  <slot @slotchange=${this.onSlotchange}></slot>
734
732
  </ft-typography>
735
733
  ${this.resolveIcon()}
736
- `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?D`
737
- <a href="${a}"
734
+ `,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?D`
735
+ <a href="${i}"
738
736
  target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
739
737
  part="button"
740
738
  class="${vt(this.buttonClasses)}"
741
739
  aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
742
740
  ?disabled=${this.isDisabled()}>
743
- ${i}
741
+ ${a}
744
742
  </a>
745
743
  `:D`
746
744
  <button part="button"
747
745
  class="${vt(this.buttonClasses)}"
748
746
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
749
747
  ?disabled=${this.isDisabled()}>
750
- ${i}
748
+ ${a}
751
749
  </button>
752
750
  `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?D`
753
751
  <ft-tooltip part="tooltip"
@@ -760,7 +758,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
760
758
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
761
759
  `:D`
762
760
  <slot part="icon" name="icon"></slot>
763
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return Oe(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};nt.elementDefinitions={"ft-ripple":ot,"ft-tooltip":lt,"ft-typography":dt,"ft-icon":gt,"ft-loader":lr};xt([E()],nt.prototype,"href",void 0);xt([E()],nt.prototype,"target",void 0);xt([E({type:String,reflect:!0})],nt.prototype,"role",void 0);xt([E()],nt.prototype,"type",void 0);xt([E({type:Boolean})],nt.prototype,"disabled",void 0);xt([E()],nt.prototype,"label",void 0);xt([E()],nt.prototype,"icon",void 0);xt([E()],nt.prototype,"iconVariant",void 0);xt([E({type:Boolean})],nt.prototype,"trailingIcon",void 0);xt([E({type:Boolean})],nt.prototype,"loading",void 0);xt([E({attribute:"aria-label"})],nt.prototype,"ariaLabel",void 0);xt([E()],nt.prototype,"tooltipPosition",void 0);xt([E({type:Boolean})],nt.prototype,"hideTooltip",void 0);xt([E({type:Boolean})],nt.prototype,"forceTooltip",void 0);xt([J(".ft-button")],nt.prototype,"button",void 0);xt([J(".ft-button--label slot")],nt.prototype,"slottedContent",void 0);xt([J("[part=tooltip]")],nt.prototype,"tooltip",void 0);var yn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},qt=class extends nt{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"}};qt.styles=[rr,ud];yn([E({type:Boolean})],qt.prototype,"primary",void 0);yn([E({type:Boolean})],qt.prototype,"outlined",void 0);yn([E({type:Boolean})],qt.prototype,"dense",void 0);yn([E({type:Boolean})],qt.prototype,"round",void 0);var hd=[$`
761
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return Oe(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};nt.elementDefinitions={"ft-ripple":ot,"ft-tooltip":st,"ft-typography":ct,"ft-icon":gt,"ft-loader":er};bt([C()],nt.prototype,"href",void 0);bt([C()],nt.prototype,"target",void 0);bt([C({type:String,reflect:!0})],nt.prototype,"role",void 0);bt([C()],nt.prototype,"type",void 0);bt([C({type:Boolean})],nt.prototype,"disabled",void 0);bt([C()],nt.prototype,"label",void 0);bt([C()],nt.prototype,"icon",void 0);bt([C()],nt.prototype,"iconVariant",void 0);bt([C({type:Boolean})],nt.prototype,"trailingIcon",void 0);bt([C({type:Boolean})],nt.prototype,"loading",void 0);bt([C({attribute:"aria-label"})],nt.prototype,"ariaLabel",void 0);bt([C()],nt.prototype,"tooltipPosition",void 0);bt([C({type:Boolean})],nt.prototype,"hideTooltip",void 0);bt([C({type:Boolean})],nt.prototype,"forceTooltip",void 0);bt([J(".ft-button")],nt.prototype,"button",void 0);bt([J(".ft-button--label slot")],nt.prototype,"slottedContent",void 0);bt([J("[part=tooltip]")],nt.prototype,"tooltip",void 0);var Ho=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Yt=class extends nt{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"}};Yt.styles=[Ze,bc];Ho([C({type:Boolean})],Yt.prototype,"primary",void 0);Ho([C({type:Boolean})],Yt.prototype,"outlined",void 0);Ho([C({type:Boolean})],Yt.prototype,"dense",void 0);Ho([C({type:Boolean})],Yt.prototype,"round",void 0);var vc=[$`
764
762
  :host {
765
763
  display: inline-block;
766
764
  max-width: 100%;
@@ -1226,7 +1224,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1226
1224
  .ftds--size-small.ft-button--icon-only {
1227
1225
  width: ${g.smallIconOnlyWidth};
1228
1226
  }
1229
- `,er];var mn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},kt=class extends tn(nt){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=St.brand,this.iconVariant=Tt.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 Q.large:return ht.body2medium;case Q.medium:return ht.caption1medium;case Q.small:return ht.caption2medium}}};kt.styles=[rr,hd];mn([E({type:Boolean})],kt.prototype,"primary",void 0);mn([E({type:Boolean})],kt.prototype,"secondary",void 0);mn([E({type:Boolean})],kt.prototype,"tertiary",void 0);mn([E({type:Boolean})],kt.prototype,"round",void 0);X("ft-button")(qt);X("ftds-button")(kt);var yd=$`
1227
+ `,Ke];var zo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},kt=class extends Lo(nt){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=St.brand,this.iconVariant=_t.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 Q.large:return ut.body2medium;case Q.medium:return ut.caption1medium;case Q.small:return ut.caption2medium}}};kt.styles=[Ze,vc];zo([C({type:Boolean})],kt.prototype,"primary",void 0);zo([C({type:Boolean})],kt.prototype,"secondary",void 0);zo([C({type:Boolean})],kt.prototype,"tertiary",void 0);zo([C({type:Boolean})],kt.prototype,"round",void 0);X("ft-button")(Yt);X("ftds-button")(kt);var Sc=$`
1230
1228
  :host {
1231
1229
  position: relative;
1232
1230
  display: inline-block;
@@ -1266,18 +1264,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1266
1264
  display: flex;
1267
1265
  flex-direction: column;
1268
1266
 
1269
- max-width: ${wt.maxWidth};
1267
+ max-width: ${At.maxWidth};
1270
1268
  width: max-content;
1271
1269
 
1272
- padding-left: ${wt.horizontalPadding};
1273
- padding-right: ${wt.horizontalPadding};
1274
- padding-top: ${wt.verticalPadding};
1275
- padding-bottom: ${wt.verticalPadding};
1276
- gap: ${wt.gap};
1270
+ padding-left: ${At.horizontalPadding};
1271
+ padding-right: ${At.horizontalPadding};
1272
+ padding-top: ${At.verticalPadding};
1273
+ padding-bottom: ${At.verticalPadding};
1274
+ gap: ${At.gap};
1277
1275
 
1278
- background-color: ${wt.backgroundColor};
1279
- border-radius: ${wt.borderRadius};
1280
- box-shadow: ${wt.shadow};
1276
+ background-color: ${At.backgroundColor};
1277
+ border-radius: ${At.borderRadius};
1278
+ box-shadow: ${At.shadow};
1281
1279
  }
1282
1280
 
1283
1281
  .ftds-popover--heading {
@@ -1285,9 +1283,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1285
1283
 
1286
1284
  display: flex;
1287
1285
  align-items: center;
1288
- gap: ${wt.gap};
1286
+ gap: ${At.gap};
1289
1287
 
1290
- color: ${wt.titleColor};
1288
+ color: ${At.titleColor};
1291
1289
  }
1292
1290
 
1293
1291
  .ftds-popover--heading ft-typography {
@@ -1299,13 +1297,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1299
1297
  }
1300
1298
 
1301
1299
  .ftds-popover--content {
1302
- color: ${wt.bodyColor};
1300
+ color: ${At.bodyColor};
1303
1301
  }
1304
1302
 
1305
1303
  .ftds-popover--wrapper-positioned {
1306
1304
  visibility: visible;
1307
1305
  }
1308
- `;var Dt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},pt=class extends Z{constructor(){super(...arguments),this.popoverOpenTriggeredWithKeyboard=!1,this.heading="",this.closeButtonLabel="close info",this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Q.medium,this.openButtonFamily=St.info,this.watchFocusIn=t=>{t.composedPath().includes(this.popoverWrapper)||this.close()},this.watchEscapeKey=t=>{t.key==="Escape"&&(this.close(),this.openingButton.focus())},this.closeAndFocusOpeningButton=t=>{this.close(),t.pointerType?this.openingButton.focusWithoutTooltip():this.openingButton.focus()}}render(){let t={"ftds-popover":!0,"ftds-popover--opened":this.opened};return this.hidden?G:D`
1306
+ `;var $t=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},dt=class extends K{constructor(){super(...arguments),this.popoverOpenTriggeredWithKeyboard=!1,this.heading="",this.closeButtonLabel="close info",this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Q.medium,this.openButtonFamily=St.info,this.watchFocusIn=t=>{t.composedPath().includes(this.popoverWrapper)||this.close()},this.watchEscapeKey=t=>{t.key==="Escape"&&(this.close(),this.openingButton.focus())},this.closeAndFocusOpeningButton=t=>{this.close(),t.pointerType?this.openingButton.focusWithoutTooltip():this.openingButton.focus()}}render(){let t={"ftds-popover":!0,"ftds-popover--opened":this.opened};return this.hidden?z:D`
1309
1307
  <div part="container" class="${vt(t)}">
1310
1308
  <ftds-button @focusin="${this.close}"
1311
1309
  part="opening-button"
@@ -1339,7 +1337,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1339
1337
  </ft-typography>
1340
1338
  </div>
1341
1339
  </div>
1342
- `:G}renderClosingButton(){return D`
1340
+ `:z}renderClosingButton(){return D`
1343
1341
  <div class="ftds-popover--closing-button">
1344
1342
  <ftds-button icon="${ge.CLOSE}" size="${Q.small}" family="${St.neutral}"
1345
1343
  part="closing-button" label="${this.closeButtonLabel}" @click=${this.closeAndFocusOpeningButton}></ftds-button>
@@ -1348,7 +1346,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1348
1346
  <div class="ftds-popover--heading" part="heading" id="ftds-popover-heading">
1349
1347
  <ft-typography element="span" variant="body-2-semibold">${this.heading}</ft-typography>
1350
1348
  </div>
1351
- `:G}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(t){this.popoverOpenTriggeredWithKeyboard=!t.pointerType,this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasTextLinkContent(){return Oe(this.slottedLinkContent).trim().length>0}async positionWrapper(){this.popoverWrapper.classList.remove("ftds-popover--wrapper-positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="";let t=this.openingButton,o=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:n,y:i}=await Xi(t,this.popoverWrapper,"bottom-start",o,"fixed");this.popoverWrapper.style.left=`${n}px`,this.popoverWrapper.style.top=`${i}px`,this.popoverWrapper.classList.add("ftds-popover--wrapper-positioned"),this.popoverLinkTypography.hidden=!this.hasTextLinkContent(),this.popoverOpenTriggeredWithKeyboard?this.closingButton.focus():this.closingButton.focusWithoutTooltip()}};pt.elementDefinitions={"ft-typography":dt,"ftds-button":kt};pt.styles=yd;Dt([E({type:String})],pt.prototype,"heading",void 0);Dt([E({type:String})],pt.prototype,"closeButtonLabel",void 0);Dt([E({type:String})],pt.prototype,"openButtonLabel",void 0);Dt([E({type:String})],pt.prototype,"openButtonTooltipPosition",void 0);Dt([E({type:Boolean})],pt.prototype,"opened",void 0);Dt([E({type:Boolean})],pt.prototype,"hidden",void 0);Dt([E({type:Q})],pt.prototype,"openButtonSize",void 0);Dt([E({type:St})],pt.prototype,"openButtonFamily",void 0);Dt([J("[part=opening-button]")],pt.prototype,"openingButton",void 0);Dt([J("[part=closing-button]")],pt.prototype,"closingButton",void 0);Dt([J("[part=wrapper]")],pt.prototype,"popoverWrapper",void 0);Dt([J("[part=popover-link]")],pt.prototype,"slottedLinkContent",void 0);Dt([J("[part=popover-link-typography]")],pt.prototype,"popoverLinkTypography",void 0);X("ftds-popover")(pt);var md=r.extend("--ft-chip-color","",K.colorOnSurface),Bt={backgroundColor:r.extend("--ft-chip-background-color","",K.colorSurface),color:md,fontSize:r.extend("--ft-chip-font-size","",Ht.fontSize),fontWeight:r.extend("--ft-chip-font-weight","",Ht.fontWeight),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",md),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:r.extend("--ft-chip-border-color","",K.colorOutline),opacityDisabled:r.external(K.colorOpacityDisabled,"Design system")},gd=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",K.colorOnPrimary)),qa={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",K.colorPrimary)),color:gd,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",gd)},bd={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},xd=[er,$`
1349
+ `:z}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(t){this.popoverOpenTriggeredWithKeyboard=!t.pointerType,this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasTextLinkContent(){return Oe(this.slottedLinkContent).trim().length>0}async positionWrapper(){this.popoverWrapper.classList.remove("ftds-popover--wrapper-positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="";let t=this.openingButton,o=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:n,y:a}=await Aa(t,this.popoverWrapper,"bottom-start",o,"fixed");this.popoverWrapper.style.left=`${n}px`,this.popoverWrapper.style.top=`${a}px`,this.popoverWrapper.classList.add("ftds-popover--wrapper-positioned"),this.popoverLinkTypography.hidden=!this.hasTextLinkContent(),this.popoverOpenTriggeredWithKeyboard?this.closingButton.focus():this.closingButton.focusWithoutTooltip()}};dt.elementDefinitions={"ft-typography":ct,"ftds-button":kt};dt.styles=Sc;$t([C({type:String})],dt.prototype,"heading",void 0);$t([C({type:String})],dt.prototype,"closeButtonLabel",void 0);$t([C({type:String})],dt.prototype,"openButtonLabel",void 0);$t([C({type:String})],dt.prototype,"openButtonTooltipPosition",void 0);$t([C({type:Boolean})],dt.prototype,"opened",void 0);$t([C({type:Boolean})],dt.prototype,"hidden",void 0);$t([C({type:Q})],dt.prototype,"openButtonSize",void 0);$t([C({type:St})],dt.prototype,"openButtonFamily",void 0);$t([J("[part=opening-button]")],dt.prototype,"openingButton",void 0);$t([J("[part=closing-button]")],dt.prototype,"closingButton",void 0);$t([J("[part=wrapper]")],dt.prototype,"popoverWrapper",void 0);$t([J("[part=popover-link]")],dt.prototype,"slottedLinkContent",void 0);$t([J("[part=popover-link-typography]")],dt.prototype,"popoverLinkTypography",void 0);X("ftds-popover")(dt);var Oc=r.extend("--ft-chip-color","",V.colorOnSurface),Dt={backgroundColor:r.extend("--ft-chip-background-color","",V.colorSurface),color:Oc,fontSize:r.extend("--ft-chip-font-size","",Ht.fontSize),fontWeight:r.extend("--ft-chip-font-weight","",Ht.fontWeight),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",Oc),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:r.extend("--ft-chip-border-color","",V.colorOutline),opacityDisabled:r.external(V.colorOpacityDisabled,"Design system")},Cc=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",V.colorOnPrimary)),Ci={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",V.colorPrimary)),color:Cc,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",Cc)},Ec={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},wc=[Ke,$`
1352
1350
  :host {
1353
1351
  display: inline-block;
1354
1352
  max-width: 100%;
@@ -1364,21 +1362,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1364
1362
  box-sizing: border-box;
1365
1363
  pointer-events: auto;
1366
1364
 
1367
- --ft-chip-internal-font-size: ${Bt.fontSize};
1368
- --ft-chip-internal-font-weight: ${Bt.fontWeight};
1365
+ --ft-chip-internal-font-size: ${Dt.fontSize};
1366
+ --ft-chip-internal-font-weight: ${Dt.fontWeight};
1369
1367
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1370
- ${w(rt.size,Bt.iconSize)};
1371
- --ft-chip-internal-vertical-padding: ${Bt.verticalPadding};
1372
- --ft-chip-internal-horizontal-padding: ${Bt.horizontalPadding};
1368
+ ${w(rt.size,Dt.iconSize)};
1369
+ --ft-chip-internal-vertical-padding: ${Dt.verticalPadding};
1370
+ --ft-chip-internal-horizontal-padding: ${Dt.horizontalPadding};
1373
1371
  --ft-chip-internal-icon-padding: 3px;
1374
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Bt.iconSize});
1372
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Dt.iconSize});
1375
1373
 
1376
- border: 1px solid ${Bt.borderColor};
1377
- color: ${Bt.color};
1378
- ${w(R.color,Bt.rippleColor)};
1379
- border-radius: var(${se(Bt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1374
+ border: 1px solid ${Dt.borderColor};
1375
+ color: ${Dt.color};
1376
+ ${w(R.color,Dt.rippleColor)};
1377
+ border-radius: var(${se(Dt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1380
1378
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1381
- background-color: ${Bt.backgroundColor};
1379
+ background-color: ${Dt.backgroundColor};
1382
1380
  line-height: var(--ft-chip-internal-content-height);
1383
1381
  }
1384
1382
 
@@ -1388,8 +1386,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1388
1386
 
1389
1387
  .ft-chip--dense {
1390
1388
  --ft-chip-internal-icon-padding: 3px;
1391
- --ft-chip-internal-vertical-padding: ${bd.verticalPadding};
1392
- --ft-chip-internal-horizontal-padding: ${bd.horizontalPadding};
1389
+ --ft-chip-internal-vertical-padding: ${Ec.verticalPadding};
1390
+ --ft-chip-internal-horizontal-padding: ${Ec.horizontalPadding};
1393
1391
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1394
1392
  }
1395
1393
 
@@ -1401,15 +1399,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1401
1399
  cursor: default;
1402
1400
  pointer-events: none;
1403
1401
  filter: grayscale(1);
1404
- opacity: ${Bt.opacityDisabled};
1402
+ opacity: ${Dt.opacityDisabled};
1405
1403
  }
1406
1404
 
1407
1405
  .ft-chip--highlighted {
1408
1406
  border: none;
1409
1407
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1410
- background-color: ${qa.backgroundColor};
1411
- ${w(R.color,qa.rippleColor)};
1412
- color: ${qa.color};
1408
+ background-color: ${Ci.backgroundColor};
1409
+ ${w(R.color,Ci.rippleColor)};
1410
+ color: ${Ci.color};
1413
1411
  }
1414
1412
 
1415
1413
  .ft-chip--clickable {
@@ -1440,9 +1438,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1440
1438
  }
1441
1439
 
1442
1440
  .ft-chip--icon-button {
1443
- ${w(st.iconSize,Bt.iconSize)};
1444
- ${w(st.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1445
- ${w(st.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1441
+ ${w(it.iconSize,Dt.iconSize)};
1442
+ ${w(it.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1443
+ ${w(it.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1446
1444
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1447
1445
  }
1448
1446
 
@@ -1488,7 +1486,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1488
1486
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1489
1487
  order: -1;
1490
1488
  }
1491
- `];var Ut=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},gn=class extends CustomEvent{constructor(){super("icon-click")}},mt=class extends Z{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":sr};return D`
1489
+ `];var Bt=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},jo=class extends CustomEvent{constructor(){super("icon-click")}},mt=class extends K{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":tr};return D`
1492
1490
  <div class="${vt(t)}"
1493
1491
  aria-label="${this.getLabel()}"
1494
1492
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -1514,7 +1512,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1514
1512
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1515
1513
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1516
1514
  </div>
1517
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new gn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new gn))}getLabel(){return this.label||this.textContent}get textContent(){return Oe(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};mt.elementDefinitions={"ft-ripple":ot,"ft-typography":dt,"ft-icon":gt,"ft-button":qt};mt.styles=xd;Ut([E({type:Boolean})],mt.prototype,"highlighted",void 0);Ut([E({type:Boolean})],mt.prototype,"removable",void 0);Ut([E({type:Boolean})],mt.prototype,"disabled",void 0);Ut([E({type:Boolean})],mt.prototype,"clickable",void 0);Ut([E({type:Boolean})],mt.prototype,"iconClickable",void 0);Ut([E({type:Boolean})],mt.prototype,"dense",void 0);Ut([E({type:Boolean})],mt.prototype,"multiLine",void 0);Ut([E()],mt.prototype,"label",void 0);Ut([E()],mt.prototype,"iconLabel",void 0);Ut([E()],mt.prototype,"icon",void 0);Ut([E()],mt.prototype,"iconVariant",void 0);Ut([E({type:Boolean})],mt.prototype,"trailingIcon",void 0);Ut([J("ft-typography slot")],mt.prototype,"slottedContent",void 0);var vd=[$`
1515
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new jo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new jo))}getLabel(){return this.label||this.textContent}get textContent(){return Oe(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};mt.elementDefinitions={"ft-ripple":ot,"ft-typography":ct,"ft-icon":gt,"ft-button":Yt};mt.styles=wc;Bt([C({type:Boolean})],mt.prototype,"highlighted",void 0);Bt([C({type:Boolean})],mt.prototype,"removable",void 0);Bt([C({type:Boolean})],mt.prototype,"disabled",void 0);Bt([C({type:Boolean})],mt.prototype,"clickable",void 0);Bt([C({type:Boolean})],mt.prototype,"iconClickable",void 0);Bt([C({type:Boolean})],mt.prototype,"dense",void 0);Bt([C({type:Boolean})],mt.prototype,"multiLine",void 0);Bt([C()],mt.prototype,"label",void 0);Bt([C()],mt.prototype,"iconLabel",void 0);Bt([C()],mt.prototype,"icon",void 0);Bt([C()],mt.prototype,"iconVariant",void 0);Bt([C({type:Boolean})],mt.prototype,"trailingIcon",void 0);Bt([J("ft-typography slot")],mt.prototype,"slottedContent",void 0);var Ac=[$`
1518
1516
  :host {
1519
1517
  display: inline-block;
1520
1518
  max-width: 100%;
@@ -1532,95 +1530,95 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1532
1530
 
1533
1531
  /* MEDIUM VARIANT */
1534
1532
  .ftds--size-medium {
1535
- min-height: ${j.mediumMinHeight};
1536
- padding: 0 ${j.mediumHorizontalPadding};
1537
- border-radius: ${j.mediumBorderRadius};
1538
- border-width: ${j.mediumBorderWidth};
1533
+ min-height: ${G.mediumMinHeight};
1534
+ padding: 0 ${G.mediumHorizontalPadding};
1535
+ border-radius: ${G.mediumBorderRadius};
1536
+ border-width: ${G.mediumBorderWidth};
1539
1537
  border-style: solid;
1540
- gap: ${j.mediumGap};
1541
- ${w(rt.size,j.mediumIconSize)}
1538
+ gap: ${G.mediumGap};
1539
+ ${w(rt.size,G.mediumIconSize)}
1542
1540
  }
1543
1541
 
1544
1542
  .ftds--size-medium.ftds-chip--removable {
1545
- padding-right: ${j.mediumButtonRightPadding};
1543
+ padding-right: ${G.mediumButtonRightPadding};
1546
1544
  }
1547
1545
 
1548
1546
 
1549
1547
  /* LARGE VARIANT */
1550
1548
  .ftds--size-large {
1551
- min-height: ${j.largeMinHeight};
1552
- padding: 0 ${j.largeHorizontalPadding};
1553
- border-radius: ${j.largeBorderRadius};
1554
- border-width: ${j.largeBorderWidth};
1549
+ min-height: ${G.largeMinHeight};
1550
+ padding: 0 ${G.largeHorizontalPadding};
1551
+ border-radius: ${G.largeBorderRadius};
1552
+ border-width: ${G.largeBorderWidth};
1555
1553
  border-style: solid;
1556
- gap: ${j.largeGap};
1557
- ${w(rt.size,j.largeIconSize)}
1554
+ gap: ${G.largeGap};
1555
+ ${w(rt.size,G.largeIconSize)}
1558
1556
  }
1559
1557
 
1560
1558
  .ftds--size-large.ftds-chip--removable {
1561
- padding-right: ${j.largeButtonRightPadding};
1559
+ padding-right: ${G.largeButtonRightPadding};
1562
1560
  }
1563
1561
 
1564
1562
 
1565
1563
  /* NEUTRAL COLORS */
1566
1564
  .ftds--family-neutral {
1567
- background-color: ${j.neutralBackgroundColor};
1568
- border-color: ${j.neutralBorderColor};
1569
- color: ${j.neutralColor};
1565
+ background-color: ${G.neutralBackgroundColor};
1566
+ border-color: ${G.neutralBorderColor};
1567
+ color: ${G.neutralColor};
1570
1568
  }
1571
1569
 
1572
1570
  .ftds--family-neutral .ftds-chip--icon-container {
1573
- color: ${j.neutralIconColor};
1571
+ color: ${G.neutralIconColor};
1574
1572
  }
1575
1573
 
1576
1574
 
1577
1575
  /* INFO COLORS */
1578
1576
  .ftds--family-info {
1579
- background-color: ${j.infoBackgroundColor};
1580
- border-color: ${j.infoBorderColor};
1581
- color: ${j.infoColor};
1577
+ background-color: ${G.infoBackgroundColor};
1578
+ border-color: ${G.infoBorderColor};
1579
+ color: ${G.infoColor};
1582
1580
  }
1583
1581
 
1584
1582
  .ftds--family-info .ftds-chip--icon-container {
1585
- color: ${j.infoIconColor};
1583
+ color: ${G.infoIconColor};
1586
1584
  }
1587
1585
 
1588
1586
 
1589
1587
  /* SUCCESS COLORS */
1590
1588
  .ftds--family-success {
1591
- background-color: ${j.successBackgroundColor};
1592
- border-color: ${j.successBorderColor};
1593
- color: ${j.successColor};
1589
+ background-color: ${G.successBackgroundColor};
1590
+ border-color: ${G.successBorderColor};
1591
+ color: ${G.successColor};
1594
1592
  }
1595
1593
 
1596
1594
  .ftds--family-success .ftds-chip--icon-container {
1597
- color: ${j.successIconColor};
1595
+ color: ${G.successIconColor};
1598
1596
  }
1599
1597
 
1600
1598
 
1601
1599
  /* WARNING COLORS */
1602
1600
  .ftds--family-warning {
1603
- background-color: ${j.warningBackgroundColor};
1604
- border-color: ${j.warningBorderColor};
1605
- color: ${j.warningColor};
1601
+ background-color: ${G.warningBackgroundColor};
1602
+ border-color: ${G.warningBorderColor};
1603
+ color: ${G.warningColor};
1606
1604
  }
1607
1605
 
1608
1606
  .ftds--family-warning .ftds-chip--icon-container {
1609
- color: ${j.warningIconColor};
1607
+ color: ${G.warningIconColor};
1610
1608
  }
1611
1609
 
1612
1610
 
1613
1611
  /* ERROR COLORS */
1614
1612
  .ftds--family-error {
1615
- background-color: ${j.errorBackgroundColor};
1616
- border-color: ${j.errorBorderColor};
1617
- color: ${j.errorColor};
1613
+ background-color: ${G.errorBackgroundColor};
1614
+ border-color: ${G.errorBorderColor};
1615
+ color: ${G.errorColor};
1618
1616
  }
1619
1617
 
1620
1618
  .ftds--family-error .ftds-chip--icon-container {
1621
- color: ${j.errorIconColor};
1619
+ color: ${G.errorIconColor};
1622
1620
  }
1623
- `];var xo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ya=class extends CustomEvent{constructor(){super("remove")}},Mt=class extends Qe{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return D`
1621
+ `];var io=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Ei=class extends CustomEvent{constructor(){super("remove")}},Mt=class extends Ge{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return D`
1624
1622
  <div class="${vt(t)}"
1625
1623
  aria-label="${this.getLabel()}"
1626
1624
  part="chip">
@@ -1632,9 +1630,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1632
1630
  </div>
1633
1631
  `}renderIcon(){return this.icon?D`
1634
1632
  <div class="ftds-chip--icon-container" part="icon-container">
1635
- <ft-icon .variant=${Tt.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
1633
+ <ft-icon .variant=${_t.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
1636
1634
  </div>
1637
- `:G}renderRemoveButton(){return this.removable?D`
1635
+ `:z}renderRemoveButton(){return this.removable?D`
1638
1636
  <ftds-button round
1639
1637
  class="ftds-chip--remove-button"
1640
1638
  @click=${this.dispatchRemoveEvent}
@@ -1644,7 +1642,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1644
1642
  size=${this.resolveButtonSize()}
1645
1643
  part="icon-button"
1646
1644
  ></ftds-button>
1647
- `:G}resolveButtonSize(){switch(this.size){case Q.large:return Q.medium;case Q.medium:case Q.small:return Q.small}}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Ya)}typographyVariant(){switch(this.size){case Q.large:return ht.body2medium;case Q.medium:return ht.caption1medium;case Q.small:return ht.caption2medium}}};Mt.elementDefinitions={"ft-typography":dt,"ft-icon":gt,"ftds-button":kt};Mt.styles=vd;xo([E({type:Boolean})],Mt.prototype,"removable",void 0);xo([E()],Mt.prototype,"removeButtonLabel",void 0);xo([E()],Mt.prototype,"label",void 0);xo([E()],Mt.prototype,"icon",void 0);xo([J("ft-typography slot")],Mt.prototype,"slottedContent",void 0);X("ft-chip")(mt);X("ftds-chip")(Mt);var Sd=$`
1645
+ `:z}resolveButtonSize(){switch(this.size){case Q.large:return Q.medium;case Q.medium:case Q.small:return Q.small}}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Ei)}typographyVariant(){switch(this.size){case Q.large:return ut.body2medium;case Q.medium:return ut.caption1medium;case Q.small:return ut.caption2medium}}};Mt.elementDefinitions={"ft-typography":ct,"ft-icon":gt,"ftds-button":kt};Mt.styles=Ac;io([C({type:Boolean})],Mt.prototype,"removable",void 0);io([C()],Mt.prototype,"removeButtonLabel",void 0);io([C()],Mt.prototype,"label",void 0);io([C()],Mt.prototype,"icon",void 0);io([J("ft-typography slot")],Mt.prototype,"slottedContent",void 0);X("ft-chip")(mt);X("ftds-chip")(Mt);var Rc=$`
1648
1646
 
1649
1647
  .ftds-link {
1650
1648
  display: inline-flex;
@@ -1659,7 +1657,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1659
1657
  .ftds-link:focus-visible {
1660
1658
  outline: 2px solid;
1661
1659
  outline-offset: 2px;
1662
- border-radius: ${K.borderRadiusS};
1660
+ border-radius: ${V.borderRadiusS};
1663
1661
  }
1664
1662
 
1665
1663
  .ftds-link--variant-caption-2-medium,
@@ -1684,58 +1682,58 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1684
1682
  }
1685
1683
 
1686
1684
  .ftds--family-neutral {
1687
- color: ${ut.neutralDefaultColor};
1685
+ color: ${pt.neutralDefaultColor};
1688
1686
  }
1689
1687
 
1690
1688
  .ftds--family-neutral:hover {
1691
- color: ${ut.neutralHoverColor};
1689
+ color: ${pt.neutralHoverColor};
1692
1690
  }
1693
1691
 
1694
1692
  .ftds--family-neutral:focus-visible {
1695
- color: ${ut.neutralFocusColor};
1696
- outline-color: ${ut.neutralFocusFocusRingColor};
1693
+ color: ${pt.neutralFocusColor};
1694
+ outline-color: ${pt.neutralFocusFocusRingColor};
1697
1695
  }
1698
1696
 
1699
1697
  .ftds--family-neutral:active {
1700
- color: ${ut.neutralActiveColor};
1698
+ color: ${pt.neutralActiveColor};
1701
1699
  }
1702
1700
 
1703
1701
  .ftds--family-info {
1704
- color: ${ut.infoDefaultColor};
1702
+ color: ${pt.infoDefaultColor};
1705
1703
  }
1706
1704
 
1707
1705
  .ftds--family-info:hover {
1708
- color: ${ut.infoHoverColor};
1709
- opacity: ${ut.infoHoverOpacity};
1706
+ color: ${pt.infoHoverColor};
1707
+ opacity: ${pt.infoHoverOpacity};
1710
1708
  }
1711
1709
 
1712
1710
  .ftds--family-info:focus-visible {
1713
- color: ${ut.infoFocusColor};
1714
- outline-color: ${ut.infoFocusFocusRingColor};
1711
+ color: ${pt.infoFocusColor};
1712
+ outline-color: ${pt.infoFocusFocusRingColor};
1715
1713
  }
1716
1714
 
1717
1715
  .ftds--family-info:active {
1718
- color: ${ut.infoActiveColor};
1716
+ color: ${pt.infoActiveColor};
1719
1717
  }
1720
1718
 
1721
1719
  .ftds--family-brand {
1722
- color: ${ut.brandDefaultColor};
1720
+ color: ${pt.brandDefaultColor};
1723
1721
  }
1724
1722
 
1725
1723
  .ftds--family-brand:hover {
1726
- color: ${ut.brandHoverColor};
1727
- opacity: ${ut.brandHoverOpacity};
1724
+ color: ${pt.brandHoverColor};
1725
+ opacity: ${pt.brandHoverOpacity};
1728
1726
  }
1729
1727
 
1730
1728
  .ftds--family-brand:focus-visible {
1731
- color: ${ut.brandFocusColor};
1732
- outline-color: ${ut.brandFocusFocusRingColor};
1729
+ color: ${pt.brandFocusColor};
1730
+ outline-color: ${pt.brandFocusFocusRingColor};
1733
1731
  }
1734
1732
 
1735
1733
  .ftds--family-brand:active {
1736
- color: ${ut.infoActiveColor};
1734
+ color: ${pt.infoActiveColor};
1737
1735
  }
1738
- `;var vo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},bn;(function(e){e.SELF="_self",e.BLANK="_blank"})(bn||(bn={}));var Ft=class extends Qe{constructor(){super(...arguments),this.href="",this.variant=ht.body2medium,this.underlined=!1,this.openInNewTabLabel="This link will be opened in a new tab",this.target=bn.SELF,this.icon="extlink-light"}get linkClasses(){return{"ftds-link":!0,"ftds-link--underlined":this.underlined,...this.resolveVariantClasses,...this.getDesignSystemBaseClasses()}}render(){return D`
1736
+ `;var so=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Go;(function(e){e.SELF="_self",e.BLANK="_blank"})(Go||(Go={}));var Ut=class extends Ge{constructor(){super(...arguments),this.href="",this.variant=ut.body2medium,this.underlined=!1,this.openInNewTabLabel="This link will be opened in a new tab",this.target=Go.SELF,this.icon="extlink-light"}get linkClasses(){return{"ftds-link":!0,"ftds-link--underlined":this.underlined,...this.resolveVariantClasses,...this.getDesignSystemBaseClasses()}}render(){return D`
1739
1737
  <a part="link"
1740
1738
  target="${this.target}"
1741
1739
  href="${this.href}"
@@ -1743,23 +1741,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1743
1741
  <ft-typography part="label"
1744
1742
  variant=${this.variant}
1745
1743
  element="span"
1746
- class="ftds-link--label ${sr?"ft-safari-ellipsis-fix":""}">
1744
+ class="ftds-link--label ${tr?"ft-safari-ellipsis-fix":""}">
1747
1745
  <span><slot @slotchange=${this.onSlotchange}></slot></span>
1748
1746
  </ft-typography>
1749
1747
  ${this.resolveIcon()}
1750
1748
  </a>
1751
- `}resolveIcon(){return this.target===bn.BLANK?D`
1752
- <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant="${Tt.fluid_topics}" .value="${this.icon}">
1749
+ `}resolveIcon(){return this.target===Go.BLANK?D`
1750
+ <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant="${_t.fluid_topics}" .value="${this.icon}">
1753
1751
  </ft-icon>
1754
- `:D``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Ft.elementDefinitions={"ft-typography":dt,"ft-icon":gt};Ft.styles=[rr,Sd];vo([E()],Ft.prototype,"href",void 0);vo([E()],Ft.prototype,"variant",void 0);vo([E({type:Boolean})],Ft.prototype,"underlined",void 0);vo([E()],Ft.prototype,"openInNewTabLabel",void 0);vo([E()],Ft.prototype,"target",void 0);X("ftds-link")(Ft);var Cd=$`
1755
- `;var Od=$`
1756
- `;var ff="ft-app-info",Xa=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},hf={session:(e,t)=>{jt(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>F.dispatchEvent(new Xa(t.payload)),0))}},F=ar.get({name:ff,reducers:hf,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 cr=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=F.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let i=F.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var Ie=class{constructor(t=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new te,this.cache=t?i.commonCache:new te}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:cr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):cr.await()}clearCache(){this.cache.clearAll()}};var Ed,yf=Symbol("clearAfterUnitTest"),xn=class extends Ie{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ed]=()=>{this.defaultMessages={},this.cache=new te,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=F.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};jt(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let a=t.toLowerCase(),s=this.resolveContext(a);return new uo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(o,...n)}async fetchContext(t){var o,n,i;if(!this.cache.has(t))if(((n=(o=window.process)===null||o===void 0?void 0:o.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(t,(i=this.defaultMessages[t])!==null&&i!==void 0?i:{});else try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(a){console.error(a)}}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>Zo(0).then(()=>o()).catch(()=>null)))}};Ed=yf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends xn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends xn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var dr=window.FluidTopicsI18nService,wd=window.FluidTopicsCustomI18nService;var Ot=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ct=class extends Z{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=()=>cr.get(),this.messageContexts=[],this.cache=new te,this.cleanSessionDebouncer=new Pt}render(){return D`
1752
+ `:D``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Ut.elementDefinitions={"ft-typography":ct,"ft-icon":gt};Ut.styles=[Ze,Rc];so([C()],Ut.prototype,"href",void 0);so([C()],Ut.prototype,"variant",void 0);so([C({type:Boolean})],Ut.prototype,"underlined",void 0);so([C()],Ut.prototype,"openInNewTabLabel",void 0);so([C()],Ut.prototype,"target",void 0);X("ftds-link")(Ut);var Nc=$`
1753
+ `;var Lc=$`
1754
+ `;var sf="ft-app-info",wi=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},lf={session:(e,t)=>{Gt(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>U.dispatchEvent(new wi(t.payload)),0))}},U=Qe.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 rr=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=U.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=U.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var lo=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:rr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):rr.await()}};var Pe=class extends lo{constructor(t=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new te,this.cache=t?a.commonCache:new te}clearCache(){this.cache.clearAll()}};var _c,cf=Symbol("clearAfterUnitTest"),Vo=class extends Pe{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[_c]=()=>{this.defaultMessages={},this.cache=new te,this.listeners={}},this.currentUiLocale=U.getState().uiLocale,U.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=U.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};Gt(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Qr((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(t){var o,n,a;if(!this.cache.has(t))if(((n=(o=window.process)===null||o===void 0?void 0:o.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(t,(a=this.defaultMessages[t])!==null&&a!==void 0?a:{});else try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(i){console.error(i)}}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>Co(0).then(()=>o()).catch(()=>null)))}};_c=cf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Vo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Vo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var or=window.FluidTopicsI18nService,Tc=window.FluidTopicsCustomI18nService;var Ct=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},lt=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=()=>rr.get(),this.messageContexts=[],this.cache=new te,this.cleanSessionDebouncer=new Tt}render(){return D`
1757
1755
  <slot></slot>
1758
- `}update(t){var o,n,i,a,s;super.update(t),t.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&F.actions.noCustom(this.noCustom),t.has("editorMode")&&F.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&F.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>dr.addContext(l)),t.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&F.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(F.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),F.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),F.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ct.elementDefinitions={};ct.styles=Od;Ot([E()],ct.prototype,"baseUrl",void 0);Ot([E()],ct.prototype,"apiIntegrationIdentifier",void 0);Ot([E()],ct.prototype,"uiLocale",void 0);Ot([ee(null)],ct.prototype,"availableUiLocales",void 0);Ot([ee(null)],ct.prototype,"metadataConfiguration",void 0);Ot([E({type:Boolean})],ct.prototype,"editorMode",void 0);Ot([E({type:Boolean})],ct.prototype,"noCustom",void 0);Ot([E({type:Boolean})],ct.prototype,"openExternalDocumentInNewTab",void 0);Ot([E({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],ct.prototype,"noCustomComponent",void 0);Ot([E({type:Boolean})],ct.prototype,"withManualResources",void 0);Ot([E({type:Boolean})],ct.prototype,"navigatorOnline",void 0);Ot([E({type:Boolean})],ct.prototype,"forcedOffline",void 0);Ot([E({type:Object})],ct.prototype,"apiProvider",void 0);Ot([ee([])],ct.prototype,"messageContexts",void 0);Ot([ee(void 0)],ct.prototype,"session",void 0);Ot([yt()],ct.prototype,"localesConfiguration",void 0);var vn=class extends Ie{async listMySearches(){let t=F.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Sn=class extends Ie{async listMyBookmarks(){let t=F.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var mf="ft-user-assets",Cn=ar.get({name:mf,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ja=class{constructor(){this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Sn,this.savedSearchesService=new vn,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=F.getState();jt((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Cn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Cn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Cn.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Cn.actions.bookmarks(o)}}},XE=new Ja;var Qa=class{addCommand(t,o=!1){F.commands.add(t,o)}consumeCommand(t){return F.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Qa;var ts=class{highlightHtml(t,o,n){oa(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ts;var es=class{isDate(t){var o,n,i,a;return(a=(i=((n=(o=F.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,o){var n,i,a;return Nr.format(t,(n=o?.locale)!==null&&n!==void 0?n:F.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new es;X("ft-app-context")(ct);var gf=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},rs=Symbol("i18nAttributes"),os=Symbol("i18nListAttributes"),On=Symbol("i18nProperties"),ns=Symbol("i18nManualContexts"),So=Symbol("i18nUnsubs");function Ad(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?wd:dr}i18n(a,s,...l){var d;if(typeof a=="string")return this.i18nService.resolveMessage(a,s,...l);let p=(d=a.args)!==null&&d!==void 0?d:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...p)}onI18nUpdate(a){var s,l,d;(s=this[rs])===null||s===void 0||s.forEach((p,h)=>{let f=this.getI18nAttributeValue(h);f&&(this[h]=this.getI18nAttributeMessage(f,p,a))}),(l=this[os])===null||l===void 0||l.forEach((p,h)=>{let f=this.getI18nListAttributeValues(h);this[h]=f?.map(y=>this.getI18nAttributeMessage(y,p,a))}),(d=this[On])===null||d===void 0||d.forEach((p,h)=>{p.context.toLowerCase()===a.toLowerCase()&&(this[h]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,s){return{...a,message:this.i18n({context:a.context,key:a.key,...s})}}getI18nAttributeMessage(a,s,l){var d;let p=!l||((d=a.context)===null||d===void 0?void 0:d.toLowerCase())===l.toLowerCase();return a.context&&a.key&&p?this.buildI18nAttributeMessage(a,s):a}update(a){var s,l,d;super.update(a),(s=this[rs])===null||s===void 0||s.forEach((p,h)=>{let f=this.getI18nAttributeValue(h);f?.context&&f.key&&(a.has(h)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,a,h),this[h]=this.getI18nAttributeMessage(f,p))}),(l=this[os])===null||l===void 0||l.forEach((p,h)=>{let f=this.getI18nListAttributeValues(h);(a.has(h)||p.argsProvider!=null)&&(this[h]=f?.map(y=>(this.addI18nContextIfNeeded(y,a,h),this.getI18nAttributeMessage(y,p))))}),(d=this[On])===null||d===void 0||d.forEach((p,h)=>{p.argsProvider!=null&&(this[h]=this.i18n(p))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,s,l){a.context&&a.key&&s.has(l)&&this.addI18nContext(a.context)}addI18nMessagesAndSubscribe(a,s){a=a.toLowerCase(),this[So].has(a)||this[So].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,s??{}),this.onI18nUpdate(a)}connectedCallback(){var a,s,l,d,p,h;super.connectedCallback(),new Set([...(s=(a=this[On])===null||a===void 0?void 0:a.values())!==null&&s!==void 0?s:[],...[...(d=(l=this[rs])===null||l===void 0?void 0:l.keys())!==null&&d!==void 0?d:[]].map(f=>this.getI18nAttributeValue(f)),...[...(h=(p=this[os])===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[ns].forEach((f,y)=>{this.addI18nMessages(y,f)})}addI18nMessages(a,s){this[ns].set(a,s??{}),this.addI18nMessagesAndSubscribe(a,s)}addI18nContext(a,s){this.addI18nMessages(typeof a=="string"?a:a.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[So].forEach(a=>a()),this[So].clear()}}return t=ns,o=So,gf([E({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var En=class extends Ad(Z){},wn=class extends Ad(Ae){};var Co=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Yt=class extends wn{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":G:D`
1756
+ `}update(t){var o,n,a,i,s;super.update(t),t.has("baseUrl")&&(U.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&U.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&U.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&U.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&U.actions.noCustom(this.noCustom),t.has("editorMode")&&U.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&U.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&U.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>or.addContext(c)),t.has("openExternalDocumentInNewTab")&&U.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&U.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&U.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(U.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),U.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),U.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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};lt.elementDefinitions={};lt.styles=Lc;Ct([C()],lt.prototype,"baseUrl",void 0);Ct([C()],lt.prototype,"apiIntegrationIdentifier",void 0);Ct([C()],lt.prototype,"uiLocale",void 0);Ct([ee(null)],lt.prototype,"availableUiLocales",void 0);Ct([ee(null)],lt.prototype,"metadataConfiguration",void 0);Ct([C({type:Boolean})],lt.prototype,"editorMode",void 0);Ct([C({type:Boolean})],lt.prototype,"noCustom",void 0);Ct([C({type:Boolean})],lt.prototype,"openExternalDocumentInNewTab",void 0);Ct([C({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],lt.prototype,"noCustomComponent",void 0);Ct([C({type:Boolean})],lt.prototype,"withManualResources",void 0);Ct([C({type:Boolean})],lt.prototype,"navigatorOnline",void 0);Ct([C({type:Boolean})],lt.prototype,"forcedOffline",void 0);Ct([C({type:Object})],lt.prototype,"apiProvider",void 0);Ct([ee([])],lt.prototype,"messageContexts",void 0);Ct([ee(void 0)],lt.prototype,"session",void 0);Ct([yt()],lt.prototype,"localesConfiguration",void 0);var Ko=class extends Pe{async listMySearches(){let t=U.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Zo=class extends Pe{async listMyBookmarks(){let t=U.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var df="ft-user-assets",qo=Qe.get({name:df,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ai=class{constructor(){this.currentSession=U.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Zo,this.savedSearchesService=new Ko,U.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=U.getState();Gt((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),qo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),qo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();qo.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;qo.actions.bookmarks(o)}}},VC=new Ai;var Ri=class{addCommand(t,o=!1){U.commands.add(t,o)}consumeCommand(t){return U.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Ri;var Ni=class{highlightHtml(t,o,n){Pa(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Ni;var Li=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=U.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i;return Cr.format(t,(n=o?.locale)!==null&&n!==void 0?n:U.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Li;X("ft-app-context")(lt);var pf=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},_i=Symbol("i18nAttributes"),Ti=Symbol("i18nListAttributes"),Yo=Symbol("i18nProperties"),Pi=Symbol("i18nManualContexts"),co=Symbol("i18nUnsubs");function Pc(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Tc:or}i18n(i,s,...c){var d;if(typeof i=="string")return this.i18nService.resolveMessage(i,s,...c);let f=(d=i.args)!==null&&d!==void 0?d:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...f)}onI18nUpdate(i){var s,c,d;(s=this[_i])===null||s===void 0||s.forEach((f,h)=>{let u=this.getI18nAttributeValue(h);u&&(this[h]=this.getI18nAttributeMessage(u,f,i))}),(c=this[Ti])===null||c===void 0||c.forEach((f,h)=>{let u=this.getI18nListAttributeValues(h);this[h]=u?.map(m=>this.getI18nAttributeMessage(m,f,i))}),(d=this[Yo])===null||d===void 0||d.forEach((f,h)=>{f.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(f))}),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 f=!c||((d=i.context)===null||d===void 0?void 0:d.toLowerCase())===c.toLowerCase();return i.context&&i.key&&f?this.buildI18nAttributeMessage(i,s):i}update(i){var s,c,d;super.update(i),(s=this[_i])===null||s===void 0||s.forEach((f,h)=>{let u=this.getI18nAttributeValue(h);u?.context&&u.key&&(i.has(h)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(u,i,h),this[h]=this.getI18nAttributeMessage(u,f))}),(c=this[Ti])===null||c===void 0||c.forEach((f,h)=>{let u=this.getI18nListAttributeValues(h);(i.has(h)||f.argsProvider!=null)&&(this[h]=u?.map(m=>(this.addI18nContextIfNeeded(m,i,h),this.getI18nAttributeMessage(m,f))))}),(d=this[Yo])===null||d===void 0||d.forEach((f,h)=>{f.argsProvider!=null&&(this[h]=this.i18n(f))})}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[co].has(i)||this[co].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,s??{}),this.onI18nUpdate(i)}connectedCallback(){var i,s,c,d,f,h;super.connectedCallback(),new Set([...(s=(i=this[Yo])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(d=(c=this[_i])===null||c===void 0?void 0:c.keys())!==null&&d!==void 0?d:[]].map(u=>this.getI18nAttributeValue(u)),...[...(h=(f=this[Ti])===null||f===void 0?void 0:f.keys())!==null&&h!==void 0?h:[]].flatMap(u=>this.getI18nListAttributeValues(u))].map(u=>u?.context)).forEach(u=>u&&this.addI18nMessages(u)),this[Pi].forEach((u,m)=>{this.addI18nMessages(m,u)})}addI18nMessages(i,s){this[Pi].set(i,s??{}),this.addI18nMessagesAndSubscribe(i,s)}addI18nContext(i,s){this.addI18nMessages(typeof i=="string"?i:i.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[co].forEach(i=>i()),this[co].clear()}}return t=Pi,o=co,pf([C({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Xo=class extends Pc(K){},Jo=class extends Pc(Ae){};var po=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Xt=class extends Jo{constructor(){super(),this.editorMode=!1,this.addStore(U)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":z:D`
1759
1757
  <span class="ft-i18n">
1760
1758
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1761
1759
  </span>
1762
- `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Yt.elementDefinitions={};Yt.styles=Cd;Co([en()],Yt.prototype,"editorMode",void 0);Co([E()],Yt.prototype,"context",void 0);Co([E()],Yt.prototype,"key",void 0);Co([ee([])],Yt.prototype,"args",void 0);Co([E()],Yt.prototype,"defaultMessage",void 0);var An=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>dr.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(o,n)=>dr.resolveRawMessage(this.name,n)})}};X("ft-i18n")(Yt);var Rn=An.build("pageLayoutComponent"),Rd={breadcrumbTitle:"Breadcrumb title",popoverCloseButtonLabel:"Close information",popoverOpenButtonLabel:"More information"};var be=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Et=class extends En{constructor(){super(),this.footerHasContent=!1,this.popoverHasContent=!1,this.addI18nContext(Rn,Rd)}get pageHeaderClasses(){return{"ftds-page-layout--header":!0,"ftds-page-layout--child":this.breadcrumb!==void 0}}render(){return D`
1760
+ `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Xt.elementDefinitions={};Xt.styles=Nc;po([_o()],Xt.prototype,"editorMode",void 0);po([C()],Xt.prototype,"context",void 0);po([C()],Xt.prototype,"key",void 0);po([ee([])],Xt.prototype,"args",void 0);po([C()],Xt.prototype,"defaultMessage",void 0);var Qo=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,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:(o,n)=>(...a)=>or.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(o,n)=>or.resolveRawMessage(this.name,n)})}};X("ft-i18n")(Xt);var tn=Qo.build("pageLayoutComponent"),Ic={breadcrumbTitle:"Breadcrumb title",popoverCloseButtonLabel:"Close information",popoverOpenButtonLabel:"More information"};var be=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},wt=class extends Xo{constructor(){super(),this.footerHasContent=!1,this.popoverHasContent=!1,this.addI18nContext(tn,Ic)}get pageHeaderClasses(){return{"ftds-page-layout--header":!0,"ftds-page-layout--child":this.breadcrumb!==void 0}}render(){return D`
1763
1761
  ${this.renderHeader()}
1764
1762
  <main>
1765
1763
  <slot></slot>
@@ -1771,7 +1769,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1771
1769
  <div class="ftds-page-layout--title-container">
1772
1770
  ${this.breadcrumb?this.renderBreadcrumb():D`
1773
1771
  <ft-typography class="ftds-page-layout--title"
1774
- variant="${ht.title1}">
1772
+ variant="${ut.title1}">
1775
1773
  ${this.pageTitle}
1776
1774
  </ft-typography>`}
1777
1775
  ${this.renderPopover()}
@@ -1779,9 +1777,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1779
1777
  </div>
1780
1778
  ${this.subTitle?D`
1781
1779
  <ft-typography class="ftds-page-layout--sub-title"
1782
- variant="${ht.body2regular}">
1780
+ variant="${ut.body2regular}">
1783
1781
  ${this.subTitle}
1784
- </ft-typography>`:G}
1782
+ </ft-typography>`:z}
1785
1783
  </div>
1786
1784
  <div class="ftds-page-layout--right-slot">
1787
1785
  <slot name="header-right"></slot>
@@ -1797,7 +1795,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1797
1795
  </div>
1798
1796
  `}renderChip(){var t;return D`
1799
1797
  <div class="ftds-page-layout--chips-container">
1800
- ${Ko((t=this.chipsContent)!==null&&t!==void 0?t:[],o=>D`
1798
+ ${Oo((t=this.chipsContent)!==null&&t!==void 0?t:[],o=>D`
1801
1799
  <ftds-chip family="${o.family}" icon="${o.icon}">
1802
1800
  ${o.label}
1803
1801
  </ftds-chip>`)}
@@ -1805,31 +1803,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1805
1803
  `}renderBreadcrumb(){return D`
1806
1804
  <nav aria-label="Title breadcrumb" class="ftds-page-layout--breadcrumb">
1807
1805
  <ol>
1808
- ${Ko(this.breadcrumb,(t,o)=>D`
1806
+ ${Oo(this.breadcrumb,(t,o)=>D`
1809
1807
  <li>
1810
1808
  ${t.link?D`
1811
- <ftds-link href=${t.link} underlined target="_self" family=${St.brand} variant="${ht.body2medium}">
1809
+ <ftds-link href=${t.link} underlined target="_self" family=${St.brand} variant="${ut.body2medium}">
1812
1810
  ${t.label}
1813
1811
  </ftds-link>`:D`
1814
- <ft-typography variant="${ht.body2medium}" class="ftds-page-layout--breadcrumb-item">
1812
+ <ft-typography variant="${ut.body2medium}" class="ftds-page-layout--breadcrumb-item">
1815
1813
  ${t.label}
1816
1814
  </ft-typography>`}
1817
1815
  </li>`)}
1818
1816
  <li>
1819
1817
  <ft-typography class="ftds-page-layout--title"
1820
- aria-current="${kc(this.breadcrumb?"page":void 0)}"
1821
- variant="${ht.body2semibold}">
1818
+ aria-current="${Hl(this.breadcrumb?"page":void 0)}"
1819
+ variant="${ut.body2semibold}">
1822
1820
  ${this.pageTitle}
1823
1821
  </ft-typography>
1824
1822
  </li>
1825
1823
  </ol>
1826
1824
  </nav>
1827
1825
  `}renderPopover(){return D`
1828
- <ftds-popover ?hidden=${!this.popoverHasContent} closeButtonLabel=${Rn.messages.popoverCloseButtonLabel()}
1829
- openButtonLabel=${Rn.messages.popoverOpenButtonLabel()} openButtonTooltipPosition="bottom"
1826
+ <ftds-popover ?hidden=${!this.popoverHasContent} closeButtonLabel=${tn.messages.popoverCloseButtonLabel()}
1827
+ openButtonLabel=${tn.messages.popoverOpenButtonLabel()} openButtonTooltipPosition="bottom"
1830
1828
  openButtonFamily=${St.info} openButtonSize=${Q.medium}>
1831
1829
  <slot name="popover-content" @slotchange=${this.onSlotChange}></slot>
1832
- </ftds-popover>`}onSlotChange(t){switch(t.target.getAttribute("name")){case"popover-content":this.popoverHasContent=this.popoverContent.length>0;break;case"footer-right":case"footer-left":this.footerHasContent=this.footerLeftContent.length>0||this.footerRightContent.length>0;break}t.stopPropagation()}};Et.elementDefinitions={"ft-typography":dt,"ftds-popover":pt,"ftds-chip":Mt,"ftds-link":Ft};Et.styles=Bc;be([E()],Et.prototype,"pageTitle",void 0);be([E()],Et.prototype,"breadcrumb",void 0);be([E()],Et.prototype,"subTitle",void 0);be([E()],Et.prototype,"chipsContent",void 0);be([yt()],Et.prototype,"footerHasContent",void 0);be([yt()],Et.prototype,"popoverHasContent",void 0);be([Ge({slot:"footer-left"})],Et.prototype,"footerLeftContent",void 0);be([Ge({slot:"footer-right"})],Et.prototype,"footerRightContent",void 0);be([Ge({slot:"popover-content"})],Et.prototype,"popoverContent",void 0);X("ftds-page-layout")(Et);})();
1830
+ </ftds-popover>`}onSlotChange(t){switch(t.target.getAttribute("name")){case"popover-content":this.popoverHasContent=this.popoverContent.length>0;break;case"footer-right":case"footer-left":this.footerHasContent=this.footerLeftContent.length>0||this.footerRightContent.length>0;break}t.stopPropagation()}};wt.elementDefinitions={"ft-typography":ct,"ftds-popover":dt,"ftds-chip":Mt,"ftds-link":Ut};wt.styles=jl;be([C()],wt.prototype,"pageTitle",void 0);be([C()],wt.prototype,"breadcrumb",void 0);be([C()],wt.prototype,"subTitle",void 0);be([C()],wt.prototype,"chipsContent",void 0);be([yt()],wt.prototype,"footerHasContent",void 0);be([yt()],wt.prototype,"popoverHasContent",void 0);be([Ue({slot:"footer-left"})],wt.prototype,"footerLeftContent",void 0);be([Ue({slot:"footer-right"})],wt.prototype,"footerRightContent",void 0);be([Ue({slot:"popover-content"})],wt.prototype,"popoverContent",void 0);X("ftds-page-layout")(wt);})();
1833
1831
  /*! Bundled license information:
1834
1832
 
1835
1833
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
@@ -1868,27 +1866,6 @@ lit-html/lit-html.js:
1868
1866
  * SPDX-License-Identifier: BSD-3-Clause
1869
1867
  *)
1870
1868
 
1871
- @lit/reactive-element/css-tag.js:
1872
- (**
1873
- * @license
1874
- * Copyright 2019 Google LLC
1875
- * SPDX-License-Identifier: BSD-3-Clause
1876
- *)
1877
-
1878
- @lit/reactive-element/reactive-element.js:
1879
- (**
1880
- * @license
1881
- * Copyright 2017 Google LLC
1882
- * SPDX-License-Identifier: BSD-3-Clause
1883
- *)
1884
-
1885
- lit-html/lit-html.js:
1886
- (**
1887
- * @license
1888
- * Copyright 2017 Google LLC
1889
- * SPDX-License-Identifier: BSD-3-Clause
1890
- *)
1891
-
1892
1869
  lit-element/lit-element.js:
1893
1870
  (**
1894
1871
  * @license
@@ -2015,13 +1992,6 @@ lit-html/directives/unsafe-html.js:
2015
1992
  * SPDX-License-Identifier: BSD-3-Clause
2016
1993
  *)
2017
1994
 
2018
- @lit/reactive-element/css-tag.js:
2019
- (**
2020
- * @license
2021
- * Copyright 2019 Google LLC
2022
- * SPDX-License-Identifier: BSD-3-Clause
2023
- *)
2024
-
2025
1995
  lit-html/directives/if-defined.js:
2026
1996
  (**
2027
1997
  * @license