@fluid-topics/ft-search-bar 1.3.31 → 1.3.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- "use strict";(()=>{var Mp=Object.create;var hn=Object.defineProperty;var Up=Object.getOwnPropertyDescriptor;var zp=Object.getOwnPropertyNames;var Hp=Object.getPrototypeOf,Wp=Object.prototype.hasOwnProperty;var Vp=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ae=(t,e)=>{for(var r in e)hn(t,r,{get:e[r],enumerable:!0})},jp=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of zp(e))!Wp.call(t,n)&&n!==r&&hn(t,n,{get:()=>e[n],enumerable:!(i=Up(e,n))||i.enumerable});return t};var Gp=(t,e,r)=>(r=t!=null?Mp(Hp(t)):{},jp(e||!t||!t.__esModule?hn(r,"default",{value:t,enumerable:!0}):r,t));var Hc=Vp((pr,zc)=>{var Vi=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ji=function(){function t(){this.fetch=!1,this.DOMException=Vi.DOMException}return t.prototype=Vi,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.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(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function d(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function u(g){return typeof g!="string"&&(g=String(g)),g}function h(g){var E={next:function(){var U=g.shift();return{done:U===void 0,value:U}}};return n.iterable&&(E[Symbol.iterator]=function(){return E}),E}function f(g){this.map={},g instanceof f?g.forEach(function(E,U){this.append(U,E)},this):Array.isArray(g)?g.forEach(function(E){if(E.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+E.length);this.append(E[0],E[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(E){this.append(E,g[E])},this)}f.prototype.append=function(g,E){g=d(g),E=u(E);var U=this.map[g];this.map[g]=U?U+", "+E:E},f.prototype.delete=function(g){delete this.map[d(g)]},f.prototype.get=function(g){return g=d(g),this.has(g)?this.map[g]:null},f.prototype.has=function(g){return this.map.hasOwnProperty(d(g))},f.prototype.set=function(g,E){this.map[d(g)]=u(E)},f.prototype.forEach=function(g,E){for(var U in this.map)this.map.hasOwnProperty(U)&&g.call(E,this.map[U],U,this)},f.prototype.keys=function(){var g=[];return this.forEach(function(E,U){g.push(U)}),h(g)},f.prototype.values=function(){var g=[];return this.forEach(function(E){g.push(E)}),h(g)},f.prototype.entries=function(){var g=[];return this.forEach(function(E,U){g.push([U,E])}),h(g)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function S(g){return new Promise(function(E,U){g.onload=function(){E(g.result)},g.onerror=function(){U(g.error)}})}function v(g){var E=new FileReader,U=S(E);return E.readAsArrayBuffer(g),U}function w(g){var E=new FileReader,U=S(E),ne=/charset=([A-Za-z0-9_-]+)/.exec(g.type),pe=ne?ne[1]:"utf-8";return E.readAsText(g,pe),U}function T(g){for(var E=new Uint8Array(g),U=new Array(E.length),ne=0;ne<E.length;ne++)U[ne]=String.fromCharCode(E[ne]);return U.join("")}function $(g){if(g.slice)return g.slice(0);var E=new Uint8Array(g.byteLength);return E.set(new Uint8Array(g)),E.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&a(g)?(this._bodyArrayBuffer=$(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||l(g))?this._bodyArrayBuffer=$(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=y(this);if(g)return g;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 g=y(this);return g||(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(n.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=y(this);if(g)return g;if(this._bodyBlob)return w(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(H)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function O(g){var E=g.toUpperCase();return A.indexOf(E)>-1?E:g}function R(g,E){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');E=E||{};var U=E.body;if(g instanceof R){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,E.headers||(this.headers=new f(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!U&&g._bodyInit!=null&&(U=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=E.credentials||this.credentials||"same-origin",(E.headers||!this.headers)&&(this.headers=new f(E.headers)),this.method=O(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.signal=E.signal||this.signal||function(){if("AbortController"in i){var te=new AbortController;return te.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&U)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(U),(this.method==="GET"||this.method==="HEAD")&&(E.cache==="no-store"||E.cache==="no-cache")){var ne=/([?&])_=[^&]*/;if(ne.test(this.url))this.url=this.url.replace(ne,"$1_="+new Date().getTime());else{var pe=/\?/;this.url+=(pe.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function H(g){var E=new FormData;return g.trim().split("&").forEach(function(U){if(U){var ne=U.split("="),pe=ne.shift().replace(/\+/g," "),te=ne.join("=").replace(/\+/g," ");E.append(decodeURIComponent(pe),decodeURIComponent(te))}}),E}function q(g){var E=new f,U=g.replace(/\r?\n[\t ]+/g," ");return U.split("\r").map(function(ne){return ne.indexOf(`
2
- `)===0?ne.substr(1,ne.length):ne}).forEach(function(ne){var pe=ne.split(":"),te=pe.shift().trim();if(te){var mi=pe.join(":").trim();try{E.append(te,mi)}catch(fn){console.warn("Response "+fn.message)}}}),E}P.call(R.prototype);function ie(g,E){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(E||(E={}),this.type="default",this.status=E.status===void 0?200:E.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=E.statusText===void 0?"":""+E.statusText,this.headers=new f(E.headers),this.url=E.url||"",this._initBody(g)}P.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},ie.error=function(){var g=new ie(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var ee=[301,302,303,307,308];ie.redirect=function(g,E){if(ee.indexOf(E)===-1)throw new RangeError("Invalid status code");return new ie(null,{status:E,headers:{location:g}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(E,U){this.message=E,this.name=U;var ne=Error(E);this.stack=ne.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function W(g,E){return new Promise(function(U,ne){var pe=new R(g,E);if(pe.signal&&pe.signal.aborted)return ne(new r.DOMException("Aborted","AbortError"));var te=new XMLHttpRequest;function mi(){te.abort()}te.onload=function(){var Be={statusText:te.statusText,headers:q(te.getAllResponseHeaders()||"")};pe.url.indexOf("file://")===0&&(te.status<200||te.status>599)?Be.status=200:Be.status=te.status,Be.url="responseURL"in te?te.responseURL:Be.headers.get("X-Request-URL");var br="response"in te?te.response:te.responseText;setTimeout(function(){U(new ie(br,Be))},0)},te.onerror=function(){setTimeout(function(){ne(new TypeError("Network request failed"))},0)},te.ontimeout=function(){setTimeout(function(){ne(new TypeError("Network request timed out"))},0)},te.onabort=function(){setTimeout(function(){ne(new r.DOMException("Aborted","AbortError"))},0)};function fn(Be){try{return Be===""&&i.location.href?i.location.href:Be}catch{return Be}}if(te.open(pe.method,fn(pe.url),!0),pe.credentials==="include"?te.withCredentials=!0:pe.credentials==="omit"&&(te.withCredentials=!1),"responseType"in te&&(n.blob?te.responseType="blob":n.arrayBuffer&&(te.responseType="arraybuffer")),E&&typeof E.headers=="object"&&!(E.headers instanceof f||i.Headers&&E.headers instanceof i.Headers)){var cl=[];Object.getOwnPropertyNames(E.headers).forEach(function(Be){cl.push(d(Be)),te.setRequestHeader(Be,u(E.headers[Be]))}),pe.headers.forEach(function(Be,br){cl.indexOf(br)===-1&&te.setRequestHeader(br,Be)})}else pe.headers.forEach(function(Be,br){te.setRequestHeader(br,Be)});pe.signal&&(pe.signal.addEventListener("abort",mi),te.onreadystatechange=function(){te.readyState===4&&pe.signal.removeEventListener("abort",mi)}),te.send(typeof pe._bodyInit>"u"?null:pe._bodyInit)})}return W.polyfill=!0,i.fetch||(i.fetch=W,i.Headers=f,i.Request=R,i.Response=ie),r.Headers=f,r.Request=R,r.Response=ie,r.fetch=W,r}({})})(ji);ji.fetch.ponyfill=!0;delete ji.fetch.polyfill;var po=Vi.fetch?Vi:ji;pr=po.fetch;pr.default=po.fetch;pr.fetch=po.fetch;pr.Headers=po.Headers;pr.Request=po.Request;pr.Response=po.Response;zc.exports=pr});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,i=window.customElements,n=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(A,O){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=O.prototype.attributeChangedCallback,H=new Set(O.observedAttributes||[]);y(O,H,R);let q={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:H};this._definitionsByTag.set(A,q),this._definitionsByClass.set(O,q);let ie=r.call(i,A);ie||(ie=f(A),e.call(i,A,ie)),this===window.customElements&&(s.set(O,q),q.standInClass=ie);let ee=this._awaitingUpgrade.get(A);if(ee){this._awaitingUpgrade.delete(A);for(let g of ee)a.delete(g),v(g,q,!0)}let W=this._whenDefinedPromises.get(A);return W!==void 0&&(W.resolve(O),this._whenDefinedPromises.delete(A)),O}upgrade(){T.push(this),i.upgrade.apply(i,arguments),T.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let O=this._getDefinition(A);if(O!==void 0)return Promise.resolve(O.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(H=>R.resolve=H),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,O,R){let H=this._awaitingUpgrade.get(O);H||this._awaitingUpgrade.set(O,H=new Set),R?H.add(A):H.delete(A)}};let d;window.HTMLElement=function(){let O=d;if(O)return d=void 0,O;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return O=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),n.set(O,R),O},window.HTMLElement.prototype=t.prototype;let u=A=>A===document||A instanceof ShadowRoot,h=A=>{let O=A.getRootNode();if(!u(O)){let R=T[T.length-1];if(R instanceof CustomElementRegistry)return R;O=R.getRootNode(),u(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},f=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let H=h(R)||window.customElements,q=H._getDefinition(A);return q?v(R,q):a.set(R,H),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},y=(A,O,R)=>{if(O.size===0||R===void 0)return;let H=A.prototype.setAttribute;H&&(A.prototype.setAttribute=function(ee,W){let g=ee.toLowerCase();if(O.has(g)){let E=this.getAttribute(g);H.call(this,g,W),R.call(this,g,E,W)}else H.call(this,g,W)});let q=A.prototype.removeAttribute;q&&(A.prototype.removeAttribute=function(ee){let W=ee.toLowerCase();if(O.has(W)){let g=this.getAttribute(W);q.call(this,W),R.call(this,W,g,null)}else q.call(this,W)});let ie=A.prototype.toggleAttribute;ie&&(A.prototype.toggleAttribute=function(ee,W){let g=ee.toLowerCase();if(O.has(g)){let E=this.getAttribute(g);ie.call(this,g,W);let U=this.getAttribute(g);R.call(this,g,E,U)}else ie.call(this,g,W)})},S=A=>{let O=Object.getPrototypeOf(A);if(O!==window.HTMLElement)return O===t?Object.setPrototypeOf(A,window.HTMLElement):S(O)},v=(A,O,R=!1)=>{Object.setPrototypeOf(A,O.elementClass.prototype),n.set(A,O),d=A;try{new O.elementClass}catch{S(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach(H=>{A.hasAttribute(H)&&O.attributeChangedCallback.call(A,H,null,A.getAttribute(H))}),R&&O.connectedCallback&&A.isConnected&&O.connectedCallback.call(A)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let O=w.apply(this,arguments);return A.customElements&&(O.customElements=A.customElements),O};let T=[document],$=(A,O,R=void 0)=>{let H=(R?Object.getPrototypeOf(R):A.prototype)[O];A.prototype[O]=function(){T.push(this);let q=H.apply(R||this,arguments);return q!==void 0&&l.set(q,this),T.pop(),q}};$(ShadowRoot,"createElement",document),$(ShadowRoot,"importNode",document),$(Element,"insertAdjacentHTML");let P=(A,O)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,O);Object.defineProperty(A.prototype,O,{...R,set(H){T.push(this),R.set.call(this,H),T.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,O=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let W=O.call(this,...ee);return A.set(W,this),W},R.forEach(ee=>{let W=window.ElementInternals.prototype,g=W[ee];W[ee]=function(...E){let U=A.get(this);if(n.get(U).formAssociated===!0)return g?.call(this,...E);throw new DOMException(`Failed to execute ${g} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class H extends Array{constructor(W){super(...W),this._elements=W}get value(){return this._elements.find(W=>W.checked===!0)?.value||""}}class q{constructor(W){let g=new Map;W.forEach((E,U)=>{let ne=E.getAttribute("name"),pe=g.get(ne)||[];this[+U]=E,pe.push(E),g.set(ne,pe)}),this.length=W.length,g.forEach((E,U)=>{E&&(E.length===1?this[U]=E[0]:this[U]=new H(E))})}namedItem(W){return this[W]}}let ie=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=ie.get.call(this,[]),W=[];for(let g of ee){let E=n.get(g);(!E||E.formAssociated===!0)&&W.push(g)}return new q(W)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,i,n)=>{if(i!==null)try{e.bind(window.customElements)(r,i,n)}catch(a){console.info(r,i,n,a)}}}var Rn={};ae(Rn,{CSSResult:()=>Wr,LitElement:()=>Ht,ReactiveElement:()=>wt,_$LE:()=>iu,_$LH:()=>En,adoptStyles:()=>Ro,css:()=>k,defaultConverter:()=>Vr,getCompatibleStyle:()=>gi,html:()=>C,isServer:()=>jh,mathml:()=>Cn,noChange:()=>He,notEqual:()=>Io,nothing:()=>N,render:()=>wn,supportsAdoptingStyleSheets:()=>Ao,svg:()=>On,unsafeCSS:()=>Et});var yi=globalThis,Ao=yi.ShadowRoot&&(yi.ShadyCSS===void 0||yi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mn=Symbol(),dl=new WeakMap,Wr=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==mn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Ao&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=dl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&dl.set(r,e))}return e}toString(){return this.cssText}},Et=t=>new Wr(typeof t=="string"?t:t+"",void 0,mn),k=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((i,n,a)=>i+(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.")})(n)+t[a+1],t[0]);return new Wr(r,t,mn)},Ro=(t,e)=>{if(Ao)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=yi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},gi=Ao?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return Et(r)})(t):t;var{is:Kp,defineProperty:Zp,getOwnPropertyDescriptor:qp,getOwnPropertyNames:Yp,getOwnPropertySymbols:Xp,getPrototypeOf:Jp}=Object,bi=globalThis,pl=bi.trustedTypes,Qp=pl?pl.emptyScript:"",eu=bi.reactiveElementPolyfillSupport,Lo=(t,e)=>t,Vr={toAttribute(t,e){switch(e){case Boolean:t=t?Qp:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Io=(t,e)=>!Kp(t,e),ul={attribute:!0,type:String,converter:Vr,reflect:!1,useDefault:!1,hasChanged:Io};Symbol.metadata??=Symbol("metadata"),bi.litPropertyMetadata??=new WeakMap;var wt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ul){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&Zp(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){let{get:n,set:a}=qp(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ul}static _$Ei(){if(this.hasOwnProperty(Lo("elementProperties")))return;let e=Jp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Lo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Lo("properties"))){let r=this.properties,i=[...Yp(r),...Xp(r)];for(let n of i)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[r,i]of this.elementProperties){let n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)r.unshift(gi(n))}else e!==void 0&&r.push(gi(e));return r}static _$Eu(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ro(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:Vr).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Vr;this._$Em=n,this[n]=s.fromAttribute(r,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Io)(a,r)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};wt.elementStyles=[],wt.shadowRootOptions={mode:"open"},wt[Lo("elementProperties")]=new Map,wt[Lo("finalized")]=new Map,eu?.({ReactiveElement:wt}),(bi.reactiveElementVersions??=[]).push("2.1.0");var gn=globalThis,xi=gn.trustedTypes,fl=xi?xi.createPolicy("lit-html",{createHTML:t=>t}):void 0,bn="$lit$",zt=`lit$${Math.random().toFixed(9).slice(2)}$`,xn="?"+zt,tu=`<${xn}>`,Sr=document,_o=()=>Sr.createComment(""),$o=t=>t===null||typeof t!="object"&&typeof t!="function",vn=Array.isArray,xl=t=>vn(t)||typeof t?.[Symbol.iterator]=="function",yn=`[
3
- \f\r]`,ko=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,hl=/-->/g,ml=/>/g,xr=RegExp(`>|${yn}(?:([^\\s"'>=/]+)(${yn}*=${yn}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),yl=/'/g,gl=/"/g,vl=/^(?:script|style|textarea|title)$/i,Sn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),C=Sn(1),On=Sn(2),Cn=Sn(3),He=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),bl=new WeakMap,vr=Sr.createTreeWalker(Sr,129);function Sl(t,e){if(!vn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return fl!==void 0?fl.createHTML(e):e}var Ol=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=ko;for(let l=0;l<r;l++){let d=t[l],u,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===ko?h[1]==="!--"?s=hl:h[1]!==void 0?s=ml:h[2]!==void 0?(vl.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=xr):h[3]!==void 0&&(s=xr):s===xr?h[0]===">"?(s=n??ko,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?xr:h[3]==='"'?gl:yl):s===gl||s===yl?s=xr:s===hl||s===ml?s=ko:(s=xr,n=void 0);let S=s===xr&&t[l+1].startsWith("/>")?" ":"";a+=s===ko?d+tu:f>=0?(i.push(u),d.slice(0,f)+bn+d.slice(f)+zt+S):d+zt+(f===-2?l:S)}return[Sl(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},To=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[u,h]=Ol(e,r);if(this.el=t.createElement(u,i),vr.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(n=vr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let f of n.getAttributeNames())if(f.endsWith(bn)){let y=h[s++],S=n.getAttribute(f).split(zt),v=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?Si:v[1]==="?"?Oi:v[1]==="@"?Ci:Cr}),n.removeAttribute(f)}else f.startsWith(zt)&&(d.push({type:6,index:a}),n.removeAttribute(f));if(vl.test(n.tagName)){let f=n.textContent.split(zt),y=f.length-1;if(y>0){n.textContent=xi?xi.emptyScript:"";for(let S=0;S<y;S++)n.append(f[S],_o()),vr.nextNode(),d.push({type:2,index:++a});n.append(f[y],_o())}}}else if(n.nodeType===8)if(n.data===xn)d.push({type:2,index:a});else{let f=-1;for(;(f=n.data.indexOf(zt,f+1))!==-1;)d.push({type:7,index:a}),f+=zt.length-1}a++}}static createElement(e,r){let i=Sr.createElement("template");return i.innerHTML=e,i}};function Or(t,e,r=t,i){if(e===He)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=$o(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=Or(t,n._$AS(t,e.values),n,i)),e}var vi=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??Sr).importNode(r,!0);vr.currentNode=n;let a=vr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new jr(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new Ei(a,this,e)),this._$AV.push(u),d=i[++l]}s!==d?.index&&(a=vr.nextNode(),s++)}return vr.currentNode=Sr,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},jr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Or(this,e,r),$o(e)?e===N||e==null||e===""?(this._$AH!==N&&this._$AR(),this._$AH=N):e!==this._$AH&&e!==He&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):xl(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==N&&$o(this._$AH)?this._$AA.nextSibling.data=e:this.T(Sr.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=To.createElement(Sl(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new vi(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=bl.get(e.strings);return r===void 0&&bl.set(e.strings,r=new To(e)),r}k(e){vn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(_o()),this.O(_o()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Cr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=N,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=N}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Or(this,e,r,0),s=!$o(e)||e!==this._$AH&&e!==He,s&&(this._$AH=e);else{let l=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=Or(this,l[i+d],r,d),u===He&&(u=this._$AH[d]),s||=!$o(u)||u!==this._$AH[d],u===N?e=N:e!==N&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!n&&this.j(e)}j(e){e===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Si=class extends Cr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===N?void 0:e}},Oi=class extends Cr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==N)}},Ci=class extends Cr{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=Or(this,e,r,0)??N)===He)return;let i=this._$AH,n=e===N&&i!==N||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==N&&(i===N||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ei=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Or(this,e)}},En={M:bn,P:zt,A:xn,C:1,L:Ol,R:vi,D:xl,V:Or,I:jr,H:Cr,N:Oi,U:Ci,B:Si,F:Ei},ru=gn.litHtmlPolyfillSupport;ru?.(To,jr),(gn.litHtmlVersions??=[]).push("3.3.0");var wn=(t,e,r)=>{let i=r?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=r?.renderBefore??null;i._$litPart$=n=new jr(e.insertBefore(_o(),a),a,void 0,r??{})}return n._$AI(t),n};var An=globalThis,Ht=class extends wt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=wn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return He}};Ht._$litElement$=!0,Ht.finalized=!0,An.litElementHydrateSupport?.({LitElement:Ht});var ou=An.litElementPolyfillSupport;ou?.({LitElement:Ht});var iu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(An.litElementVersions??=[]).push("4.2.0");var jh=!1;var _n={};ae(_n,{customElement:()=>nu,eventOptions:()=>Gr,property:()=>m,query:()=>z,queryAll:()=>Ln,queryAssignedElements:()=>In,queryAssignedNodes:()=>kn,queryAsync:()=>lu,standardProperty:()=>Cl,state:()=>B});var nu=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var au={attribute:!0,type:String,converter:Vr,reflect:!1,hasChanged:Io},Cl=(t=au,e,r)=>{let{kind:i,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),i==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(i==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+i)};function m(t){return(e,r)=>typeof r=="object"?Cl(t,e,r):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function B(t){return m({...t,state:!0,attribute:!1})}function Gr(t){return(e,r)=>{let i=typeof e=="function"?e:e[r];Object.assign(i,t)}}var gt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function z(t,e){return(r,i,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof i=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return gt(r,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return gt(r,i,{get(){return a(this)}})}}var su;function Ln(t){return(e,r)=>gt(e,r,{get(){return(this.renderRoot??(su??=document.createDocumentFragment())).querySelectorAll(t)}})}function lu(t){return(e,r)=>gt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function In(t){return(e,r)=>{let{slot:i,selector:n}=t??{},a="slot"+(i?`[name=${i}]`:":not([name])");return gt(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function kn(t){return(e,r)=>{let{slot:i}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return gt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var $n={};ae($n,{repeat:()=>we});var At={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},bt=t=>(...e)=>({_$litDirective$:t,values:e}),ut=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:cu}=En;var wl=t=>t.strings===void 0,El=()=>document.createComment(""),Kr=(t,e,r)=>{let i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=i.insertBefore(El(),n),s=i.insertBefore(El(),n);r=new cu(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;i.insertBefore(d,n),d=u}}}return r},er=(t,e,r=t)=>(t._$AI(e,r),t),du={},Al=(t,e=du)=>t._$AH=e,Rl=t=>t._$AH,wi=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let i=e.nextSibling;e.remove(),e=i}};var Ll=(t,e,r)=>{let i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},we=bt(class extends ut{constructor(t){if(super(t),t.type!==At.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of t)n[s]=i?i(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){let n=Rl(t),{values:a,keys:s}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],u,h,f=0,y=n.length-1,S=0,v=a.length-1;for(;f<=y&&S<=v;)if(n[f]===null)f++;else if(n[y]===null)y--;else if(l[f]===s[S])d[S]=er(n[f],a[S]),f++,S++;else if(l[y]===s[v])d[v]=er(n[y],a[v]),y--,v--;else if(l[f]===s[v])d[v]=er(n[f],a[v]),Kr(t,d[v+1],n[f]),f++,v--;else if(l[y]===s[S])d[S]=er(n[y],a[S]),Kr(t,n[f],n[y]),y--,S++;else if(u===void 0&&(u=Ll(s,S,v),h=Ll(l,f,y)),u.has(l[f]))if(u.has(l[y])){let w=h.get(s[S]),T=w!==void 0?n[w]:null;if(T===null){let $=Kr(t,n[f]);er($,a[S]),d[S]=$}else d[S]=er(T,a[S]),Kr(t,n[f],T),n[w]=null;S++}else wi(n[y]),y--;else wi(n[f]),f++;for(;S<=v;){let w=Kr(t,d[v+1]);er(w,a[S]),d[S++]=w}for(;f<=y;){let w=n[f++];w!==null&&wi(w)}return this.ut=s,Al(t,d),He}});var Tn={};ae(Tn,{classMap:()=>ue});var ue=bt(class extends ut{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let r=t.element.classList;for(let i of this.st)i in e||(r.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(r.add(i),this.st.add(i)):(r.remove(i),this.st.delete(i)))}return He}});var Nn={};ae(Nn,{styleMap:()=>uu});var Il="important",pu=" !"+Il,uu=bt(class extends ut{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let i=t[r];return i==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?r.removeProperty(i):r[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(pu);i.includes("-")||a?r.setProperty(i,a?n.slice(0,-11):n,a?Il:""):r[i]=n}}return He}});var Bn={};ae(Bn,{UnsafeHTMLDirective:()=>Zr,unsafeHTML:()=>Pn});var Zr=class extends ut{constructor(e){if(super(e),this.it=N,e.type!==At.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===N||e==null)return this._t=void 0,this.it=e;if(e===He)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Zr.directiveName="unsafeHTML",Zr.resultType=1;var Pn=bt(Zr);var Vn={};ae(Vn,{CacheRegistry:()=>Lt,ClearCacheEvent:()=>Fo});var Fn={};ae(Fn,{CancelablePromise:()=>Ai,CanceledPromiseError:()=>Er,cancelable:()=>Dn});var Er=class extends Error{constructor(e,r,i){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=i}},Ai=class extends Promise{constructor(e){super((r,i)=>e(n=>{this.isCanceled?i(new Er("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?i(new Er("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Dn=t=>new Ai((e,r)=>t.then(e).catch(r));var Wn={};ae(Wn,{FtNotificationEvent:()=>Do,PostResizeEvent:()=>Hn,PreResizeEvent:()=>zn,WithEventBus:()=>Wt,withEventBus:()=>Ii});var Un={};ae(Un,{applyMixinOnce:()=>De,dateReviver:()=>fu,deepCopy:()=>Bo,deepEqual:()=>$e,delay:()=>Ri,eventPathContainsMatchingElement:()=>mu,flatDeep:()=>et,getComposedPathTo:()=>Mn,hasChanged:()=>Rt,last:()=>yu,minmax:()=>Po,parseDate:()=>kl,randomId:()=>gu,unslotText:()=>qr,waitFor:()=>Li,waitUntil:()=>No});var Ri=t=>new Promise(e=>setTimeout(e,t));async function No(t,e=10,r=2e4){await Li(async()=>await t()||void 0,e,r)}async function Li(t,e=10,r=2e4){let i=await t(),n,a;for(n=a=performance.now();i==null&&(!r||a-n<r);)await Ri(e),i=await t(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function et(t,e){return t.flatMap(r=>[r,...et(e(r),e)])}function fu(...t){return(e,r)=>t.includes(e)?kl(r):r}function kl(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,i,n)=>r+i+":"+n),new Date(t)}function hu(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!$e(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!$e(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!$e(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function $e(t,e){try{return hu(t,e)}catch{return!1}}function Rt(t,e){return!$e(t,e)}function mu(t,e,r=window.document.body){if(e.length>0){let i=t.composedPath();for(let n of i){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function Po(t,e,r){return Math.min(Math.max(t,e),r)}function yu(t){return t[t.length-1]}function qr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>qr(e)).join(""):t?.textContent||""}function Mn(t){let e=[],r=i=>{i.stopPropagation(),e=i.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Bo(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function gu(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function De(t,e){let r=i=>i[t]===!0;return i=>{if(r(i))return i;let n=e(i);return n[t]=!0,n}}var Do=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},zn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Hn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ii=De(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}),Wt=class extends Ii(Object){};var Fo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Lt=class extends Wt{constructor(){super(...arguments),this.content={}}register(e,r,i=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:r,final:i,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let i=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&i.length>0&&this.dispatchEvent(new Fo(i)),i}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Fo([e])),e}forceClear(e){var r;let i=this.content[e];i&&(this.clearClearTimeout(e),(r=i.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:i.loader,final:i.final,status:"REGISTERED"})}clearClearTimeout(e){var r,i,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((i=this.content[e])===null||i===void 0?void 0:i.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,i=!1){this.forceClear(e);let n=async()=>r,a="RESOLVED";this.content[e]={loader:n,final:i,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,i){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=Dn(r()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,i!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),i)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,i;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((i=this.content[e])===null||i===void 0?void 0:i.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Kn={};ae(Kn,{ClusteringHelper:()=>Gn,formatHierarchicalValues:()=>jn});function jn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Gn=class t{constructor(e,r,i,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){var r,i,n,a,s;let l=((a=(i=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&i!==void 0?i:(n=e.result)===null||n===void 0?void 0:n.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,i){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(jn(l)),s.push(jn(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,i="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(f=>f??{key:e,label:u,value:void 0,displayValue:i}).filter(f=>f.value!=d?.value).filter((f,y,S)=>S.findIndex(v=>v.value===f.value)===y).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,y)=>this.compareMetadata(f.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,i,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let i=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let u=this.countMatchingMetadata(d,a);if(u>l&&(l=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(i=>r.some(n=>n.key===i.key&&n.value===i.value)).length}};var Zn={};ae(Zn,{Debouncer:()=>le});var le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(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 qn={};ae(qn,{customElement:()=>V,dateProperty:()=>xu,isNumber:()=>_l,jsonProperty:()=>Ae,numberProperty:()=>Yr,optionalNumberProperty:()=>bu});var V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ae(t,e){let r=()=>JSON.parse(JSON.stringify(t));return m({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Rt,...e??{}})}function bu(t){return Yr(t)}function Yr(t){return m({type:Object,converter:{fromAttribute:e=>{if(e!=null)return _l(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function _l(t){return!isNaN(parseFloat(t))}function xu(t){return m({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Oa={};ae(Oa,{designSystemVariables:()=>L});var Sa={};ae(Sa,{DesignSystemFamily:()=>tt,DesignSystemSize:()=>Te,FtCssVariableFactory:()=>o,badge:()=>Ru,banner:()=>Au,button:()=>x,chart:()=>Wu,checkbox:()=>Ou,chip:()=>j,chipChoice:()=>Eu,collapsible:()=>zu,comboboxMultiSelect:()=>Mu,comboboxSingleSelect:()=>Fu,dateRangePicker:()=>Yu,drawer:()=>Tu,floatingMenu:()=>Du,foundation:()=>c,link:()=>wu,modal:()=>$u,notice:()=>ju,notification:()=>Ku,pageDesigner:()=>Vu,pageFooter:()=>ku,pageHeader:()=>Iu,pageLayout:()=>_u,popover:()=>Uu,radio:()=>re,reorderableList:()=>qu,resolveFamilyClass:()=>xa,resolveSizeClass:()=>va,semantic:()=>p,setVariable:()=>b,switch_:()=>Hu,table:()=>Cu,tabs:()=>Nu,textArea:()=>Bu,textInput:()=>Pu,titleBreadcrumb:()=>Lu,toggle:()=>Gu,tooltip:()=>Zu,treeList:()=>Su,typographies:()=>Mo,typographyBody1Medium:()=>ta,typographyBody1Regular:()=>ea,typographyBody1Semibold:()=>ra,typographyBody2Medium:()=>wr,typographyBody2MediumUnderline:()=>$l,typographyBody2Regular:()=>oa,typographyBody2Semibold:()=>ia,typographyCaption1Bold:()=>fa,typographyCaption1Medium:()=>pa,typographyCaption1Semibold:()=>ua,typographyCaption2Bold:()=>ma,typographyCaption2Medium:()=>rr,typographyCaption2Semibold:()=>ha,typographyCaption3Bold:()=>ba,typographyCaption3Medium:()=>ya,typographyCaption3Semibold:()=>ga,typographyDisplay:()=>Yn,typographyLabel1Bold:()=>sa,typographyLabel1Medium:()=>na,typographyLabel1Semibold:()=>aa,typographyLabel2Bold:()=>da,typographyLabel2Medium:()=>la,typographyLabel2Semibold:()=>ca,typographyTitle1:()=>Xn,typographyTitle2:()=>Jn,typographyTitle3:()=>Qn,typographyVariants:()=>vu});var tr=t=>typeof t=="string"?Et(t):t,o=class{static create(e,r,i,n){let a=l=>tr(l??n),s=k`var(${tr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>b(s,l??a(n)),s.get=l=>k`var(${tr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=k`var(${tr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>b(s,l??a(n)),s.get=l=>k`var(${tr(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=k`var(${tr(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>k`var(${tr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function b(t,e){return tr(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Yn={fontFamily:o.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-text-case","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},wr={fontFamily:o.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},$l={fontFamily:o.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},ia={fontFamily:o.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},aa={fontFamily:o.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},rr={fontFamily:o.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ha={fontFamily:o.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},ya={fontFamily:o.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},ga={fontFamily:o.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Mo={display:Yn,"title-1":Xn,"title-2":Jn,"title-3":Qn,"body-1-regular":ea,"body-1-medium":ta,"body-1-semibold":ra,"body-2-regular":oa,"body-2-medium":wr,"body-2-medium-underline":$l,"body-2-semibold":ia,"label-1-medium":na,"label-1-semibold":aa,"label-1-bold":sa,"label-2-medium":la,"label-2-semibold":ca,"label-2-bold":da,"caption-1-medium":pa,"caption-1-semibold":ua,"caption-1-bold":fa,"caption-2-medium":rr,"caption-2-semibold":ha,"caption-2-bold":ma,"caption-3-medium":ya,"caption-3-semibold":ga,"caption-3-bold":ba},vu=["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:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var x={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Su={loadMoreIconSize:o.extend("--ft-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ft-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ft-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ft-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ft-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ft-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ft-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ft-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ft-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ft-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ft-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var Ou={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)};var re={circleSize:o.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ft-radio-border-width","","SIZE","2px"),color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ft-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ft-radio-horizontal-gap","",c.spacing3)};var Cu={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)};var Eu={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var j={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var wu={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Au={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Ru={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Lu={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Iu={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var ku={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var _u={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var $u={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Tu={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Nu={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Pu={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Bu={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)};var Du={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Fu={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Mu={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)};var Uu={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",c.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)};var zu={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Hu={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Wu={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Vu={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var ju={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var Gu={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var Ku={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var Zu={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var qu={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var Yu={menuHorizontalPadding:o.extend("--ft-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ft-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ft-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var tt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(tt||(tt={}));var Te;(function(t){t.large="large",t.medium="medium",t.small="small"})(Te||(Te={}));function xa(t){return`ftds--family-${t}`}function va(t){return`ftds--size-${t}`}var L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ca={};ae(Ca,{DynamicImporter:()=>ki,dynamicImporter:()=>Xu});var ki=class{async import(e){return import(e)}},Xu=new ki;var Ma={};ae(Ma,{computeOffsetAutoPosition:()=>Fa,computeOffsetPosition:()=>Da});var Nl=["top","right","bottom","left"],Tl=["start","end"],wa=Nl.reduce((t,e)=>t.concat(e,e+"-"+Tl[0],e+"-"+Tl[1]),[]),_i=Math.min,or=Math.max;var Ju={left:"right",right:"left",bottom:"top",top:"bottom"},Qu={start:"end",end:"start"};function Aa(t,e,r){return or(t,_i(e,r))}function Xr(t,e){return typeof t=="function"?t(e):t}function ir(t){return t.split("-")[0]}function It(t){return t.split("-")[1]}function Ra(t){return t==="x"?"y":"x"}function La(t){return t==="y"?"height":"width"}function Jr(t){return["top","bottom"].includes(ir(t))?"y":"x"}function Ia(t){return Ra(Jr(t))}function Pl(t,e,r){r===void 0&&(r=!1);let i=It(t),n=Ia(t),a=La(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ea(s)),[s,Ea(s)]}function Bl(t){return t.replace(/start|end/g,e=>Qu[e])}function Ea(t){return t.replace(/left|right|bottom|top/g,e=>Ju[e])}function ef(t){return{top:0,right:0,bottom:0,left:0,...t}}function Dl(t){return typeof t!="number"?ef(t):{top:t,right:t,bottom:t,left:t}}function Ar(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function Fl(t,e,r){let{reference:i,floating:n}=t,a=Jr(e),s=Ia(e),l=La(s),d=ir(e),u=a==="y",h=i.x+i.width/2-n.width/2,f=i.y+i.height/2-n.height/2,y=i[l]/2-n[l]/2,S;switch(d){case"top":S={x:h,y:i.y-n.height};break;case"bottom":S={x:h,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y:f};break;case"left":S={x:i.x-n.width,y:f};break;default:S={x:i.x,y:i.y}}switch(It(e)){case"start":S[s]-=y*(r&&u?-1:1);break;case"end":S[s]+=y*(r&&u?-1:1);break}return S}var Ml=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y:f}=Fl(u,i,d),y=i,S={},v=0;for(let w=0;w<l.length;w++){let{name:T,fn:$}=l[w],{x:P,y:A,data:O,reset:R}=await $({x:h,y:f,initialPlacement:i,placement:y,strategy:n,middlewareData:S,rects:u,platform:s,elements:{reference:t,floating:e}});h=P??h,f=A??f,S={...S,[T]:{...S[T],...O}},R&&v<=50&&(v++,typeof R=="object"&&(R.placement&&(y=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):R.rects),{x:h,y:f}=Fl(u,y,d)),w=-1)}return{x:h,y:f,placement:y,strategy:n,middlewareData:S}};async function $i(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:S=0}=Xr(e,t),v=Dl(S),T=l[y?f==="floating"?"reference":"floating":f],$=Ar(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(T)))==null||r?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),P=f==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=Ar(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:A,strategy:d}):P);return{top:($.top-R.top+v.top)/O.y,bottom:(R.bottom-$.bottom+v.bottom)/O.y,left:($.left-R.left+v.left)/O.x,right:(R.right-$.right+v.right)/O.x}}function tf(t,e,r){return(t?[...r.filter(n=>It(n)===t),...r.filter(n=>It(n)!==t)]:r.filter(n=>ir(n)===n)).filter(n=>t?It(n)===t||(e?Bl(n)!==n:!1):!0)}var Ti=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:y=wa,autoAlignment:S=!0,...v}=Xr(t,e),w=f!==void 0||y===wa?tf(f||null,S,y):y,T=await $i(e,v),$=((r=s.autoPlacement)==null?void 0:r.index)||0,P=w[$];if(P==null)return{};let A=Pl(P,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==P)return{reset:{placement:w[0]}};let O=[T[ir(P)],T[A[0]],T[A[1]]],R=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:P,overflows:O}],H=w[$+1];if(H)return{data:{index:$+1,overflows:R},reset:{placement:H}};let q=R.map(W=>{let g=It(W.placement);return[W.placement,g&&h?W.overflows.slice(0,2).reduce((E,U)=>E+U,0):W.overflows[0],W.overflows]}).sort((W,g)=>W[1]-g[1]),ee=((n=q.filter(W=>W[2].slice(0,It(W[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||q[0][0];return ee!==l?{data:{index:$+1,overflows:R},reset:{placement:ee}}:{}}}};async function rf(t,e){let{placement:r,platform:i,elements:n}=t,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=ir(r),l=It(r),d=Jr(r)==="y",u=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=Xr(e,t),{mainAxis:y,crossAxis:S,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof v=="number"&&(S=l==="end"?v*-1:v),d?{x:S*h,y:y*u}:{x:y*u,y:S*h}}var ka=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await rf(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},_a=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:T=>{let{x:$,y:P}=T;return{x:$,y:P}}},...d}=Xr(t,e),u={x:r,y:i},h=await $i(e,d),f=Jr(ir(n)),y=Ra(f),S=u[y],v=u[f];if(a){let T=y==="y"?"top":"left",$=y==="y"?"bottom":"right",P=S+h[T],A=S-h[$];S=Aa(P,S,A)}if(s){let T=f==="y"?"top":"left",$=f==="y"?"bottom":"right",P=v+h[T],A=v-h[$];v=Aa(P,v,A)}let w=l.fn({...e,[y]:S,[f]:v});return{...w,data:{x:w.x-r,y:w.y-i,enabled:{[y]:a,[f]:s}}}}}};var $a=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...u}=Xr(t,e),h=await $i(e,u),f=ir(n),y=It(n),S=Jr(n)==="y",{width:v,height:w}=a.floating,T,$;f==="top"||f==="bottom"?(T=f,$=y===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):($=f,T=y==="end"?"top":"bottom");let P=w-h.top-h.bottom,A=v-h.left-h.right,O=_i(w-h[T],P),R=_i(v-h[$],A),H=!e.middlewareData.shift,q=O,ie=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(ie=A),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(q=P),H&&!y){let W=or(h.left,0),g=or(h.right,0),E=or(h.top,0),U=or(h.bottom,0);S?ie=v-2*(W!==0||g!==0?W+g:or(h.left,h.right)):q=w-2*(E!==0||U!==0?E+U:or(h.top,h.bottom))}await d({...e,availableWidth:ie,availableHeight:q});let ee=await s.getDimensions(l.floating);return v!==ee.width||w!==ee.height?{reset:{rects:!0}}:{}}}};var Ta=Math.min,Qr=Math.max,Uo=Math.round;var Vt=t=>({x:t,y:t});function jt(t){return zl(t)?(t.nodeName||"").toLowerCase():"#document"}function qe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Gt(t){var e;return(e=(zl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zl(t){return t instanceof Node||t instanceof qe(t).Node}function kt(t){return t instanceof Element||t instanceof qe(t).Element}function xt(t){return t instanceof HTMLElement||t instanceof qe(t).HTMLElement}function Ul(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof qe(t).ShadowRoot}function eo(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=rt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function Hl(t){return["table","td","th"].includes(jt(t))}function Pi(t){let e=Bi(),r=rt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Wl(t){let e=Rr(t);for(;xt(e)&&!zo(e);){if(Pi(e))return e;e=Rr(e)}return null}function Bi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function zo(t){return["html","body","#document"].includes(jt(t))}function rt(t){return qe(t).getComputedStyle(t)}function Ho(t){return kt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Rr(t){if(jt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ul(t)&&t.host||Gt(t);return Ul(e)?e.host:e}function Vl(t){let e=Rr(t);return zo(e)?t.ownerDocument?t.ownerDocument.body:t.body:xt(e)&&eo(e)?e:Vl(e)}function Ni(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Vl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=qe(n);return a?e.concat(s,s.visualViewport||[],eo(n)?n:[],s.frameElement&&r?Ni(s.frameElement):[]):e.concat(n,Ni(n,[],r))}function Kl(t){let e=rt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=xt(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=Uo(r)!==a||Uo(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function Zl(t){return kt(t)?t:t.contextElement}function to(t){let e=Zl(t);if(!xt(e))return Vt(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Kl(e),s=(a?Uo(r.width):r.width)/i,l=(a?Uo(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var of=Vt(0);function ql(t){let e=qe(t);return!Bi()||!e.visualViewport?of:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function nf(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==qe(t)?!1:e}function Wo(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=Zl(t),s=Vt(1);e&&(i?kt(i)&&(s=to(i)):s=to(t));let l=nf(a,r,i)?ql(a):Vt(0),d=(n.left+l.x)/s.x,u=(n.top+l.y)/s.y,h=n.width/s.x,f=n.height/s.y;if(a){let y=qe(a),S=i&&kt(i)?qe(i):i,v=y.frameElement;for(;v&&i&&S!==y;){let w=to(v),T=v.getBoundingClientRect(),$=rt(v),P=T.left+(v.clientLeft+parseFloat($.paddingLeft))*w.x,A=T.top+(v.clientTop+parseFloat($.paddingTop))*w.y;d*=w.x,u*=w.y,h*=w.x,f*=w.y,d+=P,u+=A,v=qe(v).frameElement}}return Ar({width:h,height:f,x:d,y:u})}function af(t){let{rect:e,offsetParent:r,strategy:i}=t,n=xt(r),a=Gt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Vt(1),d=Vt(0);if((n||!n&&i!=="fixed")&&((jt(r)!=="body"||eo(a))&&(s=Ho(r)),xt(r))){let u=Wo(r);l=to(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function sf(t){return Array.from(t.getClientRects())}function Yl(t){return Wo(Gt(t)).left+Ho(t).scrollLeft}function lf(t){let e=Gt(t),r=Ho(t),i=t.ownerDocument.body,n=Qr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Qr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Yl(t),l=-r.scrollTop;return rt(i).direction==="rtl"&&(s+=Qr(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function cf(t,e){let r=qe(t),i=Gt(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let u=Bi();(!u||u&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function df(t,e){let r=Wo(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=xt(t)?to(t):Vt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,u=i*a.y;return{width:s,height:l,x:d,y:u}}function jl(t,e,r){let i;if(e==="viewport")i=cf(t,r);else if(e==="document")i=lf(Gt(t));else if(kt(e))i=df(e,r);else{let n=ql(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Ar(i)}function Xl(t,e){let r=Rr(t);return r===e||!kt(r)||zo(r)?!1:rt(r).position==="fixed"||Xl(r,e)}function pf(t,e){let r=e.get(t);if(r)return r;let i=Ni(t,[],!1).filter(l=>kt(l)&&jt(l)!=="body"),n=null,a=rt(t).position==="fixed",s=a?Rr(t):t;for(;kt(s)&&!zo(s);){let l=rt(s),d=Pi(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||eo(s)&&!d&&Xl(t,s))?i=i.filter(h=>h!==s):n=l,s=Rr(s)}return e.set(t,i),i}function uf(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?pf(e,this._c):[].concat(r),i],l=s[0],d=s.reduce((u,h)=>{let f=jl(e,h,n);return u.top=Qr(f.top,u.top),u.right=Ta(f.right,u.right),u.bottom=Ta(f.bottom,u.bottom),u.left=Qr(f.left,u.left),u},jl(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function ff(t){return Kl(t)}function hf(t,e,r){let i=xt(e),n=Gt(e),a=r==="fixed",s=Wo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Vt(0);if(i||!i&&!a)if((jt(e)!=="body"||eo(n))&&(l=Ho(e)),i){let u=Wo(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else n&&(d.x=Yl(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Gl(t,e){return!xt(t)||rt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Jl(t,e){let r=qe(t);if(!xt(t))return r;let i=Gl(t,e);for(;i&&Hl(i)&&rt(i).position==="static";)i=Gl(i,e);return i&&(jt(i)==="html"||jt(i)==="body"&&rt(i).position==="static"&&!Pi(i))?r:i||Wl(t)||r}var mf=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Jl,a=this.getDimensions;return{reference:hf(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function yf(t){return rt(t).direction==="rtl"}var ro={convertOffsetParentRelativeRectToViewportRelativeRect:af,getDocumentElement:Gt,getClippingRect:uf,getOffsetParent:Jl,getElementRects:mf,getClientRects:sf,getDimensions:ff,getScale:to,isElement:kt,isRTL:yf};var Na=(t,e,r)=>{let i=new Map,n={platform:ro,...r},a={...n.platform,_c:i};return Ml(t,e,{...n,platform:a})};function Ba(t){return gf(t)}function Pa(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function gf(t){for(let e=t;e;e=Pa(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Pa(t);e;e=Pa(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Da(t,e,r){return Na(t,e,{platform:{...ro,getOffsetParent:i=>ro.getOffsetParent(i,Ba)},middleware:[_a({crossAxis:!0}),Ti({allowedPlacements:[r]})]})}async function Fa(t,e,r,i,n,a,s=4){return Na(t,e,{placement:r,strategy:n,platform:{...ro,getOffsetParent:l=>ro.getOffsetParent(l,Ba)},middleware:[ka(s),Ti({allowedPlacements:i}),$a({apply({availableHeight:l,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Va={};ae(Va,{FtdsBase:()=>Go,toFtdsBase:()=>_t});var Wa={};ae(Wa,{FtLitElement:()=>M});var Ua={};ae(Ua,{ScopedRegistryLitElement:()=>Vo});var Vo=class extends Ht{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return Ro(i,e.elementStyles),i}};var Ha={};ae(Ha,{shadowQuerySelector:()=>za,shadowQuerySelectorAll:()=>bf});function za(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function bf(t,e,...r){let i=[...t.querySelectorAll(e)];for(let n of r)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var jo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},rc,Ql=Symbol("constructorPrototype"),ec=Symbol("constructorName"),oc=Symbol("exportpartsDebouncer"),tc=Symbol("dynamicDependenciesLoaded"),M=class extends Vo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rc]=new le(5),this[ec]=this.constructor.name,this[Ql]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ec]&&Object.setPrototypeOf(this,this[Ql])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[tc]||(e[tc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=za(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}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 e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[oc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.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(e){var r,i,n,a,s,l;let d=y=>y!=null&&y.trim().length>0,u=e.filter(d).map(y=>y.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let S=(a=(n=y.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],v=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(w=>w.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...v).filter(d).map(w=>w.trim()).forEach(w=>h.add(w))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(y=>u.map(S=>`${y}:${S}--${y}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};rc=oc;jo([m()],M.prototype,"exportpartsPrefix",void 0);jo([Ae([])],M.prototype,"exportpartsPrefixes",void 0);jo([m()],M.prototype,"customStylesheet",void 0);jo([m()],M.prototype,"elementToFocus",void 0);jo([B()],M.prototype,"useAdoptedStyleSheets",void 0);var ic=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_t=De(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Te.medium,this.family=tt.neutral}getDesignSystemBaseClasses(){return{[xa(this.family)]:!0,[va(this.size)]:!0}}}return ic([m()],e.prototype,"size",void 0),ic([m()],e.prototype,"family",void 0),e}),Go=class extends _t(M){};var nc={};var Ka={};ae(Ka,{highlightHtml:()=>Ga,highlightHtmlColorCssVariable:()=>ac,highlightHtmlStyles:()=>vf});var Lr=class t{constructor(e,r=!0,i=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=i,this.iframesTimeout=n}static matches(e,r){let i=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=r.filter(a=>a.contains(i)).length>0;r.indexOf(i)===-1&&!n&&r.push(i)}),r}getIframeContents(e,r,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&r(n)}isIframeBlank(e){let r="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&i!==r&&i}observeIframeLoad(e,r,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,i):this.getIframeContents(e,r,i):this.observeIframeLoad(e,r,i)}catch{i()}}waitForIframes(e,r){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||r()})},n=>{n||r()})}forEachIframe(e,r,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{r(u)&&(l++,i(h)),d()},d)})}createIterator(e,r,i){return document.createNodeIterator(e,r,i,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),i;return r===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:r,node:i}}checkIframeFilter(e,r,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,r,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,i,n)})})}iterateThroughNodes(e,r,i,n,a){let s=this.createIterator(r,e,n),l=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(u,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,S=>d.push(S),n)}),d.push(u);d.forEach(y=>{i(y)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,r,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Ko=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Lr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[r]=="function"&&i[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[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!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&r.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",i=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"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):i.trim()&&r.indexOf(i)===-1&&r.push(i)}),{keywords:r.sort((i,n)=>n.length-i.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,r.push(n),i=s)}),r}callNoMatchOnInvalidRanges(e,r){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,r,i){let n,a=!0,s=i.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:i})})}matchesExclude(e){return Lr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(i-r),l=document.createElement(n);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(e,r,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let u=r-s.start,h=(i>s.end?s.end:i)-s.start,f=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+y,e.nodes.forEach((S,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].end-=h)}),i-=h,a(s.node.previousSibling,s.start),i>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!i(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,f=>i(d[s],f),(f,y)=>{e.lastIndex=y,n(f)})}a()})}wrapRangeFromIndex(e,r,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,y=>r(y,l,a.value.substring(u,h),d),y=>{i(y,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));r.replaceChild(i,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,r){this.opt=r;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(y,S)=>this.opt.filter(S,u,i,f),y=>{f++,i++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(i):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,r){this.opt=r;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=Lr.matches(i,r),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ja(t){let e=new Ko(t);return this.mark=(r,i)=>(e.mark(r,i),this),this.markRegExp=(r,i)=>(e.markRegExp(r,i),this),this.markRanges=(r,i)=>(e.markRanges(r,i),this),this.unmark=r=>(e.unmark(r),this),this}var xf=ja,ac=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),vf=k`
1
+ "use strict";(()=>{var zp=Object.create;var fn=Object.defineProperty;var Hp=Object.getOwnPropertyDescriptor;var Wp=Object.getOwnPropertyNames;var Vp=Object.getPrototypeOf,jp=Object.prototype.hasOwnProperty;var Gp=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ae=(t,e)=>{for(var r in e)fn(t,r,{get:e[r],enumerable:!0})},Kp=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Wp(e))!jp.call(t,n)&&n!==r&&fn(t,n,{get:()=>e[n],enumerable:!(i=Hp(e,n))||i.enumerable});return t};var Zp=(t,e,r)=>(r=t!=null?zp(Vp(t)):{},Kp(e||!t||!t.__esModule?fn(r,"default",{value:t,enumerable:!0}):r,t));var Vc=Gp((ur,Wc)=>{var Wi=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Vi=function(){function t(){this.fetch=!1,this.DOMException=Wi.DOMException}return t.prototype=Wi,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.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(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function d(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function u(g){return typeof g!="string"&&(g=String(g)),g}function h(g){var E={next:function(){var U=g.shift();return{done:U===void 0,value:U}}};return n.iterable&&(E[Symbol.iterator]=function(){return E}),E}function f(g){this.map={},g instanceof f?g.forEach(function(E,U){this.append(U,E)},this):Array.isArray(g)?g.forEach(function(E){if(E.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+E.length);this.append(E[0],E[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(E){this.append(E,g[E])},this)}f.prototype.append=function(g,E){g=d(g),E=u(E);var U=this.map[g];this.map[g]=U?U+", "+E:E},f.prototype.delete=function(g){delete this.map[d(g)]},f.prototype.get=function(g){return g=d(g),this.has(g)?this.map[g]:null},f.prototype.has=function(g){return this.map.hasOwnProperty(d(g))},f.prototype.set=function(g,E){this.map[d(g)]=u(E)},f.prototype.forEach=function(g,E){for(var U in this.map)this.map.hasOwnProperty(U)&&g.call(E,this.map[U],U,this)},f.prototype.keys=function(){var g=[];return this.forEach(function(E,U){g.push(U)}),h(g)},f.prototype.values=function(){var g=[];return this.forEach(function(E){g.push(E)}),h(g)},f.prototype.entries=function(){var g=[];return this.forEach(function(E,U){g.push([U,E])}),h(g)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function S(g){return new Promise(function(E,U){g.onload=function(){E(g.result)},g.onerror=function(){U(g.error)}})}function v(g){var E=new FileReader,U=S(E);return E.readAsArrayBuffer(g),U}function w(g){var E=new FileReader,U=S(E),ne=/charset=([A-Za-z0-9_-]+)/.exec(g.type),pe=ne?ne[1]:"utf-8";return E.readAsText(g,pe),U}function $(g){for(var E=new Uint8Array(g),U=new Array(E.length),ne=0;ne<E.length;ne++)U[ne]=String.fromCharCode(E[ne]);return U.join("")}function T(g){if(g.slice)return g.slice(0);var E=new Uint8Array(g.byteLength);return E.set(new Uint8Array(g)),E.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&a(g)?(this._bodyArrayBuffer=T(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||l(g))?this._bodyArrayBuffer=T(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=y(this);if(g)return g;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 g=y(this);return g||(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(n.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=y(this);if(g)return g;if(this._bodyBlob)return w(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)},n.formData&&(this.formData=function(){return this.text().then(H)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function O(g){var E=g.toUpperCase();return A.indexOf(E)>-1?E:g}function R(g,E){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');E=E||{};var U=E.body;if(g instanceof R){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,E.headers||(this.headers=new f(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!U&&g._bodyInit!=null&&(U=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=E.credentials||this.credentials||"same-origin",(E.headers||!this.headers)&&(this.headers=new f(E.headers)),this.method=O(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.signal=E.signal||this.signal||function(){if("AbortController"in i){var te=new AbortController;return te.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&U)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(U),(this.method==="GET"||this.method==="HEAD")&&(E.cache==="no-store"||E.cache==="no-cache")){var ne=/([?&])_=[^&]*/;if(ne.test(this.url))this.url=this.url.replace(ne,"$1_="+new Date().getTime());else{var pe=/\?/;this.url+=(pe.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function H(g){var E=new FormData;return g.trim().split("&").forEach(function(U){if(U){var ne=U.split("="),pe=ne.shift().replace(/\+/g," "),te=ne.join("=").replace(/\+/g," ");E.append(decodeURIComponent(pe),decodeURIComponent(te))}}),E}function q(g){var E=new f,U=g.replace(/\r?\n[\t ]+/g," ");return U.split("\r").map(function(ne){return ne.indexOf(`
2
+ `)===0?ne.substr(1,ne.length):ne}).forEach(function(ne){var pe=ne.split(":"),te=pe.shift().trim();if(te){var hi=pe.join(":").trim();try{E.append(te,hi)}catch(un){console.warn("Response "+un.message)}}}),E}N.call(R.prototype);function ie(g,E){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(E||(E={}),this.type="default",this.status=E.status===void 0?200:E.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=E.statusText===void 0?"":""+E.statusText,this.headers=new f(E.headers),this.url=E.url||"",this._initBody(g)}N.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},ie.error=function(){var g=new ie(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var ee=[301,302,303,307,308];ie.redirect=function(g,E){if(ee.indexOf(E)===-1)throw new RangeError("Invalid status code");return new ie(null,{status:E,headers:{location:g}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(E,U){this.message=E,this.name=U;var ne=Error(E);this.stack=ne.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function W(g,E){return new Promise(function(U,ne){var pe=new R(g,E);if(pe.signal&&pe.signal.aborted)return ne(new r.DOMException("Aborted","AbortError"));var te=new XMLHttpRequest;function hi(){te.abort()}te.onload=function(){var Be={statusText:te.statusText,headers:q(te.getAllResponseHeaders()||"")};pe.url.indexOf("file://")===0&&(te.status<200||te.status>599)?Be.status=200:Be.status=te.status,Be.url="responseURL"in te?te.responseURL:Be.headers.get("X-Request-URL");var xr="response"in te?te.response:te.responseText;setTimeout(function(){U(new ie(xr,Be))},0)},te.onerror=function(){setTimeout(function(){ne(new TypeError("Network request failed"))},0)},te.ontimeout=function(){setTimeout(function(){ne(new TypeError("Network request timed out"))},0)},te.onabort=function(){setTimeout(function(){ne(new r.DOMException("Aborted","AbortError"))},0)};function un(Be){try{return Be===""&&i.location.href?i.location.href:Be}catch{return Be}}if(te.open(pe.method,un(pe.url),!0),pe.credentials==="include"?te.withCredentials=!0:pe.credentials==="omit"&&(te.withCredentials=!1),"responseType"in te&&(n.blob?te.responseType="blob":n.arrayBuffer&&(te.responseType="arraybuffer")),E&&typeof E.headers=="object"&&!(E.headers instanceof f||i.Headers&&E.headers instanceof i.Headers)){var cl=[];Object.getOwnPropertyNames(E.headers).forEach(function(Be){cl.push(d(Be)),te.setRequestHeader(Be,u(E.headers[Be]))}),pe.headers.forEach(function(Be,xr){cl.indexOf(xr)===-1&&te.setRequestHeader(xr,Be)})}else pe.headers.forEach(function(Be,xr){te.setRequestHeader(xr,Be)});pe.signal&&(pe.signal.addEventListener("abort",hi),te.onreadystatechange=function(){te.readyState===4&&pe.signal.removeEventListener("abort",hi)}),te.send(typeof pe._bodyInit>"u"?null:pe._bodyInit)})}return W.polyfill=!0,i.fetch||(i.fetch=W,i.Headers=f,i.Request=R,i.Response=ie),r.Headers=f,r.Request=R,r.Response=ie,r.fetch=W,r}({})})(Vi);Vi.fetch.ponyfill=!0;delete Vi.fetch.polyfill;var co=Wi.fetch?Wi:Vi;ur=co.fetch;ur.default=co.fetch;ur.fetch=co.fetch;ur.Headers=co.Headers;ur.Request=co.Request;ur.Response=co.Response;Wc.exports=ur});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,i=window.customElements,n=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(A,O){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=O.prototype.attributeChangedCallback,H=new Set(O.observedAttributes||[]);y(O,H,R);let q={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:H};this._definitionsByTag.set(A,q),this._definitionsByClass.set(O,q);let ie=r.call(i,A);ie||(ie=f(A),e.call(i,A,ie)),this===window.customElements&&(s.set(O,q),q.standInClass=ie);let ee=this._awaitingUpgrade.get(A);if(ee){this._awaitingUpgrade.delete(A);for(let g of ee)a.delete(g),v(g,q,!0)}let W=this._whenDefinedPromises.get(A);return W!==void 0&&(W.resolve(O),this._whenDefinedPromises.delete(A)),O}upgrade(){$.push(this),i.upgrade.apply(i,arguments),$.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let O=this._getDefinition(A);if(O!==void 0)return Promise.resolve(O.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(H=>R.resolve=H),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,O,R){let H=this._awaitingUpgrade.get(O);H||this._awaitingUpgrade.set(O,H=new Set),R?H.add(A):H.delete(A)}};let d;window.HTMLElement=function(){let O=d;if(O)return d=void 0,O;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return O=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),n.set(O,R),O},window.HTMLElement.prototype=t.prototype;let u=A=>A===document||A instanceof ShadowRoot,h=A=>{let O=A.getRootNode();if(!u(O)){let R=$[$.length-1];if(R instanceof CustomElementRegistry)return R;O=R.getRootNode(),u(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},f=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let H=h(R)||window.customElements,q=H._getDefinition(A);return q?v(R,q):a.set(R,H),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},y=(A,O,R)=>{if(O.size===0||R===void 0)return;let H=A.prototype.setAttribute;H&&(A.prototype.setAttribute=function(ee,W){let g=ee.toLowerCase();if(O.has(g)){let E=this.getAttribute(g);H.call(this,g,W),R.call(this,g,E,W)}else H.call(this,g,W)});let q=A.prototype.removeAttribute;q&&(A.prototype.removeAttribute=function(ee){let W=ee.toLowerCase();if(O.has(W)){let g=this.getAttribute(W);q.call(this,W),R.call(this,W,g,null)}else q.call(this,W)});let ie=A.prototype.toggleAttribute;ie&&(A.prototype.toggleAttribute=function(ee,W){let g=ee.toLowerCase();if(O.has(g)){let E=this.getAttribute(g);ie.call(this,g,W);let U=this.getAttribute(g);R.call(this,g,E,U)}else ie.call(this,g,W)})},S=A=>{let O=Object.getPrototypeOf(A);if(O!==window.HTMLElement)return O===t?Object.setPrototypeOf(A,window.HTMLElement):S(O)},v=(A,O,R=!1)=>{Object.setPrototypeOf(A,O.elementClass.prototype),n.set(A,O),d=A;try{new O.elementClass}catch{S(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach(H=>{A.hasAttribute(H)&&O.attributeChangedCallback.call(A,H,null,A.getAttribute(H))}),R&&O.connectedCallback&&A.isConnected&&O.connectedCallback.call(A)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let O=w.apply(this,arguments);return A.customElements&&(O.customElements=A.customElements),O};let $=[document],T=(A,O,R=void 0)=>{let H=(R?Object.getPrototypeOf(R):A.prototype)[O];A.prototype[O]=function(){$.push(this);let q=H.apply(R||this,arguments);return q!==void 0&&l.set(q,this),$.pop(),q}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let N=(A,O)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,O);Object.defineProperty(A.prototype,O,{...R,set(H){$.push(this),R.set.call(this,H),$.pop()}})};if(N(Element,"innerHTML"),N(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,O=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let W=O.call(this,...ee);return A.set(W,this),W},R.forEach(ee=>{let W=window.ElementInternals.prototype,g=W[ee];W[ee]=function(...E){let U=A.get(this);if(n.get(U).formAssociated===!0)return g?.call(this,...E);throw new DOMException(`Failed to execute ${g} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class H extends Array{constructor(W){super(...W),this._elements=W}get value(){return this._elements.find(W=>W.checked===!0)?.value||""}}class q{constructor(W){let g=new Map;W.forEach((E,U)=>{let ne=E.getAttribute("name"),pe=g.get(ne)||[];this[+U]=E,pe.push(E),g.set(ne,pe)}),this.length=W.length,g.forEach((E,U)=>{E&&(E.length===1?this[U]=E[0]:this[U]=new H(E))})}namedItem(W){return this[W]}}let ie=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=ie.get.call(this,[]),W=[];for(let g of ee){let E=n.get(g);(!E||E.formAssociated===!0)&&W.push(g)}return new q(W)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,i,n)=>{if(i!==null)try{e.bind(window.customElements)(r,i,n)}catch(a){console.info(r,i,n,a)}}}var An={};ae(An,{CSSResult:()=>Vr,LitElement:()=>Ht,ReactiveElement:()=>wt,_$LE:()=>au,_$LH:()=>Cn,adoptStyles:()=>Ao,css:()=>k,defaultConverter:()=>jr,getCompatibleStyle:()=>yi,html:()=>C,isServer:()=>qh,mathml:()=>On,noChange:()=>He,notEqual:()=>Lo,nothing:()=>P,render:()=>En,supportsAdoptingStyleSheets:()=>wo,svg:()=>Sn,unsafeCSS:()=>Et});var mi=globalThis,wo=mi.ShadowRoot&&(mi.ShadyCSS===void 0||mi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,hn=Symbol(),dl=new WeakMap,Vr=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==hn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(wo&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=dl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&dl.set(r,e))}return e}toString(){return this.cssText}},Et=t=>new Vr(typeof t=="string"?t:t+"",void 0,hn),k=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((i,n,a)=>i+(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.")})(n)+t[a+1],t[0]);return new Vr(r,t,hn)},Ao=(t,e)=>{if(wo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=mi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},yi=wo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return Et(r)})(t):t;var{is:qp,defineProperty:Yp,getOwnPropertyDescriptor:Xp,getOwnPropertyNames:Jp,getOwnPropertySymbols:Qp,getPrototypeOf:eu}=Object,gi=globalThis,pl=gi.trustedTypes,tu=pl?pl.emptyScript:"",ru=gi.reactiveElementPolyfillSupport,Ro=(t,e)=>t,jr={toAttribute(t,e){switch(e){case Boolean:t=t?tu:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Lo=(t,e)=>!qp(t,e),ul={attribute:!0,type:String,converter:jr,reflect:!1,useDefault:!1,hasChanged:Lo};Symbol.metadata??=Symbol("metadata"),gi.litPropertyMetadata??=new WeakMap;var wt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ul){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&Yp(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){let{get:n,set:a}=Xp(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ul}static _$Ei(){if(this.hasOwnProperty(Ro("elementProperties")))return;let e=eu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ro("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ro("properties"))){let r=this.properties,i=[...Jp(r),...Qp(r)];for(let n of i)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[r,i]of this.elementProperties){let n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)r.unshift(yi(n))}else e!==void 0&&r.push(yi(e));return r}static _$Eu(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ao(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:jr).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:jr;this._$Em=n,this[n]=s.fromAttribute(r,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Lo)(a,r)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};wt.elementStyles=[],wt.shadowRootOptions={mode:"open"},wt[Ro("elementProperties")]=new Map,wt[Ro("finalized")]=new Map,ru?.({ReactiveElement:wt}),(gi.reactiveElementVersions??=[]).push("2.1.0");var yn=globalThis,bi=yn.trustedTypes,fl=bi?bi.createPolicy("lit-html",{createHTML:t=>t}):void 0,gn="$lit$",zt=`lit$${Math.random().toFixed(9).slice(2)}$`,bn="?"+zt,ou=`<${bn}>`,Or=document,ko=()=>Or.createComment(""),_o=t=>t===null||typeof t!="object"&&typeof t!="function",xn=Array.isArray,xl=t=>xn(t)||typeof t?.[Symbol.iterator]=="function",mn=`[
3
+ \f\r]`,Io=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,hl=/-->/g,ml=/>/g,vr=RegExp(`>|${mn}(?:([^\\s"'>=/]+)(${mn}*=${mn}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),yl=/'/g,gl=/"/g,vl=/^(?:script|style|textarea|title)$/i,vn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),C=vn(1),Sn=vn(2),On=vn(3),He=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),bl=new WeakMap,Sr=Or.createTreeWalker(Or,129);function Sl(t,e){if(!xn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return fl!==void 0?fl.createHTML(e):e}var Ol=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Io;for(let l=0;l<r;l++){let d=t[l],u,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===Io?h[1]==="!--"?s=hl:h[1]!==void 0?s=ml:h[2]!==void 0?(vl.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=vr):h[3]!==void 0&&(s=vr):s===vr?h[0]===">"?(s=n??Io,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?vr:h[3]==='"'?gl:yl):s===gl||s===yl?s=vr:s===hl||s===ml?s=Io:(s=vr,n=void 0);let S=s===vr&&t[l+1].startsWith("/>")?" ":"";a+=s===Io?d+ou:f>=0?(i.push(u),d.slice(0,f)+gn+d.slice(f)+zt+S):d+zt+(f===-2?l:S)}return[Sl(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},To=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[u,h]=Ol(e,r);if(this.el=t.createElement(u,i),Sr.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(n=Sr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let f of n.getAttributeNames())if(f.endsWith(gn)){let y=h[s++],S=n.getAttribute(f).split(zt),v=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?vi:v[1]==="?"?Si:v[1]==="@"?Oi:Er}),n.removeAttribute(f)}else f.startsWith(zt)&&(d.push({type:6,index:a}),n.removeAttribute(f));if(vl.test(n.tagName)){let f=n.textContent.split(zt),y=f.length-1;if(y>0){n.textContent=bi?bi.emptyScript:"";for(let S=0;S<y;S++)n.append(f[S],ko()),Sr.nextNode(),d.push({type:2,index:++a});n.append(f[y],ko())}}}else if(n.nodeType===8)if(n.data===bn)d.push({type:2,index:a});else{let f=-1;for(;(f=n.data.indexOf(zt,f+1))!==-1;)d.push({type:7,index:a}),f+=zt.length-1}a++}}static createElement(e,r){let i=Or.createElement("template");return i.innerHTML=e,i}};function Cr(t,e,r=t,i){if(e===He)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=_o(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=Cr(t,n._$AS(t,e.values),n,i)),e}var xi=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??Or).importNode(r,!0);Sr.currentNode=n;let a=Sr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Gr(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new Ci(a,this,e)),this._$AV.push(u),d=i[++l]}s!==d?.index&&(a=Sr.nextNode(),s++)}return Sr.currentNode=Or,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Gr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Cr(this,e,r),_o(e)?e===P||e==null||e===""?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==He&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):xl(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==P&&_o(this._$AH)?this._$AA.nextSibling.data=e:this.T(Or.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=To.createElement(Sl(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new xi(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=bl.get(e.strings);return r===void 0&&bl.set(e.strings,r=new To(e)),r}k(e){xn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(ko()),this.O(ko()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Er=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=P,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=P}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Cr(this,e,r,0),s=!_o(e)||e!==this._$AH&&e!==He,s&&(this._$AH=e);else{let l=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=Cr(this,l[i+d],r,d),u===He&&(u=this._$AH[d]),s||=!_o(u)||u!==this._$AH[d],u===P?e=P:e!==P&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!n&&this.j(e)}j(e){e===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},vi=class extends Er{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}},Si=class extends Er{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==P)}},Oi=class extends Er{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=Cr(this,e,r,0)??P)===He)return;let i=this._$AH,n=e===P&&i!==P||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==P&&(i===P||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ci=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Cr(this,e)}},Cn={M:gn,P:zt,A:bn,C:1,L:Ol,R:xi,D:xl,V:Cr,I:Gr,H:Er,N:Si,U:Oi,B:vi,F:Ci},iu=yn.litHtmlPolyfillSupport;iu?.(To,Gr),(yn.litHtmlVersions??=[]).push("3.3.0");var En=(t,e,r)=>{let i=r?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=r?.renderBefore??null;i._$litPart$=n=new Gr(e.insertBefore(ko(),a),a,void 0,r??{})}return n._$AI(t),n};var wn=globalThis,Ht=class extends wt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=En(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return He}};Ht._$litElement$=!0,Ht.finalized=!0,wn.litElementHydrateSupport?.({LitElement:Ht});var nu=wn.litElementPolyfillSupport;nu?.({LitElement:Ht});var au={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(wn.litElementVersions??=[]).push("4.2.0");var qh=!1;var kn={};ae(kn,{customElement:()=>su,eventOptions:()=>cu,property:()=>m,query:()=>z,queryAll:()=>Rn,queryAssignedElements:()=>Ln,queryAssignedNodes:()=>In,queryAsync:()=>pu,standardProperty:()=>Cl,state:()=>B});var su=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var lu={attribute:!0,type:String,converter:jr,reflect:!1,hasChanged:Lo},Cl=(t=lu,e,r)=>{let{kind:i,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),i==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(i==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+i)};function m(t){return(e,r)=>typeof r=="object"?Cl(t,e,r):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function B(t){return m({...t,state:!0,attribute:!1})}function cu(t){return(e,r)=>{let i=typeof e=="function"?e:e[r];Object.assign(i,t)}}var yt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function z(t,e){return(r,i,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof i=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return yt(r,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return yt(r,i,{get(){return a(this)}})}}var du;function Rn(t){return(e,r)=>yt(e,r,{get(){return(this.renderRoot??(du??=document.createDocumentFragment())).querySelectorAll(t)}})}function pu(t){return(e,r)=>yt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Ln(t){return(e,r)=>{let{slot:i,selector:n}=t??{},a="slot"+(i?`[name=${i}]`:":not([name])");return yt(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function In(t){return(e,r)=>{let{slot:i}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return yt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var _n={};ae(_n,{repeat:()=>we});var At={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},gt=t=>(...e)=>({_$litDirective$:t,values:e}),pt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:uu}=Cn;var wl=t=>t.strings===void 0,El=()=>document.createComment(""),Kr=(t,e,r)=>{let i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=i.insertBefore(El(),n),s=i.insertBefore(El(),n);r=new uu(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;i.insertBefore(d,n),d=u}}}return r},er=(t,e,r=t)=>(t._$AI(e,r),t),fu={},Al=(t,e=fu)=>t._$AH=e,Rl=t=>t._$AH,Ei=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let i=e.nextSibling;e.remove(),e=i}};var Ll=(t,e,r)=>{let i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},we=gt(class extends pt{constructor(t){if(super(t),t.type!==At.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of t)n[s]=i?i(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){let n=Rl(t),{values:a,keys:s}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],u,h,f=0,y=n.length-1,S=0,v=a.length-1;for(;f<=y&&S<=v;)if(n[f]===null)f++;else if(n[y]===null)y--;else if(l[f]===s[S])d[S]=er(n[f],a[S]),f++,S++;else if(l[y]===s[v])d[v]=er(n[y],a[v]),y--,v--;else if(l[f]===s[v])d[v]=er(n[f],a[v]),Kr(t,d[v+1],n[f]),f++,v--;else if(l[y]===s[S])d[S]=er(n[y],a[S]),Kr(t,n[f],n[y]),y--,S++;else if(u===void 0&&(u=Ll(s,S,v),h=Ll(l,f,y)),u.has(l[f]))if(u.has(l[y])){let w=h.get(s[S]),$=w!==void 0?n[w]:null;if($===null){let T=Kr(t,n[f]);er(T,a[S]),d[S]=T}else d[S]=er($,a[S]),Kr(t,n[f],$),n[w]=null;S++}else Ei(n[y]),y--;else Ei(n[f]),f++;for(;S<=v;){let w=Kr(t,d[v+1]);er(w,a[S]),d[S++]=w}for(;f<=y;){let w=n[f++];w!==null&&Ei(w)}return this.ut=s,Al(t,d),He}});var Tn={};ae(Tn,{classMap:()=>ue});var ue=gt(class extends pt{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let r=t.element.classList;for(let i of this.st)i in e||(r.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(r.add(i),this.st.add(i)):(r.remove(i),this.st.delete(i)))}return He}});var $n={};ae($n,{styleMap:()=>mu});var Il="important",hu=" !"+Il,mu=gt(class extends pt{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let i=t[r];return i==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?r.removeProperty(i):r[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(hu);i.includes("-")||a?r.setProperty(i,a?n.slice(0,-11):n,a?Il:""):r[i]=n}}return He}});var Nn={};ae(Nn,{UnsafeHTMLDirective:()=>Zr,unsafeHTML:()=>Pn});var Zr=class extends pt{constructor(e){if(super(e),this.it=P,e.type!==At.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===P||e==null)return this._t=void 0,this.it=e;if(e===He)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Zr.directiveName="unsafeHTML",Zr.resultType=1;var Pn=gt(Zr);var Vn={};ae(Vn,{CacheRegistry:()=>Lt,ClearCacheEvent:()=>Do});var Dn={};ae(Dn,{CancelablePromise:()=>wi,CanceledPromiseError:()=>wr,cancelable:()=>Bn});var wr=class extends Error{constructor(e,r,i){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=i}},wi=class extends Promise{constructor(e){super((r,i)=>e(n=>{this.isCanceled?i(new wr("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?i(new wr("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Bn=t=>new wi((e,r)=>t.then(e).catch(r));var Wn={};ae(Wn,{FtNotificationEvent:()=>Bo,PostResizeEvent:()=>Hn,PreResizeEvent:()=>zn,WithEventBus:()=>Wt,withEventBus:()=>Li});var Un={};ae(Un,{applyMixinOnce:()=>De,dateReviver:()=>gu,deepCopy:()=>No,deepEqual:()=>Te,delay:()=>Ai,eventPathContainsMatchingElement:()=>Fn,everyDeep:()=>yu,flatDeep:()=>Qe,forEachDeep:()=>kl,getComposedPathTo:()=>Mn,hasChanged:()=>Rt,last:()=>xu,minmax:()=>Po,parseDate:()=>Tl,randomId:()=>vu,someDeep:()=>_l,unslotText:()=>qr,waitFor:()=>Ri,waitUntil:()=>$o});var Ai=t=>new Promise(e=>setTimeout(e,t));async function $o(t,e=10,r=2e4){await Ri(async()=>await t()||void 0,e,r)}async function Ri(t,e=10,r=2e4){let i=await t(),n,a;for(n=a=performance.now();i==null&&(!r||a-n<r);)await Ai(e),i=await t(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function Qe(t,e){return t.flatMap(r=>[r,...Qe(e(r),e)])}function kl(t,e,r){let i=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=r(d,l,n,a))!==null&&s!==void 0?s:!0)&&i(e(d),[...a,d])))return!1}return!0};i(t,[])}function _l(t,e,r){let i=!1;return kl(t,e,(n,a,s,l)=>(i=!!r(n,a,s,l),!i)),i}function yu(t,e,r){return!_l(t,e,(i,n,a,s)=>!r(i,n,a,s))}function gu(...t){return(e,r)=>t.includes(e)?Tl(r):r}function Tl(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,i,n)=>r+i+":"+n),new Date(t)}function bu(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!Te(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Te(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!Te(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Te(t,e){try{return bu(t,e)}catch{return!1}}function Rt(t,e){return!Te(t,e)}function Fn(t,e,r=window.document.body){if(e.length>0){let i=t.composedPath();for(let n of i){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function Po(t,e,r){return Math.min(Math.max(t,e),r)}function xu(t){return t[t.length-1]}function qr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>qr(e)).join(""):t?.textContent||""}function Mn(t){let e=[],r=i=>{i.stopPropagation(),e=i.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function No(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function vu(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function De(t,e){let r=i=>i[t]===!0;return i=>{if(r(i))return i;let n=e(i);return n[t]=!0,n}}var Bo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},zn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Hn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Li=De(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}),Wt=class extends Li(Object){};var Do=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Lt=class extends Wt{constructor(){super(...arguments),this.content={}}register(e,r,i=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:r,final:i,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let i=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&i.length>0&&this.dispatchEvent(new Do(i)),i}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Do([e])),e}forceClear(e){var r;let i=this.content[e];i&&(this.clearClearTimeout(e),(r=i.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:i.loader,final:i.final,status:"REGISTERED"})}clearClearTimeout(e){var r,i,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((i=this.content[e])===null||i===void 0?void 0:i.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,i=!1){this.forceClear(e);let n=async()=>r,a="RESOLVED";this.content[e]={loader:n,final:i,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,i){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=Bn(r()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,i!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),i)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,i;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((i=this.content[e])===null||i===void 0?void 0:i.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Kn={};ae(Kn,{ClusteringHelper:()=>Gn,formatHierarchicalValues:()=>jn});function jn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Gn=class t{constructor(e,r,i,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){var r,i,n,a,s;let l=((a=(i=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&i!==void 0?i:(n=e.result)===null||n===void 0?void 0:n.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,i){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(jn(l)),s.push(jn(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,i="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(f=>f??{key:e,label:u,value:void 0,displayValue:i}).filter(f=>f.value!=d?.value).filter((f,y,S)=>S.findIndex(v=>v.value===f.value)===y).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,y)=>this.compareMetadata(f.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,i,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let i=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let u=this.countMatchingMetadata(d,a);if(u>l&&(l=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(i=>r.some(n=>n.key===i.key&&n.value===i.value)).length}};var Zn={};ae(Zn,{Debouncer:()=>le});var le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(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 qn={};ae(qn,{customElement:()=>V,dateProperty:()=>Ou,isNumber:()=>$l,jsonProperty:()=>Ce,numberProperty:()=>tr,optionalNumberProperty:()=>Su});var V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ce(t,e){let r=()=>JSON.parse(JSON.stringify(t));return m({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Rt,...e??{}})}function Su(t){return tr(t)}function tr(t){return m({type:Object,converter:{fromAttribute:e=>{if(e!=null)return $l(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function $l(t){return!isNaN(parseFloat(t))}function Ou(t){return m({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Oa={};ae(Oa,{designSystemVariables:()=>L});var Sa={};ae(Sa,{DesignSystemFamily:()=>et,DesignSystemSize:()=>$e,FtCssVariableFactory:()=>o,badge:()=>ku,banner:()=>Iu,button:()=>x,chart:()=>Gu,checkbox:()=>wu,chip:()=>j,chipChoice:()=>Ru,collapsible:()=>Vu,comboboxMultiSelect:()=>Hu,comboboxSingleSelect:()=>zu,dateRangePicker:()=>Qu,drawer:()=>Bu,floatingMenu:()=>Uu,foundation:()=>c,link:()=>Lu,modal:()=>Nu,notice:()=>Zu,notification:()=>Yu,pageDesigner:()=>Ku,pageFooter:()=>$u,pageHeader:()=>Tu,pageLayout:()=>Pu,popover:()=>Wu,radio:()=>re,reorderableList:()=>Ju,resolveFamilyClass:()=>xa,resolveSizeClass:()=>va,semantic:()=>p,setVariable:()=>b,switch_:()=>ju,table:()=>Au,tabs:()=>Du,textArea:()=>Mu,textInput:()=>Fu,titleBreadcrumb:()=>_u,toggle:()=>qu,tooltip:()=>Xu,treeList:()=>Eu,typographies:()=>Fo,typographyBody1Medium:()=>ta,typographyBody1Regular:()=>ea,typographyBody1Semibold:()=>ra,typographyBody2Medium:()=>Ar,typographyBody2MediumUnderline:()=>Pl,typographyBody2Regular:()=>oa,typographyBody2Semibold:()=>ia,typographyCaption1Bold:()=>fa,typographyCaption1Medium:()=>pa,typographyCaption1Semibold:()=>ua,typographyCaption2Bold:()=>ma,typographyCaption2Medium:()=>or,typographyCaption2Semibold:()=>ha,typographyCaption3Bold:()=>ba,typographyCaption3Medium:()=>ya,typographyCaption3Semibold:()=>ga,typographyDisplay:()=>Yn,typographyLabel1Bold:()=>sa,typographyLabel1Medium:()=>na,typographyLabel1Semibold:()=>aa,typographyLabel2Bold:()=>da,typographyLabel2Medium:()=>la,typographyLabel2Semibold:()=>ca,typographyTitle1:()=>Xn,typographyTitle2:()=>Jn,typographyTitle3:()=>Qn,typographyVariants:()=>Cu});var rr=t=>typeof t=="string"?Et(t):t,o=class{static create(e,r,i,n){let a=l=>rr(l??n),s=k`var(${rr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>b(s,l??a(n)),s.get=l=>k`var(${rr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=k`var(${rr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>b(s,l??a(n)),s.get=l=>k`var(${rr(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=k`var(${rr(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>k`var(${rr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function b(t,e){return rr(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Yn={fontFamily:o.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-text-case","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},Ar={fontFamily:o.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},Pl={fontFamily:o.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},ia={fontFamily:o.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},aa={fontFamily:o.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},or={fontFamily:o.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ha={fontFamily:o.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},ya={fontFamily:o.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},ga={fontFamily:o.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Fo={display:Yn,"title-1":Xn,"title-2":Jn,"title-3":Qn,"body-1-regular":ea,"body-1-medium":ta,"body-1-semibold":ra,"body-2-regular":oa,"body-2-medium":Ar,"body-2-medium-underline":Pl,"body-2-semibold":ia,"label-1-medium":na,"label-1-semibold":aa,"label-1-bold":sa,"label-2-medium":la,"label-2-semibold":ca,"label-2-bold":da,"caption-1-medium":pa,"caption-1-semibold":ua,"caption-1-bold":fa,"caption-2-medium":or,"caption-2-semibold":ha,"caption-2-bold":ma,"caption-3-medium":ya,"caption-3-semibold":ga,"caption-3-bold":ba},Cu=["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:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var x={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Eu={loadMoreIconSize:o.extend("--ft-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ft-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ft-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ft-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ft-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ft-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ft-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ft-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ft-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ft-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ft-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var wu={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)};var re={circleSize:o.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ft-radio-border-width","","SIZE","2px"),color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ft-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ft-radio-horizontal-gap","",c.spacing3)};var Au={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)};var Ru={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var j={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Lu={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Iu={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var ku={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)};var _u={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Tu={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var $u={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Pu={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Nu={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Bu={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Du={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Fu={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Mu={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)};var Uu={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var zu={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Hu={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)};var Wu={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",c.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)};var Vu={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var ju={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Gu={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Ku={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Zu={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var qu={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var Yu={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var Xu={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Ju={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var Qu={menuHorizontalPadding:o.extend("--ft-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ft-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ft-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var et;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(et||(et={}));var $e;(function(t){t.large="large",t.medium="medium",t.small="small"})($e||($e={}));function xa(t){return`ftds--family-${t}`}function va(t){return`ftds--size-${t}`}var L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","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)"),elevation02:o.create("--ft-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)"),elevation03:o.create("--ft-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)"),elevation04:o.create("--ft-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)"),elevation06:o.create("--ft-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)"),elevation08:o.create("--ft-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)"),elevation12:o.create("--ft-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)"),elevation16:o.create("--ft-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)"),elevation24:o.create("--ft-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)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ca={};ae(Ca,{DynamicImporter:()=>Ii,dynamicImporter:()=>ef});var Ii=class{async import(e){if(e)return import(e)}},ef=new Ii;var Ma={};ae(Ma,{computeOffsetAutoPosition:()=>Fa,computeOffsetPosition:()=>Da});var Bl=["top","right","bottom","left"],Nl=["start","end"],wa=Bl.reduce((t,e)=>t.concat(e,e+"-"+Nl[0],e+"-"+Nl[1]),[]),ki=Math.min,ir=Math.max;var tf={left:"right",right:"left",bottom:"top",top:"bottom"},rf={start:"end",end:"start"};function Aa(t,e,r){return ir(t,ki(e,r))}function Yr(t,e){return typeof t=="function"?t(e):t}function nr(t){return t.split("-")[0]}function It(t){return t.split("-")[1]}function Ra(t){return t==="x"?"y":"x"}function La(t){return t==="y"?"height":"width"}function Xr(t){return["top","bottom"].includes(nr(t))?"y":"x"}function Ia(t){return Ra(Xr(t))}function Dl(t,e,r){r===void 0&&(r=!1);let i=It(t),n=Ia(t),a=La(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ea(s)),[s,Ea(s)]}function Fl(t){return t.replace(/start|end/g,e=>rf[e])}function Ea(t){return t.replace(/left|right|bottom|top/g,e=>tf[e])}function of(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ml(t){return typeof t!="number"?of(t):{top:t,right:t,bottom:t,left:t}}function Rr(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function Ul(t,e,r){let{reference:i,floating:n}=t,a=Xr(e),s=Ia(e),l=La(s),d=nr(e),u=a==="y",h=i.x+i.width/2-n.width/2,f=i.y+i.height/2-n.height/2,y=i[l]/2-n[l]/2,S;switch(d){case"top":S={x:h,y:i.y-n.height};break;case"bottom":S={x:h,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y:f};break;case"left":S={x:i.x-n.width,y:f};break;default:S={x:i.x,y:i.y}}switch(It(e)){case"start":S[s]-=y*(r&&u?-1:1);break;case"end":S[s]+=y*(r&&u?-1:1);break}return S}var zl=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y:f}=Ul(u,i,d),y=i,S={},v=0;for(let w=0;w<l.length;w++){let{name:$,fn:T}=l[w],{x:N,y:A,data:O,reset:R}=await T({x:h,y:f,initialPlacement:i,placement:y,strategy:n,middlewareData:S,rects:u,platform:s,elements:{reference:t,floating:e}});h=N??h,f=A??f,S={...S,[$]:{...S[$],...O}},R&&v<=50&&(v++,typeof R=="object"&&(R.placement&&(y=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):R.rects),{x:h,y:f}=Ul(u,y,d)),w=-1)}return{x:h,y:f,placement:y,strategy:n,middlewareData:S}};async function _i(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:S=0}=Yr(e,t),v=Ml(S),$=l[y?f==="floating"?"reference":"floating":f],T=Rr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement($)))==null||r?$:$.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),N=f==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=Rr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:A,strategy:d}):N);return{top:(T.top-R.top+v.top)/O.y,bottom:(R.bottom-T.bottom+v.bottom)/O.y,left:(T.left-R.left+v.left)/O.x,right:(R.right-T.right+v.right)/O.x}}function nf(t,e,r){return(t?[...r.filter(n=>It(n)===t),...r.filter(n=>It(n)!==t)]:r.filter(n=>nr(n)===n)).filter(n=>t?It(n)===t||(e?Fl(n)!==n:!1):!0)}var Ti=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:y=wa,autoAlignment:S=!0,...v}=Yr(t,e),w=f!==void 0||y===wa?nf(f||null,S,y):y,$=await _i(e,v),T=((r=s.autoPlacement)==null?void 0:r.index)||0,N=w[T];if(N==null)return{};let A=Dl(N,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==N)return{reset:{placement:w[0]}};let O=[$[nr(N)],$[A[0]],$[A[1]]],R=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:N,overflows:O}],H=w[T+1];if(H)return{data:{index:T+1,overflows:R},reset:{placement:H}};let q=R.map(W=>{let g=It(W.placement);return[W.placement,g&&h?W.overflows.slice(0,2).reduce((E,U)=>E+U,0):W.overflows[0],W.overflows]}).sort((W,g)=>W[1]-g[1]),ee=((n=q.filter(W=>W[2].slice(0,It(W[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||q[0][0];return ee!==l?{data:{index:T+1,overflows:R},reset:{placement:ee}}:{}}}};async function af(t,e){let{placement:r,platform:i,elements:n}=t,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=nr(r),l=It(r),d=Xr(r)==="y",u=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=Yr(e,t),{mainAxis:y,crossAxis:S,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof v=="number"&&(S=l==="end"?v*-1:v),d?{x:S*h,y:y*u}:{x:y*u,y:S*h}}var ka=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await af(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},_a=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:$=>{let{x:T,y:N}=$;return{x:T,y:N}}},...d}=Yr(t,e),u={x:r,y:i},h=await _i(e,d),f=Xr(nr(n)),y=Ra(f),S=u[y],v=u[f];if(a){let $=y==="y"?"top":"left",T=y==="y"?"bottom":"right",N=S+h[$],A=S-h[T];S=Aa(N,S,A)}if(s){let $=f==="y"?"top":"left",T=f==="y"?"bottom":"right",N=v+h[$],A=v-h[T];v=Aa(N,v,A)}let w=l.fn({...e,[y]:S,[f]:v});return{...w,data:{x:w.x-r,y:w.y-i,enabled:{[y]:a,[f]:s}}}}}};var Ta=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...u}=Yr(t,e),h=await _i(e,u),f=nr(n),y=It(n),S=Xr(n)==="y",{width:v,height:w}=a.floating,$,T;f==="top"||f==="bottom"?($=f,T=y===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(T=f,$=y==="end"?"top":"bottom");let N=w-h.top-h.bottom,A=v-h.left-h.right,O=ki(w-h[$],N),R=ki(v-h[T],A),H=!e.middlewareData.shift,q=O,ie=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(ie=A),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(q=N),H&&!y){let W=ir(h.left,0),g=ir(h.right,0),E=ir(h.top,0),U=ir(h.bottom,0);S?ie=v-2*(W!==0||g!==0?W+g:ir(h.left,h.right)):q=w-2*(E!==0||U!==0?E+U:ir(h.top,h.bottom))}await d({...e,availableWidth:ie,availableHeight:q});let ee=await s.getDimensions(l.floating);return v!==ee.width||w!==ee.height?{reset:{rects:!0}}:{}}}};var $a=Math.min,Jr=Math.max,Mo=Math.round;var Vt=t=>({x:t,y:t});function jt(t){return Wl(t)?(t.nodeName||"").toLowerCase():"#document"}function qe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Gt(t){var e;return(e=(Wl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Wl(t){return t instanceof Node||t instanceof qe(t).Node}function kt(t){return t instanceof Element||t instanceof qe(t).Element}function bt(t){return t instanceof HTMLElement||t instanceof qe(t).HTMLElement}function Hl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof qe(t).ShadowRoot}function Qr(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function Vl(t){return["table","td","th"].includes(jt(t))}function Pi(t){let e=Ni(),r=tt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function jl(t){let e=Lr(t);for(;bt(e)&&!Uo(e);){if(Pi(e))return e;e=Lr(e)}return null}function Ni(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Uo(t){return["html","body","#document"].includes(jt(t))}function tt(t){return qe(t).getComputedStyle(t)}function zo(t){return kt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Lr(t){if(jt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Hl(t)&&t.host||Gt(t);return Hl(e)?e.host:e}function Gl(t){let e=Lr(t);return Uo(e)?t.ownerDocument?t.ownerDocument.body:t.body:bt(e)&&Qr(e)?e:Gl(e)}function $i(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Gl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=qe(n);return a?e.concat(s,s.visualViewport||[],Qr(n)?n:[],s.frameElement&&r?$i(s.frameElement):[]):e.concat(n,$i(n,[],r))}function ql(t){let e=tt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=bt(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=Mo(r)!==a||Mo(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function Yl(t){return kt(t)?t:t.contextElement}function eo(t){let e=Yl(t);if(!bt(e))return Vt(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=ql(e),s=(a?Mo(r.width):r.width)/i,l=(a?Mo(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var sf=Vt(0);function Xl(t){let e=qe(t);return!Ni()||!e.visualViewport?sf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function lf(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==qe(t)?!1:e}function Ho(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=Yl(t),s=Vt(1);e&&(i?kt(i)&&(s=eo(i)):s=eo(t));let l=lf(a,r,i)?Xl(a):Vt(0),d=(n.left+l.x)/s.x,u=(n.top+l.y)/s.y,h=n.width/s.x,f=n.height/s.y;if(a){let y=qe(a),S=i&&kt(i)?qe(i):i,v=y.frameElement;for(;v&&i&&S!==y;){let w=eo(v),$=v.getBoundingClientRect(),T=tt(v),N=$.left+(v.clientLeft+parseFloat(T.paddingLeft))*w.x,A=$.top+(v.clientTop+parseFloat(T.paddingTop))*w.y;d*=w.x,u*=w.y,h*=w.x,f*=w.y,d+=N,u+=A,v=qe(v).frameElement}}return Rr({width:h,height:f,x:d,y:u})}function cf(t){let{rect:e,offsetParent:r,strategy:i}=t,n=bt(r),a=Gt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Vt(1),d=Vt(0);if((n||!n&&i!=="fixed")&&((jt(r)!=="body"||Qr(a))&&(s=zo(r)),bt(r))){let u=Ho(r);l=eo(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function df(t){return Array.from(t.getClientRects())}function Jl(t){return Ho(Gt(t)).left+zo(t).scrollLeft}function pf(t){let e=Gt(t),r=zo(t),i=t.ownerDocument.body,n=Jr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Jr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Jl(t),l=-r.scrollTop;return tt(i).direction==="rtl"&&(s+=Jr(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function uf(t,e){let r=qe(t),i=Gt(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let u=Ni();(!u||u&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function ff(t,e){let r=Ho(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=bt(t)?eo(t):Vt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,u=i*a.y;return{width:s,height:l,x:d,y:u}}function Kl(t,e,r){let i;if(e==="viewport")i=uf(t,r);else if(e==="document")i=pf(Gt(t));else if(kt(e))i=ff(e,r);else{let n=Xl(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Rr(i)}function Ql(t,e){let r=Lr(t);return r===e||!kt(r)||Uo(r)?!1:tt(r).position==="fixed"||Ql(r,e)}function hf(t,e){let r=e.get(t);if(r)return r;let i=$i(t,[],!1).filter(l=>kt(l)&&jt(l)!=="body"),n=null,a=tt(t).position==="fixed",s=a?Lr(t):t;for(;kt(s)&&!Uo(s);){let l=tt(s),d=Pi(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Qr(s)&&!d&&Ql(t,s))?i=i.filter(h=>h!==s):n=l,s=Lr(s)}return e.set(t,i),i}function mf(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?hf(e,this._c):[].concat(r),i],l=s[0],d=s.reduce((u,h)=>{let f=Kl(e,h,n);return u.top=Jr(f.top,u.top),u.right=$a(f.right,u.right),u.bottom=$a(f.bottom,u.bottom),u.left=Jr(f.left,u.left),u},Kl(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function yf(t){return ql(t)}function gf(t,e,r){let i=bt(e),n=Gt(e),a=r==="fixed",s=Ho(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Vt(0);if(i||!i&&!a)if((jt(e)!=="body"||Qr(n))&&(l=zo(e)),i){let u=Ho(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else n&&(d.x=Jl(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Zl(t,e){return!bt(t)||tt(t).position==="fixed"?null:e?e(t):t.offsetParent}function ec(t,e){let r=qe(t);if(!bt(t))return r;let i=Zl(t,e);for(;i&&Vl(i)&&tt(i).position==="static";)i=Zl(i,e);return i&&(jt(i)==="html"||jt(i)==="body"&&tt(i).position==="static"&&!Pi(i))?r:i||jl(t)||r}var bf=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||ec,a=this.getDimensions;return{reference:gf(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function xf(t){return tt(t).direction==="rtl"}var to={convertOffsetParentRelativeRectToViewportRelativeRect:cf,getDocumentElement:Gt,getClippingRect:mf,getOffsetParent:ec,getElementRects:bf,getClientRects:df,getDimensions:yf,getScale:eo,isElement:kt,isRTL:xf};var Pa=(t,e,r)=>{let i=new Map,n={platform:to,...r},a={...n.platform,_c:i};return zl(t,e,{...n,platform:a})};function Ba(t){return vf(t)}function Na(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function vf(t){for(let e=t;e;e=Na(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Na(t);e;e=Na(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Da(t,e,r){return Pa(t,e,{platform:{...to,getOffsetParent:i=>to.getOffsetParent(i,Ba)},middleware:[_a({crossAxis:!0}),Ti({allowedPlacements:[r]})]})}async function Fa(t,e,r,i,n,a,s=4){return Pa(t,e,{placement:r,strategy:n,platform:{...to,getOffsetParent:l=>to.getOffsetParent(l,Ba)},middleware:[ka(s),Ti({allowedPlacements:i}),Ta({apply({availableHeight:l,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Va={};ae(Va,{FtdsBase:()=>jo,toFtdsBase:()=>_t});var Wa={};ae(Wa,{FtLitElement:()=>M});var Ua={};ae(Ua,{ScopedRegistryLitElement:()=>Wo});var Wo=class extends Ht{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return Ao(i,e.elementStyles),i}};var Ha={};ae(Ha,{shadowQuerySelector:()=>za,shadowQuerySelectorAll:()=>Sf});function za(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function Sf(t,e,...r){let i=[...t.querySelectorAll(e)];for(let n of r)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var Vo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ic,tc=Symbol("constructorPrototype"),rc=Symbol("constructorName"),nc=Symbol("exportpartsDebouncer"),oc=Symbol("dynamicDependenciesLoaded"),M=class extends Wo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ic]=new le(5),this[rc]=this.constructor.name,this[tc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[rc]&&Object.setPrototypeOf(this,this[tc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[oc]||(e[oc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=za(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}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 e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[nc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.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(e){var r,i,n,a,s,l;let d=y=>y!=null&&y.trim().length>0,u=e.filter(d).map(y=>y.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let S=(a=(n=y.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],v=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(w=>w.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...v).filter(d).map(w=>w.trim()).forEach(w=>h.add(w))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(y=>u.map(S=>`${y}:${S}--${y}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};ic=nc;Vo([m()],M.prototype,"exportpartsPrefix",void 0);Vo([Ce([])],M.prototype,"exportpartsPrefixes",void 0);Vo([m()],M.prototype,"customStylesheet",void 0);Vo([m()],M.prototype,"elementToFocus",void 0);Vo([B()],M.prototype,"useAdoptedStyleSheets",void 0);var ac=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_t=De(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=$e.medium,this.family=et.neutral}getDesignSystemBaseClasses(){return{[xa(this.family)]:!0,[va(this.size)]:!0}}}return ac([m()],e.prototype,"size",void 0),ac([m()],e.prototype,"family",void 0),e}),jo=class extends _t(M){};var sc={};var Ka={};ae(Ka,{highlightHtml:()=>Ga,highlightHtmlColorCssVariable:()=>lc,highlightHtmlStyles:()=>Cf});var Ir=class t{constructor(e,r=!0,i=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=i,this.iframesTimeout=n}static matches(e,r){let i=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=r.filter(a=>a.contains(i)).length>0;r.indexOf(i)===-1&&!n&&r.push(i)}),r}getIframeContents(e,r,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&r(n)}isIframeBlank(e){let r="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&i!==r&&i}observeIframeLoad(e,r,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,i):this.getIframeContents(e,r,i):this.observeIframeLoad(e,r,i)}catch{i()}}waitForIframes(e,r){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||r()})},n=>{n||r()})}forEachIframe(e,r,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{r(u)&&(l++,i(h)),d()},d)})}createIterator(e,r,i){return document.createNodeIterator(e,r,i,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),i;return r===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:r,node:i}}checkIframeFilter(e,r,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,r,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,i,n)})})}iterateThroughNodes(e,r,i,n,a){let s=this.createIterator(r,e,n),l=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(u,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,S=>d.push(S),n)}),d.push(u);d.forEach(y=>{i(y)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,r,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Go=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ir(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[r]=="function"&&i[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[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!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&r.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",i=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"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):i.trim()&&r.indexOf(i)===-1&&r.push(i)}),{keywords:r.sort((i,n)=>n.length-i.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,r.push(n),i=s)}),r}callNoMatchOnInvalidRanges(e,r){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,r,i){let n,a=!0,s=i.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:i})})}matchesExclude(e){return Ir.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(i-r),l=document.createElement(n);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(e,r,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let u=r-s.start,h=(i>s.end?s.end:i)-s.start,f=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+y,e.nodes.forEach((S,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].end-=h)}),i-=h,a(s.node.previousSibling,s.start),i>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!i(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,f=>i(d[s],f),(f,y)=>{e.lastIndex=y,n(f)})}a()})}wrapRangeFromIndex(e,r,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,y=>r(y,l,a.value.substring(u,h),d),y=>{i(y,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));r.replaceChild(i,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,r){this.opt=r;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(y,S)=>this.opt.filter(S,u,i,f),y=>{f++,i++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(i):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,r){this.opt=r;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=Ir.matches(i,r),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ja(t){let e=new Go(t);return this.mark=(r,i)=>(e.mark(r,i),this),this.markRegExp=(r,i)=>(e.markRegExp(r,i),this),this.markRanges=(r,i)=>(e.markRanges(r,i),this),this.unmark=r=>(e.unmark(r),this),this}var Of=ja,lc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Cf=k`
6
6
  .highlight-html-match {
7
- background: ${ac};
7
+ background: ${lc};
8
8
  }
9
- `;function Ga(t,e,r){var i,n;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new xf(t);if(s.unmark(),e&&e.trim()){let l={className:(i=r?.className)!==null&&i!==void 0?i:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=u=>{for(let h in r.attributes)u.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var qa={};ae(qa,{noTextInputDefaultClearButton:()=>Zo,noTextSelect:()=>Kt,safariEllipsisFix:()=>Zt,wordWrap:()=>Za});var Kt=k`
9
+ `;function Ga(t,e,r){var i,n;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Of(t);if(s.unmark(),e&&e.trim()){let l={className:(i=r?.className)!==null&&i!==void 0?i:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=u=>{for(let h in r.attributes)u.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var qa={};ae(qa,{noTextInputDefaultClearButton:()=>Ko,noTextSelect:()=>Kt,safariEllipsisFix:()=>Zt,wordWrap:()=>Za});var Kt=k`
10
10
  .ft-no-text-select {
11
11
  -webkit-touch-callout: none;
12
12
  -webkit-user-select: none;
@@ -38,14 +38,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
38
38
  display: inline-block;
39
39
  width: 0;
40
40
  }
41
- `,Zo=k`
41
+ `,Ko=k`
42
42
  input::-webkit-search-cancel-button,
43
43
  input::-webkit-search-decoration,
44
44
  input::-webkit-search-results-button,
45
45
  input::-webkit-search-results-decoration {
46
46
  display: none;
47
47
  }
48
- `;var sc={};var Ya={};ae(Ya,{ParametrizedLabelResolver:()=>nr});var nr=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var i,n;e=this.resolvePluralKey(e,r);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(i,s))),e}resolvePluralKey(e,r){for(let i of r)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let i=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var vs={};ae(vs,{FtCommandQueue:()=>qo,FtLitElementRedux:()=>Xo,FtReduxStore:()=>$r,ReduxWatcher:()=>Hi,clearAllStores:()=>nh,isFtReduxStore:()=>io,redux:()=>oo,reduxEventListener:()=>Of,reduxReactive:()=>Sf,watch:()=>ah,withRedux:()=>lc});var Sf=()=>(t,e)=>{var r;let i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(r=i.reduxReactiveProperties)===null||r===void 0||r.add(e)},oo=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:Rt,attribute:!1,...e};m(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},Of=t=>(e,r)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(r,t)};var qo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function io(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Yo=Symbol("internalReduxEventsUnsubscribers"),ar=Symbol("internalStoresUnsubscribers"),Ir=Symbol("internalStores"),lc=De(Symbol("withRedux"),function(t){var e,r,i;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Ir].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ir].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Ir].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Ir].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Ir].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Ir].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[ar].has(s.store):this[ar].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var d;this[ar].set(s,l.subscribe(()=>this.updateFromStores())),this[Yo].set(s,[]),io(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,h)=>{if(typeof this[h]=="function"&&(!u.store||l.name===u.store)){let f=y=>this[h](y);l.addEventListener(u.eventName,f),this[Yo].get(s).push(()=>l.removeEventListener(u.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[ar].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[ar].has(s)&&this[ar].get(s)(),this[ar].delete(s),(l=this[Yo].get(s))===null||l===void 0||l.forEach(d=>d()),this[Yo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=ar,r=Ir,i=Yo,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Xo=class extends lc(M){};function ft(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function qt(t){return!!t&&!!t[ge]}function vt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===kf}(t)||Array.isArray(t)||!!t[mc]||!!(!((e=t.constructor)===null||e===void 0)&&e[mc])||ns(t)||as(t))}function kr(t,e,r){r===void 0&&(r=!1),so(t)===0?(r?Object.keys:ao)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function so(t){var e=t[ge];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ns(t)?2:as(t)?3:0}function no(t,e){return so(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Cf(t,e){return so(t)===2?t.get(e):t[e]}function yc(t,e,r){var i=so(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function gc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ns(t){return Lf&&t instanceof Map}function as(t){return If&&t instanceof Set}function sr(t){return t.o||t.t}function ss(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=vc(t);delete e[ge];for(var r=ao(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function ls(t,e){return e===void 0&&(e=!1),cs(t)||qt(t)||!vt(t)||(so(t)>1&&(t.set=t.add=t.clear=t.delete=Ef),Object.freeze(t),e&&kr(t,function(r,i){return ls(i,!0)},!0)),t}function Ef(){ft(2)}function cs(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function $t(t){var e=is[t];return e||ft(18,t),e}function wf(t,e){is[t]||(is[t]=e)}function ts(){return Qo}function Xa(t,e){e&&($t("Patches"),t.u=[],t.s=[],t.v=e)}function Di(t){rs(t),t.p.forEach(Af),t.p=null}function rs(t){t===Qo&&(Qo=t.l)}function cc(t){return Qo={p:[],l:Qo,h:t,m:!0,_:0}}function Af(t){var e=t[ge];e.i===0||e.i===1?e.j():e.g=!0}function Ja(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||$t("ES5").S(e,t,i),i?(r[ge].P&&(Di(e),ft(4)),vt(t)&&(t=Fi(e,t),e.l||Mi(e,t)),e.u&&$t("Patches").M(r[ge].t,t,e.u,e.s)):t=Fi(e,r,[]),Di(e),e.u&&e.v(e.u,e.s),t!==xc?t:void 0}function Fi(t,e,r){if(cs(e))return e;var i=e[ge];if(!i)return kr(e,function(l,d){return dc(t,i,e,l,d,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Mi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=ss(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),kr(a,function(l,d){return dc(t,i,n,l,d,r,s)}),Mi(t,n,!1),r&&t.u&&$t("Patches").N(i,r,t.u,t.s)}return i.o}function dc(t,e,r,i,n,a,s){if(qt(n)){var l=Fi(t,n,a&&e&&e.i!==3&&!no(e.R,i)?a.concat(i):void 0);if(yc(r,i,l),!qt(l))return;t.m=!1}else s&&r.add(n);if(vt(n)&&!cs(n)){if(!t.h.D&&t._<1)return;Fi(t,n),e&&e.A.l||Mi(t,n)}}function Mi(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ls(e,r)}function Qa(t,e){var r=t[ge];return(r?sr(r):t)[e]}function pc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function lr(t){t.P||(t.P=!0,t.l&&lr(t.l))}function es(t){t.o||(t.o=ss(t.t))}function os(t,e,r){var i=ns(e)?$t("MapSet").F(e,r):as(e)?$t("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:ts(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,u=ei;s&&(d=[l],u=Jo);var h=Proxy.revocable(d,u),f=h.revoke,y=h.proxy;return l.k=y,l.j=f,y}(e,r):$t("ES5").J(e,r);return(r?r.A:ts()).p.push(i),i}function Rf(t){return qt(t)||ft(22,t),function e(r){if(!vt(r))return r;var i,n=r[ge],a=so(r);if(n){if(!n.P&&(n.i<4||!$t("ES5").K(n)))return n.t;n.I=!0,i=uc(r,a),n.I=!1}else i=uc(r,a);return kr(i,function(s,l){n&&Cf(n.t,s)===l||yc(i,s,e(l))}),a===3?new Set(i):i}(t)}function uc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ss(t)}function bc(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[ge];return ei.get(u,s)},set:function(u){var h=this[ge];ei.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][ge];if(!d.P)switch(d.i){case 5:i(d)&&lr(d);break;case 4:r(d)&&lr(d)}}}function r(s){for(var l=s.t,d=s.k,u=ao(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==ge){var y=l[f];if(y===void 0&&!no(l,f))return!0;var S=d[f],v=S&&S[ge];if(v?v.t!==y:!gc(S,y))return!0}}var w=!!l[ge];return u.length!==ao(l).length+(w?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function n(s){s.g&&ft(3,JSON.stringify(sr(s)))}var a={};wf("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,y){if(f){for(var S=Array(y.length),v=0;v<y.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var w=vc(y);delete w[ge];for(var T=ao(w),$=0;$<T.length;$++){var P=T[$];w[P]=t(P,f||!!w[P].enumerable)}return Object.create(Object.getPrototypeOf(y),w)}(d,s),h={i:d?5:4,A:l?l.A:ts(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ge,{value:h,writable:!0}),u},S:function(s,l,d){d?qt(l)&&l[ge].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[ge];if(f){var y=f.t,S=f.k,v=f.R,w=f.i;if(w===4)kr(S,function(O){O!==ge&&(y[O]!==void 0||no(y,O)?v[O]||u(S[O]):(v[O]=!0,lr(f)))}),kr(y,function(O){S[O]!==void 0||no(S,O)||(v[O]=!1,lr(f))});else if(w===5){if(i(f)&&(lr(f),v.length=!0),S.length<y.length)for(var T=S.length;T<y.length;T++)v[T]=!1;else for(var $=y.length;$<S.length;$++)v[$]=!0;for(var P=Math.min(S.length,y.length),A=0;A<P;A++)S.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&u(S[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var fc,Qo,ds=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Lf=typeof Map<"u",If=typeof Set<"u",hc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",xc=ds?Symbol.for("immer-nothing"):((fc={})["immer-nothing"]=!0,fc),mc=ds?Symbol.for("immer-draftable"):"__$immer_draftable",ge=ds?Symbol.for("immer-state"):"__$immer_state";var kf=""+Object.prototype.constructor,ao=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,vc=Object.getOwnPropertyDescriptors||function(t){var e={};return ao(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},is={},ei={get:function(t,e){if(e===ge)return t;var r=sr(t);if(!no(r,e))return function(n,a,s){var l,d=pc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!vt(i)?i:i===Qa(t.t,e)?(es(t),t.o[e]=os(t.A.h,i,t)):i},has:function(t,e){return e in sr(t)},ownKeys:function(t){return Reflect.ownKeys(sr(t))},set:function(t,e,r){var i=pc(sr(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Qa(sr(t),e),a=n?.[ge];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(gc(r,n)&&(r!==void 0||no(t.t,e)))return!0;es(t),lr(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Qa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,es(t),lr(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=sr(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){ft(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ft(12)}},Jo={};kr(ei,function(t,e){Jo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Jo.deleteProperty=function(t,e){return Jo.set.call(this,t,e,void 0)},Jo.set=function(t,e,r){return ei.set.call(this,t[0],e,r,t[0])};var _f=function(){function t(r){var i=this;this.O=hc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(w){var T=this;w===void 0&&(w=l);for(var $=arguments.length,P=Array($>1?$-1:0),A=1;A<$;A++)P[A-1]=arguments[A];return d.produce(w,function(O){var R;return(R=a).call.apply(R,[T,O].concat(P))})}}var u;if(typeof a!="function"&&ft(6),s!==void 0&&typeof s!="function"&&ft(7),vt(n)){var h=cc(i),f=os(i,n,void 0),y=!0;try{u=a(f),y=!1}finally{y?Di(h):rs(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(w){return Xa(h,s),Ja(w,h)},function(w){throw Di(h),w}):(Xa(h,s),Ja(u,h))}if(!n||typeof n!="object"){if((u=a(n))===void 0&&(u=n),u===xc&&(u=void 0),i.D&&ls(u,!0),s){var S=[],v=[];$t("Patches").M(n,u,S,v),s(S,v)}return u}ft(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),y=1;y<h;y++)f[y-1]=arguments[y];return i.produceWithPatches(u,function(S){return n.apply(void 0,[S].concat(f))})};var s,l,d=i.produce(n,a,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){vt(r)||ft(8),qt(r)&&(r=Rf(r));var i=cc(this),n=os(this,r,void 0);return n[ge].C=!0,rs(i),n},e.finishDraft=function(r,i){var n=r&&r[ge],a=n.A;return Xa(a,i),Ja(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!hc&&ft(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=$t("Patches").$;return qt(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),ot=new _f,$f=ot.produce,pv=ot.produceWithPatches.bind(ot),uv=ot.setAutoFreeze.bind(ot),fv=ot.setUseProxies.bind(ot),hv=ot.applyPatches.bind(ot),mv=ot.createDraft.bind(ot),yv=ot.finishDraft.bind(ot),Ui=$f;function _r(t){"@babel/helpers - typeof";return _r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_r(t)}function Sc(t,e){if(_r(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(_r(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Oc(t){var e=Sc(t,"string");return _r(e)=="symbol"?e:e+""}function Cc(t,e,r){return(e=Oc(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ec(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function ps(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ec(Object(r),!0).forEach(function(i){Cc(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ec(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function We(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var wc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),us=function(){return Math.random().toString(36).substring(7).split("").join(".")},zi={INIT:"@@redux/INIT"+us(),REPLACE:"@@redux/REPLACE"+us(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+us()}};function Tf(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function fs(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(We(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(We(1));return r(fs)(t,e)}if(typeof t!="function")throw new Error(We(2));var n=t,a=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(We(3));return a}function f(w){if(typeof w!="function")throw new Error(We(4));if(d)throw new Error(We(5));var T=!0;return u(),l.push(w),function(){if(T){if(d)throw new Error(We(6));T=!1,u();var P=l.indexOf(w);l.splice(P,1),s=null}}}function y(w){if(!Tf(w))throw new Error(We(7));if(typeof w.type>"u")throw new Error(We(8));if(d)throw new Error(We(9));try{d=!0,a=n(a,w)}finally{d=!1}for(var T=s=l,$=0;$<T.length;$++){var P=T[$];P()}return w}function S(w){if(typeof w!="function")throw new Error(We(10));n=w,y({type:zi.REPLACE})}function v(){var w,T=f;return w={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(We(11));function A(){P.next&&P.next(h())}A();var O=T(A);return{unsubscribe:O}}},w[wc]=function(){return this},w}return y({type:zi.INIT}),i={dispatch:y,subscribe:f,getState:h,replaceReducer:S},i[wc]=v,i}function Nf(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:zi.INIT});if(typeof i>"u")throw new Error(We(12));if(typeof r(void 0,{type:zi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(We(13))})}function Ac(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{Nf(r)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var y=!1,S={},v=0;v<a.length;v++){var w=a[v],T=r[w],$=u[w],P=T($,h);if(typeof P>"u"){var A=h&&h.type;throw new Error(We(14))}S[w]=P,y=y||P!==$}return y=y||a.length!==Object.keys(u).length,y?S:u}}function lo(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Rc(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(We(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=lo.apply(void 0,l)(n.dispatch),ps(ps({},n),{},{dispatch:a})}}}function Lc(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var Ic=Lc();Ic.withExtraArgument=Lc;var hs=Ic;var Nc=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),Pf=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,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(u){return function(h){return d([u,h])}}function d(u){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=u[0]&2?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,n=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(h){u=[6,h],n=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},co=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},Bf=Object.defineProperty,Df=Object.defineProperties,Ff=Object.getOwnPropertyDescriptors,kc=Object.getOwnPropertySymbols,Mf=Object.prototype.hasOwnProperty,Uf=Object.prototype.propertyIsEnumerable,_c=function(t,e,r){return e in t?Bf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},cr=function(t,e){for(var r in e||(e={}))Mf.call(e,r)&&_c(t,r,e[r]);if(kc)for(var i=0,n=kc(e);i<n.length;i++){var r=n[i];Uf.call(e,r)&&_c(t,r,e[r])}return t},ms=function(t,e){return Df(t,Ff(e))},zf=function(t,e,r){return new Promise(function(i,n){var a=function(d){try{l(r.next(d))}catch(u){n(u)}},s=function(d){try{l(r.throw(d))}catch(u){n(u)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var Hf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lo:lo.apply(null,arguments)},Nv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Wf(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Vf=function(t){Nc(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,co([void 0],r[0].concat(this)))):new(e.bind.apply(e,co([void 0],r.concat(this))))},e}(Array),jf=function(t){Nc(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,co([void 0],r[0].concat(this)))):new(e.bind.apply(e,co([void 0],r.concat(this))))},e}(Array);function bs(t){return vt(t)?Ui(t,function(){}):t}function Gf(t){return typeof t=="boolean"}function Kf(){return function(e){return Zf(e)}}function Zf(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new Vf;if(r&&(Gf(r)?l.push(hs):l.push(hs.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var u}return l}var ys=!0;function Pc(t){var e=Kf(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,f=r.enhancers,y=f===void 0?void 0:f,S;if(typeof n=="function")S=n;else if(Wf(n))S=Ac(n);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 v=s;if(typeof v=="function"&&(v=v(e),!ys&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ys&&v.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var w=Rc.apply(void 0,v),T=lo;d&&(T=Hf(cr({trace:!ys},typeof d=="object"&&d)));var $=new jf(w),P=$;Array.isArray(y)?P=co([w],y):typeof y=="function"&&(P=y($));var A=T.apply(void 0,P);return fs(S,h,A)}function dr(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return cr(cr({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function Bc(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function qf(t){return typeof t=="function"}function Yf(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?Bc(e):[e,r,i],a=n[0],s=n[1],l=n[2],d;if(qf(t))d=function(){return bs(t())};else{var u=bs(t);d=function(){return u}}function h(f,y){f===void 0&&(f=d());var S=co([a[y.type]],s.filter(function(v){var w=v.matcher;return w(y)}).map(function(v){var w=v.reducer;return w}));return S.filter(function(v){return!!v}).length===0&&(S=[l]),S.reduce(function(v,w){if(w)if(qt(v)){var T=v,$=w(T,y);return $===void 0?v:$}else{if(vt(v))return Ui(v,function(P){return w(P,y)});var $=w(v,y);if($===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return $}return v},f)}return h.getInitialState=d,h}function Xf(t,e){return t+"/"+e}function Dc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:bs(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var f=i[h],y=Xf(e,h),S,v;"reducer"in f?(S=f.reducer,v=f.prepare):S=f,a[h]=S,s[y]=S,l[h]=v?dr(y,v):dr(y)});function d(){var h=typeof t.extraReducers=="function"?Bc(t.extraReducers):[t.extraReducers],f=h[0],y=f===void 0?{}:f,S=h[1],v=S===void 0?[]:S,w=h[2],T=w===void 0?void 0:w,$=cr(cr({},y),s);return Yf(r,function(P){for(var A in $)P.addCase(A,$[A]);for(var O=0,R=v;O<R.length;O++){var H=R[O];P.addMatcher(H.matcher,H.reducer)}T&&P.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Jf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Qf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Jf[Math.random()*64|0];return e},eh=["name","message","stack","code"],gs=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),$c=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),th=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=eh;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},Fv=function(){function t(e,r,i){var n=dr(e+"/fulfilled",function(h,f,y,S){return{payload:h,meta:ms(cr({},S||{}),{arg:y,requestId:f,requestStatus:"fulfilled"})}}),a=dr(e+"/pending",function(h,f,y){return{payload:void 0,meta:ms(cr({},y||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=dr(e+"/rejected",function(h,f,y,S,v){return{payload:S,error:(i&&i.serializeError||th)(h||"Rejected"),meta:ms(cr({},v||{}),{arg:y,requestId:f,rejectedWithValue:!!S,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(f,y,S){var v=i?.idGenerator?i.idGenerator(h):Qf(),w=new d,T,$=!1;function P(O){T=O,w.abort()}var A=function(){return zf(this,null,function(){var O,R,H,q,ie,ee,W;return Pf(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),q=(O=i?.condition)==null?void 0:O.call(i,h,{getState:y,extra:S}),oh(q)?[4,q]:[3,2];case 1:q=g.sent(),g.label=2;case 2:if(q===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return $=!0,ie=new Promise(function(E,U){return w.signal.addEventListener("abort",function(){return U({name:"AbortError",message:T||"Aborted"})})}),f(a(v,h,(R=i?.getPendingMeta)==null?void 0:R.call(i,{requestId:v,arg:h},{getState:y,extra:S}))),[4,Promise.race([ie,Promise.resolve(r(h,{dispatch:f,getState:y,extra:S,requestId:v,signal:w.signal,abort:P,rejectWithValue:function(E,U){return new gs(E,U)},fulfillWithValue:function(E,U){return new $c(E,U)}})).then(function(E){if(E instanceof gs)throw E;return E instanceof $c?n(E.payload,v,h,E.meta):n(E,v,h)})])];case 3:return H=g.sent(),[3,5];case 4:return ee=g.sent(),H=ee instanceof gs?s(null,v,h,ee.payload,ee.meta):s(ee,v,h),[3,5];case 5:return W=i&&!i.dispatchConditionRejection&&s.match(H)&&H.meta.condition,W||f(H),[2,H]}})})}();return Object.assign(A,{abort:P,requestId:v,arg:h,unwrap:function(){return A.then(rh)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function rh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function oh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Fc="listener",Mc="completed",Uc="cancelled",Mv="task-"+Uc,Uv="task-"+Mc,zv=Fc+"-"+Uc,Hv=Fc+"-"+Mc;var xs="listenerMiddleware";var Wv=dr(xs+"/add"),Vv=dr(xs+"/removeAll"),jv=dr(xs+"/remove");var Tc,Gv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Tc||(Tc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},ih=function(t){return function(e){setTimeout(e,t)}},Kv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ih(10);bc();window.ftReduxStores||(window.ftReduxStores={});var $r=class t extends Wt{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(io(a))return a;if(n==null)return;let s=Dc({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Pc({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new qo;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,u=a[d];return u?(...h)=>{let f=u(...h.map(n));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:n(h)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function nh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))io(e)&&e.clear()}var Hi=class{constructor(e,r,i){this.store=e,this.valueSelector=r,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Rt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function ah(t,e,r){return new Hi(t,e,r).watch()}var Cs={};ae(Cs,{scrollHelper:()=>sh});var Ss,Wi=new Map,Os=class{lock(e,r){if(r){let i=Wi.get(r);if(i==null||i===e)return Wi.set(r,e),r}}release(e,r){r&&Wi.get(r)===e&&Wi.delete(r)}findFirstScrollableParent(e){var r;let i,n;for(let a of Mn(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(r=i??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var i,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(i=r.offsetTop)!==null&&i!==void 0?i:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=Po(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;i.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(Ss=window.FluidTopicsScrollHelper)!==null&&Ss!==void 0?Ss:new Os;var sh=window.FluidTopicsScrollHelper;var ws={};ae(ws,{SearchPlaceConverter:()=>ur,SearchPlaceQueryParams:()=>de,isSearchPlaceQueryParams:()=>vd,serializeRequest:()=>ph});var ch=Gp(Hc(),1);var Wc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Wc||(Wc={}));var Vc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Vc||(Vc={}));var jc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(jc||(jc={}));var Gc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Gc||(Gc={}));var Kc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Kc||(Kc={}));var Zc;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Zc||(Zc={}));var qc;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(qc||(qc={}));var Yc;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Yc||(Yc={}));var Xc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(Xc||(Xc={}));var Jc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Jc||(Jc={}));var Qc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Qc||(Qc={}));var ed;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ed||(ed={}));var td;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(td||(td={}));var rd;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(rd||(rd={}));var od;(function(t){t.ASC="ASC",t.DESC="DESC"})(od||(od={}));var id;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(id||(id={}));var Es;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Es||(Es={}));var pd=t=>Object.keys(Es).includes(t);var nd;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(nd||(nd={}));var ad;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ad||(ad={}));var sd;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(sd||(sd={}));var uo;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(uo||(uo={}));var ud=t=>Object.keys(uo).includes(t);var ld;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(ld||(ld={}));var cd;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(cd||(cd={}));var dd;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(dd||(dd={}));var Le;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Le||(Le={}));var it;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(it||(it={}));var fd;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(fd||(fd={}));var hd;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(hd||(hd={}));var md;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(md||(md={}));var yd;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(yd||(yd={}));var lh={[Le.PERSONAL_BOOK_SHARE_USER]:[Le.PERSONAL_BOOK_USER],[Le.HTML_EXPORT_USER]:[Le.PERSONAL_BOOK_USER],[Le.PDF_EXPORT_USER]:[Le.PERSONAL_BOOK_USER],[Le.KHUB_ADMIN]:[Le.CONTENT_PUBLISHER],[Le.ADMIN]:[Le.KHUB_ADMIN,Le.USERS_ADMIN,Le.PORTAL_ADMIN],[Le.GENERATIVE_AI_EXPORT_USER]:[Le.GENERATIVE_AI_USER]};function gd(t,e){return t===e||(lh[t]??[]).some(r=>gd(r,e))}function bd(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>gd(i,e))}function dh(t){return`"${t}"`}function xd(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ph(t,e){return new ur(t).serialize(e)}var de;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(de||(de={}));var uh=new Set(Object.values(de));function vd(t){return uh.has(t)}var ur=class{constructor(e,r=20,i=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=i,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let i=r==null||r.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var i,n,a,s,l,d,u,h,f,y,S;let v=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&v.append(de.LOCALE,e.contentLocale):v.append(de.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&v.append(de.QUERY,e.query);let w=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(O=>O.valueFilter&&!O.valueFilter.negative))!==null&&a!==void 0?a:[];if(w.length>0){let O=w.map(R=>{var H,q;let ie=((q=(H=R.valueFilter)===null||H===void 0?void 0:H.values)!==null&&q!==void 0?q:[]).map(ee=>this.escapeFilters(ee)).map(ee=>dh(xd(ee))).join("_");return`${R.key}~${ie}`}).join("*");v.append(de.VALUE_FILTERS,O)}let T=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(O=>O.dateFilter))!==null&&l!==void 0?l:[];if(T.length>0){let O=T.map(R=>{var H;return`${R.key}~${(H=R.dateFilter)===null||H===void 0?void 0:H.type.toLowerCase()}`}).join("*");v.append(de.DATE_FILTERS,O)}let $=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(O=>O.rangeFilter))!==null&&u!==void 0?u:[];if($.length>0){let O=$.map(R=>{var H,q;return`${R.key}~${(H=R.rangeFilter)===null||H===void 0?void 0:H.from}_${(q=R.rangeFilter)===null||q===void 0?void 0:q.to}`}).join("*");v.append(de.RANGE_FILTERS,O)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&v.append(de.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&v.append(de.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&v.append(de.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((y=(f=e.paging)===null||f===void 0?void 0:f.perPage)!==null&&y!==void 0?y:this.defaultPerPage)!=this.defaultPerPage&&v.append(de.PER_PAGE,String(e.paging.perPage));let P=(S=e.otherQueryParams)!==null&&S!==void 0?S:{};for(let O in P)v.append(O,P[O]);let A=new Array;return v.forEach((O,R)=>{A.push(this.encodeQueryString(R)+"="+this.encodeQueryString(O))}),encodeURI(A.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,i,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let d=new URLSearchParams(e),u=d.get(de.LOCALE)==="all"?void 0:d.get(de.LOCALE),h=((r=d.get(de.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),f=(i=d.get(de.SORT))===null||i===void 0?void 0:i.toLowerCase(),y=(n=d.get(de.SCOPE))!==null&&n!==void 0?n:"default",S=+((a=d.get(de.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),v={};for(let w of d.keys())vd(w)||(v[w]=d.get(w));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(de.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:pd(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Po(1,isNaN(S)?this.defaultPerPage:S,1e3)},otherQueryParams:v}}parseCompatFilters(e){var r,i,n,a,s,l;let d=[];return e.has(de.FILTERS)&&(d=this.parseValueFilters((r=e.get(de.FILTERS))!==null&&r!==void 0?r:"")),(i=e.has(de.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(de.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(de.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(de.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(de.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(xd).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:uo[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(r,i);return e}superEscapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replace(n,r);return e}parseLegacyPeriodFilter(e){if(ud(e))return[{key:"ft:lastEdition",dateFilter:{type:uo[e]}}];if(e.startsWith("CUSTOM_")){let[r,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}};var Ls={};ae(Ls,{toFtFormComponent:()=>Rs});var As=Symbol("elementInternals"),Rs=De(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[As].form}constructor(...i){super(i),this[As]=this.attachInternals()}setFormValue(i){this[As].setFormValue(i)}}return e});var Is={};ae(Is,{DateFormatter:()=>Tr});var Tr=class{static format(e,r,i,n){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(i,n)):this.getIntlDateTime(e,r,i,n)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,i,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:i?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}};var _s={};ae(_s,{ALL_KEYS_VALUE:()=>ks,SameWindowStorageEvent:()=>fo});var ks="__all__",fo=class extends CustomEvent{constructor(e,r,i){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ks}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let i=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new fo(r[0],i,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let i=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new fo(r[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new fo(ks))}});var Ts={};ae(Ts,{FocusMainContentEvent:()=>$s});var $s=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Sd={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1};function fh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function hh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",fh);document.addEventListener("click",hh);var Gi=k`
48
+ `;var cc={};var Ya={};ae(Ya,{ParametrizedLabelResolver:()=>ar});var ar=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var i,n;e=this.resolvePluralKey(e,r);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(i,s))),e}resolvePluralKey(e,r){for(let i of r)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let i=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var vs={};ae(vs,{FtCommandQueue:()=>Zo,FtLitElementRedux:()=>Yo,FtReduxStore:()=>$r,ReduxWatcher:()=>zi,clearAllStores:()=>lh,isFtReduxStore:()=>oo,redux:()=>ro,reduxEventListener:()=>wf,reduxReactive:()=>Ef,watch:()=>ch,withRedux:()=>dc});var Ef=()=>(t,e)=>{var r;let i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(r=i.reduxReactiveProperties)===null||r===void 0||r.add(e)},ro=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:Rt,attribute:!1,...e};m(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},wf=t=>(e,r)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(r,t)};var Zo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function oo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var qo=Symbol("internalReduxEventsUnsubscribers"),sr=Symbol("internalStoresUnsubscribers"),kr=Symbol("internalStores"),dc=De(Symbol("withRedux"),function(t){var e,r,i;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[kr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[kr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[kr].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[kr].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[kr].delete(l)}setupStores(){this.unsubscribeFromStores(),this[kr].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[sr].has(s.store):this[sr].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var d;this[sr].set(s,l.subscribe(()=>this.updateFromStores())),this[qo].set(s,[]),oo(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,h)=>{if(typeof this[h]=="function"&&(!u.store||l.name===u.store)){let f=y=>this[h](y);l.addEventListener(u.eventName,f),this[qo].get(s).push(()=>l.removeEventListener(u.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[sr].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[sr].has(s)&&this[sr].get(s)(),this[sr].delete(s),(l=this[qo].get(s))===null||l===void 0||l.forEach(d=>d()),this[qo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=sr,r=kr,i=qo,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Yo=class extends dc(M){};function ut(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function qt(t){return!!t&&!!t[ge]}function xt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===$f}(t)||Array.isArray(t)||!!t[gc]||!!(!((e=t.constructor)===null||e===void 0)&&e[gc])||ns(t)||as(t))}function _r(t,e,r){r===void 0&&(r=!1),ao(t)===0?(r?Object.keys:no)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function ao(t){var e=t[ge];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ns(t)?2:as(t)?3:0}function io(t,e){return ao(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Af(t,e){return ao(t)===2?t.get(e):t[e]}function bc(t,e,r){var i=ao(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function xc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ns(t){return _f&&t instanceof Map}function as(t){return Tf&&t instanceof Set}function lr(t){return t.o||t.t}function ss(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Oc(t);delete e[ge];for(var r=no(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function ls(t,e){return e===void 0&&(e=!1),cs(t)||qt(t)||!xt(t)||(ao(t)>1&&(t.set=t.add=t.clear=t.delete=Rf),Object.freeze(t),e&&_r(t,function(r,i){return ls(i,!0)},!0)),t}function Rf(){ut(2)}function cs(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Tt(t){var e=is[t];return e||ut(18,t),e}function Lf(t,e){is[t]||(is[t]=e)}function ts(){return Jo}function Xa(t,e){e&&(Tt("Patches"),t.u=[],t.s=[],t.v=e)}function Bi(t){rs(t),t.p.forEach(If),t.p=null}function rs(t){t===Jo&&(Jo=t.l)}function pc(t){return Jo={p:[],l:Jo,h:t,m:!0,_:0}}function If(t){var e=t[ge];e.i===0||e.i===1?e.j():e.g=!0}function Ja(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Tt("ES5").S(e,t,i),i?(r[ge].P&&(Bi(e),ut(4)),xt(t)&&(t=Di(e,t),e.l||Fi(e,t)),e.u&&Tt("Patches").M(r[ge].t,t,e.u,e.s)):t=Di(e,r,[]),Bi(e),e.u&&e.v(e.u,e.s),t!==Sc?t:void 0}function Di(t,e,r){if(cs(e))return e;var i=e[ge];if(!i)return _r(e,function(l,d){return uc(t,i,e,l,d,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Fi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=ss(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),_r(a,function(l,d){return uc(t,i,n,l,d,r,s)}),Fi(t,n,!1),r&&t.u&&Tt("Patches").N(i,r,t.u,t.s)}return i.o}function uc(t,e,r,i,n,a,s){if(qt(n)){var l=Di(t,n,a&&e&&e.i!==3&&!io(e.R,i)?a.concat(i):void 0);if(bc(r,i,l),!qt(l))return;t.m=!1}else s&&r.add(n);if(xt(n)&&!cs(n)){if(!t.h.D&&t._<1)return;Di(t,n),e&&e.A.l||Fi(t,n)}}function Fi(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ls(e,r)}function Qa(t,e){var r=t[ge];return(r?lr(r):t)[e]}function fc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function cr(t){t.P||(t.P=!0,t.l&&cr(t.l))}function es(t){t.o||(t.o=ss(t.t))}function os(t,e,r){var i=ns(e)?Tt("MapSet").F(e,r):as(e)?Tt("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:ts(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,u=Qo;s&&(d=[l],u=Xo);var h=Proxy.revocable(d,u),f=h.revoke,y=h.proxy;return l.k=y,l.j=f,y}(e,r):Tt("ES5").J(e,r);return(r?r.A:ts()).p.push(i),i}function kf(t){return qt(t)||ut(22,t),function e(r){if(!xt(r))return r;var i,n=r[ge],a=ao(r);if(n){if(!n.P&&(n.i<4||!Tt("ES5").K(n)))return n.t;n.I=!0,i=hc(r,a),n.I=!1}else i=hc(r,a);return _r(i,function(s,l){n&&Af(n.t,s)===l||bc(i,s,e(l))}),a===3?new Set(i):i}(t)}function hc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ss(t)}function vc(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[ge];return Qo.get(u,s)},set:function(u){var h=this[ge];Qo.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][ge];if(!d.P)switch(d.i){case 5:i(d)&&cr(d);break;case 4:r(d)&&cr(d)}}}function r(s){for(var l=s.t,d=s.k,u=no(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==ge){var y=l[f];if(y===void 0&&!io(l,f))return!0;var S=d[f],v=S&&S[ge];if(v?v.t!==y:!xc(S,y))return!0}}var w=!!l[ge];return u.length!==no(l).length+(w?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function n(s){s.g&&ut(3,JSON.stringify(lr(s)))}var a={};Lf("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,y){if(f){for(var S=Array(y.length),v=0;v<y.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var w=Oc(y);delete w[ge];for(var $=no(w),T=0;T<$.length;T++){var N=$[T];w[N]=t(N,f||!!w[N].enumerable)}return Object.create(Object.getPrototypeOf(y),w)}(d,s),h={i:d?5:4,A:l?l.A:ts(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ge,{value:h,writable:!0}),u},S:function(s,l,d){d?qt(l)&&l[ge].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[ge];if(f){var y=f.t,S=f.k,v=f.R,w=f.i;if(w===4)_r(S,function(O){O!==ge&&(y[O]!==void 0||io(y,O)?v[O]||u(S[O]):(v[O]=!0,cr(f)))}),_r(y,function(O){S[O]!==void 0||io(S,O)||(v[O]=!1,cr(f))});else if(w===5){if(i(f)&&(cr(f),v.length=!0),S.length<y.length)for(var $=S.length;$<y.length;$++)v[$]=!1;else for(var T=y.length;T<S.length;T++)v[T]=!0;for(var N=Math.min(S.length,y.length),A=0;A<N;A++)S.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&u(S[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var mc,Jo,ds=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",_f=typeof Map<"u",Tf=typeof Set<"u",yc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Sc=ds?Symbol.for("immer-nothing"):((mc={})["immer-nothing"]=!0,mc),gc=ds?Symbol.for("immer-draftable"):"__$immer_draftable",ge=ds?Symbol.for("immer-state"):"__$immer_state";var $f=""+Object.prototype.constructor,no=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Oc=Object.getOwnPropertyDescriptors||function(t){var e={};return no(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},is={},Qo={get:function(t,e){if(e===ge)return t;var r=lr(t);if(!io(r,e))return function(n,a,s){var l,d=fc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!xt(i)?i:i===Qa(t.t,e)?(es(t),t.o[e]=os(t.A.h,i,t)):i},has:function(t,e){return e in lr(t)},ownKeys:function(t){return Reflect.ownKeys(lr(t))},set:function(t,e,r){var i=fc(lr(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Qa(lr(t),e),a=n?.[ge];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(xc(r,n)&&(r!==void 0||io(t.t,e)))return!0;es(t),cr(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Qa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,es(t),cr(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=lr(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){ut(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ut(12)}},Xo={};_r(Qo,function(t,e){Xo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Xo.deleteProperty=function(t,e){return Xo.set.call(this,t,e,void 0)},Xo.set=function(t,e,r){return Qo.set.call(this,t[0],e,r,t[0])};var Pf=function(){function t(r){var i=this;this.O=yc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(w){var $=this;w===void 0&&(w=l);for(var T=arguments.length,N=Array(T>1?T-1:0),A=1;A<T;A++)N[A-1]=arguments[A];return d.produce(w,function(O){var R;return(R=a).call.apply(R,[$,O].concat(N))})}}var u;if(typeof a!="function"&&ut(6),s!==void 0&&typeof s!="function"&&ut(7),xt(n)){var h=pc(i),f=os(i,n,void 0),y=!0;try{u=a(f),y=!1}finally{y?Bi(h):rs(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(w){return Xa(h,s),Ja(w,h)},function(w){throw Bi(h),w}):(Xa(h,s),Ja(u,h))}if(!n||typeof n!="object"){if((u=a(n))===void 0&&(u=n),u===Sc&&(u=void 0),i.D&&ls(u,!0),s){var S=[],v=[];Tt("Patches").M(n,u,S,v),s(S,v)}return u}ut(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),y=1;y<h;y++)f[y-1]=arguments[y];return i.produceWithPatches(u,function(S){return n.apply(void 0,[S].concat(f))})};var s,l,d=i.produce(n,a,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){xt(r)||ut(8),qt(r)&&(r=kf(r));var i=pc(this),n=os(this,r,void 0);return n[ge].C=!0,rs(i),n},e.finishDraft=function(r,i){var n=r&&r[ge],a=n.A;return Xa(a,i),Ja(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!yc&&ut(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Tt("Patches").$;return qt(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),rt=new Pf,Nf=rt.produce,mv=rt.produceWithPatches.bind(rt),yv=rt.setAutoFreeze.bind(rt),gv=rt.setUseProxies.bind(rt),bv=rt.applyPatches.bind(rt),xv=rt.createDraft.bind(rt),vv=rt.finishDraft.bind(rt),Mi=Nf;function Tr(t){"@babel/helpers - typeof";return Tr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tr(t)}function Cc(t,e){if(Tr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Tr(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ec(t){var e=Cc(t,"string");return Tr(e)=="symbol"?e:e+""}function wc(t,e,r){return(e=Ec(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ac(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function ps(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ac(Object(r),!0).forEach(function(i){wc(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ac(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function We(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Rc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),us=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ui={INIT:"@@redux/INIT"+us(),REPLACE:"@@redux/REPLACE"+us(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+us()}};function Bf(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function fs(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(We(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(We(1));return r(fs)(t,e)}if(typeof t!="function")throw new Error(We(2));var n=t,a=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(We(3));return a}function f(w){if(typeof w!="function")throw new Error(We(4));if(d)throw new Error(We(5));var $=!0;return u(),l.push(w),function(){if($){if(d)throw new Error(We(6));$=!1,u();var N=l.indexOf(w);l.splice(N,1),s=null}}}function y(w){if(!Bf(w))throw new Error(We(7));if(typeof w.type>"u")throw new Error(We(8));if(d)throw new Error(We(9));try{d=!0,a=n(a,w)}finally{d=!1}for(var $=s=l,T=0;T<$.length;T++){var N=$[T];N()}return w}function S(w){if(typeof w!="function")throw new Error(We(10));n=w,y({type:Ui.REPLACE})}function v(){var w,$=f;return w={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(We(11));function A(){N.next&&N.next(h())}A();var O=$(A);return{unsubscribe:O}}},w[Rc]=function(){return this},w}return y({type:Ui.INIT}),i={dispatch:y,subscribe:f,getState:h,replaceReducer:S},i[Rc]=v,i}function Df(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:Ui.INIT});if(typeof i>"u")throw new Error(We(12));if(typeof r(void 0,{type:Ui.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(We(13))})}function Lc(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{Df(r)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var y=!1,S={},v=0;v<a.length;v++){var w=a[v],$=r[w],T=u[w],N=$(T,h);if(typeof N>"u"){var A=h&&h.type;throw new Error(We(14))}S[w]=N,y=y||N!==T}return y=y||a.length!==Object.keys(u).length,y?S:u}}function so(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Ic(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(We(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=so.apply(void 0,l)(n.dispatch),ps(ps({},n),{},{dispatch:a})}}}function kc(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var _c=kc();_c.withExtraArgument=kc;var hs=_c;var Bc=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),Ff=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,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(u){return function(h){return d([u,h])}}function d(u){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=u[0]&2?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,n=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(h){u=[6,h],n=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},lo=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},Mf=Object.defineProperty,Uf=Object.defineProperties,zf=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,Hf=Object.prototype.hasOwnProperty,Wf=Object.prototype.propertyIsEnumerable,$c=function(t,e,r){return e in t?Mf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},dr=function(t,e){for(var r in e||(e={}))Hf.call(e,r)&&$c(t,r,e[r]);if(Tc)for(var i=0,n=Tc(e);i<n.length;i++){var r=n[i];Wf.call(e,r)&&$c(t,r,e[r])}return t},ms=function(t,e){return Uf(t,zf(e))},Vf=function(t,e,r){return new Promise(function(i,n){var a=function(d){try{l(r.next(d))}catch(u){n(u)}},s=function(d){try{l(r.throw(d))}catch(u){n(u)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var jf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?so:so.apply(null,arguments)},Fv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Gf(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Kf=function(t){Bc(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,lo([void 0],r[0].concat(this)))):new(e.bind.apply(e,lo([void 0],r.concat(this))))},e}(Array),Zf=function(t){Bc(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,lo([void 0],r[0].concat(this)))):new(e.bind.apply(e,lo([void 0],r.concat(this))))},e}(Array);function bs(t){return xt(t)?Mi(t,function(){}):t}function qf(t){return typeof t=="boolean"}function Yf(){return function(e){return Xf(e)}}function Xf(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new Kf;if(r&&(qf(r)?l.push(hs):l.push(hs.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var u}return l}var ys=!0;function Dc(t){var e=Yf(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,f=r.enhancers,y=f===void 0?void 0:f,S;if(typeof n=="function")S=n;else if(Gf(n))S=Lc(n);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 v=s;if(typeof v=="function"&&(v=v(e),!ys&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ys&&v.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var w=Ic.apply(void 0,v),$=so;d&&($=jf(dr({trace:!ys},typeof d=="object"&&d)));var T=new Zf(w),N=T;Array.isArray(y)?N=lo([w],y):typeof y=="function"&&(N=y(T));var A=$.apply(void 0,N);return fs(S,h,A)}function pr(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return dr(dr({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function Fc(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function Jf(t){return typeof t=="function"}function Qf(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?Fc(e):[e,r,i],a=n[0],s=n[1],l=n[2],d;if(Jf(t))d=function(){return bs(t())};else{var u=bs(t);d=function(){return u}}function h(f,y){f===void 0&&(f=d());var S=lo([a[y.type]],s.filter(function(v){var w=v.matcher;return w(y)}).map(function(v){var w=v.reducer;return w}));return S.filter(function(v){return!!v}).length===0&&(S=[l]),S.reduce(function(v,w){if(w)if(qt(v)){var $=v,T=w($,y);return T===void 0?v:T}else{if(xt(v))return Mi(v,function(N){return w(N,y)});var T=w(v,y);if(T===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return v},f)}return h.getInitialState=d,h}function eh(t,e){return t+"/"+e}function Mc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:bs(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var f=i[h],y=eh(e,h),S,v;"reducer"in f?(S=f.reducer,v=f.prepare):S=f,a[h]=S,s[y]=S,l[h]=v?pr(y,v):pr(y)});function d(){var h=typeof t.extraReducers=="function"?Fc(t.extraReducers):[t.extraReducers],f=h[0],y=f===void 0?{}:f,S=h[1],v=S===void 0?[]:S,w=h[2],$=w===void 0?void 0:w,T=dr(dr({},y),s);return Qf(r,function(N){for(var A in T)N.addCase(A,T[A]);for(var O=0,R=v;O<R.length;O++){var H=R[O];N.addMatcher(H.matcher,H.reducer)}$&&N.addDefaultCase($)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var th="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",rh=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=th[Math.random()*64|0];return e},oh=["name","message","stack","code"],gs=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Pc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),ih=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=oh;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},Hv=function(){function t(e,r,i){var n=pr(e+"/fulfilled",function(h,f,y,S){return{payload:h,meta:ms(dr({},S||{}),{arg:y,requestId:f,requestStatus:"fulfilled"})}}),a=pr(e+"/pending",function(h,f,y){return{payload:void 0,meta:ms(dr({},y||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=pr(e+"/rejected",function(h,f,y,S,v){return{payload:S,error:(i&&i.serializeError||ih)(h||"Rejected"),meta:ms(dr({},v||{}),{arg:y,requestId:f,rejectedWithValue:!!S,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(f,y,S){var v=i?.idGenerator?i.idGenerator(h):rh(),w=new d,$,T=!1;function N(O){$=O,w.abort()}var A=function(){return Vf(this,null,function(){var O,R,H,q,ie,ee,W;return Ff(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),q=(O=i?.condition)==null?void 0:O.call(i,h,{getState:y,extra:S}),ah(q)?[4,q]:[3,2];case 1:q=g.sent(),g.label=2;case 2:if(q===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,ie=new Promise(function(E,U){return w.signal.addEventListener("abort",function(){return U({name:"AbortError",message:$||"Aborted"})})}),f(a(v,h,(R=i?.getPendingMeta)==null?void 0:R.call(i,{requestId:v,arg:h},{getState:y,extra:S}))),[4,Promise.race([ie,Promise.resolve(r(h,{dispatch:f,getState:y,extra:S,requestId:v,signal:w.signal,abort:N,rejectWithValue:function(E,U){return new gs(E,U)},fulfillWithValue:function(E,U){return new Pc(E,U)}})).then(function(E){if(E instanceof gs)throw E;return E instanceof Pc?n(E.payload,v,h,E.meta):n(E,v,h)})])];case 3:return H=g.sent(),[3,5];case 4:return ee=g.sent(),H=ee instanceof gs?s(null,v,h,ee.payload,ee.meta):s(ee,v,h),[3,5];case 5:return W=i&&!i.dispatchConditionRejection&&s.match(H)&&H.meta.condition,W||f(H),[2,H]}})})}();return Object.assign(A,{abort:N,requestId:v,arg:h,unwrap:function(){return A.then(nh)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function nh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ah(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Uc="listener",zc="completed",Hc="cancelled",Wv="task-"+Hc,Vv="task-"+zc,jv=Uc+"-"+Hc,Gv=Uc+"-"+zc;var xs="listenerMiddleware";var Kv=pr(xs+"/add"),Zv=pr(xs+"/removeAll"),qv=pr(xs+"/remove");var Nc,Yv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Nc||(Nc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},sh=function(t){return function(e){setTimeout(e,t)}},Xv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:sh(10);vc();window.ftReduxStores||(window.ftReduxStores={});var $r=class t extends Wt{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(oo(a))return a;if(n==null)return;let s=Mc({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Dc({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Zo;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,u=a[d];return u?(...h)=>{let f=u(...h.map(n));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:n(h)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function lh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))oo(e)&&e.clear()}var zi=class{constructor(e,r,i){this.store=e,this.valueSelector=r,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Rt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function ch(t,e,r){return new zi(t,e,r).watch()}var Cs={};ae(Cs,{scrollHelper:()=>dh});var Ss,Hi=new Map,Os=class{lock(e,r){if(r){let i=Hi.get(r);if(i==null||i===e)return Hi.set(r,e),r}}release(e,r){r&&Hi.get(r)===e&&Hi.delete(r)}findFirstScrollableParent(e){var r;let i,n;for(let a of Mn(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(r=i??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var i,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(i=r.offsetTop)!==null&&i!==void 0?i:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=Po(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;i.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(Ss=window.FluidTopicsScrollHelper)!==null&&Ss!==void 0?Ss:new Os;var dh=window.FluidTopicsScrollHelper;var ws={};ae(ws,{SearchPlaceConverter:()=>fr,SearchPlaceQueryParams:()=>de,isSearchPlaceQueryParams:()=>Od,serializeRequest:()=>hh});var uh=Zp(Vc(),1);var jc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(jc||(jc={}));var Gc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Gc||(Gc={}));var Kc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Kc||(Kc={}));var Zc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Zc||(Zc={}));var qc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(qc||(qc={}));var Yc;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Yc||(Yc={}));var Xc;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Xc||(Xc={}));var Jc;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Jc||(Jc={}));var Qc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(Qc||(Qc={}));var ed;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ed||(ed={}));var td;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(td||(td={}));var rd;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(rd||(rd={}));var od;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(od||(od={}));var id;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(id||(id={}));var nd;(function(t){t.ASC="ASC",t.DESC="DESC"})(nd||(nd={}));var ad;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ad||(ad={}));var Es;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Es||(Es={}));var fd=t=>Object.keys(Es).includes(t);var sd;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(sd||(sd={}));var ld;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ld||(ld={}));var cd;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(cd||(cd={}));var po;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(po||(po={}));var hd=t=>Object.keys(po).includes(t);var dd;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(dd||(dd={}));var pd;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(pd||(pd={}));var ud;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ud||(ud={}));var Le;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Le||(Le={}));var ot;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(ot||(ot={}));var md;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(md||(md={}));var yd;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(yd||(yd={}));var gd;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(gd||(gd={}));var bd;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(bd||(bd={}));var ph={[Le.PERSONAL_BOOK_SHARE_USER]:[Le.PERSONAL_BOOK_USER],[Le.HTML_EXPORT_USER]:[Le.PERSONAL_BOOK_USER],[Le.PDF_EXPORT_USER]:[Le.PERSONAL_BOOK_USER],[Le.KHUB_ADMIN]:[Le.CONTENT_PUBLISHER],[Le.ADMIN]:[Le.KHUB_ADMIN,Le.USERS_ADMIN,Le.PORTAL_ADMIN],[Le.GENERATIVE_AI_EXPORT_USER]:[Le.GENERATIVE_AI_USER]};function xd(t,e){return t===e||(ph[t]??[]).some(r=>xd(r,e))}function vd(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>xd(i,e))}function fh(t){return`"${t}"`}function Sd(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function hh(t,e){return new fr(t).serialize(e)}var de;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(de||(de={}));var mh=new Set(Object.values(de));function Od(t){return mh.has(t)}var fr=class{constructor(e,r=20,i=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=i,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let i=r==null||r.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var i,n,a,s,l,d,u,h,f,y,S;let v=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&v.append(de.LOCALE,e.contentLocale):v.append(de.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&v.append(de.QUERY,e.query);let w=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(O=>O.valueFilter&&!O.valueFilter.negative))!==null&&a!==void 0?a:[];if(w.length>0){let O=w.map(R=>{var H,q;let ie=((q=(H=R.valueFilter)===null||H===void 0?void 0:H.values)!==null&&q!==void 0?q:[]).map(ee=>this.escapeFilters(ee)).map(ee=>fh(Sd(ee))).join("_");return`${R.key}~${ie}`}).join("*");v.append(de.VALUE_FILTERS,O)}let $=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(O=>O.dateFilter))!==null&&l!==void 0?l:[];if($.length>0){let O=$.map(R=>{var H;return`${R.key}~${(H=R.dateFilter)===null||H===void 0?void 0:H.type.toLowerCase()}`}).join("*");v.append(de.DATE_FILTERS,O)}let T=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(O=>O.rangeFilter))!==null&&u!==void 0?u:[];if(T.length>0){let O=T.map(R=>{var H,q;return`${R.key}~${(H=R.rangeFilter)===null||H===void 0?void 0:H.from}_${(q=R.rangeFilter)===null||q===void 0?void 0:q.to}`}).join("*");v.append(de.RANGE_FILTERS,O)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&v.append(de.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&v.append(de.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&v.append(de.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((y=(f=e.paging)===null||f===void 0?void 0:f.perPage)!==null&&y!==void 0?y:this.defaultPerPage)!=this.defaultPerPage&&v.append(de.PER_PAGE,String(e.paging.perPage));let N=(S=e.otherQueryParams)!==null&&S!==void 0?S:{};for(let O in N)v.append(O,N[O]);let A=new Array;return v.forEach((O,R)=>{A.push(this.encodeQueryString(R)+"="+this.encodeQueryString(O))}),encodeURI(A.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,i,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let d=new URLSearchParams(e),u=d.get(de.LOCALE)==="all"?void 0:d.get(de.LOCALE),h=((r=d.get(de.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),f=(i=d.get(de.SORT))===null||i===void 0?void 0:i.toLowerCase(),y=(n=d.get(de.SCOPE))!==null&&n!==void 0?n:"default",S=+((a=d.get(de.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),v={};for(let w of d.keys())Od(w)||(v[w]=d.get(w));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(de.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:fd(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Po(1,isNaN(S)?this.defaultPerPage:S,1e3)},otherQueryParams:v}}parseCompatFilters(e){var r,i,n,a,s,l;let d=[];return e.has(de.FILTERS)&&(d=this.parseValueFilters((r=e.get(de.FILTERS))!==null&&r!==void 0?r:"")),(i=e.has(de.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(de.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(de.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(de.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(de.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Sd).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:po[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(r,i);return e}superEscapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replace(n,r);return e}parseLegacyPeriodFilter(e){if(hd(e))return[{key:"ft:lastEdition",dateFilter:{type:po[e]}}];if(e.startsWith("CUSTOM_")){let[r,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}};var Ls={};ae(Ls,{toFtFormComponent:()=>Rs});var As=Symbol("elementInternals"),Rs=De(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[As].form}constructor(...i){super(i),this[As]=this.attachInternals()}setFormValue(i){this[As].setFormValue(i)}}return e});var Is={};ae(Is,{DateFormatter:()=>Pr});var Pr=class{static format(e,r,i,n){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(i,n)):this.getIntlDateTime(e,r,i,n)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,i,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:i?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=i=>String(Math.floor(i)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var _s={};ae(_s,{ALL_KEYS_VALUE:()=>ks,SameWindowStorageEvent:()=>uo});var ks="__all__",uo=class extends CustomEvent{constructor(e,r,i){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ks}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let i=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new uo(r[0],i,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let i=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new uo(r[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new uo(ks))}});var $s={};ae($s,{FocusMainContentEvent:()=>Ts});var Ts=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Cd={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function yh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function gh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",yh);document.addEventListener("click",gh);var ji=k`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -69,7 +69,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
69
69
  width:auto;
70
70
  height:auto;
71
71
  }
72
- `;var Od=De(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotificationIfVisible(i){setTimeout(()=>{this.checkVisibility()&&this.sendAriaNotification(i)},20)}sendAriaNotification(i){i=typeof i=="string"?i:i?.message,i&&this.dispatchEvent(new Do({type:"aria",message:i}))}}return e});function ho(t,e,r){return t?e(t):r?.(t)}var Fe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Nr;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Nr||(Nr={}));var Pr;(function(t){t.default="default",t.warning="warning",t.error="error"})(Pr||(Pr={}));var Ns=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},U0=De(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Nr.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Pr.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Nr.blur||this.validateOn===Nr.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==Pr.default&&this.validateOn===Nr.blurWithStatusResolutionOnInput||this.validateOn===Nr.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Ns(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return C`
72
+ `;var bh={checkVisibility:!0},Ed=De(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(i,n){let{checkVisibility:a}={...bh,...n};setTimeout(()=>{(!a||this.checkVisibility())&&(i=typeof i=="string"?i:i?.message,i&&this.dispatchEvent(new Bo({type:"aria",message:i})))},20)}}return e});function fo(t,e,r){return t?e(t):r?.(t)}var Fe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Nr;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Nr||(Nr={}));var Br;(function(t){t.default="default",t.warning="warning",t.error="error"})(Br||(Br={}));var Ps=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},V0=De(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Nr.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Br.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Nr.blur||this.validateOn===Nr.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==Br.default&&this.validateOn===Nr.blurWithStatusResolutionOnInput||this.validateOn===Nr.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Ps(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return C`
73
73
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
74
74
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
75
75
  ${we(this.errorMessages,i=>C`
@@ -78,11 +78,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
78
78
  ${we(this.warningMessages,i=>C`
79
79
  <li>${i}</li>
80
80
  `)}
81
- ${ho(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>C`
81
+ ${fo(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>C`
82
82
  <li>${this.helperText}</li>
83
83
  `)}
84
84
  </ul>
85
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Pr.error:this.warningMessages.length?Pr.warning:Pr.default}processRules(i){return i.map(n=>n(this.value)).filter(n=>n!==!0).map(n=>n)}}return Fe([m()],e.prototype,"warningRules",void 0),Fe([m()],e.prototype,"errorRules",void 0),Fe([m()],e.prototype,"validateOn",void 0),Fe([m({type:Boolean})],e.prototype,"validateAtRender",void 0),Fe([m()],e.prototype,"label",void 0),Fe([m({type:Boolean})],e.prototype,"hideLabel",void 0),Fe([m()],e.prototype,"name",void 0),Fe([m({type:Boolean})],e.prototype,"disabled",void 0),Fe([m()],e.prototype,"helperText",void 0),Fe([m()],e.prototype,"forceStatus",void 0),Fe([m({reflect:!0})],e.prototype,"value",void 0),Fe([B()],e.prototype,"errorMessages",void 0),Fe([B()],e.prototype,"warningMessages",void 0),Fe([B()],e.prototype,"status",void 0),Fe([B()],e.prototype,"focused",void 0),Fe([B()],e.prototype,"additionalWarningRules",void 0),Fe([B()],e.prototype,"additionalErrorRules",void 0),e});var ti=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let i of r)i._$AO?.(e,!1),ti(i,e);return!0},Ki=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Cd=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),gh(e)}};function mh(t){this._$AN!==void 0?(Ki(this),this._$AM=t,Cd(this)):this._$AM=t}function yh(t,e=!1,r=0){let i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(i))for(let a=r;a<i.length;a++)ti(i[a],!1),Ki(i[a]);else i!=null&&(ti(i,!1),Ki(i));else ti(this,t)}var gh=t=>{t.type==At.CHILD&&(t._$AP??=yh,t._$AQ??=mh)},Zi=class extends ut{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,i){super._$AT(e,r,i),Cd(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(ti(this,e),Ki(this))}setValue(e){if(wl(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Ed;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Ed||(Ed={}));var bh={sm:640,md:768,lg:1024,xl:1280},Ps=class extends Zi{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,i,n]){return this.lastArgs=[r,i,n],this.render(r,i,n)}render(e,r,i){let n=this.resolveThreshold(e),a=i??(()=>N);return this.size>n?r():a()}resolveThreshold(e){return typeof e=="number"?e:bh[e]}},eS=bt(Ps);var Bs,Ds,Fs,Ms,Br=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Fs=(Ds=(Bs=window.safari)===null||Bs===void 0?void 0:Bs.pushNotification)===null||Ds===void 0?void 0:Ds.toString())!==null&&Fs!==void 0?Fs:"")==="[object SafariRemoteNotification]",Us="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ms=window.ftGlobals)!==null&&Ms!==void 0?Ms:{lit:Rn,litDecorators:_n,litRepeat:$n,litClassMap:Tn,litStyleMap:Nn,litUnsafeHTML:Bn,wcUtils:{...Vn,...Fn,...Kn,...Is,...Zn,...qn,...Oa,...Wn,...Ma,...Ts,...Sd,...Cs,...Sa,...Va,...Ls,...Wa,...nc,...Un,...Ka,...Ca,...qa,...Gi,...sc,...Ya,...vs,..._s,...Ua,...Ha,...ws,isSafari:Br,isTouchScreen:Us,setVariable:b}};var ht;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(ht||(ht={}));var wd=k`
85
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Br.error:this.warningMessages.length?Br.warning:Br.default}processRules(i){return i.map(n=>n(this.value)).filter(n=>n!==!0).map(n=>n)}}return Fe([m()],e.prototype,"warningRules",void 0),Fe([m()],e.prototype,"errorRules",void 0),Fe([m()],e.prototype,"validateOn",void 0),Fe([m({type:Boolean})],e.prototype,"validateAtRender",void 0),Fe([m()],e.prototype,"label",void 0),Fe([m({type:Boolean})],e.prototype,"hideLabel",void 0),Fe([m()],e.prototype,"name",void 0),Fe([m({type:Boolean})],e.prototype,"disabled",void 0),Fe([m()],e.prototype,"helperText",void 0),Fe([m()],e.prototype,"forceStatus",void 0),Fe([m({reflect:!0})],e.prototype,"value",void 0),Fe([B()],e.prototype,"errorMessages",void 0),Fe([B()],e.prototype,"warningMessages",void 0),Fe([B()],e.prototype,"status",void 0),Fe([B()],e.prototype,"focused",void 0),Fe([B()],e.prototype,"additionalWarningRules",void 0),Fe([B()],e.prototype,"additionalErrorRules",void 0),e});var ei=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let i of r)i._$AO?.(e,!1),ei(i,e);return!0},Gi=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},wd=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),Sh(e)}};function xh(t){this._$AN!==void 0?(Gi(this),this._$AM=t,wd(this)):this._$AM=t}function vh(t,e=!1,r=0){let i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(i))for(let a=r;a<i.length;a++)ei(i[a],!1),Gi(i[a]);else i!=null&&(ei(i,!1),Gi(i));else ei(this,t)}var Sh=t=>{t.type==At.CHILD&&(t._$AP??=vh,t._$AQ??=xh)},Ki=class extends pt{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,i){super._$AT(e,r,i),wd(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(ei(this,e),Gi(this))}setValue(e){if(wl(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Ad;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Ad||(Ad={}));var Oh={sm:640,md:768,lg:1024,xl:1280},Ns=class extends Ki{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,i,n]){return this.lastArgs=[r,i,n],this.render(r,i,n)}render(e,r,i){let n=this.resolveThreshold(e),a=i??(()=>P);return this.size>n?r():a()}resolveThreshold(e){return typeof e=="number"?e:Oh[e]}},iS=gt(Ns);var Bs,Ds,Fs,Ms,Dr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Fs=(Ds=(Bs=window.safari)===null||Bs===void 0?void 0:Bs.pushNotification)===null||Ds===void 0?void 0:Ds.toString())!==null&&Fs!==void 0?Fs:"")==="[object SafariRemoteNotification]",Us="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ms=window.ftGlobals)!==null&&Ms!==void 0?Ms:{lit:An,litDecorators:kn,litRepeat:_n,litClassMap:Tn,litStyleMap:$n,litUnsafeHTML:Nn,wcUtils:{...Vn,...Dn,...Kn,...Is,...Zn,...qn,...Oa,...Wn,...Ma,...$s,...Cd,...Cs,...Sa,...Va,...Ls,...Wa,...sc,...Un,...Ka,...Ca,...qa,...ji,...cc,...Ya,...vs,..._s,...Ua,...Ha,...ws,isSafari:Dr,isTouchScreen:Us,setVariable:b}};var ft;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(ft||(ft={}));var Rd=k`
86
86
  .ft-size-watcher--pixel {
87
87
  width: 0;
88
88
  height: 0;
@@ -101,11 +101,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
101
101
  .ft-size-watcher--local .ft-size-watcher--watcher {
102
102
  width: 100%;
103
103
  }
104
- `;var ri=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zs=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},nt=class extends M{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=ht.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new le}render(){return C`
104
+ `;var ti=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zs=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},it=class extends M{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=ft.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new le}render(){return C`
105
105
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
106
106
  <div class="ft-size-watcher--watcher"></div>
107
107
  </div>
108
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=ht.S:this.size<976?this.category=ht.M:this.size<1024?this.category=ht.L:this.size<1440?this.category=ht.XL:this.category=ht.XXL,this.dispatchEvent(new zs(this.size,this.category)))},this.debounceTimeout)}};nt.elementDefinitions={};nt.styles=wd;ri([m({type:Number})],nt.prototype,"debounceTimeout",void 0);ri([m({type:Boolean})],nt.prototype,"local",void 0);ri([m({type:Number,reflect:!0})],nt.prototype,"size",void 0);ri([m({type:String,reflect:!0})],nt.prototype,"category",void 0);ri([z(".ft-size-watcher--watcher")],nt.prototype,"watcher",void 0);V("ft-size-watcher")(nt);var Rd=Symbol.for(""),xh=t=>{if(t?.r===Rd)return t?._$litStatic$},Hs=t=>({_$litStatic$:t,r:Rd});var Ad=new Map,Ws=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],d,u=0,h=!1;for(;u<i;){for(d=e[u];u<i&&(a=r[u],(n=xh(a))!==void 0);)d+=n+e[++u],h=!0;u!==i&&l.push(a),s.push(d),u++}if(u===i&&s.push(e[i]),h){let f=s.join("$$lit$$");(e=Ad.get(f))===void 0&&(s.raw=s,Ad.set(f,e=s)),r=l}return t(e,...r)},Vs=Ws(C),oO=Ws(On),iO=Ws(Cn);var Se;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Se||(Se={}));function Ld(t,e){let r=Mo[t];return k`
108
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=ft.S:this.size<976?this.category=ft.M:this.size<1024?this.category=ft.L:this.size<1440?this.category=ft.XL:this.category=ft.XXL,this.dispatchEvent(new zs(this.size,this.category)))},this.debounceTimeout)}};it.elementDefinitions={};it.styles=Rd;ti([m({type:Number})],it.prototype,"debounceTimeout",void 0);ti([m({type:Boolean})],it.prototype,"local",void 0);ti([m({type:Number,reflect:!0})],it.prototype,"size",void 0);ti([m({type:String,reflect:!0})],it.prototype,"category",void 0);ti([z(".ft-size-watcher--watcher")],it.prototype,"watcher",void 0);V("ft-size-watcher")(it);var Id=Symbol.for(""),Ch=t=>{if(t?.r===Id)return t?._$litStatic$},Hs=t=>({_$litStatic$:t,r:Id});var Ld=new Map,Ws=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],d,u=0,h=!1;for(;u<i;){for(d=e[u];u<i&&(a=r[u],(n=Ch(a))!==void 0);)d+=n+e[++u],h=!0;u!==i&&l.push(a),s.push(d),u++}if(u===i&&s.push(e[i]),h){let f=s.join("$$lit$$");(e=Ld.get(f))===void 0&&(s.raw=s,Ld.set(f,e=s)),r=l}return t(e,...r)},Vs=Ws(C),sO=Ws(Sn),lO=Ws(On);var ve;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(ve||(ve={}));function kd(t,e){let r=Fo[t];return k`
109
109
  ${e?Et(e):k`.ft-typography--${Et(t)}`} {
110
110
  font-family: ${r.fontFamily};
111
111
  font-size: ${r.fontSize};
@@ -115,8 +115,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
115
115
  text-decoration: ${r.textDecoration};
116
116
  text-transform: ${r.textCase};
117
117
  }
118
- `}var Id=o.extend("--ft-typography-font-family","",L.titleFont),Xt=o.extend("--ft-typography-font-family","",L.contentFont),D={fontFamily:Xt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},mo={fontFamily:o.extend("--ft-typography-title-font-family","",Id),fontSize:o.extend("--ft-typography-title-font-size","",D.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",D.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",D.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",D.textTransform,"inherit")},yo={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Id),fontSize:o.extend("--ft-typography-title-dense-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",D.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",D.textTransform,"inherit")},go={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Xt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",D.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",D.textTransform,"inherit")},bo={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Xt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",D.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",D.textTransform,"inherit")},Yt={fontFamily:o.extend("--ft-typography-body1-font-family","",Xt),fontSize:o.extend("--ft-typography-body1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",D.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",D.textTransform,"inherit")},Ie={fontFamily:o.extend("--ft-typography-body2-font-family","",Xt),fontSize:o.extend("--ft-typography-body2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",D.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",D.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",D.textTransform,"inherit")},Ne={fontFamily:o.extend("--ft-typography-caption-font-family","",Xt),fontSize:o.extend("--ft-typography-caption-font-size","",D.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",D.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",D.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",D.textTransform,"inherit")},xo={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Xt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",D.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",D.textTransform,"inherit")},vo={fontFamily:o.extend("--ft-typography-overline-font-family","",Xt),fontSize:o.extend("--ft-typography-overline-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",D.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",D.textTransform,"uppercase")},Tt={fontFamily:o.extend("--ft-typography-button-font-family","",Xt),fontSize:o.extend("--ft-typography-button-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",D.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",D.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",D.textTransform,"uppercase")},kd=k`
118
+ `}var _d=o.extend("--ft-typography-font-family","",L.titleFont),Xt=o.extend("--ft-typography-font-family","",L.contentFont),D={fontFamily:Xt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ho={fontFamily:o.extend("--ft-typography-title-font-family","",_d),fontSize:o.extend("--ft-typography-title-font-size","",D.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",D.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",D.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",D.textTransform,"inherit")},mo={fontFamily:o.extend("--ft-typography-title-dense-font-family","",_d),fontSize:o.extend("--ft-typography-title-dense-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",D.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",D.textTransform,"inherit")},yo={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Xt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",D.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",D.textTransform,"inherit")},go={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Xt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",D.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",D.textTransform,"inherit")},Yt={fontFamily:o.extend("--ft-typography-body1-font-family","",Xt),fontSize:o.extend("--ft-typography-body1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",D.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",D.textTransform,"inherit")},Ie={fontFamily:o.extend("--ft-typography-body2-font-family","",Xt),fontSize:o.extend("--ft-typography-body2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",D.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",D.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",D.textTransform,"inherit")},Pe={fontFamily:o.extend("--ft-typography-caption-font-family","",Xt),fontSize:o.extend("--ft-typography-caption-font-size","",D.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",D.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",D.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",D.textTransform,"inherit")},bo={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Xt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",D.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",D.textTransform,"inherit")},xo={fontFamily:o.extend("--ft-typography-overline-font-family","",Xt),fontSize:o.extend("--ft-typography-overline-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",D.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",D.textTransform,"uppercase")},$t={fontFamily:o.extend("--ft-typography-button-font-family","",Xt),fontSize:o.extend("--ft-typography-button-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",D.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",D.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",D.textTransform,"uppercase")},Td=k`
119
119
  .ft-typography--title {
120
+ font-family: ${ho.fontFamily};
121
+ font-size: ${ho.fontSize};
122
+ font-weight: ${ho.fontWeight};
123
+ letter-spacing: ${ho.letterSpacing};
124
+ line-height: ${ho.lineHeight};
125
+ text-transform: ${ho.textTransform};
126
+ }
127
+ `,$d=k`
128
+ .ft-typography--title-dense {
120
129
  font-family: ${mo.fontFamily};
121
130
  font-size: ${mo.fontSize};
122
131
  font-weight: ${mo.fontWeight};
@@ -124,8 +133,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
124
133
  line-height: ${mo.lineHeight};
125
134
  text-transform: ${mo.textTransform};
126
135
  }
127
- `,_d=k`
128
- .ft-typography--title-dense {
136
+ `,Pd=k`
137
+ .ft-typography--subtitle1 {
129
138
  font-family: ${yo.fontFamily};
130
139
  font-size: ${yo.fontSize};
131
140
  font-weight: ${yo.fontWeight};
@@ -133,8 +142,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
133
142
  line-height: ${yo.lineHeight};
134
143
  text-transform: ${yo.textTransform};
135
144
  }
136
- `,$d=k`
137
- .ft-typography--subtitle1 {
145
+ `,Nd=k`
146
+ .ft-typography--subtitle2 {
138
147
  font-family: ${go.fontFamily};
139
148
  font-size: ${go.fontSize};
140
149
  font-weight: ${go.fontWeight};
@@ -142,17 +151,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
142
151
  line-height: ${go.lineHeight};
143
152
  text-transform: ${go.textTransform};
144
153
  }
145
- `,Td=k`
146
- .ft-typography--subtitle2 {
147
- font-family: ${bo.fontFamily};
148
- font-size: ${bo.fontSize};
149
- font-weight: ${bo.fontWeight};
150
- letter-spacing: ${bo.letterSpacing};
151
- line-height: ${bo.lineHeight};
152
- text-transform: ${bo.textTransform};
153
- }
154
154
 
155
- `,Nd=k`
155
+ `,Bd=k`
156
156
  .ft-typography--body1 {
157
157
  font-family: ${Yt.fontFamily};
158
158
  font-size: ${Yt.fontSize};
@@ -161,7 +161,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
161
161
  line-height: ${Yt.lineHeight};
162
162
  text-transform: ${Yt.textTransform};
163
163
  }
164
- `,So=k`
164
+ `,vo=k`
165
165
  .ft-typography--body2 {
166
166
  font-family: ${Ie.fontFamily};
167
167
  font-size: ${Ie.fontSize};
@@ -170,17 +170,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
170
170
  line-height: ${Ie.lineHeight};
171
171
  text-transform: ${Ie.textTransform};
172
172
  }
173
- `,Nt=k`
173
+ `,Pt=k`
174
174
  .ft-typography--caption {
175
- font-family: ${Ne.fontFamily};
176
- font-size: ${Ne.fontSize};
177
- font-weight: ${Ne.fontWeight};
178
- letter-spacing: ${Ne.letterSpacing};
179
- line-height: ${Ne.lineHeight};
180
- text-transform: ${Ne.textTransform};
175
+ font-family: ${Pe.fontFamily};
176
+ font-size: ${Pe.fontSize};
177
+ font-weight: ${Pe.fontWeight};
178
+ letter-spacing: ${Pe.letterSpacing};
179
+ line-height: ${Pe.lineHeight};
180
+ text-transform: ${Pe.textTransform};
181
181
  }
182
- `,Pd=k`
182
+ `,Dd=k`
183
183
  .ft-typography--breadcrumb {
184
+ font-family: ${bo.fontFamily};
185
+ font-size: ${bo.fontSize};
186
+ font-weight: ${bo.fontWeight};
187
+ letter-spacing: ${bo.letterSpacing};
188
+ line-height: ${bo.lineHeight};
189
+ text-transform: ${bo.textTransform};
190
+ }
191
+ `,Fd=k`
192
+ .ft-typography--overline {
184
193
  font-family: ${xo.fontFamily};
185
194
  font-size: ${xo.fontSize};
186
195
  font-weight: ${xo.fontWeight};
@@ -188,29 +197,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
188
197
  line-height: ${xo.lineHeight};
189
198
  text-transform: ${xo.textTransform};
190
199
  }
191
- `,Bd=k`
192
- .ft-typography--overline {
193
- font-family: ${vo.fontFamily};
194
- font-size: ${vo.fontSize};
195
- font-weight: ${vo.fontWeight};
196
- letter-spacing: ${vo.letterSpacing};
197
- line-height: ${vo.lineHeight};
198
- text-transform: ${vo.textTransform};
199
- }
200
- `,Dd=k`
200
+ `,Md=k`
201
201
  .ft-typography--button {
202
- font-family: ${Tt.fontFamily};
203
- font-size: ${Tt.fontSize};
204
- font-weight: ${Tt.fontWeight};
205
- letter-spacing: ${Tt.letterSpacing};
206
- line-height: ${Tt.lineHeight};
207
- text-transform: ${Tt.textTransform};
208
- }
209
- `,Fd=k`
202
+ font-family: ${$t.fontFamily};
203
+ font-size: ${$t.fontSize};
204
+ font-weight: ${$t.fontWeight};
205
+ letter-spacing: ${$t.letterSpacing};
206
+ line-height: ${$t.lineHeight};
207
+ text-transform: ${$t.textTransform};
208
+ }
209
+ `,Ud=k`
210
210
  .ft-typography {
211
211
  vertical-align: inherit;
212
212
  }
213
- `,Md=[Object.keys(Mo).map(t=>Ld(t))];var Ud=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ce=class extends M{constructor(){super(...arguments),this.variant=Se.body1}render(){return this.element?Vs`
213
+ `,zd=[Object.keys(Fo).map(t=>kd(t))];var Hd=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ce=class extends M{constructor(){super(...arguments),this.variant=ve.body1}render(){return this.element?Vs`
214
214
  <${Hs(this.element)}
215
215
  part="text"
216
216
  class="ft-typography ft-typography--${this.variant}">
@@ -218,7 +218,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
218
218
  </${Hs(this.element)}>
219
219
  `:Vs`
220
220
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
221
- `}};ce.styles=[kd,_d,$d,Td,Nd,So,Nt,Pd,Bd,Dd,Fd,...Md];Ud([m()],ce.prototype,"element",void 0);Ud([m()],ce.prototype,"variant",void 0);V("ft-typography")(ce);function qi(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function zd(t){return qi(t).split("|").pop()}function Hd(t){return qi(t).split("|").join(" > ")}function Wd(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Wd(r,t.selected)),value:t.value}}function Vd(t){return et(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function js(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Wd(e,!1))}}function jd(t){return et(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Gd=o.extend("--ft-ripple-color","",L.colorContent),I={color:Gd,backgroundColor:o.extend("--ft-ripple-background-color","",Gd),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Kd=o.extend("--ft-ripple-color","",L.colorPrimary),Zd={color:Kd,backgroundColor:o.extend("--ft-ripple-background-color","",Kd)},qd=o.extend("--ft-ripple-color","",L.colorSecondary),Yd={color:qd,backgroundColor:o.extend("--ft-ripple-background-color","",qd)},Xd=k`
221
+ `}};ce.styles=[Td,$d,Pd,Nd,Bd,vo,Pt,Dd,Fd,Md,Ud,...zd];Hd([m()],ce.prototype,"element",void 0);Hd([m()],ce.prototype,"variant",void 0);V("ft-typography")(ce);function Zi(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Wd(t){return Zi(t).split("|").pop()}function Vd(t){return Zi(t).split("|").join(" > ")}function jd(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>jd(r,t.selected)),value:t.value}}function Gd(t){return Qe(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function js(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>jd(e,!1))}}function Kd(t){return Qe(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Zd=o.extend("--ft-ripple-color","",L.colorContent),I={color:Zd,backgroundColor:o.extend("--ft-ripple-background-color","",Zd),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},qd=o.extend("--ft-ripple-color","",L.colorPrimary),Yd={color:qd,backgroundColor:o.extend("--ft-ripple-background-color","",qd)},Xd=o.extend("--ft-ripple-color","",L.colorSecondary),Jd={color:Xd,backgroundColor:o.extend("--ft-ripple-background-color","",Xd)},Qd=k`
222
222
  :host {
223
223
  display: contents;
224
224
  }
@@ -273,19 +273,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
273
273
  }
274
274
 
275
275
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
276
- background-color: ${Yd.backgroundColor};
276
+ background-color: ${Jd.backgroundColor};
277
277
  }
278
278
 
279
279
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
280
- background-color: ${Yd.color};
280
+ background-color: ${Jd.color};
281
281
  }
282
282
 
283
283
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
284
- background-color: ${Zd.backgroundColor};
284
+ background-color: ${Yd.backgroundColor};
285
285
  }
286
286
 
287
287
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
288
- background-color: ${Zd.color};
288
+ background-color: ${Yd.color};
289
289
  }
290
290
 
291
291
  .ft-ripple .ft-ripple--background {
@@ -330,7 +330,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
330
330
  opacity: ${I.opacityContentOnSurfacePressed};
331
331
  transform: translate(-50%, -50%) scale(1);
332
332
  }
333
- `;var be={color:o.extend("--ft-loader-color","",L.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Jd=k`
333
+ `;var be={color:o.extend("--ft-loader-color","",L.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},ep=k`
334
334
  :host {
335
335
  line-height: 0;
336
336
  }
@@ -399,7 +399,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
399
399
  transform: translate(calc(0.35 * ${be.size}), 0);
400
400
  }
401
401
  }
402
- `;var Oe={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Qd=[k`
402
+ `;var Se={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},tp=[k`
403
403
  :host, i.ft-icon {
404
404
  display: inline-flex;
405
405
  align-items: center;
@@ -408,14 +408,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
408
408
  }
409
409
 
410
410
  :host {
411
- width: ${Oe.size};
412
- height: ${Oe.size};
411
+ width: ${Se.size};
412
+ height: ${Se.size};
413
413
  }
414
414
 
415
415
  i.ft-icon {
416
416
  width: 100%;
417
417
  height: 100%;
418
- font-size: ${Oe.size};
418
+ font-size: ${Se.size};
419
419
  line-height: 1;
420
420
  font-weight: normal;
421
421
  text-transform: none;
@@ -426,28 +426,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
426
426
  text-rendering: auto;
427
427
  -webkit-font-smoothing: antialiased;
428
428
  -moz-osx-font-smoothing: grayscale;
429
- vertical-align: ${Oe.verticalAlign};
429
+ vertical-align: ${Se.verticalAlign};
430
430
  }
431
431
 
432
432
  i.ft-icon.ft-icon--fluid-topics {
433
- font-family: ${Oe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
433
+ font-family: ${Se.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
434
434
 
435
435
  /* Ugly fix because font is broken */
436
- font-size: calc(0.75 * ${Oe.size});
437
- line-height: ${Oe.size};
436
+ font-size: calc(0.75 * ${Se.size});
437
+ line-height: ${Se.size};
438
438
  position: relative;
439
439
  top: -4%;
440
440
  justify-content: center;
441
441
  }
442
442
 
443
443
  .ft-icon--file-format {
444
- font-family: ${Oe.fileFormatFontFamily}, ft-mime, sans-serif;
444
+ font-family: ${Se.fileFormatFontFamily}, ft-mime, sans-serif;
445
445
  }
446
446
 
447
447
  .ft-icon--material {
448
- font-family: ${Oe.materialFontFamily}, "Material Icons", sans-serif;
448
+ font-family: ${Se.materialFontFamily}, "Material Icons", sans-serif;
449
449
  }
450
- `,Kt];var ep=o.extend("--ft-button-color","",L.colorPrimary),J={backgroundColor:o.extend("--ft-button-background-color","",L.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",L.borderRadiusL),color:ep,fontSize:o.extend("--ft-button-font-size","",Tt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",ep),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(L.colorOpacityDisabled,"Design system")},tp=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",L.colorOnPrimary)),Gs={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",L.colorPrimary)),color:tp,rippleColor:o.extend("--ft-button-primary-ripple-color","",tp)},Pt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",L.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},rp=[k`
450
+ `,Kt];var rp=o.extend("--ft-button-color","",L.colorPrimary),J={backgroundColor:o.extend("--ft-button-background-color","",L.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",L.borderRadiusL),color:rp,fontSize:o.extend("--ft-button-font-size","",$t.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",rp),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(L.colorOpacityDisabled,"Design system")},op=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",L.colorOnPrimary)),Gs={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",L.colorPrimary)),color:op,rippleColor:o.extend("--ft-button-primary-ripple-color","",op)},Nt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",L.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},ip=[k`
451
451
  :host {
452
452
  display: inline-block;
453
453
  max-width: 100%;
@@ -490,7 +490,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
490
490
 
491
491
  --button-internal-line-height: max(calc(${J.fontSize} + 2px), ${J.iconSize});
492
492
  --button-internal-color: ${J.color};
493
- ${b(Oe.size,J.iconSize)};
493
+ ${b(Se.size,J.iconSize)};
494
494
  ${b(I.color,J.rippleColor)};
495
495
 
496
496
  border-radius: ${J.borderRadius};
@@ -506,13 +506,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
506
506
  }
507
507
 
508
508
  .ft-button.ft-button--dense {
509
- padding: ${Pt.verticalPadding} ${Pt.horizontalPadding};
510
- border-radius: ${Pt.borderRadius};
511
- gap: ${Pt.iconPadding};
509
+ padding: ${Nt.verticalPadding} ${Nt.horizontalPadding};
510
+ border-radius: ${Nt.borderRadius};
511
+ gap: ${Nt.iconPadding};
512
512
  }
513
513
 
514
514
  .ft-button.ft-button--dense.ft-button--outlined {
515
- padding: calc(${Pt.verticalPadding} - 1px) calc(${Pt.horizontalPadding} - 1px);
515
+ padding: calc(${Nt.verticalPadding} - 1px) calc(${Nt.horizontalPadding} - 1px);
516
516
  }
517
517
 
518
518
  .ft-button:not([disabled]):hover {
@@ -524,7 +524,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
524
524
  }
525
525
 
526
526
  .ft-button--round.ft-button--dense {
527
- border-radius: calc(var(--button-internal-line-height) / 2 + ${Pt.verticalPadding});
527
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${Nt.verticalPadding});
528
528
  }
529
529
 
530
530
  .ft-button[disabled] {
@@ -549,12 +549,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
549
549
  text-overflow: ellipsis;
550
550
  display: block;
551
551
  margin: 0 ${J.iconPadding};
552
- ${b(Tt.fontSize,"1em")};
553
- ${b(Tt.lineHeight,"var(--button-internal-line-height)")};
552
+ ${b($t.fontSize,"1em")};
553
+ ${b($t.lineHeight,"var(--button-internal-line-height)")};
554
554
  }
555
555
 
556
556
  .ft-button--dense .ft-button--label {
557
- margin: 0 ${Pt.iconPadding};
557
+ margin: 0 ${Nt.iconPadding};
558
558
  }
559
559
 
560
560
  .ft-button--label[hidden] {
@@ -572,8 +572,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
572
572
  }
573
573
 
574
574
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
575
- margin: 0 calc(${Pt.horizontalPadding} * -1);
576
- padding: 0 ${Pt.verticalPadding};
575
+ margin: 0 calc(${Nt.horizontalPadding} * -1);
576
+ padding: 0 ${Nt.verticalPadding};
577
577
  }
578
578
 
579
579
  .ft-button:not(.ft-button--trailing-icon) [part="label"] {
@@ -595,7 +595,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
595
595
  <div class="ft-ripple--background"></div>
596
596
  <div class="ft-ripple--effect"></div>
597
597
  </div>
598
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Q.elementDefinitions={};Q.styles=Xd;Ye([m({type:Boolean})],Q.prototype,"primary",void 0);Ye([m({type:Boolean})],Q.prototype,"secondary",void 0);Ye([m({type:Boolean})],Q.prototype,"unbounded",void 0);Ye([m({type:Boolean})],Q.prototype,"activated",void 0);Ye([m({type:Boolean})],Q.prototype,"selected",void 0);Ye([m({type:Boolean})],Q.prototype,"disabled",void 0);Ye([B()],Q.prototype,"hovered",void 0);Ye([B()],Q.prototype,"focused",void 0);Ye([B()],Q.prototype,"pressed",void 0);Ye([B()],Q.prototype,"rippling",void 0);Ye([B()],Q.prototype,"originX",void 0);Ye([B()],Q.prototype,"originY",void 0);Ye([z(".ft-ripple")],Q.prototype,"ripple",void 0);Ye([z(".ft-ripple--effect")],Q.prototype,"rippleEffect",void 0);V("ft-ripple")(Q);var fr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(L.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},op=k`
598
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Q.elementDefinitions={};Q.styles=Qd;Ye([m({type:Boolean})],Q.prototype,"primary",void 0);Ye([m({type:Boolean})],Q.prototype,"secondary",void 0);Ye([m({type:Boolean})],Q.prototype,"unbounded",void 0);Ye([m({type:Boolean})],Q.prototype,"activated",void 0);Ye([m({type:Boolean})],Q.prototype,"selected",void 0);Ye([m({type:Boolean})],Q.prototype,"disabled",void 0);Ye([B()],Q.prototype,"hovered",void 0);Ye([B()],Q.prototype,"focused",void 0);Ye([B()],Q.prototype,"pressed",void 0);Ye([B()],Q.prototype,"rippling",void 0);Ye([B()],Q.prototype,"originX",void 0);Ye([B()],Q.prototype,"originY",void 0);Ye([z(".ft-ripple")],Q.prototype,"ripple",void 0);Ye([z(".ft-ripple--effect")],Q.prototype,"rippleEffect",void 0);V("ft-ripple")(Q);var hr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(L.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},np=k`
599
599
  .ft-tooltip--container {
600
600
  display: block;
601
601
  }
@@ -610,29 +610,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
610
610
  box-sizing: border-box;
611
611
  overflow: hidden;
612
612
  width: max-content;
613
- max-width: ${fr.maxWidth};
613
+ max-width: ${hr.maxWidth};
614
614
  text-align: center;
615
- padding: ${fr.distance};
616
- z-index: ${fr.zIndex};
615
+ padding: ${hr.distance};
616
+ z-index: ${hr.zIndex};
617
617
  }
618
618
 
619
619
  .ft-tooltip--content {
620
620
  padding: 4px 8px;
621
- border-radius: ${fr.borderRadiusS};
622
- background-color: ${fr.backgroundColor};
623
- color: ${fr.color};
621
+ border-radius: ${hr.borderRadiusS};
622
+ background-color: ${hr.backgroundColor};
623
+ color: ${hr.color};
624
624
  position: relative;
625
625
  word-break: break-word;
626
626
  }
627
- `;var Xe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},xe=class extends M{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 le,this.revealDebouncer=new le}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return C`
627
+ `;var vt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ae=class extends M{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new le,this.revealDebouncer=new le,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return C`
628
628
  <div part="container"
629
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
630
- @mouseenter=${this.onHover}
631
- @mouseleave=${this.onOut}
632
- @focusin=${this.onHover}
633
- @focusout=${this.onOut}
634
- @touchstart=${this.onTouch}>
635
- <slot part="slot" @click=${this.onClick}></slot>
629
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
630
+ <slot part="slot"></slot>
636
631
  <div part="tooltip" role="tooltip" inert
637
632
  class="ft-tooltip ft-tooltip--${this.validPosition}"
638
633
  ?hidden=${!this.visible}>
@@ -642,19 +637,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
642
637
  </div>
643
638
  </div>
644
639
  </div>
645
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Da(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${L.transitionDuration}, left ${L.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};xe.elementDefinitions={"ft-typography":ce};xe.styles=op;Xe([m()],xe.prototype,"text",void 0);Xe([m({type:Boolean})],xe.prototype,"manual",void 0);Xe([m({type:Boolean})],xe.prototype,"inline",void 0);Xe([m({type:Number})],xe.prototype,"delay",void 0);Xe([m()],xe.prototype,"position",void 0);Xe([kn()],xe.prototype,"slotNodes",void 0);Xe([z(".ft-tooltip--container")],xe.prototype,"container",void 0);Xe([z(".ft-tooltip")],xe.prototype,"tooltip",void 0);Xe([z(".ft-tooltip--content")],xe.prototype,"tooltipContent",void 0);Xe([B()],xe.prototype,"visible",void 0);Xe([Gr({passive:!0})],xe.prototype,"onTouch",null);Xe([Gr({passive:!0})],xe.prototype,"onHover",null);Xe([Gr({passive:!0})],xe.prototype,"onOut",null);Xe([Gr({passive:!0})],xe.prototype,"onClick",null);V("ft-tooltip")(xe);var at;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;"})(at||(at={}));var _;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(_||(_={}));var Ks=new Map([...["abw"].map(t=>[t,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,_.AUDIO]),...["avi"].map(t=>[t,_.AVI]),...["chm","xhs"].map(t=>[t,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,_.CODE]),...["csv"].map(t=>[t,_.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,_.DITA]),...["epub"].map(t=>[t,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,_.EXCEL]),...["flac"].map(t=>[t,_.FLAC]),...["gif"].map(t=>[t,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,_.GZIP]),...["html","htm","xhtml"].map(t=>[t,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,_.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,_.JPEG]),...["json"].map(t=>[t,_.JSON]),...["m4a","m4p"].map(t=>[t,_.M4A]),...["mov","qt"].map(t=>[t,_.MOV]),...["mp3"].map(t=>[t,_.MP3]),...["mp4","m4v"].map(t=>[t,_.MP4]),...["ogg","oga"].map(t=>[t,_.OGG]),...["pdf","ps"].map(t=>[t,_.PDF]),...["png"].map(t=>[t,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,_.POWERPOINT]),...["rar"].map(t=>[t,_.RAR]),...["stp"].map(t=>[t,_.STP]),...["txt","rtf","md","mdown"].map(t=>[t,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,_.VIDEO]),...["wav"].map(t=>[t,_.WAV]),...["wma"].map(t=>[t,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,_.WORD]),...["xml","xsl","rdf"].map(t=>[t,_.XML]),...["yaml","yml","x-yaml"].map(t=>[t,_.YAML]),...["zip"].map(t=>[t,_.ZIP])]),vh=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function ip(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=vh.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=Ks.get(l))!==null&&i!==void 0?i:Ks.get(e))!==null&&n!==void 0?n:Ks.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var GC={[_.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 Ge;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ge||(Ge={}));var oi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends M{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=N}render(){let e=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,r=e!==Ge.material||!!this.value;return C`
640
+ `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Da(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${L.transitionDuration}, left ${L.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Fn(e,this.ignoreMatchingElements,this.eventsTarget)}};Ae.elementDefinitions={"ft-typography":ce};Ae.styles=np;vt([m()],Ae.prototype,"text",void 0);vt([m({type:Boolean})],Ae.prototype,"manual",void 0);vt([m({type:Boolean})],Ae.prototype,"inline",void 0);vt([tr()],Ae.prototype,"delay",void 0);vt([m()],Ae.prototype,"position",void 0);vt([Ce([])],Ae.prototype,"ignoreMatchingElements",void 0);vt([In()],Ae.prototype,"slotNodes",void 0);vt([z(".ft-tooltip--container")],Ae.prototype,"container",void 0);vt([z(".ft-tooltip")],Ae.prototype,"tooltip",void 0);vt([z(".ft-tooltip--content")],Ae.prototype,"tooltipContent",void 0);vt([B()],Ae.prototype,"visible",void 0);V("ft-tooltip")(Ae);var nt;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;"})(nt||(nt={}));var _;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(_||(_={}));var Ks=new Map([...["abw"].map(t=>[t,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,_.AUDIO]),...["avi"].map(t=>[t,_.AVI]),...["chm","xhs"].map(t=>[t,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,_.CODE]),...["csv"].map(t=>[t,_.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,_.DITA]),...["epub"].map(t=>[t,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,_.EXCEL]),...["flac"].map(t=>[t,_.FLAC]),...["gif"].map(t=>[t,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,_.GZIP]),...["html","htm","xhtml"].map(t=>[t,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,_.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,_.JPEG]),...["json"].map(t=>[t,_.JSON]),...["m4a","m4p"].map(t=>[t,_.M4A]),...["mov","qt"].map(t=>[t,_.MOV]),...["mp3"].map(t=>[t,_.MP3]),...["mp4","m4v"].map(t=>[t,_.MP4]),...["ogg","oga"].map(t=>[t,_.OGG]),...["pdf","ps"].map(t=>[t,_.PDF]),...["png"].map(t=>[t,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,_.POWERPOINT]),...["rar"].map(t=>[t,_.RAR]),...["stp"].map(t=>[t,_.STP]),...["txt","rtf","md","mdown"].map(t=>[t,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,_.VIDEO]),...["wav"].map(t=>[t,_.WAV]),...["wma"].map(t=>[t,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,_.WORD]),...["xml","xsl","rdf"].map(t=>[t,_.XML]),...["yaml","yml","x-yaml"].map(t=>[t,_.YAML]),...["zip"].map(t=>[t,_.ZIP])]),Eh=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function ap(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=Eh.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=Ks.get(l))!==null&&i!==void 0?i:Ks.get(e))!==null&&n!==void 0?n:Ks.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var YC={[_.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 Ge;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ge||(Ge={}));var ri=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends M{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=P}render(){let e=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,r=e!==Ge.material||!!this.value;return C`
646
641
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
647
642
  ${Pn(this.resolvedIcon)}
648
643
  <slot ?hidden=${r}></slot>
649
644
  </i>
650
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.textContent;switch(this.variant){case Ge.file_format:this.resolvedIcon=(e=_[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ge.material:this.resolvedIcon=this.value||N;break;default:this.resolvedIcon=(r=at[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=Qd;oi([m()],fe.prototype,"variant",void 0);oi([m()],fe.prototype,"value",void 0);oi([m({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);oi([B()],fe.prototype,"resolvedIcon",void 0);oi([z("slot")],fe.prototype,"slottedContent",void 0);V("ft-icon")(fe);var Dr=class extends M{render(){return C`
645
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.textContent;switch(this.variant){case Ge.file_format:this.resolvedIcon=(e=_[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ge.material:this.resolvedIcon=this.value||P;break;default:this.resolvedIcon=(r=nt[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=tp;ri([m()],fe.prototype,"variant",void 0);ri([m()],fe.prototype,"value",void 0);ri([m({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);ri([B()],fe.prototype,"resolvedIcon",void 0);ri([z("slot")],fe.prototype,"slottedContent",void 0);V("ft-icon")(fe);var Fr=class extends M{render(){return C`
651
646
  <div class="ft-loader">
652
647
  <div></div>
653
648
  <div></div>
654
649
  <div></div>
655
650
  <div></div>
656
651
  </div>
657
- `}};Dr.styles=Jd;V("ft-loader")(Dr);var ii=t=>t??N;var Pe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},he=class extends Rs(M){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let n=C`
652
+ `}};Fr.styles=ep;V("ft-loader")(Fr);var oi=t=>t??P;var Ne=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},he=class extends Rs(M){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let n=C`
658
653
  <ft-ripple part="ripple"
659
654
  ?disabled=${this.isDisabled()}
660
655
  ?activated=${this.activated}
@@ -662,7 +657,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
662
657
  <ft-typography part="label"
663
658
  variant="${this.typographyVariant}"
664
659
  element="span"
665
- class="ft-button--label ${Br?"ft-safari-ellipsis-fix":""}"
660
+ class="ft-button--label ${Dr?"ft-safari-ellipsis-fix":""}"
666
661
  ?hidden=${!this.hasTextContent()}>
667
662
  <slot @slotchange=${this.onSlotchange}></slot>
668
663
  </ft-typography>
@@ -680,7 +675,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
680
675
  <button part="button"
681
676
  class="${ue(this.buttonClasses)}"
682
677
  aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
683
- aria-haspopup="${ii(this.ariaHasPopup)}"
678
+ aria-haspopup="${oi(this.ariaHasPopup)}"
684
679
  ?disabled=${this.isDisabled()}>
685
680
  ${n}
686
681
  </button>
@@ -695,7 +690,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
695
690
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
696
691
  `:C`
697
692
  <slot part="icon" name="icon"></slot>
698
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return qr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};he.elementDefinitions={"ft-ripple":Q,"ft-tooltip":xe,"ft-typography":ce,"ft-icon":fe,"ft-loader":Dr};Pe([m()],he.prototype,"href",void 0);Pe([m()],he.prototype,"target",void 0);Pe([m()],he.prototype,"type",void 0);Pe([m({type:Boolean})],he.prototype,"disabled",void 0);Pe([m()],he.prototype,"label",void 0);Pe([m()],he.prototype,"icon",void 0);Pe([m()],he.prototype,"iconVariant",void 0);Pe([m({type:Boolean})],he.prototype,"trailingIcon",void 0);Pe([m({type:Boolean})],he.prototype,"loading",void 0);Pe([m({attribute:"aria-label"})],he.prototype,"ariaLabel",void 0);Pe([m()],he.prototype,"ariaHasPopup",void 0);Pe([m()],he.prototype,"tooltipPosition",void 0);Pe([m({type:Boolean})],he.prototype,"hideTooltip",void 0);Pe([m({type:Boolean})],he.prototype,"forceTooltip",void 0);Pe([m({type:Boolean})],he.prototype,"activated",void 0);Pe([z(".ft-button")],he.prototype,"button",void 0);Pe([z(".ft-button--label slot")],he.prototype,"slottedContent",void 0);Pe([z("[part=tooltip]")],he.prototype,"tooltip",void 0);var Yi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ke=class extends he{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ke.styles=[Zt,rp];Yi([m({type:Boolean})],ke.prototype,"primary",void 0);Yi([m({type:Boolean})],ke.prototype,"outlined",void 0);Yi([m({type:Boolean})],ke.prototype,"dense",void 0);Yi([m({type:Boolean})],ke.prototype,"round",void 0);var Zs={...x,iconOnlyScale:o.create("--ft-button-icon-only-scale","","NUMBER","1")},np=[k`
693
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return qr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};he.elementDefinitions={"ft-ripple":Q,"ft-tooltip":Ae,"ft-typography":ce,"ft-icon":fe,"ft-loader":Fr};Ne([m()],he.prototype,"href",void 0);Ne([m()],he.prototype,"target",void 0);Ne([m()],he.prototype,"type",void 0);Ne([m({type:Boolean})],he.prototype,"disabled",void 0);Ne([m()],he.prototype,"label",void 0);Ne([m()],he.prototype,"icon",void 0);Ne([m()],he.prototype,"iconVariant",void 0);Ne([m({type:Boolean})],he.prototype,"trailingIcon",void 0);Ne([m({type:Boolean})],he.prototype,"loading",void 0);Ne([m({attribute:"aria-label"})],he.prototype,"ariaLabel",void 0);Ne([m()],he.prototype,"ariaHasPopup",void 0);Ne([m()],he.prototype,"tooltipPosition",void 0);Ne([m({type:Boolean})],he.prototype,"hideTooltip",void 0);Ne([m({type:Boolean})],he.prototype,"forceTooltip",void 0);Ne([m({type:Boolean})],he.prototype,"activated",void 0);Ne([z(".ft-button")],he.prototype,"button",void 0);Ne([z(".ft-button--label slot")],he.prototype,"slottedContent",void 0);Ne([z("[part=tooltip]")],he.prototype,"tooltip",void 0);var qi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ke=class extends he{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ke.styles=[Zt,ip];qi([m({type:Boolean})],ke.prototype,"primary",void 0);qi([m({type:Boolean})],ke.prototype,"outlined",void 0);qi([m({type:Boolean})],ke.prototype,"dense",void 0);qi([m({type:Boolean})],ke.prototype,"round",void 0);var Zs={...x,iconOnlyScale:o.create("--ft-button-icon-only-scale","","NUMBER","1")},sp=[k`
699
694
  :host {
700
695
  display: inline-block;
701
696
  max-width: 100%;
@@ -1102,7 +1097,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1102
1097
  /** Large styles **/
1103
1098
 
1104
1099
  .ftds--size-large {
1105
- ${b(Oe.size,x.largeIconSize)};
1100
+ ${b(Se.size,x.largeIconSize)};
1106
1101
  ${b(be.size,x.largeIconSize)};
1107
1102
 
1108
1103
  height: ${x.largeHeight};
@@ -1124,7 +1119,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1124
1119
  /** Small styles **/
1125
1120
 
1126
1121
  .ftds--size-medium {
1127
- ${b(Oe.size,x.mediumIconSize)};
1122
+ ${b(Se.size,x.mediumIconSize)};
1128
1123
  ${b(be.size,x.mediumIconSize)};
1129
1124
 
1130
1125
  height: ${x.mediumHeight};
@@ -1147,7 +1142,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1147
1142
  /** Small styles **/
1148
1143
 
1149
1144
  .ftds--size-small {
1150
- ${b(Oe.size,x.smallIconSize)};
1145
+ ${b(Se.size,x.smallIconSize)};
1151
1146
  ${b(be.size,x.smallIconSize)};
1152
1147
 
1153
1148
  height: ${x.smallHeight};
@@ -1165,15 +1160,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1165
1160
  .ftds--size-small.ft-button--icon-only {
1166
1161
  width: ${x.smallIconOnlyWidth};
1167
1162
  }
1168
- `,Kt];var Xi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},St=class extends _t(he){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=tt.brand,this.iconVariant=Ge.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 Te.large:return Se.body2medium;case Te.medium:return Se.caption1medium;case Te.small:return Se.caption2medium}}};St.styles=[Zt,np];Xi([m({type:Boolean})],St.prototype,"primary",void 0);Xi([m({type:Boolean})],St.prototype,"secondary",void 0);Xi([m({type:Boolean})],St.prototype,"tertiary",void 0);Xi([m({type:Boolean})],St.prototype,"round",void 0);V("ft-button")(ke);V("ftds-button")(St);var st={textColor:o.extend("--ft-checkbox-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",D.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",L.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",L.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",L.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",L.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",L.colorError)},ap=k`
1163
+ `,Kt];var Yi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},St=class extends _t(he){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=et.brand,this.iconVariant=Ge.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 $e.large:return ve.body2medium;case $e.medium:return ve.caption1medium;case $e.small:return ve.caption2medium}}};St.styles=[Zt,sp];Yi([m({type:Boolean})],St.prototype,"primary",void 0);Yi([m({type:Boolean})],St.prototype,"secondary",void 0);Yi([m({type:Boolean})],St.prototype,"tertiary",void 0);Yi([m({type:Boolean})],St.prototype,"round",void 0);V("ft-button")(ke);V("ftds-button")(St);var at={textColor:o.extend("--ft-checkbox-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",D.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",L.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",L.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",L.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",L.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",L.colorError)},lp=k`
1169
1164
  * {
1170
1165
  box-sizing: border-box;
1171
1166
  }
1172
1167
 
1173
1168
  .ft-checkbox {
1174
1169
  box-sizing: border-box;
1175
- color: ${st.textColor};
1176
- font-size: ${st.fontSize};
1170
+ color: ${at.textColor};
1171
+ font-size: ${at.fontSize};
1177
1172
 
1178
1173
  display: inline-flex;
1179
1174
  align-items: center;
@@ -1181,7 +1176,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1181
1176
  }
1182
1177
 
1183
1178
  .ft-checkbox--disabled {
1184
- color: ${st.disabledColor};
1179
+ color: ${at.disabledColor};
1185
1180
  }
1186
1181
 
1187
1182
  input {
@@ -1205,26 +1200,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1205
1200
 
1206
1201
  .ft-checkbox--box {
1207
1202
  display: flex;
1208
- border: 2px solid ${st.borderColor};
1203
+ border: 2px solid ${at.borderColor};
1209
1204
  border-radius: 2px;
1210
1205
 
1211
1206
  width: 18px;
1212
1207
  height: 18px;
1213
1208
 
1214
- color: ${st.checkColor};
1209
+ color: ${at.checkColor};
1215
1210
  }
1216
1211
 
1217
1212
 
1218
1213
  .ft-checkbox--checked .ft-checkbox--box,
1219
1214
  .ft-checkbox--indeterminate .ft-checkbox--box {
1220
- border-color: ${st.activeColor};
1221
- background-color: ${st.activeColor};
1215
+ border-color: ${at.activeColor};
1216
+ background-color: ${at.activeColor};
1222
1217
  }
1223
1218
 
1224
1219
  .ft-checkbox--disabled .ft-checkbox--box {
1225
- border-color: ${st.disabledColor};
1220
+ border-color: ${at.disabledColor};
1226
1221
  background-color: transparent;
1227
- color: ${st.disabledColor};
1222
+ color: ${at.disabledColor};
1228
1223
  }
1229
1224
 
1230
1225
  .ft-checkbox--checkmark {
@@ -1245,20 +1240,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1245
1240
  }
1246
1241
 
1247
1242
  .ft-checkbox.ft-checkbox--error {
1248
- color: ${st.errorColor};
1249
- ${b(I.color,st.errorColor)};
1243
+ color: ${at.errorColor};
1244
+ ${b(I.color,at.errorColor)};
1250
1245
 
1251
1246
  .ft-checkbox--box {
1252
- border-color: ${st.errorColor};
1247
+ border-color: ${at.errorColor};
1253
1248
  }
1254
1249
 
1255
1250
  &.ft-checkbox--checked, &.ft-checkbox--indeterminate {
1256
1251
  .ft-checkbox--box {
1257
- background-color: ${st.errorColor};
1252
+ background-color: ${at.errorColor};
1258
1253
  }
1259
1254
  }
1260
1255
  }
1261
- `;var hr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ve=class extends M{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return C`
1256
+ `;var mr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ve=class extends M{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return C`
1262
1257
  <label class="${ue(e)}" for="checkbox-input" part="checkbox-label">
1263
1258
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1264
1259
  <ft-ripple part="checkbox-ripple"
@@ -1285,7 +1280,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1285
1280
  <slot></slot>
1286
1281
  </ft-typography>
1287
1282
  </label>
1288
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};Ve.elementDefinitions={"ft-ripple":Q,"ft-typography":ce};Ve.styles=ap;hr([m()],Ve.prototype,"name",void 0);hr([m({type:Boolean,reflect:!0})],Ve.prototype,"checked",void 0);hr([m({type:Boolean})],Ve.prototype,"indeterminate",void 0);hr([m({type:Boolean})],Ve.prototype,"disabled",void 0);hr([m({type:Boolean})],Ve.prototype,"error",void 0);hr([z(".ft-checkbox")],Ve.prototype,"container",void 0);hr([z("ft-ripple")],Ve.prototype,"ripple",void 0);hr([z("input")],Ve.prototype,"input",void 0);V("ft-checkbox")(Ve);var mr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ji=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Ke=class extends M{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return C`
1283
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};Ve.elementDefinitions={"ft-ripple":Q,"ft-typography":ce};Ve.styles=lp;mr([m()],Ve.prototype,"name",void 0);mr([m({type:Boolean,reflect:!0})],Ve.prototype,"checked",void 0);mr([m({type:Boolean})],Ve.prototype,"indeterminate",void 0);mr([m({type:Boolean})],Ve.prototype,"disabled",void 0);mr([m({type:Boolean})],Ve.prototype,"error",void 0);mr([z(".ft-checkbox")],Ve.prototype,"container",void 0);mr([z("ft-ripple")],Ve.prototype,"ripple",void 0);mr([z("input")],Ve.prototype,"input",void 0);V("ft-checkbox")(Ve);var yr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Xi=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Ke=class extends M{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return C`
1289
1284
  <div class="${ue(this.radioClasses)}"
1290
1285
  @click=${this.onClick}>
1291
1286
  <div class="ft-radio--box-container">
@@ -1311,15 +1306,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1311
1306
  </ft-typography>
1312
1307
  </label>
1313
1308
  </div>
1314
- `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Ji(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ji(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};Ke.elementDefinitions={"ft-ripple":Q,"ft-typography":ce};mr([m()],Ke.prototype,"value",void 0);mr([m()],Ke.prototype,"name",void 0);mr([m({type:Boolean,reflect:!0})],Ke.prototype,"checked",void 0);mr([m({attribute:"aria-checked",reflect:!0})],Ke.prototype,"ariaChecked",void 0);mr([m({type:Boolean})],Ke.prototype,"disabled",void 0);mr([z(".ft-radio")],Ke.prototype,"container",void 0);mr([z("ft-ripple")],Ke.prototype,"ripple",void 0);mr([z("input")],Ke.prototype,"input",void 0);var yr={textColor:o.extend("--ft-radio-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",D.fontSize),colorPrimary:o.external(L.colorPrimary,"Design system"),colorOnPrimary:o.external(L.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",L.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system")},sp=k`
1309
+ `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Xi(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Xi(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};Ke.elementDefinitions={"ft-ripple":Q,"ft-typography":ce};yr([m()],Ke.prototype,"value",void 0);yr([m()],Ke.prototype,"name",void 0);yr([m({type:Boolean,reflect:!0})],Ke.prototype,"checked",void 0);yr([m({attribute:"aria-checked",reflect:!0})],Ke.prototype,"ariaChecked",void 0);yr([m({type:Boolean})],Ke.prototype,"disabled",void 0);yr([z(".ft-radio")],Ke.prototype,"container",void 0);yr([z("ft-ripple")],Ke.prototype,"ripple",void 0);yr([z("input")],Ke.prototype,"input",void 0);var gr={textColor:o.extend("--ft-radio-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",D.fontSize),colorPrimary:o.external(L.colorPrimary,"Design system"),colorOnPrimary:o.external(L.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",L.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system")},cp=k`
1315
1310
  * {
1316
1311
  box-sizing: border-box;
1317
1312
  }
1318
1313
 
1319
1314
  .ft-radio {
1320
1315
  box-sizing: border-box;
1321
- color: ${yr.textColor};
1322
- font-size: ${yr.fontSize};
1316
+ color: ${gr.textColor};
1317
+ font-size: ${gr.fontSize};
1323
1318
 
1324
1319
  display: inline-flex;
1325
1320
  align-items: center;
@@ -1327,7 +1322,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1327
1322
  }
1328
1323
 
1329
1324
  .ft-radio--disabled {
1330
- color: ${yr.colorOnSurfaceDisabled};
1325
+ color: ${gr.colorOnSurfaceDisabled};
1331
1326
  }
1332
1327
 
1333
1328
  input {
@@ -1350,7 +1345,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1350
1345
  }
1351
1346
 
1352
1347
  .ft-radio--box {
1353
- border: 2px solid ${yr.borderColor};
1348
+ border: 2px solid ${gr.borderColor};
1354
1349
  border-radius: 50%;
1355
1350
 
1356
1351
  display: flex;
@@ -1363,7 +1358,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1363
1358
 
1364
1359
  .ft-radio--box:after {
1365
1360
  content: " ";
1366
- background-color: ${yr.colorPrimary};
1361
+ background-color: ${gr.colorPrimary};
1367
1362
 
1368
1363
  border-radius: 50%;
1369
1364
 
@@ -1375,7 +1370,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1375
1370
  }
1376
1371
 
1377
1372
  .ft-radio--checked .ft-radio--box {
1378
- border-color: ${yr.colorPrimary};
1373
+ border-color: ${gr.colorPrimary};
1379
1374
  }
1380
1375
 
1381
1376
 
@@ -1384,12 +1379,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1384
1379
  }
1385
1380
 
1386
1381
  .ft-radio--disabled .ft-radio--box {
1387
- border-color: ${yr.colorOnSurfaceDisabled};
1382
+ border-color: ${gr.colorOnSurfaceDisabled};
1388
1383
  background-color: transparent;
1389
1384
  }
1390
1385
 
1391
1386
  .ft-radio--disabled .ft-radio--box:after {
1392
- background-color: ${yr.colorOnSurfaceDisabled};
1387
+ background-color: ${gr.colorOnSurfaceDisabled};
1393
1388
  }
1394
1389
 
1395
1390
  .ft-radio:has(:focus-visible) {
@@ -1400,7 +1395,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1400
1395
  .ft-radio ft-typography {
1401
1396
  padding-right: 2px;
1402
1397
  }
1403
- `;var Jt=class extends Ke{get typographyVariant(){return Se.body2}};Jt.styles=sp;var lp=k`
1398
+ `;var Jt=class extends Ke{get typographyVariant(){return ve.body2}};Jt.styles=cp;var dp=k`
1404
1399
  * {
1405
1400
  box-sizing: border-box;
1406
1401
  --input-size: calc(${re.circleSize} + 2 * (${re.focusOutlineOffset} + ${re.focusOutlineWidth}));
@@ -1508,12 +1503,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1508
1503
  .ft-radio ft-typography {
1509
1504
  padding-right: 2px;
1510
1505
  }
1511
- `;var ni=class extends _t(Ke){constructor(){super(...arguments),this.family=tt.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return Se.body2medium}};ni.styles=[Zt,lp];var Oo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},lt=class extends M{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return C`
1506
+ `;var ii=class extends _t(Ke){constructor(){super(...arguments),this.family=et.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return ve.body2medium}};ii.styles=[Zt,dp];var So=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},st=class extends M{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return C`
1512
1507
  <slot @slotchange=${this.onSlotChange}
1513
1508
  @change=${this.onChange}
1514
1509
  @keydown=${this.onKeyDown}
1515
1510
  ></slot>
1516
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};lt.elementDefinitions={};Oo([m()],lt.prototype,"name",void 0);Oo([m({reflect:!0,attribute:"role"})],lt.prototype,"role",void 0);Oo([m({reflect:!0})],lt.prototype,"tabIndex",void 0);Oo([m({reflect:!0,attribute:"aria-labelledby"})],lt.prototype,"ariaLabelledBy",void 0);Oo([In()],lt.prototype,"assignedElements",void 0);Oo([B()],lt.prototype,"currentSelectedIndex",void 0);var cp=k`
1511
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};st.elementDefinitions={};So([m()],st.prototype,"name",void 0);So([m({reflect:!0,attribute:"role"})],st.prototype,"role",void 0);So([m({reflect:!0})],st.prototype,"tabIndex",void 0);So([m({reflect:!0,attribute:"aria-labelledby"})],st.prototype,"ariaLabelledBy",void 0);So([Ln()],st.prototype,"assignedElements",void 0);So([B()],st.prototype,"currentSelectedIndex",void 0);var pp=k`
1517
1512
  :host {
1518
1513
  display: block;
1519
1514
  }
@@ -1521,7 +1516,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1521
1516
  :host(:focus-visible) {
1522
1517
  outline: none;
1523
1518
  }
1524
- `;var Fr=class extends lt{};Fr.styles=cp;var dp=k`
1519
+ `;var Mr=class extends st{};Mr.styles=pp;var up=k`
1525
1520
  :host {
1526
1521
  display: flex;
1527
1522
  flex-direction: column;
@@ -1531,7 +1526,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1531
1526
  :host(:focus-visible) {
1532
1527
  outline: none;
1533
1528
  }
1534
- `;var ai=class extends _t(lt){constructor(){super(...arguments),this.family=tt.brand}};ai.styles=[Zt,dp];V("ft-radio")(Jt);V("ftds-radio")(ni);V("ft-radio-group")(Fr);V("ftds-radio-group")(ai);var si={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",L.colorOnSurface),borderRadiusM:o.external(L.borderRadiusM,"Design system"),colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorOnPrimary:o.external(L.colorOnPrimary,"Design system"),fontFamily:o.external(Ie.fontFamily,"Body2 typography"),fontSize:o.external(Ie.fontSize,"Body2 typography"),fontWeight:o.external(Ie.fontWeight,"Body2 typography"),letterSpacing:o.external(Ie.letterSpacing,"Body2 typography"),lineHeight:o.external(Ie.lineHeight,"Body2 typography"),textTransform:o.external(Ie.textTransform,"Body2 typography")},pp=k`
1529
+ `;var ni=class extends _t(st){constructor(){super(...arguments),this.family=et.brand}};ni.styles=[Zt,up];V("ft-radio")(Jt);V("ftds-radio")(ii);V("ft-radio-group")(Mr);V("ftds-radio-group")(ni);var ai={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",L.colorOnSurface),borderRadiusM:o.external(L.borderRadiusM,"Design system"),colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorOnPrimary:o.external(L.colorOnPrimary,"Design system"),fontFamily:o.external(Ie.fontFamily,"Body2 typography"),fontSize:o.external(Ie.fontSize,"Body2 typography"),fontWeight:o.external(Ie.fontWeight,"Body2 typography"),letterSpacing:o.external(Ie.letterSpacing,"Body2 typography"),lineHeight:o.external(Ie.lineHeight,"Body2 typography"),textTransform:o.external(Ie.textTransform,"Body2 typography")},fp=k`
1535
1530
  .ft-filter-level--container {
1536
1531
  display: flex;
1537
1532
  flex-direction: column;
@@ -1545,14 +1540,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1545
1540
  flex-shrink: 0;
1546
1541
  text-decoration: none;
1547
1542
  position: relative;
1548
- border-radius: ${si.borderRadiusM};
1543
+ border-radius: ${ai.borderRadiusM};
1549
1544
  overflow: hidden;
1550
1545
  display: flex;
1551
1546
  align-items: center;
1552
1547
  padding: 4px 4px;
1553
1548
  gap: 4px;
1554
1549
  cursor: pointer;
1555
- color: ${si.colorOnSurface};
1550
+ color: ${ai.colorOnSurface};
1556
1551
  }
1557
1552
 
1558
1553
  .ft-filter-level--go-back:focus {
@@ -1581,11 +1576,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1581
1576
  }
1582
1577
 
1583
1578
  ft-button {
1584
- ${b(J.color,si.colorOnSurface)};
1579
+ ${b(J.color,ai.colorOnSurface)};
1585
1580
  }
1586
1581
 
1587
1582
  ft-button.ft-filter-level--display-more {
1588
- ${b(J.color,si.buttonMoreColor)};
1583
+ ${b(J.color,ai.buttonMoreColor)};
1589
1584
  }
1590
1585
 
1591
1586
  ft-radio, ft-checkbox {
@@ -1599,17 +1594,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1599
1594
 
1600
1595
  .ft-filter-level--no-values {
1601
1596
  margin: 10px 0;
1602
- color: ${si.colorOnSurfaceMedium};
1597
+ color: ${ai.colorOnSurfaceMedium};
1603
1598
  }
1604
- `;var up=k`
1605
- `;var fp=k`
1606
- `;var Sh="ft-app-info",Mr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Mr.eventName="authentication-change";var Oh={session:(t,e)=>{$e(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>F.dispatchEvent(new Mr(e.payload)),0))}},F=$r.get({name:Sh,reducers:Oh,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],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,authenticationRequired:!1}});var Ur=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=F.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=F.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}};var Qi=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ur.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ur.await()}};var ct=class extends Qi{constructor(e=!0,r){var i;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Lt,this.cache=e?n.commonCache:new Lt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}};var en=class extends ct{async listMyBookmarks(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var qs=class{addCommand(e,r=!1){F.commands.add(e,r)}consumeCommand(e){return F.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new qs;var hp,Co=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Ch=Symbol("clearAfterUnitTest"),tn=class extends Ii(ct){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[hp]=()=>{this.defaultMessages={},this.cache=new Lt,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=F.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};$e(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new nr((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Er)&&r&&console.error(n)}return i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Co({loadedContexts:e})),this.dispatchEvent(new Co({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Co({loadedContexts:[e]})),this.dispatchEvent(new Co({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>Ri(0).then(()=>i()).catch(()=>null)))}};hp=Ch;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends tn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends tn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var li=window.FluidTopicsI18nService,Ys=window.FluidTopicsCustomI18nService;var Xs=class{highlightHtml(e,r,i){Ga(e,r,i)}};window.FluidTopicsHighlightHtmlService=new Xs;var rn=class extends ct{async listMySearches(){let{session:e}=F.getState();return bd(e,Le.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Js=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=F.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return Tr.format(e,(i=r?.locale)!==null&&i!==void 0?i:F.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Js;var ci=class{static get(e,r){var i,n;let a=F.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new ur(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var Qs=class{urlToSearchRequest(e){return ci.get().parse(e)}searchRequestToUrl(e){return ci.get().serialize(e)}};window.FluidTopicsUrlService=new Qs;var zr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};zr.eventName="change";var el=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},mp=new el;var on=class t extends Wt{static build(){return new t(window.history,mp,()=>window.location,!1)}constructor(e,r,i,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let i=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),$e(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new zr(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let d=r(),u={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(zr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(zr.eventName,e)}currentItem(){return Bo(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Bo(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Bo(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let i=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!i)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,i);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var i;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=on.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var yp=F;function gp(t,e){var r;return yp.getState().authenticationRequired&&!(!((r=yp.getState().session)===null||r===void 0)&&r.sessionAuthenticated)?Promise.resolve(e):t()}var _e=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},me=class extends M{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",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=()=>Ur.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Lt,this.cleanSessionDebouncer=new le,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return C`
1599
+ `;var hp=k`
1600
+ `;var mp=k`
1601
+ `;var wh="ft-app-info",Ur=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Ur.eventName="authentication-change";var Ah={session:(t,e)=>{Te(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>F.dispatchEvent(new Ur(e.payload)),0))}},F=$r.get({name:wh,reducers:Ah,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],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,authenticationRequired:!1}});var zr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=F.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=F.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}};var Ji=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:zr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):zr.await()}};var lt=class extends Ji{constructor(e=!0,r){var i;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Lt,this.cache=e?n.commonCache:new Lt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}};var Qi=class extends lt{async listMyBookmarks(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var qs=class{addCommand(e,r=!1){F.commands.add(e,r)}consumeCommand(e){return F.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new qs;var yp,Oo=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Rh=Symbol("clearAfterUnitTest"),en=class extends Li(lt){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[yp]=()=>{this.defaultMessages={},this.cache=new Lt,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=F.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};Te(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new ar((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof wr)&&r&&console.error(n)}return i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Oo({loadedContexts:e})),this.dispatchEvent(new Oo({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Oo({loadedContexts:[e]})),this.dispatchEvent(new Oo({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>Ai(0).then(()=>i()).catch(()=>null)))}};yp=Rh;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends en{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends en{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var si=window.FluidTopicsI18nService,Ys=window.FluidTopicsCustomI18nService;var Xs=class{highlightHtml(e,r,i){Ga(e,r,i)}};window.FluidTopicsHighlightHtmlService=new Xs;var tn=class extends lt{async listMySearches(){let{session:e}=F.getState();return vd(e,Le.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Js=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=F.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return Pr.format(e,(i=r?.locale)!==null&&i!==void 0?i:F.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Js;var li=class{static get(e,r){var i,n;let a=F.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new fr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var Qs=class{urlToSearchRequest(e){return li.get().parse(e)}searchRequestToUrl(e){return li.get().serialize(e)}};window.FluidTopicsUrlService=new Qs;var Hr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Hr.eventName="change";var el=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},gp=new el;var rn=class t extends Wt{static build(){return new t(window.history,gp,()=>window.location,!1)}constructor(e,r,i,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let i=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Te(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Hr(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let d=r(),u={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(Hr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Hr.eventName,e)}currentItem(){return No(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return No(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return No(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let i=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!i)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,i);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var i;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=rn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var bp=F;function xp(t,e){var r;return bp.getState().authenticationRequired&&!(!((r=bp.getState().session)===null||r===void 0)&&r.sessionAuthenticated)?Promise.resolve(e):t()}var _e=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},me=class extends M{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",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=()=>zr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Lt,this.cleanSessionDebouncer=new le,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return C`
1607
1602
  <slot></slot>
1608
- `}connectedCallback(){super.connectedCallback(),F.addEventListener(Mr.eventName,this.reloadConfiguration)}disconnectedCallback(){F.addEventListener(Mr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,i,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&F.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&F.actions.noCustom(this.noCustom),e.has("editorMode")&&F.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&F.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>li.addContext(u)),e.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&F.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(F.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),F.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),F.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&F.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&F.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>gp(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};me.elementDefinitions={};me.styles=fp;_e([m()],me.prototype,"baseUrl",void 0);_e([m()],me.prototype,"apiIntegrationIdentifier",void 0);_e([m()],me.prototype,"apiIntegrationAppVersion",void 0);_e([m()],me.prototype,"uiLocale",void 0);_e([Ae(null)],me.prototype,"availableUiLocales",void 0);_e([Ae(null)],me.prototype,"metadataConfiguration",void 0);_e([m({type:Boolean})],me.prototype,"editorMode",void 0);_e([m({type:Boolean})],me.prototype,"noCustom",void 0);_e([m({type:Boolean})],me.prototype,"openExternalDocumentInNewTab",void 0);_e([m({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],me.prototype,"noCustomComponent",void 0);_e([m({type:Boolean})],me.prototype,"withManualResources",void 0);_e([m({type:Boolean})],me.prototype,"navigatorOnline",void 0);_e([m({type:Boolean})],me.prototype,"forcedOffline",void 0);_e([m({type:Object})],me.prototype,"apiProvider",void 0);_e([m({type:Boolean})],me.prototype,"authenticationRequired",void 0);_e([Ae([])],me.prototype,"messageContexts",void 0);_e([Ae(void 0)],me.prototype,"session",void 0);_e([B()],me.prototype,"localesConfiguration",void 0);_e([B()],me.prototype,"availableContentLocales",void 0);var nn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},cL=De(Symbol("withDateFormat"),function(t){class e extends t{constructor(...i){super(i),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(F)}dateFormatOptionsChanged(i){return i.has("metadataDescriptors")||i.has("useLongDateFormat")||i.has("useDateTimeFormat")||i.has("uiLocale")}getDateFormatter(i){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===i))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>Tr.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return nn([m({type:Boolean})],e.prototype,"useLongDateFormat",void 0),nn([m({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),nn([oo({store:F.name,selector:r=>{var i,n;return(n=(i=r.metadataConfiguration)===null||i===void 0?void 0:i.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),nn([oo({store:F.name})],e.prototype,"uiLocale",void 0),e});var an=class extends ct{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=F.getState().session;return!!e?.sessionAuthenticated}};var sn=class extends ct{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=F.getState().session;return!!e?.sessionAuthenticated}};var Eh="ft-user-assets",wh={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(it).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:i,asset:n}=e.payload;switch(r){case it.BOOKMARKS:t.bookmarks?t.bookmarks.push(n):t.bookmarks=[n];break;case it.SEARCHES:t.savedSearches?t.savedSearches.push(n):t.savedSearches=[n];break}let a=t.assetCounts.allAsset[r];if(a!==void 0&&(t.assetCounts.allAsset[r]=a+1),r===it.BOOKMARKS&&i!==void 0){let s=t.assetCounts.bookmarkByMap[i];s!==void 0&&(t.assetCounts.bookmarkByMap[i]=s+1)}},removeAsset:(t,e)=>{var r,i;let{assetType:n,mapId:a,assetId:s}=e.payload;switch(n){case it.BOOKMARKS:t.bookmarks=(r=t.bookmarks)===null||r===void 0?void 0:r.filter(d=>d.id!==s);break;case it.SEARCHES:t.savedSearches=(i=t.savedSearches)===null||i===void 0?void 0:i.filter(d=>d.id!==s);break}let l=t.assetCounts.allAsset[n];if(l!==void 0&&l>0&&(t.assetCounts.allAsset[n]=l-1),n===it.BOOKMARKS&&a!==void 0){let d=t.assetCounts.bookmarkByMap[a];d!==void 0&&d>0&&(t.assetCounts.bookmarkByMap[a]=d-1)}}},dt=$r.get({name:Eh,reducers:wh,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(it).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),tl=class{constructor(e=new an,r=new sn){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new en,this.savedSearchesService=new rn,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=F.getState();$e((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),dt.actions.clearAssetCount(),dt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),dt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),dt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();dt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();dt.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&dt.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&dt.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(dt.getState().assetCounts.bookmarkByMap).length!==0;e===it.BOOKMARKS&&r&&dt.actions.clearBookmarkCountByMap(),dt.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;dt.actions.bookmarks(r)}}},Ah=new tl;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Ah);V("ft-app-context")(me);var rl=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[i,n]=e.split(".");return{context:i,key:n,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},bp=new rl;var Rh=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Lh=Symbol("i18nAttributes"),Ih=Symbol("i18nListAttributes"),vp=Symbol("i18nProperties"),ln=Symbol("i18nContexts"),di=Symbol("i18nUnsubs"),dn=De(Symbol("withI18n"),function(t){var e,r;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Ys:li}i18n(a){let{context:s,key:l,message:d}=a,{custom:u,args:h,argsProvider:f}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let y=h??(f?f(this):[]);return this.getI18nService(u).resolveMessage(s,l,...y)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(bp.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var u;return((u=d?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,u=(h,f,y)=>y?.context&&y.key&&a(h,f,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...h})}:y;(s=this[Lh])===null||s===void 0||s.forEach((h,f)=>d[f]=u(h,f,d[f])),(l=this[Ih])===null||l===void 0||l.forEach((h,f)=>{var y;return d[f]=(y=d[f])===null||y===void 0?void 0:y.map(S=>u(h,f,S))})}updateI18nProperties(a){var s;(s=this[vp])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[ln].set(d,{isCustomContext:l}),this[di].has(d)||this[di].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[ln].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ln].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[di].forEach(a=>a()),this[di].clear()}}return e=ln,r=di,Rh([m({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}),xp=class extends dn(M){},cn=class extends dn(Xo){};var pi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ot=class extends cn{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":N:C`
1603
+ `}connectedCallback(){super.connectedCallback(),F.addEventListener(Ur.eventName,this.reloadConfiguration)}disconnectedCallback(){F.addEventListener(Ur.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,i,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&F.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&F.actions.noCustom(this.noCustom),e.has("editorMode")&&F.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&F.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>si.addContext(u)),e.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&F.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(F.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),F.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),F.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&F.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&F.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>xp(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};me.elementDefinitions={};me.styles=mp;_e([m()],me.prototype,"baseUrl",void 0);_e([m()],me.prototype,"apiIntegrationIdentifier",void 0);_e([m()],me.prototype,"apiIntegrationAppVersion",void 0);_e([m()],me.prototype,"uiLocale",void 0);_e([Ce(null)],me.prototype,"availableUiLocales",void 0);_e([Ce(null)],me.prototype,"metadataConfiguration",void 0);_e([m({type:Boolean})],me.prototype,"editorMode",void 0);_e([m({type:Boolean})],me.prototype,"noCustom",void 0);_e([m({type:Boolean})],me.prototype,"openExternalDocumentInNewTab",void 0);_e([m({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],me.prototype,"noCustomComponent",void 0);_e([m({type:Boolean})],me.prototype,"withManualResources",void 0);_e([m({type:Boolean})],me.prototype,"navigatorOnline",void 0);_e([m({type:Boolean})],me.prototype,"forcedOffline",void 0);_e([m({type:Object})],me.prototype,"apiProvider",void 0);_e([m({type:Boolean})],me.prototype,"authenticationRequired",void 0);_e([Ce([])],me.prototype,"messageContexts",void 0);_e([Ce(void 0)],me.prototype,"session",void 0);_e([B()],me.prototype,"localesConfiguration",void 0);_e([B()],me.prototype,"availableContentLocales",void 0);var on=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fL=De(Symbol("withDateFormat"),function(t){class e extends t{constructor(...i){super(i),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(F)}dateFormatOptionsChanged(i){return i.has("metadataDescriptors")||i.has("useLongDateFormat")||i.has("useDateTimeFormat")||i.has("uiLocale")}getDateFormatter(i){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===i))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>Pr.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return on([m({type:Boolean})],e.prototype,"useLongDateFormat",void 0),on([m({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),on([ro({store:F.name,selector:r=>{var i,n;return(n=(i=r.metadataConfiguration)===null||i===void 0?void 0:i.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),on([ro({store:F.name})],e.prototype,"uiLocale",void 0),e});var nn=class extends lt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=F.getState().session;return!!e?.sessionAuthenticated}};var an=class extends lt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=F.getState().session;return!!e?.sessionAuthenticated}};var Lh="ft-user-assets",Ih={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(ot).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:i,asset:n}=e.payload;switch(r){case ot.BOOKMARKS:t.bookmarks?t.bookmarks.push(n):t.bookmarks=[n];break;case ot.SEARCHES:t.savedSearches?t.savedSearches.push(n):t.savedSearches=[n];break}let a=t.assetCounts.allAsset[r];if(a!==void 0&&(t.assetCounts.allAsset[r]=a+1),r===ot.BOOKMARKS&&i!==void 0){let s=t.assetCounts.bookmarkByMap[i];s!==void 0&&(t.assetCounts.bookmarkByMap[i]=s+1)}},removeAsset:(t,e)=>{var r,i;let{assetType:n,mapId:a,assetId:s}=e.payload;switch(n){case ot.BOOKMARKS:t.bookmarks=(r=t.bookmarks)===null||r===void 0?void 0:r.filter(d=>d.id!==s);break;case ot.SEARCHES:t.savedSearches=(i=t.savedSearches)===null||i===void 0?void 0:i.filter(d=>d.id!==s);break}let l=t.assetCounts.allAsset[n];if(l!==void 0&&l>0&&(t.assetCounts.allAsset[n]=l-1),n===ot.BOOKMARKS&&a!==void 0){let d=t.assetCounts.bookmarkByMap[a];d!==void 0&&d>0&&(t.assetCounts.bookmarkByMap[a]=d-1)}}},ct=$r.get({name:Lh,reducers:Ih,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(ot).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),tl=class{constructor(e=new nn,r=new an){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qi,this.savedSearchesService=new tn,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=F.getState();Te((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),ct.actions.clearAssetCount(),ct.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ct.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ct.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ct.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();ct.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&ct.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&ct.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(ct.getState().assetCounts.bookmarkByMap).length!==0;e===ot.BOOKMARKS&&r&&ct.actions.clearBookmarkCountByMap(),ct.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ct.actions.bookmarks(r)}}},kh=new tl;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=kh);V("ft-app-context")(me);var rl=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[i,n]=e.split(".");return{context:i,key:n,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},vp=new rl;var _h=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Th=Symbol("i18nAttributes"),$h=Symbol("i18nListAttributes"),Op=Symbol("i18nProperties"),sn=Symbol("i18nContexts"),ci=Symbol("i18nUnsubs"),cn=De(Symbol("withI18n"),function(t){var e,r;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Ys:si}i18n(a){let{context:s,key:l,message:d}=a,{custom:u,args:h,argsProvider:f}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let y=h??(f?f(this):[]);return this.getI18nService(u).resolveMessage(s,l,...y)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(vp.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var u;return((u=d?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,u=(h,f,y)=>y?.context&&y.key&&a(h,f,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...h})}:y;(s=this[Th])===null||s===void 0||s.forEach((h,f)=>d[f]=u(h,f,d[f])),(l=this[$h])===null||l===void 0||l.forEach((h,f)=>{var y;return d[f]=(y=d[f])===null||y===void 0?void 0:y.map(S=>u(h,f,S))})}updateI18nProperties(a){var s;(s=this[Op])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[sn].set(d,{isCustomContext:l}),this[ci].has(d)||this[ci].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[sn].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[sn].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[ci].forEach(a=>a()),this[ci].clear()}}return e=sn,r=ci,_h([m({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}),Sp=class extends cn(M){},ln=class extends cn(Yo){};var di=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ot=class extends ln{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":P:C`
1609
1604
  <span class="ft-i18n">
1610
1605
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1611
1606
  </span>
1612
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ot.elementDefinitions={};Ot.styles=up;pi([oo()],Ot.prototype,"editorMode",void 0);pi([m()],Ot.prototype,"context",void 0);pi([m()],Ot.prototype,"key",void 0);pi([Ae([])],Ot.prototype,"args",void 0);pi([m()],Ot.prototype,"defaultMessage",void 0);V("ft-i18n")(Ot);var Me=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ce=class extends dn(Od(M)){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new le(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),e!=this.filteredOptions&&(this.filteredOptions=e)}render(){let e=this.filteredOptions.slice(0,this.limit);return C`
1607
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ot.elementDefinitions={};Ot.styles=hp;di([ro()],Ot.prototype,"editorMode",void 0);di([m()],Ot.prototype,"context",void 0);di([m()],Ot.prototype,"key",void 0);di([Ce([])],Ot.prototype,"args",void 0);di([m()],Ot.prototype,"defaultMessage",void 0);V("ft-i18n")(Ot);var Me=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Oe=class extends cn(Ed(M)){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new le(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),e!=this.filteredOptions&&(this.filteredOptions=e)}render(){let e=this.filteredOptions.slice(0,this.limit);return C`
1613
1608
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1614
1609
  ${this.parent==null?null:C`
1615
1610
  <div tabindex="0"
@@ -1622,18 +1617,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1622
1617
  @click=${this.goBackOnClick}>
1623
1618
  <ft-ripple></ft-ripple>
1624
1619
  <ft-icon>thin_arrow_left</ft-icon>
1625
- <ft-typography variant="${Se.body2}">${this.parent.label}</ft-typography>
1620
+ <ft-typography variant="${ve.body2}">${this.parent.label}</ft-typography>
1626
1621
  </div>
1627
1622
  `}
1628
1623
  ${this.filteredOptions.length===0&&this.noValuesLabel?C`
1629
- <ft-typography class="ft-filter-level--no-values" element="span" variant="${Se.body2}">
1624
+ <ft-typography class="ft-filter-level--no-values" element="span" variant="${ve.body2}">
1630
1625
  ${this.noValuesLabel}
1631
1626
  </ft-typography>
1632
- `:N}
1627
+ `:P}
1633
1628
  ${we(e,r=>r.value,r=>{var i;return C`
1634
1629
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1635
1630
  ${this.multivalued?this.buildMultiValuedOption(r):this.buildMonoValuedOption(r)}
1636
- ${this.preventNavigation||r.selected||((i=r.subOptions)!==null&&i!==void 0?i:[]).length===0?N:C`
1631
+ ${this.preventNavigation||r.selected||((i=r.subOptions)!==null&&i!==void 0?i:[]).length===0?P:C`
1637
1632
  <ft-button icon="thin_arrow_right"
1638
1633
  part="controls navigate-hierarchy"
1639
1634
  aria-label="Expand node"
@@ -1653,7 +1648,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1653
1648
  @click=${this.displayMore}>
1654
1649
  ${this.moreValuesButtonLabel}
1655
1650
  </ft-button>
1656
- `:N}
1651
+ `:P}
1657
1652
  </div>
1658
1653
  `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){var e;let r=(e=this.limit)!==null&&e!==void 0?e:0,i=this.parent!=null;this.displayedPages++,this.elementToFocus={selector:`.ft-filter-level--option:nth-child(${r+(i?2:1)}) [part~="option"]`}}buildMultiValuedOption(e){var r;return C`
1659
1654
  <ft-checkbox name="${this.filterId}"
@@ -1661,7 +1656,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1661
1656
  data-value="${e.value}"
1662
1657
  .checked=${e.selected}
1663
1658
  .disabled=${this.disabled}
1664
- .indeterminate=${et((r=e.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1659
+ .indeterminate=${Qe((r=e.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1665
1660
  @change=${i=>this.optionsChanged(i,e)}>
1666
1661
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1667
1662
  </ft-checkbox>
@@ -1676,7 +1671,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1676
1671
  @change=${r=>this.optionsChanged(r,e)}>
1677
1672
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1678
1673
  </ft-radio>
1679
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};Ce.elementDefinitions={"ft-button":ke,"ft-ripple":Q,"ft-typography":ce,"ft-checkbox":Ve,"ft-icon":fe,"ft-radio":Jt};Ce.styles=pp;Me([m({type:String})],Ce.prototype,"filterId",void 0);Me([m({type:Object})],Ce.prototype,"parent",void 0);Me([m({type:Array,hasChanged:Rt})],Ce.prototype,"options",void 0);Me([m({type:Boolean})],Ce.prototype,"multivalued",void 0);Me([m({type:Boolean})],Ce.prototype,"disabled",void 0);Me([m({type:Boolean})],Ce.prototype,"hideSelectedOptions",void 0);Me([m({type:Boolean})],Ce.prototype,"displayCount",void 0);Me([m({type:Boolean})],Ce.prototype,"preventNavigation",void 0);Me([m({type:String})],Ce.prototype,"filter",void 0);Me([m({type:String})],Ce.prototype,"moreValuesButtonLabel",void 0);Me([m({type:String})],Ce.prototype,"noValuesLabel",void 0);Me([m()],Ce.prototype,"filteredOptionsNumberAriaNotification",void 0);Me([Yr()],Ce.prototype,"displayedValuesLimit",void 0);Me([z(".ft-filter-level--container")],Ce.prototype,"container",void 0);Me([B()],Ce.prototype,"radios",void 0);Me([B()],Ce.prototype,"displayedPages",void 0);Me([B({hasChanged:Rt})],Ce.prototype,"filteredOptions",void 0);var Ze={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",L.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(L.colorSurface,"Design system")},Sp=k`
1674
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};Oe.elementDefinitions={"ft-button":ke,"ft-ripple":Q,"ft-typography":ce,"ft-checkbox":Ve,"ft-icon":fe,"ft-radio":Jt};Oe.styles=fp;Me([m({type:String})],Oe.prototype,"filterId",void 0);Me([m({type:Object})],Oe.prototype,"parent",void 0);Me([m({type:Array,hasChanged:Rt})],Oe.prototype,"options",void 0);Me([m({type:Boolean})],Oe.prototype,"multivalued",void 0);Me([m({type:Boolean})],Oe.prototype,"disabled",void 0);Me([m({type:Boolean})],Oe.prototype,"hideSelectedOptions",void 0);Me([m({type:Boolean})],Oe.prototype,"displayCount",void 0);Me([m({type:Boolean})],Oe.prototype,"preventNavigation",void 0);Me([m({type:String})],Oe.prototype,"filter",void 0);Me([m({type:String})],Oe.prototype,"moreValuesButtonLabel",void 0);Me([m({type:String})],Oe.prototype,"noValuesLabel",void 0);Me([m()],Oe.prototype,"filteredOptionsNumberAriaNotification",void 0);Me([tr()],Oe.prototype,"displayedValuesLimit",void 0);Me([z(".ft-filter-level--container")],Oe.prototype,"container",void 0);Me([B()],Oe.prototype,"radios",void 0);Me([B()],Oe.prototype,"displayedPages",void 0);Me([B({hasChanged:Rt})],Oe.prototype,"filteredOptions",void 0);var Ze={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",L.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(L.colorSurface,"Design system")},Cp=k`
1680
1675
  .ft-snap-scroll {
1681
1676
  box-sizing: border-box;
1682
1677
  position: relative;
@@ -1801,7 +1796,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1801
1796
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1802
1797
  background-color: ${Ze.colorSurface};
1803
1798
  }
1804
- `;var Bt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ol=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Re=class extends M{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new le(200),this.updateScrollDebouncer=new le(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=ue({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Br}),r=this.controls&&this.withScroll;return C`
1799
+ `;var Bt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ol=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Re=class extends M{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new le(200),this.updateScrollDebouncer=new le(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=ue({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Dr}),r=this.controls&&this.withScroll;return C`
1805
1800
  <div part="container" class="${e}">
1806
1801
  <ft-button
1807
1802
  class="ft-snap-scroll--previous"
@@ -1825,7 +1820,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1825
1820
  @click=${this.next}
1826
1821
  ></ft-button>
1827
1822
  </div>
1828
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new ol(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Re.elementDefinitions={"ft-button":ke};Re.styles=Sp;Bt([m({type:Boolean})],Re.prototype,"horizontal",void 0);Bt([m({type:Boolean})],Re.prototype,"hideScrollbar",void 0);Bt([m({type:Boolean})],Re.prototype,"controls",void 0);Bt([m({type:Boolean})],Re.prototype,"limitSize",void 0);Bt([B()],Re.prototype,"elements",void 0);Bt([B()],Re.prototype,"currentElement",void 0);Bt([B()],Re.prototype,"withScroll",void 0);Bt([B()],Re.prototype,"startReached",void 0);Bt([B()],Re.prototype,"endReached",void 0);Bt([z(".ft-snap-scroll--content")],Re.prototype,"contentSlot",void 0);V("ft-snap-scroll")(Re);var Je={colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorSurface:o.external(L.colorSurface,"Design system"),transitionDuration:o.external(L.transitionDuration,"Design system"),transitionTimingFunction:o.external(L.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",L.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",D.fontSize,"16px")},Op=[Nt,Zo,k`
1823
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new ol(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Re.elementDefinitions={"ft-button":ke};Re.styles=Cp;Bt([m({type:Boolean})],Re.prototype,"horizontal",void 0);Bt([m({type:Boolean})],Re.prototype,"hideScrollbar",void 0);Bt([m({type:Boolean})],Re.prototype,"controls",void 0);Bt([m({type:Boolean})],Re.prototype,"limitSize",void 0);Bt([B()],Re.prototype,"elements",void 0);Bt([B()],Re.prototype,"currentElement",void 0);Bt([B()],Re.prototype,"withScroll",void 0);Bt([B()],Re.prototype,"startReached",void 0);Bt([B()],Re.prototype,"endReached",void 0);Bt([z(".ft-snap-scroll--content")],Re.prototype,"contentSlot",void 0);V("ft-snap-scroll")(Re);var Xe={colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorSurface:o.external(L.colorSurface,"Design system"),transitionDuration:o.external(L.transitionDuration,"Design system"),transitionTimingFunction:o.external(L.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",L.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",D.fontSize,"16px")},Ep=[Pt,Ko,k`
1829
1824
  :host {
1830
1825
  display: flex;
1831
1826
  max-height: 100%;
@@ -1865,8 +1860,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1865
1860
  flex-shrink: 1;
1866
1861
  flex-grow: 1;
1867
1862
  word-break: break-word;
1868
- color: ${Je.labelColor};
1869
- font-size: ${Je.labelFontSize};
1863
+ color: ${Xe.labelColor};
1864
+ font-size: ${Xe.labelFontSize};
1870
1865
  ${b(D.lineHeight,"22px")};
1871
1866
  ${b(D.fontWeight,"bold")};
1872
1867
  }
@@ -1879,8 +1874,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1879
1874
  padding: 0 10px;
1880
1875
  overflow: hidden;
1881
1876
  height: 32px;
1882
- transition: height ${Je.transitionDuration} ${Je.transitionTimingFunction},
1883
- margin ${Je.transitionDuration} ${Je.transitionTimingFunction};
1877
+ transition: height ${Xe.transitionDuration} ${Xe.transitionTimingFunction},
1878
+ margin ${Xe.transitionDuration} ${Xe.transitionTimingFunction};
1884
1879
  transition-delay: 500ms;
1885
1880
  }
1886
1881
 
@@ -1893,15 +1888,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1893
1888
  display: block;
1894
1889
  width: 100%;
1895
1890
  border-radius: 4px;
1896
- border: 1px solid ${Je.colorOutline};
1891
+ border: 1px solid ${Xe.colorOutline};
1897
1892
  padding: 4px;
1898
- background-color: ${Je.colorSurface};
1899
- color: ${Je.colorOnSurface};
1900
- outline-color: ${Je.colorPrimary};
1893
+ background-color: ${Xe.colorSurface};
1894
+ color: ${Xe.colorOnSurface};
1895
+ outline-color: ${Xe.colorPrimary};
1901
1896
  }
1902
1897
 
1903
1898
  input::placeholder {
1904
- color: ${Je.colorOnSurfaceMedium};
1899
+ color: ${Xe.colorOnSurfaceMedium};
1905
1900
  }
1906
1901
 
1907
1902
  input:placeholder-shown {
@@ -1917,7 +1912,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1917
1912
  }
1918
1913
 
1919
1914
  .ft-filter--separator {
1920
- border-top: 1px solid ${Je.colorOutline};
1915
+ border-top: 1px solid ${Xe.colorOutline};
1921
1916
  margin: 4px 10px;
1922
1917
  }
1923
1918
 
@@ -1942,14 +1937,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1942
1937
  slot:not([name]) {
1943
1938
  display: none;
1944
1939
  }
1945
- `];var ye=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},il=class extends CustomEvent{constructor(e){super("change",{detail:e})}},oe=class extends M{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new le(300),this.changeDebouncer=new le(10),this.lastDispatchedValues=[]}get flatOptions(){return et(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return et(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return C`
1940
+ `];var ye=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},il=class extends CustomEvent{constructor(e){super("change",{detail:e})}},oe=class extends M{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new le(300),this.changeDebouncer=new le(10),this.lastDispatchedValues=[]}get flatOptions(){return Qe(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return Qe(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return C`
1946
1941
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1947
1942
  part="container">
1948
1943
  ${!this.label&&!e?null:C`
1949
1944
 
1950
1945
  <div class="ft-filter--header" part="header">
1951
1946
  <div class="filter-label" id="id-group-${this.id}">
1952
- <ft-typography class="ft-filter--label" variant="${Se.overline}" part="label">
1947
+ <ft-typography class="ft-filter--label" variant="${ve.overline}" part="label">
1953
1948
  ${this.label}
1954
1949
  </ft-typography>
1955
1950
  <slot name="label"></slot>
@@ -2025,21 +2020,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2025
2020
  noValuesLabel="${this.noValuesLabel}"
2026
2021
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
2027
2022
  ></ft-filter-level>
2028
- `}goBack(e){this.slideOut=e.detail.value,No(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,No(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){No(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;$e(this.lastDispatchedValues,e)||(this.dispatchEvent(new il(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};oe.elementDefinitions={"ft-button":ke,"ft-filter-level":Ce,"ft-snap-scroll":Re,"ft-typography":ce};oe.styles=Op;ye([m({type:String})],oe.prototype,"id",void 0);ye([m({type:String})],oe.prototype,"label",void 0);ye([m({type:String})],oe.prototype,"filterPlaceHolder",void 0);ye([m({type:String})],oe.prototype,"clearButtonLabel",void 0);ye([m({type:String})],oe.prototype,"moreValuesButtonLabel",void 0);ye([m({type:String})],oe.prototype,"noValuesLabel",void 0);ye([Ae([])],oe.prototype,"options",void 0);ye([m({type:Boolean})],oe.prototype,"multivalued",void 0);ye([m({type:Boolean})],oe.prototype,"disabled",void 0);ye([m({type:Boolean})],oe.prototype,"raiseSelectedOptions",void 0);ye([m({type:Boolean})],oe.prototype,"displayCount",void 0);ye([Yr()],oe.prototype,"displayedValuesLimit",void 0);ye([Ae(void 0)],oe.prototype,"filteredOptionsNumberAriaNotification",void 0);ye([m({type:Boolean})],oe.prototype,"hideClearButton",void 0);ye([z(".ft-filter--slot")],oe.prototype,"slotElement",void 0);ye([z(".ft-filter--container")],oe.prototype,"container",void 0);ye([z(".ft-filter--values")],oe.prototype,"valuesContainer",void 0);ye([z(".ft-filter--levels")],oe.prototype,"levelsContainer",void 0);ye([B()],oe.prototype,"lastLevelHasHiddenvalues",void 0);ye([z(".ft-filter--filter input")],oe.prototype,"filterInput",void 0);ye([Ln(".ft-filter--levels ft-filter-level")],oe.prototype,"levels",void 0);ye([B()],oe.prototype,"withScroll",void 0);ye([B()],oe.prototype,"filter",void 0);ye([B()],oe.prototype,"slideIn",void 0);ye([B()],oe.prototype,"slideOut",void 0);var Eo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pt=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return C`
2023
+ `}goBack(e){this.slideOut=e.detail.value,$o(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,$o(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){$o(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;Te(this.lastDispatchedValues,e)||(this.dispatchEvent(new il(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};oe.elementDefinitions={"ft-button":ke,"ft-filter-level":Oe,"ft-snap-scroll":Re,"ft-typography":ce};oe.styles=Ep;ye([m({type:String})],oe.prototype,"id",void 0);ye([m({type:String})],oe.prototype,"label",void 0);ye([m({type:String})],oe.prototype,"filterPlaceHolder",void 0);ye([m({type:String})],oe.prototype,"clearButtonLabel",void 0);ye([m({type:String})],oe.prototype,"moreValuesButtonLabel",void 0);ye([m({type:String})],oe.prototype,"noValuesLabel",void 0);ye([Ce([])],oe.prototype,"options",void 0);ye([m({type:Boolean})],oe.prototype,"multivalued",void 0);ye([m({type:Boolean})],oe.prototype,"disabled",void 0);ye([m({type:Boolean})],oe.prototype,"raiseSelectedOptions",void 0);ye([m({type:Boolean})],oe.prototype,"displayCount",void 0);ye([tr()],oe.prototype,"displayedValuesLimit",void 0);ye([Ce(void 0)],oe.prototype,"filteredOptionsNumberAriaNotification",void 0);ye([m({type:Boolean})],oe.prototype,"hideClearButton",void 0);ye([z(".ft-filter--slot")],oe.prototype,"slotElement",void 0);ye([z(".ft-filter--container")],oe.prototype,"container",void 0);ye([z(".ft-filter--values")],oe.prototype,"valuesContainer",void 0);ye([z(".ft-filter--levels")],oe.prototype,"levelsContainer",void 0);ye([B()],oe.prototype,"lastLevelHasHiddenvalues",void 0);ye([z(".ft-filter--filter input")],oe.prototype,"filterInput",void 0);ye([Rn(".ft-filter--levels ft-filter-level")],oe.prototype,"levels",void 0);ye([B()],oe.prototype,"withScroll",void 0);ye([B()],oe.prototype,"filter",void 0);ye([B()],oe.prototype,"slideIn",void 0);ye([B()],oe.prototype,"slideOut",void 0);var Co=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},dt=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return C`
2029
2024
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
2030
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};pt.elementDefinitions={};Eo([m({type:String})],pt.prototype,"label",void 0);Eo([m({type:Object,converter:t=>t})],pt.prototype,"value",void 0);Eo([m({type:Boolean,reflect:!0})],pt.prototype,"selected",void 0);Eo([m({type:Object})],pt.prototype,"subOptions",void 0);Eo([Ae({})],pt.prototype,"renderOption",void 0);Eo([z(".ft-filter-option--slot")],pt.prototype,"slotElement",void 0);V("ft-filter")(oe);V("ft-filter-option")(pt);var Cp=k`
2025
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};dt.elementDefinitions={};Co([m({type:String})],dt.prototype,"label",void 0);Co([m({type:Object,converter:t=>t})],dt.prototype,"value",void 0);Co([m({type:Boolean,reflect:!0})],dt.prototype,"selected",void 0);Co([m({type:Object})],dt.prototype,"subOptions",void 0);Co([Ce({})],dt.prototype,"renderOption",void 0);Co([z(".ft-filter-option--slot")],dt.prototype,"slotElement",void 0);V("ft-filter")(oe);V("ft-filter-option")(dt);var wp=k`
2031
2026
  .ft-accordion {
2032
2027
  box-sizing: border-box;
2033
2028
  }
2034
- `;var Ep=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Dt=class extends M{constructor(){super(...arguments),this.multi=!1}render(){return C`
2029
+ `;var Ap=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Dt=class extends M{constructor(){super(...arguments),this.multi=!1}render(){return C`
2035
2030
  <div class="ft-accordion">
2036
2031
  <slot @activated=${this.onChange}></slot>
2037
2032
  </div>
2038
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};Dt.elementDefinitions={};Dt.styles=Cp;Ep([m({type:Boolean})],Dt.prototype,"multi",void 0);Ep([z("slot")],Dt.prototype,"content",void 0);var Hr={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external(L.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},wp=k`
2033
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};Dt.elementDefinitions={};Dt.styles=wp;Ap([m({type:Boolean})],Dt.prototype,"multi",void 0);Ap([z("slot")],Dt.prototype,"content",void 0);var Wr={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external(L.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Rp=k`
2039
2034
  .ft-accordion-item {
2040
2035
  display: flex;
2041
2036
  flex-direction: column;
2042
- background-color: ${Hr.backgroundColor};
2037
+ background-color: ${Wr.backgroundColor};
2043
2038
  }
2044
2039
 
2045
2040
  .ft-accordion-item--toggle {
@@ -2049,8 +2044,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2049
2044
  display: flex;
2050
2045
  align-items: center;
2051
2046
  cursor: pointer;
2052
- padding: ${Hr.verticalSpacing} ${Hr.horizontalSpacing};
2053
- gap: calc(${Hr.horizontalSpacing} / 2);
2047
+ padding: ${Wr.verticalSpacing} ${Wr.horizontalSpacing};
2048
+ gap: calc(${Wr.horizontalSpacing} / 2);
2054
2049
  outline: none;
2055
2050
  }
2056
2051
 
@@ -2075,13 +2070,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2075
2070
  .ft-accordion-item--active .ft-accordion-item--content {
2076
2071
  height: initial;
2077
2072
  overflow: visible;
2078
- padding: ${Hr.verticalSpacing} ${Hr.horizontalSpacing};
2073
+ padding: ${Wr.verticalSpacing} ${Wr.horizontalSpacing};
2079
2074
  }
2080
2075
 
2081
2076
  .ft-accordion-item--separator {
2082
- border-bottom: 1px solid ${Hr.colorOutline};
2077
+ border-bottom: 1px solid ${Wr.colorOutline};
2083
2078
  }
2084
- `;var pn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},mt=class extends M{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return C`
2079
+ `;var dn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ht=class extends M{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return C`
2085
2080
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
2086
2081
  <div class="ft-accordion-item--toggle"
2087
2082
  part="toggle"
@@ -2111,7 +2106,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2111
2106
  </div>
2112
2107
  <div class="ft-accordion-item--separator" part="separator"></div>
2113
2108
  </div>
2114
- `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};mt.elementDefinitions={"ft-ripple":Q,"ft-typography":ce,"ft-icon":fe};mt.styles=wp;pn([m()],mt.prototype,"icon",void 0);pn([m()],mt.prototype,"iconVariant",void 0);pn([m()],mt.prototype,"label",void 0);pn([m({type:Boolean,reflect:!0})],mt.prototype,"active",void 0);V("ft-accordion")(Dt);V("ft-accordion-item")(mt);var Ap=o.extend("--ft-chip-color","",L.colorOnSurface),Ue={backgroundColor:o.extend("--ft-chip-background-color","",L.colorSurface),color:Ap,fontSize:o.extend("--ft-chip-font-size","",Ie.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",Ie.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Ap),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",L.colorOutline),opacityDisabled:o.external(L.colorOpacityDisabled,"Design system")},Rp=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",L.colorOnPrimary)),nl={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",L.colorPrimary)),color:Rp,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",Rp)},Lp={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Ip=[Kt,k`
2109
+ `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ht.elementDefinitions={"ft-ripple":Q,"ft-typography":ce,"ft-icon":fe};ht.styles=Rp;dn([m()],ht.prototype,"icon",void 0);dn([m()],ht.prototype,"iconVariant",void 0);dn([m()],ht.prototype,"label",void 0);dn([m({type:Boolean,reflect:!0})],ht.prototype,"active",void 0);V("ft-accordion")(Dt);V("ft-accordion-item")(ht);var Lp=o.extend("--ft-chip-color","",L.colorOnSurface),Ue={backgroundColor:o.extend("--ft-chip-background-color","",L.colorSurface),color:Lp,fontSize:o.extend("--ft-chip-font-size","",Ie.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",Ie.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Lp),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",L.colorOutline),opacityDisabled:o.external(L.colorOpacityDisabled,"Design system")},Ip=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",L.colorOnPrimary)),nl={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",L.colorPrimary)),color:Ip,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",Ip)},kp={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},_p=[Kt,k`
2115
2110
  :host {
2116
2111
  display: inline-block;
2117
2112
  max-width: 100%;
@@ -2130,7 +2125,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2130
2125
  --chip-internal-font-size: ${Ue.fontSize};
2131
2126
  --chip-internal-font-weight: ${Ue.fontWeight};
2132
2127
  --chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
2133
- ${b(Oe.size,Ue.iconSize)};
2128
+ ${b(Se.size,Ue.iconSize)};
2134
2129
  --chip-internal-vertical-padding: ${Ue.verticalPadding};
2135
2130
  --chip-internal-horizontal-padding: ${Ue.horizontalPadding};
2136
2131
  --chip-internal-icon-padding: 3px;
@@ -2151,8 +2146,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2151
2146
 
2152
2147
  .ft-chip--dense {
2153
2148
  --chip-internal-icon-padding: 3px;
2154
- --chip-internal-vertical-padding: ${Lp.verticalPadding};
2155
- --chip-internal-horizontal-padding: ${Lp.horizontalPadding};
2149
+ --chip-internal-vertical-padding: ${kp.verticalPadding};
2150
+ --chip-internal-horizontal-padding: ${kp.horizontalPadding};
2156
2151
  --chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
2157
2152
  }
2158
2153
 
@@ -2251,7 +2246,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2251
2246
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
2252
2247
  order: -1;
2253
2248
  }
2254
- `];var Qe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},un=class extends CustomEvent{constructor(){super("icon-click")}},Ee=class extends M{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.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"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":Br};return C`
2249
+ `];var Je=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pn=class extends CustomEvent{constructor(){super("icon-click")}},Ee=class extends M{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.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"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":Dr};return C`
2255
2250
  <div class="${ue(e)}"
2256
2251
  aria-label="${this.getLabel()}"
2257
2252
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -2278,7 +2273,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2278
2273
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
2279
2274
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
2280
2275
  </div>
2281
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new un))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new un))}getLabel(){return this.label||this.textContent}get textContent(){return qr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ee.elementDefinitions={"ft-ripple":Q,"ft-typography":ce,"ft-icon":fe,"ft-button":ke};Ee.styles=Ip;Qe([m({type:Boolean})],Ee.prototype,"highlighted",void 0);Qe([m({type:Boolean})],Ee.prototype,"removable",void 0);Qe([m({type:Boolean})],Ee.prototype,"disabled",void 0);Qe([m({type:Boolean})],Ee.prototype,"clickable",void 0);Qe([m({type:Boolean})],Ee.prototype,"iconClickable",void 0);Qe([m({type:Boolean})],Ee.prototype,"dense",void 0);Qe([m({type:Boolean})],Ee.prototype,"multiLine",void 0);Qe([m()],Ee.prototype,"label",void 0);Qe([m()],Ee.prototype,"iconLabel",void 0);Qe([m({type:Boolean})],Ee.prototype,"hideIconTooltip",void 0);Qe([m()],Ee.prototype,"icon",void 0);Qe([m()],Ee.prototype,"iconVariant",void 0);Qe([m({type:Boolean})],Ee.prototype,"trailingIcon",void 0);Qe([z("ft-typography slot")],Ee.prototype,"slottedContent",void 0);var kp=[k`
2276
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new pn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new pn))}getLabel(){return this.label||this.textContent}get textContent(){return qr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ee.elementDefinitions={"ft-ripple":Q,"ft-typography":ce,"ft-icon":fe,"ft-button":ke};Ee.styles=_p;Je([m({type:Boolean})],Ee.prototype,"highlighted",void 0);Je([m({type:Boolean})],Ee.prototype,"removable",void 0);Je([m({type:Boolean})],Ee.prototype,"disabled",void 0);Je([m({type:Boolean})],Ee.prototype,"clickable",void 0);Je([m({type:Boolean})],Ee.prototype,"iconClickable",void 0);Je([m({type:Boolean})],Ee.prototype,"dense",void 0);Je([m({type:Boolean})],Ee.prototype,"multiLine",void 0);Je([m()],Ee.prototype,"label",void 0);Je([m()],Ee.prototype,"iconLabel",void 0);Je([m({type:Boolean})],Ee.prototype,"hideIconTooltip",void 0);Je([m()],Ee.prototype,"icon",void 0);Je([m()],Ee.prototype,"iconVariant",void 0);Je([m({type:Boolean})],Ee.prototype,"trailingIcon",void 0);Je([z("ft-typography slot")],Ee.prototype,"slottedContent",void 0);var Tp=[k`
2282
2277
  :host {
2283
2278
  display: inline-block;
2284
2279
  max-width: 100%;
@@ -2317,7 +2312,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2317
2312
  border-radius: ${j.smallBorderRadius};
2318
2313
  border-width: ${j.smallBorderWidth};
2319
2314
  border-style: solid;
2320
- ${b(Oe.size,j.smallIconSize)}
2315
+ ${b(Se.size,j.smallIconSize)}
2321
2316
  }
2322
2317
 
2323
2318
  .ftds--size-small.ftds-chip--with-action {
@@ -2356,7 +2351,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2356
2351
  border-width: ${j.mediumBorderWidth};
2357
2352
  border-style: solid;
2358
2353
  gap: ${j.mediumGap};
2359
- ${b(Oe.size,j.mediumIconSize)}
2354
+ ${b(Se.size,j.mediumIconSize)}
2360
2355
  }
2361
2356
 
2362
2357
  .ftds--size-medium.ftds-chip--with-action {
@@ -2375,7 +2370,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2375
2370
  border-width: ${j.largeBorderWidth};
2376
2371
  border-style: solid;
2377
2372
  gap: ${j.largeGap};
2378
- ${b(Oe.size,j.largeIconSize)}
2373
+ ${b(Se.size,j.largeIconSize)}
2379
2374
  }
2380
2375
 
2381
2376
  .ftds--size-large.ftds-chip--with-action {
@@ -2445,7 +2440,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2445
2440
  .ftds--family-error .ftds-chip--icon-container {
2446
2441
  color: ${j.errorIconColor};
2447
2442
  }
2448
- `];var wo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},al=class extends CustomEvent{constructor(){super("remove")}},yt=class extends Go{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return C`
2443
+ `];var Eo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},al=class extends CustomEvent{constructor(){super("remove")}},mt=class extends jo{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return C`
2449
2444
  <div class="${ue(e)}"
2450
2445
  aria-label="${this.getLabel()}"
2451
2446
  part="chip">
@@ -2459,19 +2454,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2459
2454
  <div class="ftds-chip--icon-container" part="icon-container">
2460
2455
  <ft-icon .variant=${Ge.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
2461
2456
  </div>
2462
- `:N}renderAction(){return this.removable?C`
2457
+ `:P}renderAction(){return this.removable?C`
2463
2458
  <ftds-button round
2464
2459
  class="ftds-chip--remove-button"
2465
2460
  @click=${this.dispatchRemoveEvent}
2466
- icon=${at.X_MARK}
2461
+ icon=${nt.X_MARK}
2467
2462
  label=${this.removeButtonLabel}
2468
- family=${tt.neutral}
2463
+ family=${et.neutral}
2469
2464
  size=${this.resolveButtonSize()}
2470
2465
  part="icon-button"
2471
2466
  ></ftds-button>
2472
2467
  `:this.withAction?C`
2473
2468
  <slot name="action"></slot>
2474
- `:N}resolveButtonSize(){switch(this.size){case Te.large:return Te.medium;case Te.medium:case Te.small:return Te.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new al)}typographyVariant(){switch(this.size){case Te.large:return Se.body2medium;case Te.medium:case Te.small:return Se.caption1medium}}};yt.elementDefinitions={"ft-typography":ce,"ft-icon":fe,"ftds-button":St};yt.styles=kp;wo([m({type:Boolean})],yt.prototype,"withAction",void 0);wo([m({type:Boolean})],yt.prototype,"removable",void 0);wo([m()],yt.prototype,"removeButtonLabel",void 0);wo([m()],yt.prototype,"label",void 0);wo([m()],yt.prototype,"icon",void 0);wo([z("ft-typography slot")],yt.prototype,"slottedContent",void 0);V("ft-chip")(Ee);V("ftds-chip")(yt);var Z={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",L.colorOutline),textColor:o.extend("--ft-input-label-text-color","",L.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",L.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",L.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",L.borderRadiusS),colorError:o.external(L.colorError,"Design system")},_p=k`
2469
+ `:P}resolveButtonSize(){switch(this.size){case $e.large:return $e.medium;case $e.medium:case $e.small:return $e.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new al)}typographyVariant(){switch(this.size){case $e.large:return ve.body2medium;case $e.medium:case $e.small:return ve.caption1medium}}};mt.elementDefinitions={"ft-typography":ce,"ft-icon":fe,"ftds-button":St};mt.styles=Tp;Eo([m({type:Boolean})],mt.prototype,"withAction",void 0);Eo([m({type:Boolean})],mt.prototype,"removable",void 0);Eo([m()],mt.prototype,"removeButtonLabel",void 0);Eo([m()],mt.prototype,"label",void 0);Eo([m()],mt.prototype,"icon",void 0);Eo([z("ft-typography slot")],mt.prototype,"slottedContent",void 0);V("ft-chip")(Ee);V("ftds-chip")(mt);var Z={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",L.colorOutline),textColor:o.extend("--ft-input-label-text-color","",L.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",L.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",L.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",L.borderRadiusS),colorError:o.external(L.colorError,"Design system")},$p=k`
2475
2470
  .ft-input-label {
2476
2471
  position: absolute;
2477
2472
  inset: 0;
@@ -2522,8 +2517,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2522
2517
  transition: font-size 250ms, line-height 250ms, color 250ms;
2523
2518
  max-width: calc(${Z.labelMaxWidth} - 2 * (${Z.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
2524
2519
  text-overflow: ellipsis;
2525
- ${b(Ne.fontSize,Z.fontSize)};
2526
- ${b(Ne.lineHeight,Z.fontSize)};
2520
+ ${b(Pe.fontSize,Z.fontSize)};
2521
+ ${b(Pe.lineHeight,Z.fontSize)};
2527
2522
  }
2528
2523
 
2529
2524
  .ft-input-label--in-error .ft-input-label--text {
@@ -2543,7 +2538,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2543
2538
 
2544
2539
  .ft-input-label--floating-text {
2545
2540
  position: absolute;
2546
- top: calc(50% - ${Ne.lineHeight} / 2);
2541
+ top: calc(50% - ${Pe.lineHeight} / 2);
2547
2542
  transition: top 250ms;
2548
2543
  overflow: hidden;
2549
2544
  white-space: nowrap;
@@ -2555,8 +2550,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2555
2550
  }
2556
2551
 
2557
2552
  .ft-input-label--raised .ft-input-label--text {
2558
- ${b(Ne.fontSize,Z.raisedFontSize)};
2559
- ${b(Ne.lineHeight,Z.raisedFontSize)};
2553
+ ${b(Pe.fontSize,Z.raisedFontSize)};
2554
+ ${b(Pe.lineHeight,Z.raisedFontSize)};
2560
2555
  }
2561
2556
 
2562
2557
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -2587,30 +2582,30 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2587
2582
  z-index: ${Z.raisedZIndex};
2588
2583
  background-color: ${Z.backgroundColor};
2589
2584
  border-radius: ${Z.borderRadius};
2590
- top: calc((${Ne.lineHeight} / -2) + 2px);
2585
+ top: calc((${Pe.lineHeight} / -2) + 2px);
2591
2586
  }
2592
2587
 
2593
2588
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2594
2589
  border-top: none;
2595
2590
  }
2596
- `;var $p=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qt=class extends M{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return C`
2591
+ `;var Pp=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qt=class extends M{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return C`
2597
2592
  <div class="${ue(this.inputLabelClasses)}">
2598
- ${ho(this.text,()=>C`
2593
+ ${fo(this.text,()=>C`
2599
2594
  <div class="ft-input-label--text ft-typography--caption">
2600
2595
  <label class="ft-input-label--floating-text">${this.text}</label>
2601
2596
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
2602
2597
  </div>
2603
2598
  `)}
2604
2599
  </div>
2605
- `}};Qt.elementDefinitions={};$p([m({type:String})],Qt.prototype,"text",void 0);$p([m({type:Boolean})],Qt.prototype,"raised",void 0);var sl=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ct=class extends Qt{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};Ct.elementDefinitions={};Ct.styles=[Nt,_p];sl([m({type:Boolean})],Ct.prototype,"outlined",void 0);sl([m({type:Boolean})],Ct.prototype,"error",void 0);sl([m({type:Boolean})],Ct.prototype,"disabled",void 0);var je={fontSize:o.extend("--ft-input-label-font-size","",wr.fontSize),fontSizeRaised:o.extend("--ft-input-label-font-size-raised","",rr.fontSize),lineHeight:o.extend("--ft-input-label-line-height","",rr.lineHeight),color:o.extend("--ft-input-label-color","",p.contentGlobalSubtle),largeFieldHeight:o.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:o.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:o.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:o.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:o.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:o.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:o.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:o.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Tp=[k`
2600
+ `}};Qt.elementDefinitions={};Pp([m({type:String})],Qt.prototype,"text",void 0);Pp([m({type:Boolean})],Qt.prototype,"raised",void 0);var sl=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ct=class extends Qt{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};Ct.elementDefinitions={};Ct.styles=[Pt,$p];sl([m({type:Boolean})],Ct.prototype,"outlined",void 0);sl([m({type:Boolean})],Ct.prototype,"error",void 0);sl([m({type:Boolean})],Ct.prototype,"disabled",void 0);var je={fontSize:o.extend("--ft-input-label-font-size","",Ar.fontSize),fontSizeRaised:o.extend("--ft-input-label-font-size-raised","",or.fontSize),lineHeight:o.extend("--ft-input-label-line-height","",or.lineHeight),color:o.extend("--ft-input-label-color","",p.contentGlobalSubtle),largeFieldHeight:o.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:o.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:o.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:o.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:o.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:o.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:o.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:o.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Np=[k`
2606
2601
 
2607
2602
  :root {
2608
2603
  --field-height: ${je.largeFieldHeight};
2609
2604
  --field-vertical-gap: ${je.largeFieldVerticalGap};
2610
2605
  --field-horizontal-padding: ${je.largeFieldHorizontalPadding};
2611
2606
 
2612
- --typo-caption-height: calc(${rr.lineHeight} * ${rr.fontSize});
2613
- --typo-body-height: calc(${wr.lineHeight} * ${wr.fontSize});
2607
+ --typo-caption-height: calc(${or.lineHeight} * ${or.fontSize});
2608
+ --typo-body-height: calc(${Ar.lineHeight} * ${Ar.fontSize});
2614
2609
  --caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
2615
2610
  --input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
2616
2611
  }
@@ -2644,8 +2639,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2644
2639
  z-index: 10;
2645
2640
  width: 100%;
2646
2641
  transition: font-size 250ms, line-height 250ms, color 250ms;
2647
- ${b(Ne.fontSize,je.fontSize)};
2648
- ${b(Ne.lineHeight,je.lineHeight)};
2642
+ ${b(Pe.fontSize,je.fontSize)};
2643
+ ${b(Pe.lineHeight,je.lineHeight)};
2649
2644
  }
2650
2645
 
2651
2646
  .ft-input-label--hidden-text {
@@ -2676,15 +2671,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2676
2671
  }
2677
2672
 
2678
2673
  .ft-input-label--raised .ft-input-label--text {
2679
- ${b(Ne.fontSize,je.fontSizeRaised)};
2680
- ${b(Ne.lineHeight,je.lineHeight)};
2674
+ ${b(Pe.fontSize,je.fontSizeRaised)};
2675
+ ${b(Pe.lineHeight,je.lineHeight)};
2681
2676
  }
2682
2677
 
2683
2678
  .ft-input-label--raised .ft-input-label--floating-text {
2684
2679
  top: var(--input-content-vertical-padding);
2685
2680
  }
2686
2681
 
2687
- `];var ui=class extends _t(Qt){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};ui.styles=[Nt,Tp];V("ft-input-label")(Ct);V("ftds-input-label")(ui);var Y={labelSize:o.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:o.extend("--ft-select-selected-option-color","",L.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",L.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",L.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",L.colorSurface),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),borderRadiusS:o.external(L.borderRadiusS,"Design system"),elevation02:o.external(L.elevation02,"Design system"),colorError:o.external(L.colorError,"Design system")},Np=k`
2682
+ `];var pi=class extends _t(Qt){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};pi.styles=[Pt,Np];V("ft-input-label")(Ct);V("ftds-input-label")(pi);var Y={labelSize:o.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:o.extend("--ft-select-selected-option-color","",L.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",L.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",L.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",L.colorSurface),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),borderRadiusS:o.external(L.borderRadiusS,"Design system"),elevation02:o.external(L.elevation02,"Design system"),colorError:o.external(L.colorError,"Design system")},Bp=k`
2688
2683
  *:focus {
2689
2684
  outline: none;
2690
2685
  }
@@ -2741,7 +2736,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2741
2736
  ${b(Z.verticalSpacing,Y.verticalSpacing)};
2742
2737
  ${b(Z.horizontalSpacing,Y.horizontalSpacing)};
2743
2738
  ${b(Z.backgroundColor,Y.backgroundColor)};
2744
- ${b(Z.labelMaxWidth,`calc(100% - ${Oe.size} - 8px)`)};
2739
+ ${b(Z.labelMaxWidth,`calc(100% - ${Se.size} - 8px)`)};
2745
2740
  }
2746
2741
 
2747
2742
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
@@ -2834,7 +2829,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2834
2829
  .ft-select--in-error .ft-select--helper-text {
2835
2830
  color: ${Y.colorError};
2836
2831
  }
2837
- `;var ve=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ft=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return C``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ft.elementDefinitions={};ve([m({type:String})],Ft.prototype,"label",void 0);ve([m({type:Object,converter:t=>t})],Ft.prototype,"value",void 0);ve([m({type:Boolean,reflect:!0})],Ft.prototype,"selected",void 0);var se=class t extends M{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return C`
2832
+ `;var xe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ft=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return C``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ft.elementDefinitions={};xe([m({type:String})],Ft.prototype,"label",void 0);xe([m({type:Object,converter:t=>t})],Ft.prototype,"value",void 0);xe([m({type:Boolean,reflect:!0})],Ft.prototype,"selected",void 0);var se=class t extends M{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return C`
2838
2833
  <div class="${ue(u)}" part="container">
2839
2834
  <div class="ft-select--main-panel" part="main-panel">
2840
2835
  <ft-input-label text="${this.label}"
@@ -2850,17 +2845,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2850
2845
  tabindex="${l?"-1":"0"}"
2851
2846
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
2852
2847
  @keydown=${this.onMainPanelKeyDown}
2853
- aria-label="${ii(this.ariaLabel)}"
2854
- aria-labelledby="${ho(!this.ariaLabel,()=>"label")}"
2848
+ aria-label="${oi(this.ariaLabel)}"
2849
+ aria-labelledby="${fo(!this.ariaLabel,()=>"label")}"
2855
2850
  aria-haspopup="listbox"
2856
2851
  aria-expanded="${s}"
2857
- aria-activedescendant="${ii(this.getOptionId(this.selectedOption))}"
2852
+ aria-activedescendant="${oi(this.getOptionId(this.selectedOption))}"
2858
2853
  role="combobox">
2859
2854
  <ft-ripple ?disabled=${l} ?activated=${!this.outlined}></ft-ripple>
2860
- <ft-typography variant="${Se.body1}" class="ft-select--selected-option">
2855
+ <ft-typography variant="${ve.body1}" class="ft-select--selected-option">
2861
2856
  ${(a=(n=this.selectedOption)===null||n===void 0?void 0:n.label)!==null&&a!==void 0?a:""}
2862
2857
  </ft-typography>
2863
- <ft-icon aria-hidden="true" .value=${s?at.THIN_ARROW_UP:at.THIN_ARROW}></ft-icon>
2858
+ <ft-icon aria-hidden="true" .value=${s?nt.THIN_ARROW_UP:nt.THIN_ARROW}></ft-icon>
2864
2859
  </div>
2865
2860
  <div class="ft-select--options"
2866
2861
  part="options"
@@ -2871,8 +2866,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2871
2866
  </div>
2872
2867
  <slot name="helper" part="helper">
2873
2868
  ${this.helper?C`
2874
- <ft-typography class="ft-select--helper-text" variant="${Se.caption}">${this.helper}
2875
- </ft-typography>`:N}
2869
+ <ft-typography class="ft-select--helper-text" variant="${ve.caption}">${this.helper}
2870
+ </ft-typography>`:P}
2876
2871
  </slot>
2877
2872
  </div>
2878
2873
  <slot @slotchange=${this.updateOptionsFromSlot}
@@ -2890,7 +2885,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2890
2885
  <ft-ripple ?primary=${i} ?activated=${i}></ft-ripple>
2891
2886
  <span>${e.label}</span>
2892
2887
  </div>
2893
- `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];Fa(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Y.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(l=this.handleAlphanumericPress(e.key));break}l?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){var r,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(l=>{var d;return((d=l.label)===null||d===void 0?void 0:d.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(r=this.optionsMenu)===null||r===void 0?void 0:r.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>$e(i.value,e.value));if(r!==-1)return`option-${r}`}selectOption(e){var r,i;if(!$e((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};se.elementDefinitions={"ft-input-label":Ct,"ft-typography":ce,"ft-ripple":Q,"ft-icon":fe};se.searchTimeoutMilliseconds=2e3;se.styles=[So,Nt,Np];ve([m({type:String})],se.prototype,"label",void 0);ve([m({type:String})],se.prototype,"ariaLabel",void 0);ve([m({type:String})],se.prototype,"helper",void 0);ve([m({type:Boolean})],se.prototype,"outlined",void 0);ve([m({type:Boolean})],se.prototype,"disabled",void 0);ve([m({type:Boolean})],se.prototype,"error",void 0);ve([m({type:Boolean})],se.prototype,"fixedMenuPosition",void 0);ve([m({type:Array})],se.prototype,"options",void 0);ve([B()],se.prototype,"selectedOption",void 0);ve([B()],se.prototype,"optionsDisplayed",void 0);ve([B()],se.prototype,"focusOptions",void 0);ve([B()],se.prototype,"currentSearch",void 0);ve([B()],se.prototype,"lastSearchInputDate",void 0);ve([z(".ft-select")],se.prototype,"container",void 0);ve([z(".ft-select--options")],se.prototype,"optionsMenu",void 0);ve([z(".ft-select--input-panel")],se.prototype,"mainPanel",void 0);ve([z(".ft-select--option:first-child")],se.prototype,"firstOption",void 0);ve([z(".ft-select--option:focus")],se.prototype,"focusedOption",void 0);ve([z(".ft-select--option.ft-select--option-selected")],se.prototype,"selectedOptionElement",void 0);ve([z(".ft-select--option:last-child")],se.prototype,"lastOption",void 0);ve([z("slot:not([name])")],se.prototype,"optionsSlot",void 0);V("ft-select")(se);V("ft-select-option")(Ft);var ze={display:o.create("--ft-skeleton--display","","DISPLAY","block"),width:o.create("--ft-skeleton--width","","SIZE","100%"),height:o.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.external(L.borderRadiusM,"Design system")},Pp=k`
2888
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];Fa(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Y.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(l=this.handleAlphanumericPress(e.key));break}l?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){var r,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(l=>{var d;return((d=l.label)===null||d===void 0?void 0:d.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(r=this.optionsMenu)===null||r===void 0?void 0:r.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>Te(i.value,e.value));if(r!==-1)return`option-${r}`}selectOption(e){var r,i;if(!Te((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};se.elementDefinitions={"ft-input-label":Ct,"ft-typography":ce,"ft-ripple":Q,"ft-icon":fe};se.searchTimeoutMilliseconds=2e3;se.styles=[vo,Pt,Bp];xe([m({type:String})],se.prototype,"label",void 0);xe([m({type:String})],se.prototype,"ariaLabel",void 0);xe([m({type:String})],se.prototype,"helper",void 0);xe([m({type:Boolean})],se.prototype,"outlined",void 0);xe([m({type:Boolean})],se.prototype,"disabled",void 0);xe([m({type:Boolean})],se.prototype,"error",void 0);xe([m({type:Boolean})],se.prototype,"fixedMenuPosition",void 0);xe([m({type:Array})],se.prototype,"options",void 0);xe([B()],se.prototype,"selectedOption",void 0);xe([B()],se.prototype,"optionsDisplayed",void 0);xe([B()],se.prototype,"focusOptions",void 0);xe([B()],se.prototype,"currentSearch",void 0);xe([B()],se.prototype,"lastSearchInputDate",void 0);xe([z(".ft-select")],se.prototype,"container",void 0);xe([z(".ft-select--options")],se.prototype,"optionsMenu",void 0);xe([z(".ft-select--input-panel")],se.prototype,"mainPanel",void 0);xe([z(".ft-select--option:first-child")],se.prototype,"firstOption",void 0);xe([z(".ft-select--option:focus")],se.prototype,"focusedOption",void 0);xe([z(".ft-select--option.ft-select--option-selected")],se.prototype,"selectedOptionElement",void 0);xe([z(".ft-select--option:last-child")],se.prototype,"lastOption",void 0);xe([z("slot:not([name])")],se.prototype,"optionsSlot",void 0);V("ft-select")(se);V("ft-select-option")(Ft);var ze={display:o.create("--ft-skeleton--display","","DISPLAY","block"),width:o.create("--ft-skeleton--width","","SIZE","100%"),height:o.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.external(L.borderRadiusM,"Design system")},Dp=k`
2894
2889
  :host {
2895
2890
  width: ${ze.width};
2896
2891
  height: ${ze.height};
@@ -2917,7 +2912,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2917
2912
  background-position: calc(100vw + ${ze.glareWidth}) 0, calc(${ze.glareWidth} * -1) 0;
2918
2913
  }
2919
2914
  }
2920
- `;var G={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",L.borderRadiusS),mobileOpenPosition:o.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:o.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:o.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:o.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:o.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:o.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:o.external(L.colorSurface,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorOutline:o.external(L.colorOutline,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),elevation02:o.external(L.elevation02,"Design system"),buttonColor:o.external(J.color,"Button"),buttonRippleColor:o.external(J.rippleColor,"Button"),activeItemBorderColor:o.extend("--ft-search-bar-active-border-color","",L.colorPrimary)},Bp=k`
2915
+ `;var G={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",L.borderRadiusS),mobileOpenPosition:o.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:o.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:o.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:o.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:o.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:o.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:o.external(L.colorSurface,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorOutline:o.external(L.colorOutline,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),elevation02:o.external(L.elevation02,"Design system"),buttonColor:o.external(J.color,"Button"),buttonRippleColor:o.external(J.rippleColor,"Button"),activeItemBorderColor:o.extend("--ft-search-bar-active-border-color","",L.colorPrimary)},Fp=k`
2921
2916
  * {
2922
2917
  box-sizing: border-box;
2923
2918
  }
@@ -3020,7 +3015,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3020
3015
  align-items: center;
3021
3016
  height: 100%;
3022
3017
 
3023
- ${b(fr.zIndex,`calc(${G.floatingZIndex} + 1)`)};
3018
+ ${b(hr.zIndex,`calc(${G.floatingZIndex} + 1)`)};
3024
3019
  }
3025
3020
 
3026
3021
  .ft-search-bar > ft-button,
@@ -3082,7 +3077,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3082
3077
  flex-direction: column;
3083
3078
  max-height: 100%;
3084
3079
  max-width: 100%;
3085
- color: ${Je.colorOnSurface};
3080
+ color: ${Xe.colorOnSurface};
3086
3081
  }
3087
3082
 
3088
3083
  [part="content-locale-selector"] > ft-radio-group {
@@ -3112,7 +3107,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3112
3107
  ${b(D.fontWeight,"bold")};
3113
3108
  }
3114
3109
 
3115
- `,Dp=k`
3110
+ `,Mp=k`
3116
3111
  .ft-search-bar--presets {
3117
3112
  min-width: 200px;
3118
3113
  }
@@ -3273,8 +3268,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3273
3268
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
3274
3269
  margin: 0;
3275
3270
  }
3276
- `;var gr=class extends M{render(){return C`
3277
- `}};gr.elementDefinitions={};gr.styles=Pp;V("ft-skeleton")(gr);var Mt=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new le(r)}render(){let e=this.recentSearchesMatchingQuery;return C`
3271
+ `;var br=class extends M{render(){return C`
3272
+ `}};br.elementDefinitions={};br.styles=Dp;V("ft-skeleton")(br);var Mt=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new le(r)}render(){let e=this.recentSearchesMatchingQuery;return C`
3278
3273
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
3279
3274
  id="${this.listboxId}"
3280
3275
  role="listbox"
@@ -3282,7 +3277,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3282
3277
  part="suggestions-container">
3283
3278
  ${we(e.slice(0,5),r=>r,(r,i)=>C`
3284
3279
  <div part="suggestion-container"
3285
- class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":N}>
3280
+ class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":P}>
3286
3281
  <a href="${this.getRequestWithQuery(r)}"
3287
3282
  part="suggestions"
3288
3283
  class="ft-search-bar--suggestion ft-search-bar--recent-search"
@@ -3311,7 +3306,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3311
3306
  `)}
3312
3307
  ${we(this.searchBar.suggestions,r=>r.value,(r,i)=>C`
3313
3308
  <div part="suggestion-container"
3314
- class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":N}>
3309
+ class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":P}>
3315
3310
  <a href="${this.getRequestWithQuery(r.value)}"
3316
3311
  part="suggestions"
3317
3312
  class="ft-search-bar--suggestion"
@@ -3327,7 +3322,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3327
3322
  </div>
3328
3323
  `)}
3329
3324
  </div>
3330
- `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Ge.file_format:Ge.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?at.BOOK:at.ARTICLE;break;case"DOCUMENT":i=ip(e.mimeType,e.filenameExtension);break;case"TOPIC":i=at.TOPICS;break}return C`
3325
+ `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Ge.file_format:Ge.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?nt.BOOK:nt.ARTICLE;break;case"DOCUMENT":i=ap(e.mimeType,e.filenameExtension);break;case"TOPIC":i=nt.TOPICS;break}return C`
3331
3326
  <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
3332
3327
  `}focusNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}focusPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}getFirstSuggestionElement(){return this.searchBar.querySelector("[part=suggestion-container]")}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}get selectedSuggestOption(){var e;return(e=this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']"))===null||e===void 0?void 0:e.parentElement}get selectedSuggestOptionLink(){return this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']")}get selectedSuggestRemoveRecentButton(){var e;return(e=this.selectedSuggestOption)===null||e===void 0?void 0:e.querySelector("[part=remove-suggestion]")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll("[part=suggestion-container]");return e.length>0?e[e.length-1]:null}selectSuggestion(e){var r;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(r=e.querySelector("[part=suggestions]"))===null||r===void 0?void 0:r.id:this.searchBar.selectedSuggestOptionId=void 0}focusArrowLeft(){this.searchBar.selectedSuggestRemoveRecent?this.searchBar.selectedSuggestRemoveRecent=!1:this.selectSuggestion(null)}focusArrowRight(){!this.searchBar.selectedSuggestRemoveRecent&&this.selectedSuggestRemoveRecentButton?this.searchBar.selectedSuggestRemoveRecent=!0:this.selectSuggestion(null)}get shouldDisplaySuggestions(){return this.searchBar.displaySuggestListbox&&(this.searchBar.suggestions.length>0||this.recentSearchesMatchingQuery.length>0)}get recentSearchesMatchingQuery(){return this.searchBar.recentSearches.filter(e=>e.toLowerCase().includes(this.searchBar.query.toLowerCase()))}};Mt.styles=[Za,k`
3333
3328
  .ft-search-bar--mobile .ft-search-bar--suggestions {
@@ -3430,20 +3425,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3430
3425
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
3431
3426
  </ft-chip>
3432
3427
  `:null}
3433
- ${we(this.searchBar.facets,n=>n.key,n=>{let a=jd(n);return we(a,s=>{let l=n.label+": "+Hd(s),d=n.key.replace(":","-"),u=C`
3428
+ ${we(this.searchBar.facets,n=>n.key,n=>{let a=Kd(n);return we(a,s=>{let l=n.label+": "+Vd(s),d=n.key.replace(":","-"),u=C`
3434
3429
  <ft-chip
3435
3430
  part="selected-filters selected-filter-${d}"
3436
3431
  ?dense=${this.searchBar.dense&&!e}
3437
3432
  ?clickable=${e}
3438
3433
  ?removable=${!e}
3439
- icon=${e?N:"close"}
3434
+ icon=${e?P:"close"}
3440
3435
  label="${l}"
3441
- title=${r?l:N}
3436
+ title=${r?l:P}
3442
3437
  @click=${()=>this.openMobileFilters(n.key)}
3443
3438
  @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(h=>h!==s))}
3444
3439
  data-key="${n.key}"
3445
3440
  data-value="${s}">
3446
- ${zd(s)}
3441
+ ${Wd(s)}
3447
3442
  </ft-chip>
3448
3443
  `;return r?u:C`
3449
3444
  <ft-tooltip inline text="${l}">
@@ -3457,7 +3452,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3457
3452
  @click=${()=>{this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0}}>
3458
3453
  ${this.searchBar.labelResolver.resolve("filtersButton")}
3459
3454
  </ft-chip>
3460
- `:N}
3455
+ `:P}
3461
3456
  `;return r?C`
3462
3457
  <ft-snap-scroll horizontal controls hideScrollbar limitSize
3463
3458
  class="ft-search-bar--selected-filters"
@@ -3499,7 +3494,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3499
3494
  .ft-search-bar--selected-filters ft-chip {
3500
3495
  flex-grow: 0;
3501
3496
  }
3502
- `;var fi=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Ut(e),this.suggestManager=i??new Mt(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return C`
3497
+ `;var ui=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Ut(e),this.suggestManager=i??new Mt(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return C`
3503
3498
  <div class="${ue(r)}" part="container" tabindex="-1">
3504
3499
  <div class="ft-search-bar" role="search">
3505
3500
  <div class="ft-search-bar--input-container" part="input-container">
@@ -3509,7 +3504,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3509
3504
  aria-autocomplete="list"
3510
3505
  aria-controls="${this.suggestManager.listboxId}"
3511
3506
  aria-expanded="${this.searchBar.displaySuggestListbox}"
3512
- aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:N}"
3507
+ aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:P}"
3513
3508
  part="input"
3514
3509
  type="search"
3515
3510
  placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
@@ -3531,7 +3526,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3531
3526
  @click=${()=>this.searchBar.onLaunchSearch()}>
3532
3527
  ${this.searchBar.labelResolver.resolve("searchButton")}
3533
3528
  </ft-button>
3534
- `:N}
3529
+ `:P}
3535
3530
  </div>
3536
3531
  `}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return C`
3537
3532
  <div class="ft-search-bar--actions" part="search-bar-actions">
@@ -3545,7 +3540,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3545
3540
  @click=${async()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1}}
3546
3541
  ></ft-button>
3547
3542
  <div class="ft-search-bar--separator"></div>
3548
- `:N}
3543
+ `:P}
3549
3544
  <ft-button class="ft-search-bar--launch-search"
3550
3545
  href="${this.searchBar.isMobileMenuOpen()?this.searchBar.searchRequestSerializer(this.searchBar.request):""}"
3551
3546
  part="launch-search-in-bar"
@@ -3556,21 +3551,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3556
3551
  @click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
3557
3552
  ></ft-button>
3558
3553
  </div>
3559
- `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};fi.styles=k`
3554
+ `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};ui.styles=k`
3560
3555
 
3561
- `;var hi=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Ut(e),this.suggestManager=i??new Mt(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return C`
3556
+ `;var fi=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Ut(e),this.suggestManager=i??new Mt(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return C`
3562
3557
  <div class="${ue(r)}" part="container" tabindex="-1">
3563
3558
  <div class="ft-search-bar" part="search-bar" role="search">
3564
3559
  ${this.renderSearchBarLeftAction()}
3565
3560
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
3566
3561
  <div class="ft-search-bar--input-outline" part="input-outline">
3567
- ${this.searchBar.dense?this.selectedFacetsManager.render():N}
3562
+ ${this.searchBar.dense?this.selectedFacetsManager.render():P}
3568
3563
  <input class="ft-search-bar--input ft-typography--body2"
3569
3564
  role="combobox"
3570
3565
  aria-autocomplete="list"
3571
3566
  aria-controls="${this.suggestManager.listboxId}"
3572
3567
  aria-expanded="${this.searchBar.displaySuggestListbox}"
3573
- aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:N}"
3568
+ aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:P}"
3574
3569
  part="input"
3575
3570
  type="search"
3576
3571
  placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
@@ -3585,9 +3580,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3585
3580
  ${this.renderDesktopSearchBarButtons()}
3586
3581
  ${this.searchBar.renderDesktopFloatingMenu()}
3587
3582
  </div>
3588
- ${this.searchBar.dense?N:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
3583
+ ${this.searchBar.dense?P:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
3589
3584
  </div>
3590
- `}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?N:C`
3585
+ `}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?P:C`
3591
3586
  <ft-button class="ft-search-bar--filters-opener ft-search-bar--left-action"
3592
3587
  part="filters-opener"
3593
3588
  trailingIcon
@@ -3613,7 +3608,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3613
3608
  </ft-select-option>
3614
3609
  `)}
3615
3610
  </ft-select>
3616
- `:N}renderDesktopSearchBarButtons(){return C`
3611
+ `:P}renderDesktopSearchBarButtons(){return C`
3617
3612
  <div class="ft-search-bar--actions"
3618
3613
  part="search-bar-actions">
3619
3614
  ${this.searchBar.query?C`
@@ -3635,9 +3630,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3635
3630
  @click=${()=>this.searchBar.onLaunchSearch()}
3636
3631
  ></ft-button>
3637
3632
  </div>
3638
- `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};hi.styles=k`
3633
+ `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};fi.styles=k`
3639
3634
 
3640
- `;var X=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Fp={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},ll=class extends CustomEvent{constructor(e){super("change",{detail:e})}},kh=()=>{},K=class extends M{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new nr(Fp,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new ur(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=ht.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new Mt(this),this.selectedFacetsManager=new Ut(this),this.desktopSearchBarManager=new hi(this),this.mobileSearchBarManager=new fi(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new le(10),this.updateLocalesDebouncer=new le(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new le(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===ht.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await Li(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return C`
3635
+ `;var X=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Up={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},ll=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Ph=()=>{},K=class extends M{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new ar(Up,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new fr(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=ft.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new Mt(this),this.selectedFacetsManager=new Ut(this),this.desktopSearchBarManager=new fi(this),this.mobileSearchBarManager=new ui(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new le(10),this.updateLocalesDebouncer=new le(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new le(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===ft.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await Ri(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return C`
3641
3636
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
3642
3637
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3643
3638
  ${this.renderLiveText()}
@@ -3658,14 +3653,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3658
3653
  <ft-typography class="ft-search-bar--filter-label-values" variant="body2">
3659
3654
  ${e?.label}
3660
3655
  </ft-typography>
3661
- `:N}
3656
+ `:P}
3662
3657
  </div>
3663
3658
  <div part="content-locale-selector">
3664
3659
  ${this.getContentLocaleRadioGroup()}
3665
3660
  </div>
3666
3661
  </ft-accordion-item>
3667
3662
  `:null}
3668
- ${we(this.facets,r=>r.key,r=>{let i=js(r),n=r.key.replace(":","-"),a=Vd(i);return r.rootNodes.length>0?C`
3663
+ ${we(this.facets,r=>r.key,r=>{let i=js(r),n=r.key.replace(":","-"),a=Gd(i);return r.rootNodes.length>0?C`
3669
3664
  <ft-accordion-item data-facet-key="${r.key}">
3670
3665
  <div class="ft-search-bar--filter-label" slot="toggle">
3671
3666
  <ft-typography variant="button">${r.label}</ft-typography>
@@ -3673,7 +3668,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3673
3668
  <ft-typography class="ft-search-bar--filter-label-values" variant="body2">
3674
3669
  ${a.join(", ")}
3675
3670
  </ft-typography>
3676
- `:N}
3671
+ `:P}
3677
3672
  </div>
3678
3673
  <ft-filter
3679
3674
  part="filters filter filter-${n}"
@@ -3690,7 +3685,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3690
3685
  @change=${s=>this.setFilter(i.id,s.detail)}
3691
3686
  ></ft-filter>
3692
3687
  </ft-accordion-item>
3693
- `:N})}
3688
+ `:P})}
3694
3689
  </ft-accordion>
3695
3690
  `}getContentLocaleRadioGroup(){var e;return C`
3696
3691
  <ft-radio-group aria-labelledby="content_locale_radio_group_label"
@@ -3707,7 +3702,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3707
3702
  ${this.renderFacetsActions()}
3708
3703
  ${this.renderDesktopFacets()}
3709
3704
  <div class="ft-search-bar--facets-actions">
3710
- ${this.forceMenuOpen?this.renderDesktopClearFilters():N}
3705
+ ${this.forceMenuOpen?this.renderDesktopClearFilters():P}
3711
3706
  <ft-button class="ft-search-bar--launch-search"
3712
3707
  href="${this.searchRequestSerializer(this.request)}"
3713
3708
  part="launch-search-in-panel"
@@ -3717,7 +3712,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3717
3712
  </ft-button>
3718
3713
  </div>
3719
3714
  </div>
3720
- `:N}renderFacetsActions(){var e;return C`
3715
+ `:P}renderFacetsActions(){var e;return C`
3721
3716
  <div class="ft-search-bar--facets-actions">
3722
3717
  ${this.hasPresets?C`
3723
3718
  <ft-select
@@ -3733,16 +3728,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3733
3728
  </ft-select-option>
3734
3729
  `)}
3735
3730
  </ft-select>
3736
- `:N}
3731
+ `:P}
3737
3732
  <slot name="facets-actions"></slot>
3738
- ${this.forceMenuOpen&&!this.isMobile()?N:this.renderDesktopClearFilters()}
3733
+ ${this.forceMenuOpen&&!this.isMobile()?P:this.renderDesktopClearFilters()}
3739
3734
  </div>
3740
3735
  `}renderDesktopClearFilters(){return this.metadataFilters.length>0?C`
3741
3736
  <ft-button part="facets-actions"
3742
3737
  @click=${this.clearFilters}>
3743
3738
  ${this.labelResolver.resolve("clearFilters")}
3744
3739
  </ft-button>
3745
- `:N}renderDesktopFacets(){return this.hasFacets()?C`
3740
+ `:P}renderDesktopFacets(){return this.hasFacets()?C`
3746
3741
  <ft-snap-scroll horizontal limitSize controls
3747
3742
  class="ft-search-bar--filters-container"
3748
3743
  part="filters-container"
@@ -3757,7 +3752,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3757
3752
  </div>
3758
3753
  ${this.getContentLocaleRadioGroup()}
3759
3754
  </div>
3760
- `:N}
3755
+ `:P}
3761
3756
  ${we(this.facets,e=>e.key,e=>{let r=js(e),i=r.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return C`
3762
3757
  <ft-filter
3763
3758
  class="${i?"ft-search-bar--hierarchical-filter":""}"
@@ -3777,14 +3772,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3777
3772
  ></ft-filter>
3778
3773
  `})}
3779
3774
  </ft-snap-scroll>
3780
- `:N}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new nr(Fp,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(u=>u.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(u=>qi(u)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new ll(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var r,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(kh)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!Us&&this.focusInput(),F.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),F.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&et(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>et(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?N:C`
3775
+ `:P}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new ar(Up,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(u=>u.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(u=>Zi(u)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new ll(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var r,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(Ph)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!Us&&this.focusInput(),F.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),F.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&Qe(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>Qe(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?P:C`
3781
3776
  <div class="ft-search-bar--floating-panel"
3782
3777
  id="ft-search-bar-floating-panel"
3783
3778
  @keyup=${this.onFloatingContainerKeyUp}
3784
3779
  part="floating-panel"
3785
3780
  tabindex="-1">
3786
3781
  ${this.renderDesktopMenu()}
3787
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};K.elementDefinitions={"ft-accordion":Dt,"ft-accordion-item":mt,"ft-button":ke,"ft-chip":Ee,"ft-filter":oe,"ft-filter-option":pt,"ft-icon":fe,"ft-ripple":Q,"ft-select":se,"ft-select-option":Ft,"ft-size-watcher":nt,"ft-skeleton":gr,"ft-snap-scroll":Re,"ft-tooltip":xe,"ft-typography":ce,"ft-radio-group":Fr,"ft-radio":Jt};K.styles=[So,Zo,Bp,Dp,Ut.styles,Mt.styles,Gi];X([m({type:Boolean})],K.prototype,"dense",void 0);X([m()],K.prototype,"mode",void 0);X([m({type:Boolean})],K.prototype,"forceMobileMenuOpen",void 0);X([m({type:Boolean})],K.prototype,"forceMenuOpen",void 0);X([m()],K.prototype,"baseUrl",void 0);X([m()],K.prototype,"apiIntegrationIdentifier",void 0);X([m()],K.prototype,"contentLocale",void 0);X([B()],K.prototype,"availableContentLocales",void 0);X([B()],K.prototype,"availableContentLocalesInitialized",void 0);X([m()],K.prototype,"uiLocale",void 0);X([Ae({})],K.prototype,"labels",void 0);X([Ae([])],K.prototype,"displayedFilters",void 0);X([Ae([])],K.prototype,"presets",void 0);X([m({type:String,reflect:!0})],K.prototype,"selectedPreset",void 0);X([Ae([])],K.prototype,"priors",void 0);X([m()],K.prototype,"searchRequestSerializer",void 0);X([m({type:Boolean})],K.prototype,"focusOnDisplay",void 0);X([B()],K.prototype,"metadataFilters",void 0);X([B()],K.prototype,"sizeCategory",void 0);X([B()],K.prototype,"displayFacets",void 0);X([B()],K.prototype,"mobileMenuOpen",void 0);X([B()],K.prototype,"facets",void 0);X([B()],K.prototype,"facetsInitialized",void 0);X([z(".ft-search-bar--container")],K.prototype,"container",void 0);X([z(".ft-search-bar--filters-opener")],K.prototype,"filtersOpener",void 0);X([z(".ft-search-bar--floating-panel")],K.prototype,"floatingContainer",void 0);X([z("ft-snap-scroll.ft-search-bar--filters-container")],K.prototype,"scrollingFiltersContainer",void 0);X([z(".ft-search-bar--input")],K.prototype,"input",void 0);X([z(".ft-search-bar--launch-search")],K.prototype,"launchSearchButton",void 0);X([B()],K.prototype,"query",void 0);X([B()],K.prototype,"suggestions",void 0);X([B()],K.prototype,"recentSearches",void 0);X([B()],K.prototype,"scrollToFacet",void 0);X([B()],K.prototype,"api",void 0);X([B()],K.prototype,"displaySuggestListbox",void 0);X([B()],K.prototype,"selectedSuggestOptionId",void 0);X([B()],K.prototype,"selectedSuggestRemoveRecent",void 0);X([B()],K.prototype,"facetsLoaded",void 0);V("ft-search-bar")(K);})();
3782
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};K.elementDefinitions={"ft-accordion":Dt,"ft-accordion-item":ht,"ft-button":ke,"ft-chip":Ee,"ft-filter":oe,"ft-filter-option":dt,"ft-icon":fe,"ft-ripple":Q,"ft-select":se,"ft-select-option":Ft,"ft-size-watcher":it,"ft-skeleton":br,"ft-snap-scroll":Re,"ft-tooltip":Ae,"ft-typography":ce,"ft-radio-group":Mr,"ft-radio":Jt};K.styles=[vo,Ko,Fp,Mp,Ut.styles,Mt.styles,ji];X([m({type:Boolean})],K.prototype,"dense",void 0);X([m()],K.prototype,"mode",void 0);X([m({type:Boolean})],K.prototype,"forceMobileMenuOpen",void 0);X([m({type:Boolean})],K.prototype,"forceMenuOpen",void 0);X([m()],K.prototype,"baseUrl",void 0);X([m()],K.prototype,"apiIntegrationIdentifier",void 0);X([m()],K.prototype,"contentLocale",void 0);X([B()],K.prototype,"availableContentLocales",void 0);X([B()],K.prototype,"availableContentLocalesInitialized",void 0);X([m()],K.prototype,"uiLocale",void 0);X([Ce({})],K.prototype,"labels",void 0);X([Ce([])],K.prototype,"displayedFilters",void 0);X([Ce([])],K.prototype,"presets",void 0);X([m({type:String,reflect:!0})],K.prototype,"selectedPreset",void 0);X([Ce([])],K.prototype,"priors",void 0);X([m()],K.prototype,"searchRequestSerializer",void 0);X([m({type:Boolean})],K.prototype,"focusOnDisplay",void 0);X([B()],K.prototype,"metadataFilters",void 0);X([B()],K.prototype,"sizeCategory",void 0);X([B()],K.prototype,"displayFacets",void 0);X([B()],K.prototype,"mobileMenuOpen",void 0);X([B()],K.prototype,"facets",void 0);X([B()],K.prototype,"facetsInitialized",void 0);X([z(".ft-search-bar--container")],K.prototype,"container",void 0);X([z(".ft-search-bar--filters-opener")],K.prototype,"filtersOpener",void 0);X([z(".ft-search-bar--floating-panel")],K.prototype,"floatingContainer",void 0);X([z("ft-snap-scroll.ft-search-bar--filters-container")],K.prototype,"scrollingFiltersContainer",void 0);X([z(".ft-search-bar--input")],K.prototype,"input",void 0);X([z(".ft-search-bar--launch-search")],K.prototype,"launchSearchButton",void 0);X([B()],K.prototype,"query",void 0);X([B()],K.prototype,"suggestions",void 0);X([B()],K.prototype,"recentSearches",void 0);X([B()],K.prototype,"scrollToFacet",void 0);X([B()],K.prototype,"api",void 0);X([B()],K.prototype,"displaySuggestListbox",void 0);X([B()],K.prototype,"selectedSuggestOptionId",void 0);X([B()],K.prototype,"selectedSuggestRemoveRecent",void 0);X([B()],K.prototype,"facetsLoaded",void 0);V("ft-search-bar")(K);})();
3788
3783
  /*! Bundled license information:
3789
3784
 
3790
3785
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: