@fluid-topics/ft-reader-search-in-document 1.3.7 → 1.3.8

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,7 +1,7 @@
1
- "use strict";(()=>{var Ub=Object.create;var is=Object.defineProperty;var zb=Object.getOwnPropertyDescriptor;var Hb=Object.getOwnPropertyNames;var Wb=Object.getPrototypeOf,Vb=Object.prototype.hasOwnProperty;var p=(r,e)=>()=>(r&&(e=r(r=0)),e);var jb=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ie=(r,e)=>{for(var t in e)is(r,t,{get:e[t],enumerable:!0})},Gb=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Hb(e))!Vb.call(r,n)&&n!==t&&is(r,n,{get:()=>e[n],enumerable:!(i=zb(e,n))||i.enumerable});return r};var Kb=(r,e,t)=>(t=r!=null?Ub(Wb(r)):{},Gb(e||!r||!r.__esModule?is(t,"default",{value:r,enumerable:!0}):t,r));var ru=p(()=>{if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=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(L,k){if(L=L.toLowerCase(),this._getDefinition(L)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${L}" has already been used with this registry`);if(this._definitionsByClass.get(k)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=k.prototype.attributeChangedCallback,K=new Set(k.observedAttributes||[]);v(k,K,A);let Z={elementClass:k,connectedCallback:k.prototype.connectedCallback,disconnectedCallback:k.prototype.disconnectedCallback,adoptedCallback:k.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:k.formAssociated,formAssociatedCallback:k.prototype.formAssociatedCallback,formDisabledCallback:k.prototype.formDisabledCallback,formResetCallback:k.prototype.formResetCallback,formStateRestoreCallback:k.prototype.formStateRestoreCallback,observedAttributes:K};this._definitionsByTag.set(L,Z),this._definitionsByClass.set(k,Z);let oe=t.call(i,L);oe||(oe=m(L),e.call(i,L,oe)),this===window.customElements&&(s.set(k,Z),Z.standInClass=oe);let pe=this._awaitingUpgrade.get(L);if(pe){this._awaitingUpgrade.delete(L);for(let b of pe)a.delete(b),O(b,Z,!0)}let j=this._whenDefinedPromises.get(L);return j!==void 0&&(j.resolve(k),this._whenDefinedPromises.delete(L)),k}upgrade(){F.push(this),i.upgrade.apply(i,arguments),F.pop()}get(L){return this._definitionsByTag.get(L)?.elementClass}_getDefinition(L){return this._definitionsByTag.get(L)}whenDefined(L){let k=this._getDefinition(L);if(k!==void 0)return Promise.resolve(k.elementClass);let A=this._whenDefinedPromises.get(L);return A===void 0&&(A={},A.promise=new Promise(K=>A.resolve=K),this._whenDefinedPromises.set(L,A)),A.promise}_upgradeWhenDefined(L,k,A){let K=this._awaitingUpgrade.get(k);K||this._awaitingUpgrade.set(k,K=new Set),A?K.add(L):K.delete(L)}};let d;window.HTMLElement=function(){let k=d;if(k)return d=void 0,k;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return k=Reflect.construct(r,[],A.standInClass),Object.setPrototypeOf(k,this.constructor.prototype),n.set(k,A),k},window.HTMLElement.prototype=r.prototype;let f=L=>L===document||L instanceof ShadowRoot,g=L=>{let k=L.getRootNode();if(!f(k)){let A=F[F.length-1];if(A instanceof CustomElementRegistry)return A;k=A.getRootNode(),f(k)||(k=l.get(k)?.getRootNode()||document)}return k.customElements},m=L=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let K=g(A)||window.customElements,Z=K._getDefinition(L);return Z?O(A,Z):a.set(A,K),A}connectedCallback(){let A=n.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,L,!0)}disconnectedCallback(){let A=n.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,L,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=n.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=n.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=n.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=n.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},v=(L,k,A)=>{if(k.size===0||A===void 0)return;let K=L.prototype.setAttribute;K&&(L.prototype.setAttribute=function(pe,j){let b=pe.toLowerCase();if(k.has(b)){let w=this.getAttribute(b);K.call(this,b,j),A.call(this,b,w,j)}else K.call(this,b,j)});let Z=L.prototype.removeAttribute;Z&&(L.prototype.removeAttribute=function(pe){let j=pe.toLowerCase();if(k.has(j)){let b=this.getAttribute(j);Z.call(this,j),A.call(this,j,b,null)}else Z.call(this,j)});let oe=L.prototype.toggleAttribute;oe&&(L.prototype.toggleAttribute=function(pe,j){let b=pe.toLowerCase();if(k.has(b)){let w=this.getAttribute(b);oe.call(this,b,j);let G=this.getAttribute(b);A.call(this,b,w,G)}else oe.call(this,b,j)})},C=L=>{let k=Object.getPrototypeOf(L);if(k!==window.HTMLElement)return k===r?Object.setPrototypeOf(L,window.HTMLElement):C(k)},O=(L,k,A=!1)=>{Object.setPrototypeOf(L,k.elementClass.prototype),n.set(L,k),d=L;try{new k.elementClass}catch{C(k.elementClass),new k.elementClass}k.attributeChangedCallback&&k.observedAttributes.forEach(K=>{L.hasAttribute(K)&&k.attributeChangedCallback.call(L,K,null,L.getAttribute(K))}),A&&k.connectedCallback&&L.isConnected&&k.connectedCallback.call(L)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(L){let k=R.apply(this,arguments);return L.customElements&&(k.customElements=L.customElements),k};let F=[document],N=(L,k,A=void 0)=>{let K=(A?Object.getPrototypeOf(A):L.prototype)[k];L.prototype[k]=function(){F.push(this);let Z=K.apply(A||this,arguments);return Z!==void 0&&l.set(Z,this),F.pop(),Z}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let M=(L,k)=>{let A=Object.getOwnPropertyDescriptor(L.prototype,k);Object.defineProperty(L.prototype,k,{...A,set(K){F.push(this),A.set.call(this,K),F.pop()}})};if(M(Element,"innerHTML"),M(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let L=new WeakMap,k=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...pe){let j=k.call(this,...pe);return L.set(j,this),j},A.forEach(pe=>{let j=window.ElementInternals.prototype,b=j[pe];j[pe]=function(...w){let G=L.get(this);if(n.get(G).formAssociated===!0)return b?.call(this,...w);throw new DOMException(`Failed to execute ${b} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class K extends Array{constructor(j){super(...j),this._elements=j}get value(){return this._elements.find(j=>j.checked===!0)?.value||""}}class Z{constructor(j){let b=new Map;j.forEach((w,G)=>{let fe=w.getAttribute("name"),Ce=b.get(fe)||[];this[+G]=w,Ce.push(w),b.set(fe,Ce)}),this.length=j.length,b.forEach((w,G)=>{w&&(w.length===1?this[G]=w[0]:this[G]=new K(w))})}namedItem(j){return this[j]}}let oe=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let pe=oe.get.call(this,[]),j=[];for(let b of pe){let w=n.get(b);(!w||w.formAssociated===!0)&&j.push(b)}return new Z(j)}})}}});var ou=p(()=>{"use strict";ru();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}});var Rn,Pi,ns,iu,Mo,mr,I,Ni,An,Ln=p(()=>{Rn=globalThis,Pi=Rn.ShadowRoot&&(Rn.ShadyCSS===void 0||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ns=Symbol(),iu=new WeakMap,Mo=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==ns)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Pi&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=iu.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&iu.set(t,e))}return e}toString(){return this.cssText}},mr=r=>new Mo(typeof r=="string"?r:r+"",void 0,ns),I=(r,...e)=>{let t=r.length===1?r[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)+r[a+1],r[0]);return new Mo(t,r,ns)},Ni=(r,e)=>{if(Pi)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=Rn.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},An=Pi?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return mr(t)})(r):r});var qb,Zb,Yb,Qb,Xb,Jb,kn,nu,ev,tv,Fi,Uo,Bi,au,Zt,Di=p(()=>{Ln();Ln();({is:qb,defineProperty:Zb,getOwnPropertyDescriptor:Yb,getOwnPropertyNames:Qb,getOwnPropertySymbols:Xb,getPrototypeOf:Jb}=Object),kn=globalThis,nu=kn.trustedTypes,ev=nu?nu.emptyScript:"",tv=kn.reactiveElementPolyfillSupport,Fi=(r,e)=>r,Uo={toAttribute(r,e){switch(e){case Boolean:r=r?ev:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},Bi=(r,e)=>!qb(r,e),au={attribute:!0,type:String,converter:Uo,reflect:!1,useDefault:!1,hasChanged:Bi};Symbol.metadata??=Symbol("metadata"),kn.litPropertyMetadata??=new WeakMap;Zt=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,t=au){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&Zb(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=Yb(this.prototype,e)??{get(){return this[t]},set(s){this[t]=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)??au}static _$Ei(){if(this.hasOwnProperty(Fi("elementProperties")))return;let e=Jb(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Fi("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Fi("properties"))){let t=this.properties,i=[...Qb(t),...Xb(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(An(n))}else e!==void 0&&t.push(An(e));return t}static _$Eu(e,t){let i=t.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,t=this.constructor.elementProperties;for(let i of t.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 Ni(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,t,i){this._$AK(e,i)}_$ET(e,t){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:Uo).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){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:Uo;this._$Em=n,this[n]=s.fromAttribute(t,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,t,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Bi)(a,t)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,t,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??t??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(t=void 0),this._$AL.set(e,t)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}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,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(t=>t.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(t=>this._$ET(t,this[t])),this._$EM()}updated(e){}firstUpdated(e){}};Zt.elementStyles=[],Zt.shadowRootOptions={mode:"open"},Zt[Fi("elementProperties")]=new Map,Zt[Fi("finalized")]=new Map,tv?.({ReactiveElement:Zt}),(kn.reactiveElementVersions??=[]).push("2.1.0")});function mu(r,e){if(!ds(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return su!==void 0?su.createHTML(e):e}function po(r,e,t=r,i){if(e===Qe)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=zi(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=po(r,n._$AS(r,e.values),n,i)),e}var ss,In,su,ls,gr,cs,rv,co,Ui,zi,ds,fu,as,Mi,lu,cu,so,du,pu,hu,ps,S,us,fs,Qe,$,uu,lo,gu,Hi,_n,zo,uo,Tn,$n,Pn,Nn,hs,ov,ms,Dt=p(()=>{ss=globalThis,In=ss.trustedTypes,su=In?In.createPolicy("lit-html",{createHTML:r=>r}):void 0,ls="$lit$",gr=`lit$${Math.random().toFixed(9).slice(2)}$`,cs="?"+gr,rv=`<${cs}>`,co=document,Ui=()=>co.createComment(""),zi=r=>r===null||typeof r!="object"&&typeof r!="function",ds=Array.isArray,fu=r=>ds(r)||typeof r?.[Symbol.iterator]=="function",as=`[
1
+ "use strict";(()=>{var Db=Object.create;var is=Object.defineProperty;var Mb=Object.getOwnPropertyDescriptor;var Ub=Object.getOwnPropertyNames;var zb=Object.getPrototypeOf,Hb=Object.prototype.hasOwnProperty;var p=(r,e)=>()=>(r&&(e=r(r=0)),e);var Wb=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ie=(r,e)=>{for(var t in e)is(r,t,{get:e[t],enumerable:!0})},Vb=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ub(e))!Hb.call(r,n)&&n!==t&&is(r,n,{get:()=>e[n],enumerable:!(i=Mb(e,n))||i.enumerable});return r};var jb=(r,e,t)=>(t=r!=null?Db(zb(r)):{},Vb(e||!r||!r.__esModule?is(t,"default",{value:r,enumerable:!0}):t,r));var ru=p(()=>{if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=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(L,k){if(L=L.toLowerCase(),this._getDefinition(L)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${L}" has already been used with this registry`);if(this._definitionsByClass.get(k)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=k.prototype.attributeChangedCallback,K=new Set(k.observedAttributes||[]);v(k,K,A);let Z={elementClass:k,connectedCallback:k.prototype.connectedCallback,disconnectedCallback:k.prototype.disconnectedCallback,adoptedCallback:k.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:k.formAssociated,formAssociatedCallback:k.prototype.formAssociatedCallback,formDisabledCallback:k.prototype.formDisabledCallback,formResetCallback:k.prototype.formResetCallback,formStateRestoreCallback:k.prototype.formStateRestoreCallback,observedAttributes:K};this._definitionsByTag.set(L,Z),this._definitionsByClass.set(k,Z);let oe=t.call(i,L);oe||(oe=m(L),e.call(i,L,oe)),this===window.customElements&&(s.set(k,Z),Z.standInClass=oe);let pe=this._awaitingUpgrade.get(L);if(pe){this._awaitingUpgrade.delete(L);for(let b of pe)a.delete(b),O(b,Z,!0)}let j=this._whenDefinedPromises.get(L);return j!==void 0&&(j.resolve(k),this._whenDefinedPromises.delete(L)),k}upgrade(){F.push(this),i.upgrade.apply(i,arguments),F.pop()}get(L){return this._definitionsByTag.get(L)?.elementClass}_getDefinition(L){return this._definitionsByTag.get(L)}whenDefined(L){let k=this._getDefinition(L);if(k!==void 0)return Promise.resolve(k.elementClass);let A=this._whenDefinedPromises.get(L);return A===void 0&&(A={},A.promise=new Promise(K=>A.resolve=K),this._whenDefinedPromises.set(L,A)),A.promise}_upgradeWhenDefined(L,k,A){let K=this._awaitingUpgrade.get(k);K||this._awaitingUpgrade.set(k,K=new Set),A?K.add(L):K.delete(L)}};let d;window.HTMLElement=function(){let k=d;if(k)return d=void 0,k;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return k=Reflect.construct(r,[],A.standInClass),Object.setPrototypeOf(k,this.constructor.prototype),n.set(k,A),k},window.HTMLElement.prototype=r.prototype;let f=L=>L===document||L instanceof ShadowRoot,g=L=>{let k=L.getRootNode();if(!f(k)){let A=F[F.length-1];if(A instanceof CustomElementRegistry)return A;k=A.getRootNode(),f(k)||(k=l.get(k)?.getRootNode()||document)}return k.customElements},m=L=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let K=g(A)||window.customElements,Z=K._getDefinition(L);return Z?O(A,Z):a.set(A,K),A}connectedCallback(){let A=n.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,L,!0)}disconnectedCallback(){let A=n.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,L,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=n.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=n.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=n.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=n.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},v=(L,k,A)=>{if(k.size===0||A===void 0)return;let K=L.prototype.setAttribute;K&&(L.prototype.setAttribute=function(pe,j){let b=pe.toLowerCase();if(k.has(b)){let w=this.getAttribute(b);K.call(this,b,j),A.call(this,b,w,j)}else K.call(this,b,j)});let Z=L.prototype.removeAttribute;Z&&(L.prototype.removeAttribute=function(pe){let j=pe.toLowerCase();if(k.has(j)){let b=this.getAttribute(j);Z.call(this,j),A.call(this,j,b,null)}else Z.call(this,j)});let oe=L.prototype.toggleAttribute;oe&&(L.prototype.toggleAttribute=function(pe,j){let b=pe.toLowerCase();if(k.has(b)){let w=this.getAttribute(b);oe.call(this,b,j);let G=this.getAttribute(b);A.call(this,b,w,G)}else oe.call(this,b,j)})},C=L=>{let k=Object.getPrototypeOf(L);if(k!==window.HTMLElement)return k===r?Object.setPrototypeOf(L,window.HTMLElement):C(k)},O=(L,k,A=!1)=>{Object.setPrototypeOf(L,k.elementClass.prototype),n.set(L,k),d=L;try{new k.elementClass}catch{C(k.elementClass),new k.elementClass}k.attributeChangedCallback&&k.observedAttributes.forEach(K=>{L.hasAttribute(K)&&k.attributeChangedCallback.call(L,K,null,L.getAttribute(K))}),A&&k.connectedCallback&&L.isConnected&&k.connectedCallback.call(L)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(L){let k=R.apply(this,arguments);return L.customElements&&(k.customElements=L.customElements),k};let F=[document],N=(L,k,A=void 0)=>{let K=(A?Object.getPrototypeOf(A):L.prototype)[k];L.prototype[k]=function(){F.push(this);let Z=K.apply(A||this,arguments);return Z!==void 0&&l.set(Z,this),F.pop(),Z}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let M=(L,k)=>{let A=Object.getOwnPropertyDescriptor(L.prototype,k);Object.defineProperty(L.prototype,k,{...A,set(K){F.push(this),A.set.call(this,K),F.pop()}})};if(M(Element,"innerHTML"),M(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let L=new WeakMap,k=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...pe){let j=k.call(this,...pe);return L.set(j,this),j},A.forEach(pe=>{let j=window.ElementInternals.prototype,b=j[pe];j[pe]=function(...w){let G=L.get(this);if(n.get(G).formAssociated===!0)return b?.call(this,...w);throw new DOMException(`Failed to execute ${b} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class K extends Array{constructor(j){super(...j),this._elements=j}get value(){return this._elements.find(j=>j.checked===!0)?.value||""}}class Z{constructor(j){let b=new Map;j.forEach((w,G)=>{let fe=w.getAttribute("name"),Ce=b.get(fe)||[];this[+G]=w,Ce.push(w),b.set(fe,Ce)}),this.length=j.length,b.forEach((w,G)=>{w&&(w.length===1?this[G]=w[0]:this[G]=new K(w))})}namedItem(j){return this[j]}}let oe=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let pe=oe.get.call(this,[]),j=[];for(let b of pe){let w=n.get(b);(!w||w.formAssociated===!0)&&j.push(b)}return new Z(j)}})}}});var ou=p(()=>{"use strict";ru();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}});var Rn,Pi,ns,iu,Do,mr,I,Ni,An,Ln=p(()=>{Rn=globalThis,Pi=Rn.ShadowRoot&&(Rn.ShadyCSS===void 0||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ns=Symbol(),iu=new WeakMap,Do=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==ns)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Pi&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=iu.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&iu.set(t,e))}return e}toString(){return this.cssText}},mr=r=>new Do(typeof r=="string"?r:r+"",void 0,ns),I=(r,...e)=>{let t=r.length===1?r[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)+r[a+1],r[0]);return new Do(t,r,ns)},Ni=(r,e)=>{if(Pi)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=Rn.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},An=Pi?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return mr(t)})(r):r});var Gb,Kb,qb,Zb,Yb,Qb,kn,nu,Xb,Jb,Fi,Mo,Bi,au,Zt,Di=p(()=>{Ln();Ln();({is:Gb,defineProperty:Kb,getOwnPropertyDescriptor:qb,getOwnPropertyNames:Zb,getOwnPropertySymbols:Yb,getPrototypeOf:Qb}=Object),kn=globalThis,nu=kn.trustedTypes,Xb=nu?nu.emptyScript:"",Jb=kn.reactiveElementPolyfillSupport,Fi=(r,e)=>r,Mo={toAttribute(r,e){switch(e){case Boolean:r=r?Xb:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},Bi=(r,e)=>!Gb(r,e),au={attribute:!0,type:String,converter:Mo,reflect:!1,useDefault:!1,hasChanged:Bi};Symbol.metadata??=Symbol("metadata"),kn.litPropertyMetadata??=new WeakMap;Zt=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,t=au){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&Kb(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=qb(this.prototype,e)??{get(){return this[t]},set(s){this[t]=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)??au}static _$Ei(){if(this.hasOwnProperty(Fi("elementProperties")))return;let e=Qb(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Fi("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Fi("properties"))){let t=this.properties,i=[...Zb(t),...Yb(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(An(n))}else e!==void 0&&t.push(An(e));return t}static _$Eu(e,t){let i=t.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,t=this.constructor.elementProperties;for(let i of t.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 Ni(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,t,i){this._$AK(e,i)}_$ET(e,t){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:Mo).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){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:Mo;this._$Em=n,this[n]=s.fromAttribute(t,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,t,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Bi)(a,t)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,t,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??t??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(t=void 0),this._$AL.set(e,t)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}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,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(t=>t.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(t=>this._$ET(t,this[t])),this._$EM()}updated(e){}firstUpdated(e){}};Zt.elementStyles=[],Zt.shadowRootOptions={mode:"open"},Zt[Fi("elementProperties")]=new Map,Zt[Fi("finalized")]=new Map,Jb?.({ReactiveElement:Zt}),(kn.reactiveElementVersions??=[]).push("2.1.0")});function mu(r,e){if(!ds(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return su!==void 0?su.createHTML(e):e}function po(r,e,t=r,i){if(e===Qe)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=zi(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=po(r,n._$AS(r,e.values),n,i)),e}var ss,In,su,ls,gr,cs,ev,co,Ui,zi,ds,fu,as,Mi,lu,cu,so,du,pu,hu,ps,S,us,fs,Qe,$,uu,lo,gu,Hi,_n,Uo,uo,Tn,$n,Pn,Nn,hs,tv,ms,Bt=p(()=>{ss=globalThis,In=ss.trustedTypes,su=In?In.createPolicy("lit-html",{createHTML:r=>r}):void 0,ls="$lit$",gr=`lit$${Math.random().toFixed(9).slice(2)}$`,cs="?"+gr,ev=`<${cs}>`,co=document,Ui=()=>co.createComment(""),zi=r=>r===null||typeof r!="object"&&typeof r!="function",ds=Array.isArray,fu=r=>ds(r)||typeof r?.[Symbol.iterator]=="function",as=`[
2
2
  \f\r]`,Mi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lu=/-->/g,cu=/>/g,so=RegExp(`>|${as}(?:([^\\s"'>=/]+)(${as}*=${as}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),du=/'/g,pu=/"/g,hu=/^(?:script|style|textarea|title)$/i,ps=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),S=ps(1),us=ps(2),fs=ps(3),Qe=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),uu=new WeakMap,lo=co.createTreeWalker(co,129);gu=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Mi;for(let l=0;l<t;l++){let d=r[l],f,g,m=-1,v=0;for(;v<d.length&&(s.lastIndex=v,g=s.exec(d),g!==null);)v=s.lastIndex,s===Mi?g[1]==="!--"?s=lu:g[1]!==void 0?s=cu:g[2]!==void 0?(hu.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=so):g[3]!==void 0&&(s=so):s===so?g[0]===">"?(s=n??Mi,m=-1):g[1]===void 0?m=-2:(m=s.lastIndex-g[2].length,f=g[1],s=g[3]===void 0?so:g[3]==='"'?pu:du):s===pu||s===du?s=so:s===lu||s===cu?s=Mi:(s=so,n=void 0);let C=s===so&&r[l+1].startsWith("/>")?" ":"";a+=s===Mi?d+rv:m>=0?(i.push(f),d.slice(0,m)+ls+d.slice(m)+gr+C):d+gr+(m===-2?l:C)}return[mu(r,a+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Hi=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,g]=gu(e,t);if(this.el=r.createElement(f,i),lo.currentNode=this.el.content,t===2||t===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=lo.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ls)){let v=g[s++],C=n.getAttribute(m).split(gr),O=/([.?@])?(.*)/.exec(v);d.push({type:1,index:a,name:O[2],strings:C,ctor:O[1]==="."?Tn:O[1]==="?"?$n:O[1]==="@"?Pn:uo}),n.removeAttribute(m)}else m.startsWith(gr)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(hu.test(n.tagName)){let m=n.textContent.split(gr),v=m.length-1;if(v>0){n.textContent=In?In.emptyScript:"";for(let C=0;C<v;C++)n.append(m[C],Ui()),lo.nextNode(),d.push({type:2,index:++a});n.append(m[v],Ui())}}}else if(n.nodeType===8)if(n.data===cs)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(gr,m+1))!==-1;)d.push({type:7,index:a}),m+=gr.length-1}a++}}static createElement(e,t){let i=co.createElement("template");return i.innerHTML=e,i}};_n=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??co).importNode(t,!0);lo.currentNode=n;let a=lo.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new zo(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Nn(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=lo.nextNode(),s++)}return lo.currentNode=co,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},zo=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=po(this,e,t),zi(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==Qe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):fu(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!==$&&zi(this._$AH)?this._$AA.nextSibling.data=e:this.T(co.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Hi.createElement(mu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new _n(n,this),s=a.u(this.options);a.p(t),this.T(s),this._$AH=a}}_$AC(e){let t=uu.get(e.strings);return t===void 0&&uu.set(e.strings,t=new Hi(e)),t}k(e){ds(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.O(Ui()),this.O(Ui()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},uo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=t,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=$}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=po(this,e,t,0),s=!zi(e)||e!==this._$AH&&e!==Qe,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=po(this,l[i+d],t,d),f===Qe&&(f=this._$AH[d]),s||=!zi(f)||f!==this._$AH[d],f===$?e=$:e!==$&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Tn=class extends uo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===$?void 0:e}},$n=class extends uo{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},Pn=class extends uo{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=po(this,e,t,0)??$)===Qe)return;let i=this._$AH,n=e===$&&i!==$||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==$&&(i===$||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)}},Nn=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){po(this,e)}},hs={M:ls,P:gr,A:cs,C:1,L:gu,R:_n,D:fu,V:po,I:zo,H:uo,N:$n,U:Pn,B:Tn,F:Nn},ov=ss.litHtmlPolyfillSupport;ov?.(Hi,zo),(ss.litHtmlVersions??=[]).push("3.3.0");ms=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new zo(e.insertBefore(Ui(),a),a,void 0,t??{})}return n._$AI(r),n}});var gs,yr,iv,nv,yu=p(()=>{Di();Di();Dt();Dt();gs=globalThis,yr=class extends Zt{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 t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ms(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qe}};yr._$litElement$=!0,yr.finalized=!0,gs.litElementHydrateSupport?.({LitElement:yr});iv=gs.litElementPolyfillSupport;iv?.({LitElement:yr});nv={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(gs.litElementVersions??=[]).push("4.2.0")});var q0,bu=p(()=>{q0=!1});var ys={};ie(ys,{CSSResult:()=>Mo,LitElement:()=>yr,ReactiveElement:()=>Zt,_$LE:()=>nv,_$LH:()=>hs,adoptStyles:()=>Ni,css:()=>I,defaultConverter:()=>Uo,getCompatibleStyle:()=>An,html:()=>S,isServer:()=>q0,mathml:()=>fs,noChange:()=>Qe,notEqual:()=>Bi,nothing:()=>$,render:()=>ms,supportsAdoptingStyleSheets:()=>Pi,svg:()=>us,unsafeCSS:()=>mr});var P=p(()=>{Di();Dt();yu();bu()});var av,vu=p(()=>{av=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)}});function h(r){return(e,t)=>typeof t=="object"?xu(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}var sv,xu,bs=p(()=>{Di();sv={attribute:!0,type:String,converter:Uo,reflect:!1,hasChanged:Bi},xu=(r=sv,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((r=Object.create(r)).wrapped=!0),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r,l),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)}});function D(r){return h({...r,state:!0,attribute:!1})}var Su=p(()=>{bs();});function Ho(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var Cu=p(()=>{});var Mt,Wo=p(()=>{Mt=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t)});function z(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Mt(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Mt(t,i,{get(){return a(this)}})}}var Ou=p(()=>{Wo();});function vs(r){return(e,t)=>Mt(e,t,{get(){return(this.renderRoot??(lv??=document.createDocumentFragment())).querySelectorAll(r)}})}var lv,Eu=p(()=>{Wo();});function cv(r){return(e,t)=>Mt(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}var wu=p(()=>{Wo();});function xs(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return Mt(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var Ru=p(()=>{Wo();});function Ss(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return Mt(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var Au=p(()=>{Wo();});var Cs={};ie(Cs,{customElement:()=>av,eventOptions:()=>Ho,property:()=>h,query:()=>z,queryAll:()=>vs,queryAssignedElements:()=>xs,queryAssignedNodes:()=>Ss,queryAsync:()=>cv,standardProperty:()=>xu,state:()=>D});var Q=p(()=>{vu();bs();Su();Cu();Ou();Eu();wu();Ru();Au()});var Pr,Nr,Yt,Wi=p(()=>{Pr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Nr=r=>(...e)=>({_$litDirective$:r,values:e}),Yt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}});var dv,Lu,Vo,Fr,pv,ku,Iu,Fn,_u=p(()=>{Dt();({I:dv}=hs),Lu=()=>document.createComment(""),Vo=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(Lu(),n),s=i.insertBefore(Lu(),n);t=new dv(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let f=d.nextSibling;i.insertBefore(d,n),d=f}}}return t},Fr=(r,e,t=r)=>(r._$AI(e,t),r),pv={},ku=(r,e=pv)=>r._$AH=e,Iu=r=>r._$AH,Fn=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}}});var Tu,Te,$u=p(()=>{Dt();Wi();_u();Tu=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Te=Nr(class extends Yt{constructor(r){if(super(r),r.type!==Pr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.dt(r,e,t).values}update(r,[e,t,i]){let n=Iu(r),{values:a,keys:s}=this.dt(e,t,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,g,m=0,v=n.length-1,C=0,O=a.length-1;for(;m<=v&&C<=O;)if(n[m]===null)m++;else if(n[v]===null)v--;else if(l[m]===s[C])d[C]=Fr(n[m],a[C]),m++,C++;else if(l[v]===s[O])d[O]=Fr(n[v],a[O]),v--,O--;else if(l[m]===s[O])d[O]=Fr(n[m],a[O]),Vo(r,d[O+1],n[m]),m++,O--;else if(l[v]===s[C])d[C]=Fr(n[v],a[C]),Vo(r,n[m],n[v]),v--,C++;else if(f===void 0&&(f=Tu(s,C,O),g=Tu(l,m,v)),f.has(l[m]))if(f.has(l[v])){let R=g.get(s[C]),F=R!==void 0?n[R]:null;if(F===null){let N=Vo(r,n[m]);Fr(N,a[C]),d[C]=N}else d[C]=Fr(F,a[C]),Vo(r,n[m],F),n[R]=null;C++}else Fn(n[v]),v--;else Fn(n[m]),m++;for(;C<=O;){let R=Vo(r,d[O+1]);Fr(R,a[C]),d[C++]=R}for(;m<=v;){let R=n[m++];R!==null&&Fn(R)}return this.ut=s,ku(r,d),Qe}})});var Os={};ie(Os,{repeat:()=>Te});var Ut=p(()=>{$u()});var ye,Pu=p(()=>{Dt();Wi();ye=Nr(class extends Yt{constructor(r){if(super(r),r.type!==Pr.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.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 t=r.element.classList;for(let i of this.st)i in e||(t.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?(t.add(i),this.st.add(i)):(t.remove(i),this.st.delete(i)))}return Qe}})});var Es={};ie(Es,{classMap:()=>ye});var nt=p(()=>{Pu()});var Nu,uv,fv,Fu=p(()=>{Dt();Wi();Nu="important",uv=" !"+Nu,fv=Nr(class extends Yt{constructor(r){if(super(r),r.type!==Pr.ATTRIBUTE||r.name!=="style"||r.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.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("-")?t.removeProperty(i):t[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(uv);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?Nu:""):t[i]=n}}return Qe}})});var ws={};ie(ws,{styleMap:()=>fv});var Bu=p(()=>{Fu()});var jo,fo,Du=p(()=>{Dt();Wi();jo=class extends Yt{constructor(e){if(super(e),this.it=$,e.type!==Pr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this._t=void 0,this.it=e;if(e===Qe)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 t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};jo.directiveName="unsafeHTML",jo.resultType=1;fo=Nr(jo)});var Rs={};ie(Rs,{UnsafeHTMLDirective:()=>jo,unsafeHTML:()=>fo});var Vi=p(()=>{Du()});var As={};ie(As,{CancelablePromise:()=>Bn,CanceledPromiseError:()=>Qt,cancelable:()=>Go});var Qt,Bn,Go,Dn=p(()=>{"use strict";Qt=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},Bn=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new Qt("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new Qt("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Go=r=>new Bn((e,t)=>r.then(e).catch(t))});var _s={};ie(_s,{FtNotificationEvent:()=>Ls,PostResizeEvent:()=>Is,PreResizeEvent:()=>ks,WithEventBus:()=>br,withEventBus:()=>Mu});function Mu(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}var Ls,ks,Is,br,ji=p(()=>{"use strict";Ls=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ks=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Is=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};br=class extends Mu(Object){}});var Ts={};ie(Ts,{CacheRegistry:()=>Xt,ClearCacheEvent:()=>Gi});var Gi,Xt,$s=p(()=>{"use strict";Dn();ji();Gi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Xt=class extends br{constructor(){super(...arguments),this.content={}}register(e,t,i=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:t,final:i,status:s}}registerFinal(e,t){this.forceClear(e),this.register(e,t,!0)}clearAll(e=!0){let t=[];for(let i in this.content)this.clear(i,!1)!=null&&t.push(i);return e&&t.length>0&&this.dispatchEvent(new Gi(t)),t}clear(e,t=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),t&&this.dispatchEvent(new Gi([e])),e}forceClear(e){var t;let i=this.content[e];i&&(this.clearClearTimeout(e),(t=i.promise)===null||t===void 0||t.cancel(),this.content[e]={loader:i.loader,final:i.final,status:"REGISTERED"})}clearClearTimeout(e){var t,i,n;((t=this.content[e])===null||t===void 0?void 0:t.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,t,i=!1){this.forceClear(e);let n=async()=>t,a="RESOLVED";this.content[e]={loader:n,final:i,status:a,value:t}}setFinal(e,t){return this.set(e,t,!0)}async get(e,t,i){if(!this.isRegistered(e)){if(!t)throw new Error("Unknown cache key "+e);this.register(e,t)}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 t=t??n.loader,n.status="LOADING",n.promise=Go(t()),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 t;return(t=this.content[e])===null||t===void 0?void 0:t.value}has(e){var t,i;return((t=this.content[e])===null||t===void 0?void 0:t.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 t;return((t=this.content[e])===null||t===void 0?void 0:t.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}}});var Fs={};ie(Fs,{ClusteringHelper:()=>Ns,formatHierarchicalValues:()=>Ps});function Ps(r,e){return e&&e>1&&r.length>=e?`... > ${r[r.length-1]}`:r.join(" > ")}var Ns,Bs=p(()=>{"use strict";Ns=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){var t,i,n,a,s;let l=((a=(i=(t=e.result)===null||t===void 0?void 0:t.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?r.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):r.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,t,i){if(Array.isArray(e))return e.map(a=>r.flattenMetadata(a,t,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(Ps(l)),s.push(Ps(l,t))}),{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,t,i="No value",n,a){var s,l;let d=r.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(m=>r.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(m=>m??{key:e,label:f,value:void 0,displayValue:i}).filter(m=>m.value!=d?.value).filter((m,v,C)=>C.findIndex(O=>O.value===m.value)===v).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,v)=>this.compareMetadata(m.metadata.value,v.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==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(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var f;return((f=r.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==t}),a=[...r.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 f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata({result:e}).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}}});var Ds={};ie(Ds,{Debouncer:()=>he});var he,Mn=p(()=>{"use strict";he=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>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 zs={};ie(zs,{dateReviver:()=>hv,deepCopy:()=>qi,deepEqual:()=>qe,delay:()=>Un,eventPathContainsMatchingElement:()=>gv,flatDeep:()=>St,getComposedPathTo:()=>Ms,hasChanged:()=>Br,last:()=>yv,minmax:()=>ho,parseDate:()=>Uu,randomId:()=>Us,unslotText:()=>qo,waitFor:()=>Ko,waitUntil:()=>Ki});async function Ki(r,e=10,t=2e4){await Ko(async()=>await r()||void 0,e,t)}async function Ko(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await Un(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function St(r,e){return r.flatMap(t=>[t,...St(e(t),e)])}function hv(...r){return(e,t)=>r.includes(e)?Uu(t):t}function Uu(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function mv(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!qe(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!qe(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(r),t=n.length,t!==a(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){let s=n[i];if(!qe(r[s],e[s]))return!1}return!0}return r!==r&&e!==e||r==null&&e==null}function qe(r,e){try{return mv(r,e)}catch{return!1}}function Br(r,e){return!qe(r,e)}function gv(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function ho(r,e,t){return Math.min(Math.max(r,e),t)}function yv(r){return r[r.length-1]}function qo(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>qo(e)).join(""):r?.textContent||""}function Ms(r){let e=[],t=i=>{i.stopPropagation(),e=i.composedPath()};return r.addEventListener("get-composed-path",t),r.dispatchEvent(new Event("get-composed-path",{composed:!0})),r.removeEventListener("get-composed-path",t),e}function qi(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function Us(r,e){return(e??"")+(""+Math.floor(Math.random()*10**r)).padStart(r,"0")}var Un,Dr=p(()=>{"use strict";Un=r=>new Promise(e=>setTimeout(e,r))});var Hs={};ie(Hs,{customElement:()=>U,isNumber:()=>zu,jsonProperty:()=>Ee,optionalNumberProperty:()=>bv});function Ee(r,e){let t=()=>JSON.parse(JSON.stringify(r));return h({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Br,...e??{}})}function bv(r){return h({type:Object,converter:{fromAttribute:e=>{if(e!=null)return zu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function zu(r){return!isNaN(parseFloat(r))}var U,zn=p(()=>{"use strict";Q();Dr();U=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)}});function y(r,e){return Mr(`${r.name}: ${e}`)}var Mr,o,le=p(()=>{P();Mr=r=>typeof r=="string"?mr(r):r,o=class{static create(e,t,i,n){let a=l=>Mr(l??n),s=I`var(${Mr(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>y(s,l??a(n)),s.get=l=>I`var(${Mr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=I`var(${Mr(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>y(s,l??a(n)),s.get=l=>I`var(${Mr(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.defaultCssValue(a),n=I`var(${Mr(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>I`var(${Mr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,Ws,Vs,js,Gs,Ks,qs,Zs,Ys,mo,Hu,Qs,Xs,Js,el,tl,rl,ol,il,nl,al,Ur,sl,ll,cl,dl,pl,Zi,vv,ce=p(()=>{le();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)")},Ws={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Vs={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},js={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Gs={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ks={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},qs={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Zs={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ys={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},mo={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Hu={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Qs={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Xs={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Js={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},el={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},tl={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},rl={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ol={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},il={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},nl={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},al={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ur={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},sl={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ll={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},cl={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},dl={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},pl={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Zi={display:Ws,"title-1":Vs,"title-2":js,"title-3":Gs,"body-1-regular":Ks,"body-1-medium":qs,"body-1-semibold":Zs,"body-2-regular":Ys,"body-2-medium":mo,"body-2-medium-underline":Hu,"body-2-semibold":Qs,"label-1-medium":Xs,"label-1-semibold":Js,"label-1-bold":el,"label-2-medium":tl,"label-2-semibold":rl,"label-2-bold":ol,"caption-1-medium":il,"caption-1-semibold":nl,"caption-1-bold":al,"caption-2-medium":Ur,"caption-2-semibold":sl,"caption-2-bold":ll,"caption-3-medium":cl,"caption-3-semibold":dl,"caption-3-bold":pl},vv=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var u,me=p(()=>{le();ce();u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- 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,Wu=p(()=>{le();ce();me();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","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var xv,Vu=p(()=>{le();ce();me();xv={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","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),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 Sv,ju=p(()=>{le();ce();me();Sv={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",u.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","",u.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","",u.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 Cv,Gu=p(()=>{le();ce();me();Cv={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var Y,Ku=p(()=>{le();ce();me();Y={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var Ov,qu=p(()=>{le();ce();me();Ov={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var Ev,Zu=p(()=>{le();ce();me();Ev={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var wv,Yu=p(()=>{le();ce();me();wv={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var Rv,Qu=p(()=>{le();ce();me();Rv={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var Av,Xu=p(()=>{le();ce();me();Av={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Lv,Ju=p(()=>{le();ce();me();Lv={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var kv,ef=p(()=>{le();ce();kv={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var Iv,tf=p(()=>{le();ce();me();Iv={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var _v,rf=p(()=>{le();ce();me();_v={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var Tv,of=p(()=>{le();ce();me();Tv={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var $v,nf=p(()=>{le();ce();me();$v={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","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var Pv,af=p(()=>{le();ce();me();Pv={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)}});var Nv,sf=p(()=>{le();ce();me();Nv={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var Fv,lf=p(()=>{le();ce();me();Fv={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","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var Bv,cf=p(()=>{le();ce();me();Bv={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)}});var Dv,df=p(()=>{le();ce();me();Dv={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),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 Mv,pf=p(()=>{le();ce();me();Mv={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var Uv,uf=p(()=>{le();ce();me();Uv={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var zv,ff=p(()=>{le();ce();zv={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 Hv,hf=p(()=>{le();ce();Hv={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 Wv,mf=p(()=>{le();ce();me();Wv={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var Vv,gf=p(()=>{le();ce();me();Vv={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)}});var jv,yf=p(()=>{le();ce();me();jv={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)}});var Gv,bf=p(()=>{le();ce();me();Gv={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var Kv,vf=p(()=>{le();ce();me();Kv={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var qv,xf=p(()=>{le();ce();me();qv={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var Zv,Sf=p(()=>{le();ce();me();Zv={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","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",u.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","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",u.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","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",u.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",u.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","",u.borderGlobalPrimary)}});var Cf=p(()=>{ce();me();Wu();Vu();ju();Gu();Ku();qu();Zu();Yu();Qu();Xu();Ju();ef();tf();rf();of();nf();af();sf();lf();cf();df();pf();uf();ff();hf();mf();gf();yf();bf();vf();xf();Sf()});function ul(r){return`ftds--family-${r}`}function fl(r){return`ftds--size-${r}`}var vr,Ve,Of=p(()=>{(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(vr||(vr={}));(function(r){r.large="large",r.medium="medium",r.small="small"})(Ve||(Ve={}))});var ne=p(()=>{le();Cf();Of()});var hl={};ie(hl,{DesignSystemFamily:()=>vr,DesignSystemSize:()=>Ve,FtCssVariableFactory:()=>o,badge:()=>wv,banner:()=>Ev,button:()=>x,chart:()=>zv,checkbox:()=>xv,chip:()=>Y,chipChoice:()=>Cv,collapsible:()=>Mv,comboboxMultiSelect:()=>Bv,comboboxSingleSelect:()=>Fv,drawer:()=>_v,floatingMenu:()=>Nv,foundation:()=>c,link:()=>Ov,modal:()=>Iv,notice:()=>Wv,notification:()=>Gv,pageDesigner:()=>Hv,pageFooter:()=>Lv,pageHeader:()=>Av,pageLayout:()=>kv,popover:()=>Dv,radio:()=>jv,reorderableList:()=>qv,resolveFamilyClass:()=>ul,resolveSizeClass:()=>fl,semantic:()=>u,setVariable:()=>y,switch_:()=>Uv,table:()=>Sv,tabs:()=>Tv,textArea:()=>Pv,textInput:()=>$v,titleBreadcrumb:()=>Rv,toggle:()=>Vv,tooltip:()=>Kv,treeList:()=>Zv,typographies:()=>Zi,typographyBody1Medium:()=>qs,typographyBody1Regular:()=>Ks,typographyBody1Semibold:()=>Zs,typographyBody2Medium:()=>mo,typographyBody2MediumUnderline:()=>Hu,typographyBody2Regular:()=>Ys,typographyBody2Semibold:()=>Qs,typographyCaption1Bold:()=>al,typographyCaption1Medium:()=>il,typographyCaption1Semibold:()=>nl,typographyCaption2Bold:()=>ll,typographyCaption2Medium:()=>Ur,typographyCaption2Semibold:()=>sl,typographyCaption3Bold:()=>pl,typographyCaption3Medium:()=>cl,typographyCaption3Semibold:()=>dl,typographyDisplay:()=>Ws,typographyLabel1Bold:()=>el,typographyLabel1Medium:()=>Xs,typographyLabel1Semibold:()=>Js,typographyLabel2Bold:()=>ol,typographyLabel2Medium:()=>tl,typographyLabel2Semibold:()=>rl,typographyTitle1:()=>Vs,typographyTitle2:()=>js,typographyTitle3:()=>Gs,typographyVariants:()=>vv});var Hn=p(()=>{"use strict";ne()});var ml={};ie(ml,{designSystemVariables:()=>E});var E,gl=p(()=>{"use strict";Hn();E={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var yl={};ie(yl,{DynamicImporter:()=>Wn,dynamicImporter:()=>Yv});var Wn,Yv,bl=p(()=>{"use strict";Wn=class{async import(e){return import(e)}},Yv=new Wn});function Sl(r,e,t){return zr(r,Vn(e,t))}function Zo(r,e){return typeof r=="function"?r(e):r}function Hr(r){return r.split("-")[0]}function Jt(r){return r.split("-")[1]}function Cl(r){return r==="x"?"y":"x"}function Ol(r){return r==="y"?"height":"width"}function Yo(r){return["top","bottom"].includes(Hr(r))?"y":"x"}function El(r){return Cl(Yo(r))}function Rf(r,e,t){t===void 0&&(t=!1);let i=Jt(r),n=El(r),a=Ol(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=vl(s)),[s,vl(s)]}function Af(r){return r.replace(/start|end/g,e=>Xv[e])}function vl(r){return r.replace(/left|right|bottom|top/g,e=>Qv[e])}function Jv(r){return{top:0,right:0,bottom:0,left:0,...r}}function Lf(r){return typeof r!="number"?Jv(r):{top:r,right:r,bottom:r,left:r}}function go(r){let{x:e,y:t,width:i,height:n}=r;return{width:i,height:n,top:t,left:e,right:e+i,bottom:t+n,x:e,y:t}}var wf,Ef,xl,Vn,zr,Qv,Xv,wl=p(()=>{wf=["top","right","bottom","left"],Ef=["start","end"],xl=wf.reduce((r,e)=>r.concat(e,e+"-"+Ef[0],e+"-"+Ef[1]),[]),Vn=Math.min,zr=Math.max,Qv={left:"right",right:"left",bottom:"top",top:"bottom"},Xv={start:"end",end:"start"}});function kf(r,e,t){let{reference:i,floating:n}=r,a=Yo(e),s=El(e),l=Ol(s),d=Hr(e),f=a==="y",g=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,v=i[l]/2-n[l]/2,C;switch(d){case"top":C={x:g,y:i.y-n.height};break;case"bottom":C={x:g,y:i.y+i.height};break;case"right":C={x:i.x+i.width,y:m};break;case"left":C={x:i.x-n.width,y:m};break;default:C={x:i.x,y:i.y}}switch(Jt(e)){case"start":C[s]-=v*(t&&f?-1:1);break;case"end":C[s]+=v*(t&&f?-1:1);break}return C}async function jn(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:v=!1,padding:C=0}=Zo(e,r),O=Lf(C),F=l[v?m==="floating"?"reference":"floating":m],N=go(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(F)))==null||t?F:F.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),M=m==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,L=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),k=await(a.isElement==null?void 0:a.isElement(L))?await(a.getScale==null?void 0:a.getScale(L))||{x:1,y:1}:{x:1,y:1},A=go(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:M,offsetParent:L,strategy:d}):M);return{top:(N.top-A.top+O.top)/k.y,bottom:(A.bottom-N.bottom+O.bottom)/k.y,left:(N.left-A.left+O.left)/k.x,right:(A.right-N.right+O.right)/k.x}}function ex(r,e,t){return(r?[...t.filter(n=>Jt(n)===r),...t.filter(n=>Jt(n)!==r)]:t.filter(n=>Hr(n)===n)).filter(n=>r?Jt(n)===r||(e?Af(n)!==n:!1):!0)}async function tx(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=Hr(t),l=Jt(t),d=Yo(t)==="y",f=["left","top"].includes(s)?-1:1,g=a&&d?-1:1,m=Zo(e,r),{mainAxis:v,crossAxis:C,alignmentAxis:O}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof O=="number"&&(C=l==="end"?O*-1:O),d?{x:C*g,y:v*f}:{x:v*f,y:C*g}}var If,Gn,Rl,Al,Ll,kl=p(()=>{wl();wl();If=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:g,y:m}=kf(f,i,d),v=i,C={},O=0;for(let R=0;R<l.length;R++){let{name:F,fn:N}=l[R],{x:M,y:L,data:k,reset:A}=await N({x:g,y:m,initialPlacement:i,placement:v,strategy:n,middlewareData:C,rects:f,platform:s,elements:{reference:r,floating:e}});g=M??g,m=L??m,C={...C,[F]:{...C[F],...k}},A&&O<=50&&(O++,typeof A=="object"&&(A.placement&&(v=A.placement),A.rects&&(f=A.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):A.rects),{x:g,y:m}=kf(f,v,d)),R=-1)}return{x:g,y:m,placement:v,strategy:n,middlewareData:C}};Gn=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:v=xl,autoAlignment:C=!0,...O}=Zo(r,e),R=m!==void 0||v===xl?ex(m||null,C,v):v,F=await jn(e,O),N=((t=s.autoPlacement)==null?void 0:t.index)||0,M=R[N];if(M==null)return{};let L=Rf(M,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==M)return{reset:{placement:R[0]}};let k=[F[Hr(M)],F[L[0]],F[L[1]]],A=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:M,overflows:k}],K=R[N+1];if(K)return{data:{index:N+1,overflows:A},reset:{placement:K}};let Z=A.map(j=>{let b=Jt(j.placement);return[j.placement,b&&g?j.overflows.slice(0,2).reduce((w,G)=>w+G,0):j.overflows[0],j.overflows]}).sort((j,b)=>j[1]-b[1]),pe=((n=Z.filter(j=>j[2].slice(0,Jt(j[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||Z[0][0];return pe!==l?{data:{index:N+1,overflows:A},reset:{placement:pe}}:{}}}};Rl=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await tx(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Al=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:F=>{let{x:N,y:M}=F;return{x:N,y:M}}},...d}=Zo(r,e),f={x:t,y:i},g=await jn(e,d),m=Yo(Hr(n)),v=Cl(m),C=f[v],O=f[m];if(a){let F=v==="y"?"top":"left",N=v==="y"?"bottom":"right",M=C+g[F],L=C-g[N];C=Sl(M,C,L)}if(s){let F=m==="y"?"top":"left",N=m==="y"?"bottom":"right",M=O+g[F],L=O-g[N];O=Sl(M,O,L)}let R=l.fn({...e,[v]:C,[m]:O});return{...R,data:{x:R.x-t,y:R.y-i,enabled:{[v]:a,[m]:s}}}}}},Ll=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(e){var t,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=Zo(r,e),g=await jn(e,f),m=Hr(n),v=Jt(n),C=Yo(n)==="y",{width:O,height:R}=a.floating,F,N;m==="top"||m==="bottom"?(F=m,N=v===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(N=m,F=v==="end"?"top":"bottom");let M=R-g.top-g.bottom,L=O-g.left-g.right,k=Vn(R-g[F],M),A=Vn(O-g[N],L),K=!e.middlewareData.shift,Z=k,oe=A;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(oe=L),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(Z=M),K&&!v){let j=zr(g.left,0),b=zr(g.right,0),w=zr(g.top,0),G=zr(g.bottom,0);C?oe=O-2*(j!==0||b!==0?j+b:zr(g.left,g.right)):Z=R-2*(w!==0||G!==0?w+G:zr(g.top,g.bottom))}await d({...e,availableWidth:oe,availableHeight:Z});let pe=await s.getDimensions(l.floating);return O!==pe.width||R!==pe.height?{reset:{rects:!0}}:{}}}}});var Il,Qo,Yi,xr,_f=p(()=>{Il=Math.min,Qo=Math.max,Yi=Math.round,xr=r=>({x:r,y:r})});function Sr(r){return $f(r)?(r.nodeName||"").toLowerCase():"#document"}function ct(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Cr(r){var e;return(e=($f(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function $f(r){return r instanceof Node||r instanceof ct(r).Node}function er(r){return r instanceof Element||r instanceof ct(r).Element}function zt(r){return r instanceof HTMLElement||r instanceof ct(r).HTMLElement}function Tf(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof ct(r).ShadowRoot}function Xo(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=Ct(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Pf(r){return["table","td","th"].includes(Sr(r))}function qn(r){let e=Zn(),t=Ct(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Nf(r){let e=yo(r);for(;zt(e)&&!Qi(e);){if(qn(e))return e;e=yo(e)}return null}function Zn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Qi(r){return["html","body","#document"].includes(Sr(r))}function Ct(r){return ct(r).getComputedStyle(r)}function Xi(r){return er(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function yo(r){if(Sr(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Tf(r)&&r.host||Cr(r);return Tf(e)?e.host:e}function Ff(r){let e=yo(r);return Qi(e)?r.ownerDocument?r.ownerDocument.body:r.body:zt(e)&&Xo(e)?e:Ff(e)}function Kn(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=Ff(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=ct(n);return a?e.concat(s,s.visualViewport||[],Xo(n)?n:[],s.frameElement&&t?Kn(s.frameElement):[]):e.concat(n,Kn(n,[],t))}var Bf=p(()=>{});function Uf(r){let e=Ct(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=zt(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=Yi(t)!==a||Yi(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function zf(r){return er(r)?r:r.contextElement}function Jo(r){let e=zf(r);if(!zt(e))return xr(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=Uf(e),s=(a?Yi(t.width):t.width)/i,l=(a?Yi(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Hf(r){let e=ct(r);return!Zn()||!e.visualViewport?rx:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ox(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==ct(r)?!1:e}function Ji(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=zf(r),s=xr(1);e&&(i?er(i)&&(s=Jo(i)):s=Jo(r));let l=ox(a,t,i)?Hf(a):xr(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,g=n.width/s.x,m=n.height/s.y;if(a){let v=ct(a),C=i&&er(i)?ct(i):i,O=v.frameElement;for(;O&&i&&C!==v;){let R=Jo(O),F=O.getBoundingClientRect(),N=Ct(O),M=F.left+(O.clientLeft+parseFloat(N.paddingLeft))*R.x,L=F.top+(O.clientTop+parseFloat(N.paddingTop))*R.y;d*=R.x,f*=R.y,g*=R.x,m*=R.y,d+=M,f+=L,O=ct(O).frameElement}}return go({width:g,height:m,x:d,y:f})}function ix(r){let{rect:e,offsetParent:t,strategy:i}=r,n=zt(t),a=Cr(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=xr(1),d=xr(0);if((n||!n&&i!=="fixed")&&((Sr(t)!=="body"||Xo(a))&&(s=Xi(t)),zt(t))){let f=Ji(t);l=Jo(t),d.x=f.x+t.clientLeft,d.y=f.y+t.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 nx(r){return Array.from(r.getClientRects())}function Wf(r){return Ji(Cr(r)).left+Xi(r).scrollLeft}function ax(r){let e=Cr(r),t=Xi(r),i=r.ownerDocument.body,n=Qo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Qo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+Wf(r),l=-t.scrollTop;return Ct(i).direction==="rtl"&&(s+=Qo(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function sx(r,e){let t=ct(r),i=Cr(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=Zn();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function lx(r,e){let t=Ji(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=zt(r)?Jo(r):xr(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function Df(r,e,t){let i;if(e==="viewport")i=sx(r,t);else if(e==="document")i=ax(Cr(r));else if(er(e))i=lx(e,t);else{let n=Hf(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return go(i)}function Vf(r,e){let t=yo(r);return t===e||!er(t)||Qi(t)?!1:Ct(t).position==="fixed"||Vf(t,e)}function cx(r,e){let t=e.get(r);if(t)return t;let i=Kn(r,[],!1).filter(l=>er(l)&&Sr(l)!=="body"),n=null,a=Ct(r).position==="fixed",s=a?yo(r):r;for(;er(s)&&!Qi(s);){let l=Ct(s),d=qn(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Xo(s)&&!d&&Vf(r,s))?i=i.filter(g=>g!==s):n=l,s=yo(s)}return e.set(r,i),i}function dx(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?cx(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((f,g)=>{let m=Df(e,g,n);return f.top=Qo(m.top,f.top),f.right=Il(m.right,f.right),f.bottom=Il(m.bottom,f.bottom),f.left=Qo(m.left,f.left),f},Df(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function px(r){return Uf(r)}function ux(r,e,t){let i=zt(e),n=Cr(e),a=t==="fixed",s=Ji(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=xr(0);if(i||!i&&!a)if((Sr(e)!=="body"||Xo(n))&&(l=Xi(e)),i){let f=Ji(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=Wf(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Mf(r,e){return!zt(r)||Ct(r).position==="fixed"?null:e?e(r):r.offsetParent}function jf(r,e){let t=ct(r);if(!zt(r))return t;let i=Mf(r,e);for(;i&&Pf(i)&&Ct(i).position==="static";)i=Mf(i,e);return i&&(Sr(i)==="html"||Sr(i)==="body"&&Ct(i).position==="static"&&!qn(i))?t:i||Nf(r)||t}function hx(r){return Ct(r).direction==="rtl"}var rx,fx,ei,_l,Gf=p(()=>{kl();kl();_f();Bf();rx=xr(0);fx=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||jf,a=this.getDimensions;return{reference:ux(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};ei={convertOffsetParentRelativeRectToViewportRelativeRect:ix,getDocumentElement:Cr,getClippingRect:dx,getOffsetParent:jf,getElementRects:fx,getClientRects:nx,getDimensions:px,getScale:Jo,isElement:er,isRTL:hx},_l=(r,e,t)=>{let i=new Map,n={platform:ei,...t},a={...n.platform,_c:i};return If(r,e,{...n,platform:a})}});function $l(r){return mx(r)}function Tl(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function mx(r){for(let e=r;e;e=Tl(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Tl(r);e;e=Tl(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}var Kf=p(()=>{});var Fl={};ie(Fl,{computeOffsetAutoPosition:()=>Nl,computeOffsetPosition:()=>Pl});async function Pl(r,e,t){return _l(r,e,{platform:{...ei,getOffsetParent:i=>ei.getOffsetParent(i,$l)},middleware:[Al({crossAxis:!0}),Gn({allowedPlacements:[t]})]})}async function Nl(r,e,t,i,n,a,s=4){return _l(r,e,{placement:t,strategy:n,platform:{...ei,getOffsetParent:l=>ei.getOffsetParent(l,$l)},middleware:[Rl(s),Gn({allowedPlacements:i}),Ll({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Yn=p(()=>{"use strict";Gf();Kf()});var Bl={};ie(Bl,{ScopedRegistryLitElement:()=>en});var en,Qn=p(()=>{"use strict";P();Ln();en=class extends yr{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 t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return Ni(i,e.elementStyles),i}}});var Ml={};ie(Ml,{shadowQuerySelector:()=>Dl,shadowQuerySelectorAll:()=>gx});function Dl(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function gx(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)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 Xn=p(()=>{"use strict"});var Ul={};ie(Ul,{FtLitElement:()=>H});var tn,Qf,qf,Zf,Xf,Yf,H,rn=p(()=>{"use strict";Q();zn();Mn();Qn();Xn();tn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qf=Symbol("constructorPrototype"),Zf=Symbol("constructorName"),Xf=Symbol("exportpartsDebouncer"),Yf=Symbol("dynamicDependenciesLoaded"),H=class extends en{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Qf]=new he(5),this[Zf]=this.constructor.name,this[qf]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zf]&&Object.setPrototypeOf(this,this[qf])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[Yf]||(e[Yf]=!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:t,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];t=Dl(this.shadowRoot,...a)}t?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||t?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.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,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[Xf].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 t,i,n,a,s,l;let d=v=>v!=null&&v.trim().length>0,f=e.filter(d).map(v=>v.trim());if(f.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let v of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let C=(a=(n=v.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],O=(l=(s=v.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(R=>R.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...C,...O).filter(d).map(R=>R.trim()).forEach(R=>g.add(R))}if(g.size===0){this.removeAttribute("exportparts");return}let m=[...g.values()].flatMap(v=>f.map(C=>`${v}:${C}--${v}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Qf=Xf;tn([h()],H.prototype,"exportpartsPrefix",void 0);tn([Ee([])],H.prototype,"exportpartsPrefixes",void 0);tn([h()],H.prototype,"customStylesheet",void 0);tn([h()],H.prototype,"elementToFocus",void 0);tn([D()],H.prototype,"useAdoptedStyleSheets",void 0)});var zl={};ie(zl,{FtdsBase:()=>on,toFtdsBase:()=>ti});function ti(r){class e extends r{constructor(){super(...arguments),this.size=Ve.medium,this.family=vr.neutral}getDesignSystemBaseClasses(){return{[ul(this.family)]:!0,[fl(this.size)]:!0}}}return Jf([h()],e.prototype,"size",void 0),Jf([h()],e.prototype,"family",void 0),e}var Jf,on,Hl=p(()=>{"use strict";rn();Q();ne();Jf=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};on=class extends ti(H){}});var eh={};var Wl=p(()=>{"use strict"});var bo,th=p(()=>{bo=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,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,t=[];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=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,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(f=>{r.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{t(f)&&(l++,i(g)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,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,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(s),f);for(;m();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(f,g,v,l),v=>{this.createInstanceOnIframe(v).forEachNode(e,C=>d.push(C),n)}),d.push(f);d.forEach(v=>{i(v)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var nn,rh=p(()=>{th();nn=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.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 bo(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`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 t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[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,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=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${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\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(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.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 t=[],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,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){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-t>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,t,i){let n,a=!0,s=i.length,l=t-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 t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return bo.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),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,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let f=t-s.start,g=(i>s.end?s.end:i)-s.start,m=e.value.substr(0,s.start),v=e.value.substr(g+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,g),e.value=m+v,e.nodes.forEach((C,O)=>{O>=l&&(e.nodes[O].start>0&&O!==l&&(e.nodes[O].start-=g),e.nodes[O].end-=g)}),i-=g,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!i(f[s],d))continue;let g=f.index;if(s!==0)for(let m=1;m<s;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let m=1;m<s;m++)f+=d[m].length;let g=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,g,m=>i(d[s],m),(m,v)=>{e.lastIndex=v,n(m)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,f,g,v=>t(v,l,a.value.substring(f,g),d),v=>{i(v,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.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,t){this.opt=t,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,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let g=new RegExp(this.createRegExp(f),`gm${l}`),m=0;this.log(`Searching with expression "${g}"`),this[n](g,1,(v,C)=>this.opt.filter(C,f,i,m),v=>{m++,i++,this.opt.each(v)},()=>{m===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(i):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;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 t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=bo.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Vl(r){let e=new nn(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var oh=p(()=>{rh()});var Gl={};ie(Gl,{highlightHtml:()=>jl,highlightHtmlColorCssVariable:()=>ih,highlightHtmlStyles:()=>bx});function jl(r,e,t){var i,n;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new yx(r);if(s.unmark(),e&&e.trim()){let l={className:(i=t?.className)!==null&&i!==void 0?i:"highlight-html-match",acrossElements:!0};t?.attributes!=null&&(l.each=f=>{for(let g in t.attributes)f.setAttribute(g,t.attributes[g])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var yx,ih,bx,Kl=p(()=>{"use strict";P();ne();oh();yx=Vl,ih=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),bx=I`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),du=/'/g,pu=/"/g,hu=/^(?:script|style|textarea|title)$/i,ps=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),S=ps(1),us=ps(2),fs=ps(3),Qe=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),uu=new WeakMap,lo=co.createTreeWalker(co,129);gu=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Mi;for(let l=0;l<t;l++){let d=r[l],f,g,m=-1,v=0;for(;v<d.length&&(s.lastIndex=v,g=s.exec(d),g!==null);)v=s.lastIndex,s===Mi?g[1]==="!--"?s=lu:g[1]!==void 0?s=cu:g[2]!==void 0?(hu.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=so):g[3]!==void 0&&(s=so):s===so?g[0]===">"?(s=n??Mi,m=-1):g[1]===void 0?m=-2:(m=s.lastIndex-g[2].length,f=g[1],s=g[3]===void 0?so:g[3]==='"'?pu:du):s===pu||s===du?s=so:s===lu||s===cu?s=Mi:(s=so,n=void 0);let C=s===so&&r[l+1].startsWith("/>")?" ":"";a+=s===Mi?d+ev:m>=0?(i.push(f),d.slice(0,m)+ls+d.slice(m)+gr+C):d+gr+(m===-2?l:C)}return[mu(r,a+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Hi=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,g]=gu(e,t);if(this.el=r.createElement(f,i),lo.currentNode=this.el.content,t===2||t===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=lo.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ls)){let v=g[s++],C=n.getAttribute(m).split(gr),O=/([.?@])?(.*)/.exec(v);d.push({type:1,index:a,name:O[2],strings:C,ctor:O[1]==="."?Tn:O[1]==="?"?$n:O[1]==="@"?Pn:uo}),n.removeAttribute(m)}else m.startsWith(gr)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(hu.test(n.tagName)){let m=n.textContent.split(gr),v=m.length-1;if(v>0){n.textContent=In?In.emptyScript:"";for(let C=0;C<v;C++)n.append(m[C],Ui()),lo.nextNode(),d.push({type:2,index:++a});n.append(m[v],Ui())}}}else if(n.nodeType===8)if(n.data===cs)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(gr,m+1))!==-1;)d.push({type:7,index:a}),m+=gr.length-1}a++}}static createElement(e,t){let i=co.createElement("template");return i.innerHTML=e,i}};_n=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??co).importNode(t,!0);lo.currentNode=n;let a=lo.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Uo(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Nn(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=lo.nextNode(),s++)}return lo.currentNode=co,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},Uo=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=po(this,e,t),zi(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==Qe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):fu(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!==$&&zi(this._$AH)?this._$AA.nextSibling.data=e:this.T(co.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Hi.createElement(mu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new _n(n,this),s=a.u(this.options);a.p(t),this.T(s),this._$AH=a}}_$AC(e){let t=uu.get(e.strings);return t===void 0&&uu.set(e.strings,t=new Hi(e)),t}k(e){ds(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.O(Ui()),this.O(Ui()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},uo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=t,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=$}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=po(this,e,t,0),s=!zi(e)||e!==this._$AH&&e!==Qe,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=po(this,l[i+d],t,d),f===Qe&&(f=this._$AH[d]),s||=!zi(f)||f!==this._$AH[d],f===$?e=$:e!==$&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Tn=class extends uo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===$?void 0:e}},$n=class extends uo{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},Pn=class extends uo{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=po(this,e,t,0)??$)===Qe)return;let i=this._$AH,n=e===$&&i!==$||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==$&&(i===$||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)}},Nn=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){po(this,e)}},hs={M:ls,P:gr,A:cs,C:1,L:gu,R:_n,D:fu,V:po,I:Uo,H:uo,N:$n,U:Pn,B:Tn,F:Nn},tv=ss.litHtmlPolyfillSupport;tv?.(Hi,Uo),(ss.litHtmlVersions??=[]).push("3.3.0");ms=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new Uo(e.insertBefore(Ui(),a),a,void 0,t??{})}return n._$AI(r),n}});var gs,yr,rv,ov,yu=p(()=>{Di();Di();Bt();Bt();gs=globalThis,yr=class extends Zt{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 t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ms(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qe}};yr._$litElement$=!0,yr.finalized=!0,gs.litElementHydrateSupport?.({LitElement:yr});rv=gs.litElementPolyfillSupport;rv?.({LitElement:yr});ov={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(gs.litElementVersions??=[]).push("4.2.0")});var G0,bu=p(()=>{G0=!1});var ys={};ie(ys,{CSSResult:()=>Do,LitElement:()=>yr,ReactiveElement:()=>Zt,_$LE:()=>ov,_$LH:()=>hs,adoptStyles:()=>Ni,css:()=>I,defaultConverter:()=>Mo,getCompatibleStyle:()=>An,html:()=>S,isServer:()=>G0,mathml:()=>fs,noChange:()=>Qe,notEqual:()=>Bi,nothing:()=>$,render:()=>ms,supportsAdoptingStyleSheets:()=>Pi,svg:()=>us,unsafeCSS:()=>mr});var P=p(()=>{Di();Bt();yu();bu()});var iv,vu=p(()=>{iv=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)}});function h(r){return(e,t)=>typeof t=="object"?xu(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}var nv,xu,bs=p(()=>{Di();nv={attribute:!0,type:String,converter:Mo,reflect:!1,hasChanged:Bi},xu=(r=nv,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((r=Object.create(r)).wrapped=!0),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r,l),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)}});function D(r){return h({...r,state:!0,attribute:!1})}var Su=p(()=>{bs();});function zo(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var Cu=p(()=>{});var Dt,Ho=p(()=>{Dt=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t)});function z(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Dt(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Dt(t,i,{get(){return a(this)}})}}var Ou=p(()=>{Ho();});function vs(r){return(e,t)=>Dt(e,t,{get(){return(this.renderRoot??(av??=document.createDocumentFragment())).querySelectorAll(r)}})}var av,Eu=p(()=>{Ho();});function sv(r){return(e,t)=>Dt(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}var wu=p(()=>{Ho();});function xs(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return Dt(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var Ru=p(()=>{Ho();});function Ss(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return Dt(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var Au=p(()=>{Ho();});var Cs={};ie(Cs,{customElement:()=>iv,eventOptions:()=>zo,property:()=>h,query:()=>z,queryAll:()=>vs,queryAssignedElements:()=>xs,queryAssignedNodes:()=>Ss,queryAsync:()=>sv,standardProperty:()=>xu,state:()=>D});var Q=p(()=>{vu();bs();Su();Cu();Ou();Eu();wu();Ru();Au()});var Pr,Nr,Yt,Wi=p(()=>{Pr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Nr=r=>(...e)=>({_$litDirective$:r,values:e}),Yt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}});var lv,Lu,Wo,Fr,cv,ku,Iu,Fn,_u=p(()=>{Bt();({I:lv}=hs),Lu=()=>document.createComment(""),Wo=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(Lu(),n),s=i.insertBefore(Lu(),n);t=new lv(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let f=d.nextSibling;i.insertBefore(d,n),d=f}}}return t},Fr=(r,e,t=r)=>(r._$AI(e,t),r),cv={},ku=(r,e=cv)=>r._$AH=e,Iu=r=>r._$AH,Fn=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}}});var Tu,Te,$u=p(()=>{Bt();Wi();_u();Tu=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Te=Nr(class extends Yt{constructor(r){if(super(r),r.type!==Pr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.dt(r,e,t).values}update(r,[e,t,i]){let n=Iu(r),{values:a,keys:s}=this.dt(e,t,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,g,m=0,v=n.length-1,C=0,O=a.length-1;for(;m<=v&&C<=O;)if(n[m]===null)m++;else if(n[v]===null)v--;else if(l[m]===s[C])d[C]=Fr(n[m],a[C]),m++,C++;else if(l[v]===s[O])d[O]=Fr(n[v],a[O]),v--,O--;else if(l[m]===s[O])d[O]=Fr(n[m],a[O]),Wo(r,d[O+1],n[m]),m++,O--;else if(l[v]===s[C])d[C]=Fr(n[v],a[C]),Wo(r,n[m],n[v]),v--,C++;else if(f===void 0&&(f=Tu(s,C,O),g=Tu(l,m,v)),f.has(l[m]))if(f.has(l[v])){let R=g.get(s[C]),F=R!==void 0?n[R]:null;if(F===null){let N=Wo(r,n[m]);Fr(N,a[C]),d[C]=N}else d[C]=Fr(F,a[C]),Wo(r,n[m],F),n[R]=null;C++}else Fn(n[v]),v--;else Fn(n[m]),m++;for(;C<=O;){let R=Wo(r,d[O+1]);Fr(R,a[C]),d[C++]=R}for(;m<=v;){let R=n[m++];R!==null&&Fn(R)}return this.ut=s,ku(r,d),Qe}})});var Os={};ie(Os,{repeat:()=>Te});var Mt=p(()=>{$u()});var ye,Pu=p(()=>{Bt();Wi();ye=Nr(class extends Yt{constructor(r){if(super(r),r.type!==Pr.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.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 t=r.element.classList;for(let i of this.st)i in e||(t.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?(t.add(i),this.st.add(i)):(t.remove(i),this.st.delete(i)))}return Qe}})});var Es={};ie(Es,{classMap:()=>ye});var nt=p(()=>{Pu()});var Nu,dv,pv,Fu=p(()=>{Bt();Wi();Nu="important",dv=" !"+Nu,pv=Nr(class extends Yt{constructor(r){if(super(r),r.type!==Pr.ATTRIBUTE||r.name!=="style"||r.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.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("-")?t.removeProperty(i):t[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(dv);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?Nu:""):t[i]=n}}return Qe}})});var ws={};ie(ws,{styleMap:()=>pv});var Bu=p(()=>{Fu()});var Vo,fo,Du=p(()=>{Bt();Wi();Vo=class extends Yt{constructor(e){if(super(e),this.it=$,e.type!==Pr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this._t=void 0,this.it=e;if(e===Qe)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 t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Vo.directiveName="unsafeHTML",Vo.resultType=1;fo=Nr(Vo)});var Rs={};ie(Rs,{UnsafeHTMLDirective:()=>Vo,unsafeHTML:()=>fo});var Vi=p(()=>{Du()});var As={};ie(As,{CancelablePromise:()=>Bn,CanceledPromiseError:()=>Qt,cancelable:()=>jo});var Qt,Bn,jo,Dn=p(()=>{"use strict";Qt=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},Bn=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new Qt("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new Qt("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},jo=r=>new Bn((e,t)=>r.then(e).catch(t))});var _s={};ie(_s,{FtNotificationEvent:()=>Ls,PostResizeEvent:()=>Is,PreResizeEvent:()=>ks,WithEventBus:()=>br,withEventBus:()=>Mu});function Mu(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}var Ls,ks,Is,br,ji=p(()=>{"use strict";Ls=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ks=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Is=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};br=class extends Mu(Object){}});var Ts={};ie(Ts,{CacheRegistry:()=>Xt,ClearCacheEvent:()=>Gi});var Gi,Xt,$s=p(()=>{"use strict";Dn();ji();Gi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Xt=class extends br{constructor(){super(...arguments),this.content={}}register(e,t,i=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:t,final:i,status:s}}registerFinal(e,t){this.forceClear(e),this.register(e,t,!0)}clearAll(e=!0){let t=[];for(let i in this.content)this.clear(i,!1)!=null&&t.push(i);return e&&t.length>0&&this.dispatchEvent(new Gi(t)),t}clear(e,t=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),t&&this.dispatchEvent(new Gi([e])),e}forceClear(e){var t;let i=this.content[e];i&&(this.clearClearTimeout(e),(t=i.promise)===null||t===void 0||t.cancel(),this.content[e]={loader:i.loader,final:i.final,status:"REGISTERED"})}clearClearTimeout(e){var t,i,n;((t=this.content[e])===null||t===void 0?void 0:t.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,t,i=!1){this.forceClear(e);let n=async()=>t,a="RESOLVED";this.content[e]={loader:n,final:i,status:a,value:t}}setFinal(e,t){return this.set(e,t,!0)}async get(e,t,i){if(!this.isRegistered(e)){if(!t)throw new Error("Unknown cache key "+e);this.register(e,t)}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 t=t??n.loader,n.status="LOADING",n.promise=jo(t()),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 t;return(t=this.content[e])===null||t===void 0?void 0:t.value}has(e){var t,i;return((t=this.content[e])===null||t===void 0?void 0:t.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 t;return((t=this.content[e])===null||t===void 0?void 0:t.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}}});var Fs={};ie(Fs,{ClusteringHelper:()=>Ns,formatHierarchicalValues:()=>Ps});function Ps(r,e){return e&&e>1&&r.length>=e?`... > ${r[r.length-1]}`:r.join(" > ")}var Ns,Bs=p(()=>{"use strict";Ns=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){var t,i,n,a,s;let l=((a=(i=(t=e.result)===null||t===void 0?void 0:t.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?r.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):r.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,t,i){if(Array.isArray(e))return e.map(a=>r.flattenMetadata(a,t,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(Ps(l)),s.push(Ps(l,t))}),{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,t,i="No value",n,a){var s,l;let d=r.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(m=>r.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(m=>m??{key:e,label:f,value:void 0,displayValue:i}).filter(m=>m.value!=d?.value).filter((m,v,C)=>C.findIndex(O=>O.value===m.value)===v).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,v)=>this.compareMetadata(m.metadata.value,v.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==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(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var f;return((f=r.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==t}),a=[...r.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 f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata({result:e}).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}}});var Ds={};ie(Ds,{Debouncer:()=>he});var he,Mn=p(()=>{"use strict";he=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>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 zs={};ie(zs,{dateReviver:()=>uv,deepCopy:()=>qi,deepEqual:()=>qe,delay:()=>Un,eventPathContainsMatchingElement:()=>hv,flatDeep:()=>xt,getComposedPathTo:()=>Ms,hasChanged:()=>Br,last:()=>mv,minmax:()=>ho,parseDate:()=>Uu,randomId:()=>Us,unslotText:()=>Ko,waitFor:()=>Go,waitUntil:()=>Ki});async function Ki(r,e=10,t=2e4){await Go(async()=>await r()||void 0,e,t)}async function Go(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await Un(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function xt(r,e){return r.flatMap(t=>[t,...xt(e(t),e)])}function uv(...r){return(e,t)=>r.includes(e)?Uu(t):t}function Uu(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function fv(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!qe(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!qe(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(r),t=n.length,t!==a(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){let s=n[i];if(!qe(r[s],e[s]))return!1}return!0}return r!==r&&e!==e||r==null&&e==null}function qe(r,e){try{return fv(r,e)}catch{return!1}}function Br(r,e){return!qe(r,e)}function hv(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function ho(r,e,t){return Math.min(Math.max(r,e),t)}function mv(r){return r[r.length-1]}function Ko(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Ko(e)).join(""):r?.textContent||""}function Ms(r){let e=[],t=i=>{i.stopPropagation(),e=i.composedPath()};return r.addEventListener("get-composed-path",t),r.dispatchEvent(new Event("get-composed-path",{composed:!0})),r.removeEventListener("get-composed-path",t),e}function qi(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function Us(r,e){return(e??"")+(""+Math.floor(Math.random()*10**r)).padStart(r,"0")}var Un,Dr=p(()=>{"use strict";Un=r=>new Promise(e=>setTimeout(e,r))});var Hs={};ie(Hs,{customElement:()=>U,isNumber:()=>zu,jsonProperty:()=>Ee,optionalNumberProperty:()=>gv});function Ee(r,e){let t=()=>JSON.parse(JSON.stringify(r));return h({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Br,...e??{}})}function gv(r){return h({type:Object,converter:{fromAttribute:e=>{if(e!=null)return zu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function zu(r){return!isNaN(parseFloat(r))}var U,zn=p(()=>{"use strict";Q();Dr();U=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)}});function y(r,e){return Mr(`${r.name}: ${e}`)}var Mr,o,le=p(()=>{P();Mr=r=>typeof r=="string"?mr(r):r,o=class{static create(e,t,i,n){let a=l=>Mr(l??n),s=I`var(${Mr(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>y(s,l??a(n)),s.get=l=>I`var(${Mr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=I`var(${Mr(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>y(s,l??a(n)),s.get=l=>I`var(${Mr(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.defaultCssValue(a),n=I`var(${Mr(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>I`var(${Mr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,Ws,Vs,js,Gs,Ks,qs,Zs,Ys,mo,Hu,Qs,Xs,Js,el,tl,rl,ol,il,nl,al,Ur,sl,ll,cl,dl,pl,Zi,yv,ce=p(()=>{le();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)")},Ws={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Vs={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},js={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Gs={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ks={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},qs={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Zs={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ys={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},mo={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Hu={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Qs={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Xs={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Js={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},el={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},tl={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},rl={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ol={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},il={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},nl={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},al={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ur={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},sl={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ll={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},cl={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},dl={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},pl={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Zi={display:Ws,"title-1":Vs,"title-2":js,"title-3":Gs,"body-1-regular":Ks,"body-1-medium":qs,"body-1-semibold":Zs,"body-2-regular":Ys,"body-2-medium":mo,"body-2-medium-underline":Hu,"body-2-semibold":Qs,"label-1-medium":Xs,"label-1-semibold":Js,"label-1-bold":el,"label-2-medium":tl,"label-2-semibold":rl,"label-2-bold":ol,"caption-1-medium":il,"caption-1-semibold":nl,"caption-1-bold":al,"caption-2-medium":Ur,"caption-2-semibold":sl,"caption-2-bold":ll,"caption-3-medium":cl,"caption-3-semibold":dl,"caption-3-bold":pl},yv=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var u,me=p(()=>{le();ce();u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ 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,Wu=p(()=>{le();ce();me();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","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var bv,Vu=p(()=>{le();ce();me();bv={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","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),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 vv,ju=p(()=>{le();ce();me();vv={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",u.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","",u.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","",u.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 xv,Gu=p(()=>{le();ce();me();xv={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var Y,Ku=p(()=>{le();ce();me();Y={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var Sv,qu=p(()=>{le();ce();me();Sv={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var Cv,Zu=p(()=>{le();ce();me();Cv={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var Ov,Yu=p(()=>{le();ce();me();Ov={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var Ev,Qu=p(()=>{le();ce();me();Ev={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var wv,Xu=p(()=>{le();ce();me();wv={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Rv,Ju=p(()=>{le();ce();me();Rv={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var Av,ef=p(()=>{le();ce();Av={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var Lv,tf=p(()=>{le();ce();me();Lv={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var kv,rf=p(()=>{le();ce();me();kv={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var Iv,of=p(()=>{le();ce();me();Iv={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var _v,nf=p(()=>{le();ce();me();_v={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","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var Tv,af=p(()=>{le();ce();me();Tv={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)}});var $v,sf=p(()=>{le();ce();me();$v={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var Pv,lf=p(()=>{le();ce();me();Pv={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","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var Nv,cf=p(()=>{le();ce();me();Nv={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)}});var Fv,df=p(()=>{le();ce();me();Fv={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),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 Bv,pf=p(()=>{le();ce();me();Bv={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var Dv,uf=p(()=>{le();ce();me();Dv={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var Mv,ff=p(()=>{le();ce();Mv={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 Uv,hf=p(()=>{le();ce();Uv={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 zv,mf=p(()=>{le();ce();me();zv={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var Hv,gf=p(()=>{le();ce();me();Hv={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)}});var Wv,yf=p(()=>{le();ce();me();Wv={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)}});var Vv,bf=p(()=>{le();ce();me();Vv={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var jv,vf=p(()=>{le();ce();me();jv={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var Gv,xf=p(()=>{le();ce();me();Gv={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var Kv,Sf=p(()=>{le();ce();me();Kv={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","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",u.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","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",u.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","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",u.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",u.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","",u.borderGlobalPrimary)}});var Cf=p(()=>{ce();me();Wu();Vu();ju();Gu();Ku();qu();Zu();Yu();Qu();Xu();Ju();ef();tf();rf();of();nf();af();sf();lf();cf();df();pf();uf();ff();hf();mf();gf();yf();bf();vf();xf();Sf()});function ul(r){return`ftds--family-${r}`}function fl(r){return`ftds--size-${r}`}var vr,Ve,Of=p(()=>{(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(vr||(vr={}));(function(r){r.large="large",r.medium="medium",r.small="small"})(Ve||(Ve={}))});var ne=p(()=>{le();Cf();Of()});var hl={};ie(hl,{DesignSystemFamily:()=>vr,DesignSystemSize:()=>Ve,FtCssVariableFactory:()=>o,badge:()=>Ov,banner:()=>Cv,button:()=>x,chart:()=>Mv,checkbox:()=>bv,chip:()=>Y,chipChoice:()=>xv,collapsible:()=>Bv,comboboxMultiSelect:()=>Nv,comboboxSingleSelect:()=>Pv,drawer:()=>kv,floatingMenu:()=>$v,foundation:()=>c,link:()=>Sv,modal:()=>Lv,notice:()=>zv,notification:()=>Vv,pageDesigner:()=>Uv,pageFooter:()=>Rv,pageHeader:()=>wv,pageLayout:()=>Av,popover:()=>Fv,radio:()=>Wv,reorderableList:()=>Gv,resolveFamilyClass:()=>ul,resolveSizeClass:()=>fl,semantic:()=>u,setVariable:()=>y,switch_:()=>Dv,table:()=>vv,tabs:()=>Iv,textArea:()=>Tv,textInput:()=>_v,titleBreadcrumb:()=>Ev,toggle:()=>Hv,tooltip:()=>jv,treeList:()=>Kv,typographies:()=>Zi,typographyBody1Medium:()=>qs,typographyBody1Regular:()=>Ks,typographyBody1Semibold:()=>Zs,typographyBody2Medium:()=>mo,typographyBody2MediumUnderline:()=>Hu,typographyBody2Regular:()=>Ys,typographyBody2Semibold:()=>Qs,typographyCaption1Bold:()=>al,typographyCaption1Medium:()=>il,typographyCaption1Semibold:()=>nl,typographyCaption2Bold:()=>ll,typographyCaption2Medium:()=>Ur,typographyCaption2Semibold:()=>sl,typographyCaption3Bold:()=>pl,typographyCaption3Medium:()=>cl,typographyCaption3Semibold:()=>dl,typographyDisplay:()=>Ws,typographyLabel1Bold:()=>el,typographyLabel1Medium:()=>Xs,typographyLabel1Semibold:()=>Js,typographyLabel2Bold:()=>ol,typographyLabel2Medium:()=>tl,typographyLabel2Semibold:()=>rl,typographyTitle1:()=>Vs,typographyTitle2:()=>js,typographyTitle3:()=>Gs,typographyVariants:()=>yv});var Hn=p(()=>{"use strict";ne()});var ml={};ie(ml,{designSystemVariables:()=>E});var E,gl=p(()=>{"use strict";Hn();E={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var yl={};ie(yl,{DynamicImporter:()=>Wn,dynamicImporter:()=>qv});var Wn,qv,bl=p(()=>{"use strict";Wn=class{async import(e){return import(e)}},qv=new Wn});function Sl(r,e,t){return zr(r,Vn(e,t))}function qo(r,e){return typeof r=="function"?r(e):r}function Hr(r){return r.split("-")[0]}function Jt(r){return r.split("-")[1]}function Cl(r){return r==="x"?"y":"x"}function Ol(r){return r==="y"?"height":"width"}function Zo(r){return["top","bottom"].includes(Hr(r))?"y":"x"}function El(r){return Cl(Zo(r))}function Rf(r,e,t){t===void 0&&(t=!1);let i=Jt(r),n=El(r),a=Ol(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=vl(s)),[s,vl(s)]}function Af(r){return r.replace(/start|end/g,e=>Yv[e])}function vl(r){return r.replace(/left|right|bottom|top/g,e=>Zv[e])}function Qv(r){return{top:0,right:0,bottom:0,left:0,...r}}function Lf(r){return typeof r!="number"?Qv(r):{top:r,right:r,bottom:r,left:r}}function go(r){let{x:e,y:t,width:i,height:n}=r;return{width:i,height:n,top:t,left:e,right:e+i,bottom:t+n,x:e,y:t}}var wf,Ef,xl,Vn,zr,Zv,Yv,wl=p(()=>{wf=["top","right","bottom","left"],Ef=["start","end"],xl=wf.reduce((r,e)=>r.concat(e,e+"-"+Ef[0],e+"-"+Ef[1]),[]),Vn=Math.min,zr=Math.max,Zv={left:"right",right:"left",bottom:"top",top:"bottom"},Yv={start:"end",end:"start"}});function kf(r,e,t){let{reference:i,floating:n}=r,a=Zo(e),s=El(e),l=Ol(s),d=Hr(e),f=a==="y",g=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,v=i[l]/2-n[l]/2,C;switch(d){case"top":C={x:g,y:i.y-n.height};break;case"bottom":C={x:g,y:i.y+i.height};break;case"right":C={x:i.x+i.width,y:m};break;case"left":C={x:i.x-n.width,y:m};break;default:C={x:i.x,y:i.y}}switch(Jt(e)){case"start":C[s]-=v*(t&&f?-1:1);break;case"end":C[s]+=v*(t&&f?-1:1);break}return C}async function jn(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:v=!1,padding:C=0}=qo(e,r),O=Lf(C),F=l[v?m==="floating"?"reference":"floating":m],N=go(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(F)))==null||t?F:F.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),M=m==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,L=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),k=await(a.isElement==null?void 0:a.isElement(L))?await(a.getScale==null?void 0:a.getScale(L))||{x:1,y:1}:{x:1,y:1},A=go(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:M,offsetParent:L,strategy:d}):M);return{top:(N.top-A.top+O.top)/k.y,bottom:(A.bottom-N.bottom+O.bottom)/k.y,left:(N.left-A.left+O.left)/k.x,right:(A.right-N.right+O.right)/k.x}}function Xv(r,e,t){return(r?[...t.filter(n=>Jt(n)===r),...t.filter(n=>Jt(n)!==r)]:t.filter(n=>Hr(n)===n)).filter(n=>r?Jt(n)===r||(e?Af(n)!==n:!1):!0)}async function Jv(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=Hr(t),l=Jt(t),d=Zo(t)==="y",f=["left","top"].includes(s)?-1:1,g=a&&d?-1:1,m=qo(e,r),{mainAxis:v,crossAxis:C,alignmentAxis:O}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof O=="number"&&(C=l==="end"?O*-1:O),d?{x:C*g,y:v*f}:{x:v*f,y:C*g}}var If,Gn,Rl,Al,Ll,kl=p(()=>{wl();wl();If=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:g,y:m}=kf(f,i,d),v=i,C={},O=0;for(let R=0;R<l.length;R++){let{name:F,fn:N}=l[R],{x:M,y:L,data:k,reset:A}=await N({x:g,y:m,initialPlacement:i,placement:v,strategy:n,middlewareData:C,rects:f,platform:s,elements:{reference:r,floating:e}});g=M??g,m=L??m,C={...C,[F]:{...C[F],...k}},A&&O<=50&&(O++,typeof A=="object"&&(A.placement&&(v=A.placement),A.rects&&(f=A.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):A.rects),{x:g,y:m}=kf(f,v,d)),R=-1)}return{x:g,y:m,placement:v,strategy:n,middlewareData:C}};Gn=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:v=xl,autoAlignment:C=!0,...O}=qo(r,e),R=m!==void 0||v===xl?Xv(m||null,C,v):v,F=await jn(e,O),N=((t=s.autoPlacement)==null?void 0:t.index)||0,M=R[N];if(M==null)return{};let L=Rf(M,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==M)return{reset:{placement:R[0]}};let k=[F[Hr(M)],F[L[0]],F[L[1]]],A=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:M,overflows:k}],K=R[N+1];if(K)return{data:{index:N+1,overflows:A},reset:{placement:K}};let Z=A.map(j=>{let b=Jt(j.placement);return[j.placement,b&&g?j.overflows.slice(0,2).reduce((w,G)=>w+G,0):j.overflows[0],j.overflows]}).sort((j,b)=>j[1]-b[1]),pe=((n=Z.filter(j=>j[2].slice(0,Jt(j[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||Z[0][0];return pe!==l?{data:{index:N+1,overflows:A},reset:{placement:pe}}:{}}}};Rl=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Jv(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Al=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:F=>{let{x:N,y:M}=F;return{x:N,y:M}}},...d}=qo(r,e),f={x:t,y:i},g=await jn(e,d),m=Zo(Hr(n)),v=Cl(m),C=f[v],O=f[m];if(a){let F=v==="y"?"top":"left",N=v==="y"?"bottom":"right",M=C+g[F],L=C-g[N];C=Sl(M,C,L)}if(s){let F=m==="y"?"top":"left",N=m==="y"?"bottom":"right",M=O+g[F],L=O-g[N];O=Sl(M,O,L)}let R=l.fn({...e,[v]:C,[m]:O});return{...R,data:{x:R.x-t,y:R.y-i,enabled:{[v]:a,[m]:s}}}}}},Ll=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(e){var t,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=qo(r,e),g=await jn(e,f),m=Hr(n),v=Jt(n),C=Zo(n)==="y",{width:O,height:R}=a.floating,F,N;m==="top"||m==="bottom"?(F=m,N=v===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(N=m,F=v==="end"?"top":"bottom");let M=R-g.top-g.bottom,L=O-g.left-g.right,k=Vn(R-g[F],M),A=Vn(O-g[N],L),K=!e.middlewareData.shift,Z=k,oe=A;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(oe=L),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(Z=M),K&&!v){let j=zr(g.left,0),b=zr(g.right,0),w=zr(g.top,0),G=zr(g.bottom,0);C?oe=O-2*(j!==0||b!==0?j+b:zr(g.left,g.right)):Z=R-2*(w!==0||G!==0?w+G:zr(g.top,g.bottom))}await d({...e,availableWidth:oe,availableHeight:Z});let pe=await s.getDimensions(l.floating);return O!==pe.width||R!==pe.height?{reset:{rects:!0}}:{}}}}});var Il,Yo,Yi,xr,_f=p(()=>{Il=Math.min,Yo=Math.max,Yi=Math.round,xr=r=>({x:r,y:r})});function Sr(r){return $f(r)?(r.nodeName||"").toLowerCase():"#document"}function ct(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Cr(r){var e;return(e=($f(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function $f(r){return r instanceof Node||r instanceof ct(r).Node}function er(r){return r instanceof Element||r instanceof ct(r).Element}function Ut(r){return r instanceof HTMLElement||r instanceof ct(r).HTMLElement}function Tf(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof ct(r).ShadowRoot}function Qo(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=St(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Pf(r){return["table","td","th"].includes(Sr(r))}function qn(r){let e=Zn(),t=St(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Nf(r){let e=yo(r);for(;Ut(e)&&!Qi(e);){if(qn(e))return e;e=yo(e)}return null}function Zn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Qi(r){return["html","body","#document"].includes(Sr(r))}function St(r){return ct(r).getComputedStyle(r)}function Xi(r){return er(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function yo(r){if(Sr(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Tf(r)&&r.host||Cr(r);return Tf(e)?e.host:e}function Ff(r){let e=yo(r);return Qi(e)?r.ownerDocument?r.ownerDocument.body:r.body:Ut(e)&&Qo(e)?e:Ff(e)}function Kn(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=Ff(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=ct(n);return a?e.concat(s,s.visualViewport||[],Qo(n)?n:[],s.frameElement&&t?Kn(s.frameElement):[]):e.concat(n,Kn(n,[],t))}var Bf=p(()=>{});function Uf(r){let e=St(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Ut(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=Yi(t)!==a||Yi(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function zf(r){return er(r)?r:r.contextElement}function Xo(r){let e=zf(r);if(!Ut(e))return xr(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=Uf(e),s=(a?Yi(t.width):t.width)/i,l=(a?Yi(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Hf(r){let e=ct(r);return!Zn()||!e.visualViewport?ex:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function tx(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==ct(r)?!1:e}function Ji(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=zf(r),s=xr(1);e&&(i?er(i)&&(s=Xo(i)):s=Xo(r));let l=tx(a,t,i)?Hf(a):xr(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,g=n.width/s.x,m=n.height/s.y;if(a){let v=ct(a),C=i&&er(i)?ct(i):i,O=v.frameElement;for(;O&&i&&C!==v;){let R=Xo(O),F=O.getBoundingClientRect(),N=St(O),M=F.left+(O.clientLeft+parseFloat(N.paddingLeft))*R.x,L=F.top+(O.clientTop+parseFloat(N.paddingTop))*R.y;d*=R.x,f*=R.y,g*=R.x,m*=R.y,d+=M,f+=L,O=ct(O).frameElement}}return go({width:g,height:m,x:d,y:f})}function rx(r){let{rect:e,offsetParent:t,strategy:i}=r,n=Ut(t),a=Cr(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=xr(1),d=xr(0);if((n||!n&&i!=="fixed")&&((Sr(t)!=="body"||Qo(a))&&(s=Xi(t)),Ut(t))){let f=Ji(t);l=Xo(t),d.x=f.x+t.clientLeft,d.y=f.y+t.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 ox(r){return Array.from(r.getClientRects())}function Wf(r){return Ji(Cr(r)).left+Xi(r).scrollLeft}function ix(r){let e=Cr(r),t=Xi(r),i=r.ownerDocument.body,n=Yo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Yo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+Wf(r),l=-t.scrollTop;return St(i).direction==="rtl"&&(s+=Yo(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function nx(r,e){let t=ct(r),i=Cr(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=Zn();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function ax(r,e){let t=Ji(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=Ut(r)?Xo(r):xr(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function Df(r,e,t){let i;if(e==="viewport")i=nx(r,t);else if(e==="document")i=ix(Cr(r));else if(er(e))i=ax(e,t);else{let n=Hf(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return go(i)}function Vf(r,e){let t=yo(r);return t===e||!er(t)||Qi(t)?!1:St(t).position==="fixed"||Vf(t,e)}function sx(r,e){let t=e.get(r);if(t)return t;let i=Kn(r,[],!1).filter(l=>er(l)&&Sr(l)!=="body"),n=null,a=St(r).position==="fixed",s=a?yo(r):r;for(;er(s)&&!Qi(s);){let l=St(s),d=qn(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Qo(s)&&!d&&Vf(r,s))?i=i.filter(g=>g!==s):n=l,s=yo(s)}return e.set(r,i),i}function lx(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?sx(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((f,g)=>{let m=Df(e,g,n);return f.top=Yo(m.top,f.top),f.right=Il(m.right,f.right),f.bottom=Il(m.bottom,f.bottom),f.left=Yo(m.left,f.left),f},Df(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function cx(r){return Uf(r)}function dx(r,e,t){let i=Ut(e),n=Cr(e),a=t==="fixed",s=Ji(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=xr(0);if(i||!i&&!a)if((Sr(e)!=="body"||Qo(n))&&(l=Xi(e)),i){let f=Ji(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=Wf(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Mf(r,e){return!Ut(r)||St(r).position==="fixed"?null:e?e(r):r.offsetParent}function jf(r,e){let t=ct(r);if(!Ut(r))return t;let i=Mf(r,e);for(;i&&Pf(i)&&St(i).position==="static";)i=Mf(i,e);return i&&(Sr(i)==="html"||Sr(i)==="body"&&St(i).position==="static"&&!qn(i))?t:i||Nf(r)||t}function ux(r){return St(r).direction==="rtl"}var ex,px,Jo,_l,Gf=p(()=>{kl();kl();_f();Bf();ex=xr(0);px=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||jf,a=this.getDimensions;return{reference:dx(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};Jo={convertOffsetParentRelativeRectToViewportRelativeRect:rx,getDocumentElement:Cr,getClippingRect:lx,getOffsetParent:jf,getElementRects:px,getClientRects:ox,getDimensions:cx,getScale:Xo,isElement:er,isRTL:ux},_l=(r,e,t)=>{let i=new Map,n={platform:Jo,...t},a={...n.platform,_c:i};return If(r,e,{...n,platform:a})}});function $l(r){return fx(r)}function Tl(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function fx(r){for(let e=r;e;e=Tl(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Tl(r);e;e=Tl(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}var Kf=p(()=>{});var Fl={};ie(Fl,{computeOffsetAutoPosition:()=>Nl,computeOffsetPosition:()=>Pl});async function Pl(r,e,t){return _l(r,e,{platform:{...Jo,getOffsetParent:i=>Jo.getOffsetParent(i,$l)},middleware:[Al({crossAxis:!0}),Gn({allowedPlacements:[t]})]})}async function Nl(r,e,t,i,n,a,s=4){return _l(r,e,{placement:t,strategy:n,platform:{...Jo,getOffsetParent:l=>Jo.getOffsetParent(l,$l)},middleware:[Rl(s),Gn({allowedPlacements:i}),Ll({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Yn=p(()=>{"use strict";Gf();Kf()});var Bl={};ie(Bl,{ScopedRegistryLitElement:()=>en});var en,Qn=p(()=>{"use strict";P();Ln();en=class extends yr{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 t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return Ni(i,e.elementStyles),i}}});var Ml={};ie(Ml,{shadowQuerySelector:()=>Dl,shadowQuerySelectorAll:()=>hx});function Dl(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function hx(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)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 Xn=p(()=>{"use strict"});var Ul={};ie(Ul,{FtLitElement:()=>H});var tn,Qf,qf,Zf,Xf,Yf,H,rn=p(()=>{"use strict";Q();zn();Mn();Qn();Xn();tn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qf=Symbol("constructorPrototype"),Zf=Symbol("constructorName"),Xf=Symbol("exportpartsDebouncer"),Yf=Symbol("dynamicDependenciesLoaded"),H=class extends en{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Qf]=new he(5),this[Zf]=this.constructor.name,this[qf]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zf]&&Object.setPrototypeOf(this,this[qf])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[Yf]||(e[Yf]=!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:t,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];t=Dl(this.shadowRoot,...a)}t?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||t?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.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,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[Xf].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 t,i,n,a,s,l;let d=v=>v!=null&&v.trim().length>0,f=e.filter(d).map(v=>v.trim());if(f.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let v of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let C=(a=(n=v.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],O=(l=(s=v.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(R=>R.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...C,...O).filter(d).map(R=>R.trim()).forEach(R=>g.add(R))}if(g.size===0){this.removeAttribute("exportparts");return}let m=[...g.values()].flatMap(v=>f.map(C=>`${v}:${C}--${v}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Qf=Xf;tn([h()],H.prototype,"exportpartsPrefix",void 0);tn([Ee([])],H.prototype,"exportpartsPrefixes",void 0);tn([h()],H.prototype,"customStylesheet",void 0);tn([h()],H.prototype,"elementToFocus",void 0);tn([D()],H.prototype,"useAdoptedStyleSheets",void 0)});var zl={};ie(zl,{FtdsBase:()=>on,toFtdsBase:()=>ei});function ei(r){class e extends r{constructor(){super(...arguments),this.size=Ve.medium,this.family=vr.neutral}getDesignSystemBaseClasses(){return{[ul(this.family)]:!0,[fl(this.size)]:!0}}}return Jf([h()],e.prototype,"size",void 0),Jf([h()],e.prototype,"family",void 0),e}var Jf,on,Hl=p(()=>{"use strict";rn();Q();ne();Jf=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};on=class extends ei(H){}});var eh={};var Wl=p(()=>{"use strict"});var bo,th=p(()=>{bo=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,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,t=[];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=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,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(f=>{r.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{t(f)&&(l++,i(g)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,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,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(s),f);for(;m();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(f,g,v,l),v=>{this.createInstanceOnIframe(v).forEachNode(e,C=>d.push(C),n)}),d.push(f);d.forEach(v=>{i(v)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var nn,rh=p(()=>{th();nn=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.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 bo(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`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 t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[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,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=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${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\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(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.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 t=[],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,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){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-t>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,t,i){let n,a=!0,s=i.length,l=t-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 t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return bo.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),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,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let f=t-s.start,g=(i>s.end?s.end:i)-s.start,m=e.value.substr(0,s.start),v=e.value.substr(g+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,g),e.value=m+v,e.nodes.forEach((C,O)=>{O>=l&&(e.nodes[O].start>0&&O!==l&&(e.nodes[O].start-=g),e.nodes[O].end-=g)}),i-=g,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!i(f[s],d))continue;let g=f.index;if(s!==0)for(let m=1;m<s;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let m=1;m<s;m++)f+=d[m].length;let g=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,g,m=>i(d[s],m),(m,v)=>{e.lastIndex=v,n(m)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,f,g,v=>t(v,l,a.value.substring(f,g),d),v=>{i(v,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.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,t){this.opt=t,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,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let g=new RegExp(this.createRegExp(f),`gm${l}`),m=0;this.log(`Searching with expression "${g}"`),this[n](g,1,(v,C)=>this.opt.filter(C,f,i,m),v=>{m++,i++,this.opt.each(v)},()=>{m===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(i):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;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 t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=bo.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Vl(r){let e=new nn(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var oh=p(()=>{rh()});var Gl={};ie(Gl,{highlightHtml:()=>jl,highlightHtmlColorCssVariable:()=>ih,highlightHtmlStyles:()=>gx});function jl(r,e,t){var i,n;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new mx(r);if(s.unmark(),e&&e.trim()){let l={className:(i=t?.className)!==null&&i!==void 0?i:"highlight-html-match",acrossElements:!0};t?.attributes!=null&&(l.each=f=>{for(let g in t.attributes)f.setAttribute(g,t.attributes[g])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var mx,ih,gx,Kl=p(()=>{"use strict";P();ne();oh();mx=Vl,ih=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),gx=I`
5
5
  .highlight-html-match {
6
6
  background: ${ih};
7
7
  }
@@ -44,8 +44,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `});var nh={};var Yl=p(()=>{"use strict"});var Ql={};ie(Ql,{ParametrizedLabelResolver:()=>Wr});var Wr,Xl=p(()=>{"use strict";Wr=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)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,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}}});var vx,Oe,xx,ah=p(()=>{"use strict";Dr();Q();vx=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},Oe=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:Br,attribute:!1,...e};h(a)(t,i);let s=t.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})}},xx=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)}});var ln,Jl=p(()=>{"use strict";ln=class{constructor(){this.queue=[]}add(e,t=!1){t&&this.clear(e.type),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}clear(e){typeof e=="string"?this.queue=this.queue.filter(t=>t.type!==e):this.queue=this.queue.filter(t=>!e.test(t.type))}}});function xo(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Jn=p(()=>{"use strict"});var sh,lh,ch,cn,Vr,So,dt,dh=p(()=>{"use strict";rn();Jn();cn=Symbol("internalReduxEventsUnsubscribers"),Vr=Symbol("internalStoresUnsubscribers"),So=Symbol("internalStores"),dt=class extends H{constructor(){super(...arguments),this[sh]=new Map,this[lh]=new Map,this[ch]=new Map}get reduxConstructor(){return this.constructor}willUpdate(e){super.willUpdate(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[So].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[So].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[So].get(e)}addStore(e,t){var i;t=(i=t??(xo(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(t),this[So].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[So].delete(t)}setupStores(){this.unsubscribeFromStores(),this[So].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let i=this.constructor.getPropertyOptions(t);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:t)){let n=this.getStore(e.store);n&&(e.store?this[Vr].has(e.store):this[Vr].size>0)&&(this[t]=e.selector(n.getState(),this))}})}subscribeToStore(e,t){var i;this[Vr].set(e,t.subscribe(()=>this.updateFromStores())),this[cn].set(e,[]),xo(t)&&t.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||t.name===n.store)){let s=l=>this[a](l);t.addEventListener(n.eventName,s),this[cn].get(e).push(()=>t.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Vr].forEach((e,t)=>this.unsubscribeFromStore(t))}unsubscribeFromStore(e){var t;this[Vr].has(e)&&this[Vr].get(e)(),this[Vr].delete(e),(t=this[cn].get(e))===null||t===void 0||t.forEach(i=>i()),this[cn].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};sh=Vr,lh=So,ch=cn;dt.reduxProperties=new Map;dt.reduxReactiveProperties=new Set;dt.reduxEventListeners=new Map});function Lt(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Er(r){return!!r&&!!r[Re]}function Ht(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Lx}(r)||Array.isArray(r)||!!r[yh]||!!(!((e=r.constructor)===null||e===void 0)&&e[yh])||lc(r)||cc(r))}function Co(r,e,t){t===void 0&&(t=!1),ii(r)===0?(t?Object.keys:oi)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function ii(r){var e=r[Re];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:lc(r)?2:cc(r)?3:0}function ri(r,e){return ii(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function Sx(r,e){return ii(r)===2?r.get(e):r[e]}function bh(r,e,t){var i=ii(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function vh(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function lc(r){return Rx&&r instanceof Map}function cc(r){return Ax&&r instanceof Set}function jr(r){return r.o||r.t}function dc(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=Ch(r);delete e[Re];for(var t=oi(e),i=0;i<t.length;i++){var n=t[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:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function pc(r,e){return e===void 0&&(e=!1),uc(r)||Er(r)||!Ht(r)||(ii(r)>1&&(r.set=r.add=r.clear=r.delete=Cx),Object.freeze(r),e&&Co(r,function(t,i){return pc(i,!0)},!0)),r}function Cx(){Lt(2)}function uc(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function tr(r){var e=sc[r];return e||Lt(18,r),e}function Ox(r,e){sc[r]||(sc[r]=e)}function ic(){return pn}function ec(r,e){e&&(tr("Patches"),r.u=[],r.s=[],r.v=e)}function ea(r){nc(r),r.p.forEach(Ex),r.p=null}function nc(r){r===pn&&(pn=r.l)}function ph(r){return pn={p:[],l:pn,h:r,m:!0,_:0}}function Ex(r){var e=r[Re];e.i===0||e.i===1?e.j():e.g=!0}function tc(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||tr("ES5").S(e,r,i),i?(t[Re].P&&(ea(e),Lt(4)),Ht(r)&&(r=ta(e,r),e.l||ra(e,r)),e.u&&tr("Patches").M(t[Re].t,r,e.u,e.s)):r=ta(e,t,[]),ea(e),e.u&&e.v(e.u,e.s),r!==Sh?r:void 0}function ta(r,e,t){if(uc(e))return e;var i=e[Re];if(!i)return Co(e,function(l,d){return uh(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return ra(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=dc(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Co(a,function(l,d){return uh(r,i,n,l,d,t,s)}),ra(r,n,!1),t&&r.u&&tr("Patches").N(i,t,r.u,r.s)}return i.o}function uh(r,e,t,i,n,a,s){if(Er(n)){var l=ta(r,n,a&&e&&e.i!==3&&!ri(e.R,i)?a.concat(i):void 0);if(bh(t,i,l),!Er(l))return;r.m=!1}else s&&t.add(n);if(Ht(n)&&!uc(n)){if(!r.h.D&&r._<1)return;ta(r,n),e&&e.A.l||ra(r,n)}}function ra(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&pc(e,t)}function rc(r,e){var t=r[Re];return(t?jr(t):r)[e]}function fh(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function Gr(r){r.P||(r.P=!0,r.l&&Gr(r.l))}function oc(r){r.o||(r.o=dc(r.t))}function ac(r,e,t){var i=lc(e)?tr("MapSet").F(e,t):cc(e)?tr("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:ic(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=un;s&&(d=[l],f=dn);var g=Proxy.revocable(d,f),m=g.revoke,v=g.proxy;return l.k=v,l.j=m,v}(e,t):tr("ES5").J(e,t);return(t?t.A:ic()).p.push(i),i}function wx(r){return Er(r)||Lt(22,r),function e(t){if(!Ht(t))return t;var i,n=t[Re],a=ii(t);if(n){if(!n.P&&(n.i<4||!tr("ES5").K(n)))return n.t;n.I=!0,i=hh(t,a),n.I=!1}else i=hh(t,a);return Co(i,function(s,l){n&&Sx(n.t,s)===l||bh(i,s,e(l))}),a===3?new Set(i):i}(r)}function hh(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return dc(r)}function xh(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[Re];return un.get(f,s)},set:function(f){var g=this[Re];un.set(g,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Re];if(!d.P)switch(d.i){case 5:i(d)&&Gr(d);break;case 4:t(d)&&Gr(d)}}}function t(s){for(var l=s.t,d=s.k,f=oi(d),g=f.length-1;g>=0;g--){var m=f[g];if(m!==Re){var v=l[m];if(v===void 0&&!ri(l,m))return!0;var C=d[m],O=C&&C[Re];if(O?O.t!==v:!vh(C,v))return!0}}var R=!!l[Re];return f.length!==oi(l).length+(R?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 f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&Lt(3,JSON.stringify(jr(s)))}var a={};Ox("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(m,v){if(m){for(var C=Array(v.length),O=0;O<v.length;O++)Object.defineProperty(C,""+O,r(O,!0));return C}var R=Ch(v);delete R[Re];for(var F=oi(R),N=0;N<F.length;N++){var M=F[N];R[M]=r(M,m||!!R[M].enumerable)}return Object.create(Object.getPrototypeOf(v),R)}(d,s),g={i:d?5:4,A:l?l.A:ic(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Re,{value:g,writable:!0}),f},S:function(s,l,d){d?Er(l)&&l[Re].A===s&&e(s.p):(s.u&&function f(g){if(g&&typeof g=="object"){var m=g[Re];if(m){var v=m.t,C=m.k,O=m.R,R=m.i;if(R===4)Co(C,function(k){k!==Re&&(v[k]!==void 0||ri(v,k)?O[k]||f(C[k]):(O[k]=!0,Gr(m)))}),Co(v,function(k){C[k]!==void 0||ri(C,k)||(O[k]=!1,Gr(m))});else if(R===5){if(i(m)&&(Gr(m),O.length=!0),C.length<v.length)for(var F=C.length;F<v.length;F++)O[F]=!1;else for(var N=v.length;N<C.length;N++)O[N]=!0;for(var M=Math.min(C.length,v.length),L=0;L<M;L++)C.hasOwnProperty(L)||(O[L]=!0),O[L]===void 0&&f(C[L])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var mh,pn,fc,Rx,Ax,gh,Sh,yh,Re,Lx,oi,Ch,sc,un,dn,kx,Ot,Ix,sR,lR,cR,dR,pR,uR,oa,ia=p(()=>{fc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Rx=typeof Map<"u",Ax=typeof Set<"u",gh=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Sh=fc?Symbol.for("immer-nothing"):((mh={})["immer-nothing"]=!0,mh),yh=fc?Symbol.for("immer-draftable"):"__$immer_draftable",Re=fc?Symbol.for("immer-state"):"__$immer_state",Lx=""+Object.prototype.constructor,oi=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Ch=Object.getOwnPropertyDescriptors||function(r){var e={};return oi(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},sc={},un={get:function(r,e){if(e===Re)return r;var t=jr(r);if(!ri(t,e))return function(n,a,s){var l,d=fh(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!Ht(i)?i:i===rc(r.t,e)?(oc(r),r.o[e]=ac(r.A.h,i,r)):i},has:function(r,e){return e in jr(r)},ownKeys:function(r){return Reflect.ownKeys(jr(r))},set:function(r,e,t){var i=fh(jr(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=rc(jr(r),e),a=n?.[Re];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(vh(t,n)&&(t!==void 0||ri(r.t,e)))return!0;oc(r),Gr(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return rc(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,oc(r),Gr(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=jr(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){Lt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Lt(12)}},dn={};Co(un,function(r,e){dn[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),dn.deleteProperty=function(r,e){return dn.set.call(this,r,e,void 0)},dn.set=function(r,e,t){return un.set.call(this,r[0],e,t,r[0])};kx=function(){function r(t){var i=this;this.O=gh,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(R){var F=this;R===void 0&&(R=l);for(var N=arguments.length,M=Array(N>1?N-1:0),L=1;L<N;L++)M[L-1]=arguments[L];return d.produce(R,function(k){var A;return(A=a).call.apply(A,[F,k].concat(M))})}}var f;if(typeof a!="function"&&Lt(6),s!==void 0&&typeof s!="function"&&Lt(7),Ht(n)){var g=ph(i),m=ac(i,n,void 0),v=!0;try{f=a(m),v=!1}finally{v?ea(g):nc(g)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(R){return ec(g,s),tc(R,g)},function(R){throw ea(g),R}):(ec(g,s),tc(f,g))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Sh&&(f=void 0),i.D&&pc(f,!0),s){var C=[],O=[];tr("Patches").M(n,f,C,O),s(C,O)}return f}Lt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var g=arguments.length,m=Array(g>1?g-1:0),v=1;v<g;v++)m[v-1]=arguments[v];return i.produceWithPatches(f,function(C){return n.apply(void 0,[C].concat(m))})};var s,l,d=i.produce(n,a,function(f,g){s=f,l=g});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){Ht(t)||Lt(8),Er(t)&&(t=wx(t));var i=ph(this),n=ac(this,t,void 0);return n[Re].C=!0,nc(i),n},e.finishDraft=function(t,i){var n=t&&t[Re],a=n.A;return ec(a,i),tc(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!gh&&Lt(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=tr("Patches").$;return Er(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),Ot=new kx,Ix=Ot.produce,sR=Ot.produceWithPatches.bind(Ot),lR=Ot.setAutoFreeze.bind(Ot),cR=Ot.setUseProxies.bind(Ot),dR=Ot.applyPatches.bind(Ot),pR=Ot.createDraft.bind(Ot),uR=Ot.finishDraft.bind(Ot),oa=Ix});function Oo(r){"@babel/helpers - typeof";return Oo=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},Oo(r)}var hc=p(()=>{});function Oh(r,e){if(Oo(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(Oo(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var Eh=p(()=>{hc()});function wh(r){var e=Oh(r,"string");return Oo(e)=="symbol"?e:e+""}var Rh=p(()=>{hc();Eh()});function Ah(r,e,t){return(e=wh(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Lh=p(()=>{Rh()});function kh(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function mc(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?kh(Object(t),!0).forEach(function(i){Ah(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):kh(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}var Ih=p(()=>{Lh()});function Xe(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}function _x(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function yc(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Xe(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Xe(1));return t(yc)(r,e)}if(typeof r!="function")throw new Error(Xe(2));var n=r,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function g(){if(d)throw new Error(Xe(3));return a}function m(R){if(typeof R!="function")throw new Error(Xe(4));if(d)throw new Error(Xe(5));var F=!0;return f(),l.push(R),function(){if(F){if(d)throw new Error(Xe(6));F=!1,f();var M=l.indexOf(R);l.splice(M,1),s=null}}}function v(R){if(!_x(R))throw new Error(Xe(7));if(typeof R.type>"u")throw new Error(Xe(8));if(d)throw new Error(Xe(9));try{d=!0,a=n(a,R)}finally{d=!1}for(var F=s=l,N=0;N<F.length;N++){var M=F[N];M()}return R}function C(R){if(typeof R!="function")throw new Error(Xe(10));n=R,v({type:na.REPLACE})}function O(){var R,F=m;return R={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(Xe(11));function L(){M.next&&M.next(g())}L();var k=F(L);return{unsubscribe:k}}},R[_h]=function(){return this},R}return v({type:na.INIT}),i={dispatch:v,subscribe:m,getState:g,replaceReducer:C},i[_h]=O,i}function Tx(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:na.INIT});if(typeof i>"u")throw new Error(Xe(12));if(typeof t(void 0,{type:na.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Xe(13))})}function Th(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{Tx(t)}catch(d){l=d}return function(f,g){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var v=!1,C={},O=0;O<a.length;O++){var R=a[O],F=t[R],N=f[R],M=F(N,g);if(typeof M>"u"){var L=g&&g.type;throw new Error(Xe(14))}C[R]=M,v=v||M!==N}return v=v||a.length!==Object.keys(f).length,v?C:f}}function ni(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];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 $h(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Xe(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=ni.apply(void 0,l)(n.dispatch),mc(mc({},n),{},{dispatch:a})}}}var _h,gc,na,aa=p(()=>{Ih();_h=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),gc=function(){return Math.random().toString(36).substring(7).split("").join(".")},na={INIT:"@@redux/INIT"+gc(),REPLACE:"@@redux/REPLACE"+gc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+gc()}}});function Ph(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var Nh,bc,Fh=p(()=>{Nh=Ph();Nh.withExtraArgument=Ph;bc=Nh});function zx(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}function Cc(r){return Ht(r)?oa(r,function(){}):r}function Vx(r){return typeof r=="boolean"}function jx(){return function(e){return Gx(e)}}function Gx(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new Hx;if(t&&(Vx(t)?l.push(bc):l.push(bc.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var f}return l}function Hh(r){var e=jx(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,f=t.preloadedState,g=f===void 0?void 0:f,m=t.enhancers,v=m===void 0?void 0:m,C;if(typeof n=="function")C=n;else if(zx(n))C=Th(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 O=s;if(typeof O=="function"&&(O=O(e),!xc&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!xc&&O.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=$h.apply(void 0,O),F=ni;d&&(F=Ux(Kr({trace:!xc},typeof d=="object"&&d)));var N=new Wx(R),M=N;Array.isArray(v)?M=ai([R],v):typeof v=="function"&&(M=v(N));var L=F.apply(void 0,M);return yc(C,g,L)}function qr(r,e){function t(){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 Kr(Kr({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function Wh(r){var e={},t=[],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 t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function Kx(r){return typeof r=="function"}function qx(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?Wh(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(Kx(r))d=function(){return Cc(r())};else{var f=Cc(r);d=function(){return f}}function g(m,v){m===void 0&&(m=d());var C=ai([a[v.type]],s.filter(function(O){var R=O.matcher;return R(v)}).map(function(O){var R=O.reducer;return R}));return C.filter(function(O){return!!O}).length===0&&(C=[l]),C.reduce(function(O,R){if(R)if(Er(O)){var F=O,N=R(F,v);return N===void 0?O:N}else{if(Ht(O))return oa(O,function(M){return R(M,v)});var N=R(O,v);if(N===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return O},m)}return g.getInitialState=d,g}function Zx(r,e){return r+"/"+e}function Vh(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:Cc(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(g){var m=i[g],v=Zx(e,g),C,O;"reducer"in m?(C=m.reducer,O=m.prepare):C=m,a[g]=C,s[v]=C,l[g]=O?qr(v,O):qr(v)});function d(){var g=typeof r.extraReducers=="function"?Wh(r.extraReducers):[r.extraReducers],m=g[0],v=m===void 0?{}:m,C=g[1],O=C===void 0?[]:C,R=g[2],F=R===void 0?void 0:R,N=Kr(Kr({},v),s);return qx(t,function(M){for(var L in N)M.addCase(L,N[L]);for(var k=0,A=O;k<A.length;k++){var K=A[k];M.addMatcher(K.matcher,K.reducer)}F&&M.addDefaultCase(F)})}var f;return{name:e,reducer:function(g,m){return f||(f=d()),f(g,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}function e0(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function t0(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var zh,$x,ai,Px,Nx,Fx,Bh,Bx,Dx,Dh,Kr,vc,Mx,Ux,IR,Hx,Wx,xc,Yx,Qx,Xx,Sc,Mh,Jx,PR,jh,Gh,Kh,NR,FR,BR,DR,Oc,MR,UR,zR,Uh,HR,r0,WR,qh=p(()=>{ia();aa();aa();aa();Fh();ia();ia();zh=function(){var r=function(e,t){return r=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])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),$x=function(r,e){var t={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(f){return function(g){return d([f,g])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,n=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(r,t)}catch(g){f=[6,g],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ai=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},Px=Object.defineProperty,Nx=Object.defineProperties,Fx=Object.getOwnPropertyDescriptors,Bh=Object.getOwnPropertySymbols,Bx=Object.prototype.hasOwnProperty,Dx=Object.prototype.propertyIsEnumerable,Dh=function(r,e,t){return e in r?Px(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},Kr=function(r,e){for(var t in e||(e={}))Bx.call(e,t)&&Dh(r,t,e[t]);if(Bh)for(var i=0,n=Bh(e);i<n.length;i++){var t=n[i];Dx.call(e,t)&&Dh(r,t,e[t])}return r},vc=function(r,e){return Nx(r,Fx(e))},Mx=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(f){n(f)}},s=function(d){try{l(t.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})},Ux=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ni:ni.apply(null,arguments)},IR=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};Hx=function(r){zh(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||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 t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,ai([void 0],t.concat(this))))},e}(Array),Wx=function(r){zh(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||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 t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,ai([void 0],t.concat(this))))},e}(Array);xc=!0;Yx="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Qx=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=Yx[Math.random()*64|0];return e},Xx=["name","message","stack","code"],Sc=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Mh=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Jx=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=Xx;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},PR=function(){function r(e,t,i){var n=qr(e+"/fulfilled",function(g,m,v,C){return{payload:g,meta:vc(Kr({},C||{}),{arg:v,requestId:m,requestStatus:"fulfilled"})}}),a=qr(e+"/pending",function(g,m,v){return{payload:void 0,meta:vc(Kr({},v||{}),{arg:m,requestId:g,requestStatus:"pending"})}}),s=qr(e+"/rejected",function(g,m,v,C,O){return{payload:C,error:(i&&i.serializeError||Jx)(g||"Rejected"),meta:vc(Kr({},O||{}),{arg:v,requestId:m,rejectedWithValue:!!C,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function f(g){return function(m,v,C){var O=i?.idGenerator?i.idGenerator(g):Qx(),R=new d,F,N=!1;function M(k){F=k,R.abort()}var L=function(){return Mx(this,null,function(){var k,A,K,Z,oe,pe,j;return $x(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),Z=(k=i?.condition)==null?void 0:k.call(i,g,{getState:v,extra:C}),t0(Z)?[4,Z]:[3,2];case 1:Z=b.sent(),b.label=2;case 2:if(Z===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,oe=new Promise(function(w,G){return R.signal.addEventListener("abort",function(){return G({name:"AbortError",message:F||"Aborted"})})}),m(a(O,g,(A=i?.getPendingMeta)==null?void 0:A.call(i,{requestId:O,arg:g},{getState:v,extra:C}))),[4,Promise.race([oe,Promise.resolve(t(g,{dispatch:m,getState:v,extra:C,requestId:O,signal:R.signal,abort:M,rejectWithValue:function(w,G){return new Sc(w,G)},fulfillWithValue:function(w,G){return new Mh(w,G)}})).then(function(w){if(w instanceof Sc)throw w;return w instanceof Mh?n(w.payload,O,g,w.meta):n(w,O,g)})])];case 3:return K=b.sent(),[3,5];case 4:return pe=b.sent(),K=pe instanceof Sc?s(null,O,g,pe.payload,pe.meta):s(pe,O,g),[3,5];case 5:return j=i&&!i.dispatchConditionRejection&&s.match(K)&&K.meta.condition,j||m(K),[2,K]}})})}();return Object.assign(L,{abort:M,requestId:O,arg:g,unwrap:function(){return L.then(e0)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();jh="listener",Gh="completed",Kh="cancelled",NR="task-"+Kh,FR="task-"+Gh,BR=jh+"-"+Kh,DR=jh+"-"+Gh,Oc="listenerMiddleware",MR=qr(Oc+"/add"),UR=qr(Oc+"/removeAll"),zR=qr(Oc+"/remove"),HR=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Uh||(Uh=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},r0=function(r){return function(e){setTimeout(e,r)}},WR=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:r0(10);xh()});function o0(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))xo(e)&&e.clear()}var wr,Zh=p(()=>{"use strict";qh();Jn();Jl();ji();window.ftReduxStores||(window.ftReduxStores={});wr=class r extends br{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(xo(a))return a;if(n==null)return;let s=Vh({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Hh({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new r(s,l,n.eventBus)}constructor(e,t,i){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new ln;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,f=a[d];return f?(...g)=>{let m=f(...g.map(n));return this.reduxStore.dispatch(m),m}:g=>{this.setState({[d]:n(g)})}}}),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 si(r,e,t){return new sa(r,e,t).watch()}var sa,Yh=p(()=>{"use strict";Dr();sa=class{constructor(e,t,i){this.store=e,this.valueSelector=t,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),t=this.valueSelector(e);Br(this.lastValue,t)&&(this.callback(t,e),this.lastValue=t)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var Ec={};ie(Ec,{FtCommandQueue:()=>ln,FtLitElementRedux:()=>dt,FtReduxStore:()=>wr,ReduxWatcher:()=>sa,clearAllStores:()=>o0,isFtReduxStore:()=>xo,redux:()=>Oe,reduxEventListener:()=>xx,reduxReactive:()=>vx,watch:()=>si});var la=p(()=>{"use strict";ah();Jl();dh();Zh();Jn();Yh()});var Lc={};ie(Lc,{scrollHelper:()=>Ac});var wc,ca,Rc,Ac,kc=p(()=>{"use strict";Dr();ca=new Map,Rc=class{lock(e,t){if(t){let i=ca.get(t);if(i==null||i===e)return ca.set(t,e),t}}release(e,t){t&&ca.get(t)===e&&ca.delete(t)}findFirstScrollableParent(e){var t;let i,n;for(let a of Ms(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(t=i??n)!==null&&t!==void 0?t:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){var i,n;let a=0;for(;t&&t.offsetParent!==e.offsetParent;)a+=(i=t.offsetTop)!==null&&i!==void 0?i:0,t=t.offsetParent;return a+((n=t?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){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=ho(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.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=(wc=window.FluidTopicsScrollHelper)!==null&&wc!==void 0?wc:new Rc;Ac=window.FluidTopicsScrollHelper});var Xh=jb((Zr,Qh)=>{var da=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,pa=function(){function r(){this.fetch=!1,this.DOMException=da.DOMException}return r.prototype=da,new r}();(function(r){var e=function(t){var i=typeof r<"u"&&r||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(b){return b&&DataView.prototype.isPrototypeOf(b)}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(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function d(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function f(b){return typeof b!="string"&&(b=String(b)),b}function g(b){var w={next:function(){var G=b.shift();return{done:G===void 0,value:G}}};return n.iterable&&(w[Symbol.iterator]=function(){return w}),w}function m(b){this.map={},b instanceof m?b.forEach(function(w,G){this.append(G,w)},this):Array.isArray(b)?b.forEach(function(w){if(w.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+w.length);this.append(w[0],w[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(w){this.append(w,b[w])},this)}m.prototype.append=function(b,w){b=d(b),w=f(w);var G=this.map[b];this.map[b]=G?G+", "+w:w},m.prototype.delete=function(b){delete this.map[d(b)]},m.prototype.get=function(b){return b=d(b),this.has(b)?this.map[b]:null},m.prototype.has=function(b){return this.map.hasOwnProperty(d(b))},m.prototype.set=function(b,w){this.map[d(b)]=f(w)},m.prototype.forEach=function(b,w){for(var G in this.map)this.map.hasOwnProperty(G)&&b.call(w,this.map[G],G,this)},m.prototype.keys=function(){var b=[];return this.forEach(function(w,G){b.push(G)}),g(b)},m.prototype.values=function(){var b=[];return this.forEach(function(w){b.push(w)}),g(b)},m.prototype.entries=function(){var b=[];return this.forEach(function(w,G){b.push([G,w])}),g(b)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function v(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function C(b){return new Promise(function(w,G){b.onload=function(){w(b.result)},b.onerror=function(){G(b.error)}})}function O(b){var w=new FileReader,G=C(w);return w.readAsArrayBuffer(b),G}function R(b){var w=new FileReader,G=C(w),fe=/charset=([A-Za-z0-9_-]+)/.exec(b.type),Ce=fe?fe[1]:"utf-8";return w.readAsText(b,Ce),G}function F(b){for(var w=new Uint8Array(b),G=new Array(w.length),fe=0;fe<w.length;fe++)G[fe]=String.fromCharCode(w[fe]);return G.join("")}function N(b){if(b.slice)return b.slice(0);var w=new Uint8Array(b.byteLength);return w.set(new Uint8Array(b)),w.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&a(b)?(this._bodyArrayBuffer=N(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=N(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="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(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=v(this);if(b)return b;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 b=v(this);return b||(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(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=v(this);if(b)return b;if(this._bodyBlob)return R(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(F(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(K)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function k(b){var w=b.toUpperCase();return L.indexOf(w)>-1?w:b}function A(b,w){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');w=w||{};var G=w.body;if(b instanceof A){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,w.headers||(this.headers=new m(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!G&&b._bodyInit!=null&&(G=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=w.credentials||this.credentials||"same-origin",(w.headers||!this.headers)&&(this.headers=new m(w.headers)),this.method=k(w.method||this.method||"GET"),this.mode=w.mode||this.mode||null,this.signal=w.signal||this.signal||function(){if("AbortController"in i){var de=new AbortController;return de.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&G)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(G),(this.method==="GET"||this.method==="HEAD")&&(w.cache==="no-store"||w.cache==="no-cache")){var fe=/([?&])_=[^&]*/;if(fe.test(this.url))this.url=this.url.replace(fe,"$1_="+new Date().getTime());else{var Ce=/\?/;this.url+=(Ce.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})};function K(b){var w=new FormData;return b.trim().split("&").forEach(function(G){if(G){var fe=G.split("="),Ce=fe.shift().replace(/\+/g," "),de=fe.join("=").replace(/\+/g," ");w.append(decodeURIComponent(Ce),decodeURIComponent(de))}}),w}function Z(b){var w=new m,G=b.replace(/\r?\n[\t ]+/g," ");return G.split("\r").map(function(fe){return fe.indexOf(`
48
- `)===0?fe.substr(1,fe.length):fe}).forEach(function(fe){var Ce=fe.split(":"),de=Ce.shift().trim();if(de){var wn=Ce.join(":").trim();try{w.append(de,wn)}catch(os){console.warn("Response "+os.message)}}}),w}M.call(A.prototype);function oe(b,w){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(w||(w={}),this.type="default",this.status=w.status===void 0?200:w.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=w.statusText===void 0?"":""+w.statusText,this.headers=new m(w.headers),this.url=w.url||"",this._initBody(b)}M.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},oe.error=function(){var b=new oe(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var pe=[301,302,303,307,308];oe.redirect=function(b,w){if(pe.indexOf(w)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:w,headers:{location:b}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(w,G){this.message=w,this.name=G;var fe=Error(w);this.stack=fe.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function j(b,w){return new Promise(function(G,fe){var Ce=new A(b,w);if(Ce.signal&&Ce.signal.aborted)return fe(new t.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function wn(){de.abort()}de.onload=function(){var Ke={statusText:de.statusText,headers:Z(de.getAllResponseHeaders()||"")};Ce.url.indexOf("file://")===0&&(de.status<200||de.status>599)?Ke.status=200:Ke.status=de.status,Ke.url="responseURL"in de?de.responseURL:Ke.headers.get("X-Request-URL");var ao="response"in de?de.response:de.responseText;setTimeout(function(){G(new oe(ao,Ke))},0)},de.onerror=function(){setTimeout(function(){fe(new TypeError("Network request failed"))},0)},de.ontimeout=function(){setTimeout(function(){fe(new TypeError("Network request timed out"))},0)},de.onabort=function(){setTimeout(function(){fe(new t.DOMException("Aborted","AbortError"))},0)};function os(Ke){try{return Ke===""&&i.location.href?i.location.href:Ke}catch{return Ke}}if(de.open(Ce.method,os(Ce.url),!0),Ce.credentials==="include"?de.withCredentials=!0:Ce.credentials==="omit"&&(de.withCredentials=!1),"responseType"in de&&(n.blob?de.responseType="blob":n.arrayBuffer&&(de.responseType="arraybuffer")),w&&typeof w.headers=="object"&&!(w.headers instanceof m||i.Headers&&w.headers instanceof i.Headers)){var tu=[];Object.getOwnPropertyNames(w.headers).forEach(function(Ke){tu.push(d(Ke)),de.setRequestHeader(Ke,f(w.headers[Ke]))}),Ce.headers.forEach(function(Ke,ao){tu.indexOf(ao)===-1&&de.setRequestHeader(ao,Ke)})}else Ce.headers.forEach(function(Ke,ao){de.setRequestHeader(ao,Ke)});Ce.signal&&(Ce.signal.addEventListener("abort",wn),de.onreadystatechange=function(){de.readyState===4&&Ce.signal.removeEventListener("abort",wn)}),de.send(typeof Ce._bodyInit>"u"?null:Ce._bodyInit)})}return j.polyfill=!0,i.fetch||(i.fetch=j,i.Headers=m,i.Request=A,i.Response=oe),t.Headers=m,t.Request=A,t.Response=oe,t.fetch=j,t}({})})(pa);pa.fetch.ponyfill=!0;delete pa.fetch.polyfill;var li=da.fetch?da:pa;Zr=li.fetch;Zr.default=li.fetch;Zr.fetch=li.fetch;Zr.Headers=li.Headers;Zr.Request=li.Request;Zr.Response=li.Response;Qh.exports=Zr});var Ic=p(()=>{});var Jh,em,tm,ci,rm,om,Eo,im,nm,am,sm,lm,cm,dm,pm,um,wo,mm,fm,ua,hm,di,gm,kt,pi,Ue,Ro,_c=p(()=>{(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Jh||(Jh={}));(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(em||(em={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.MAP_ATTACHMENT="MAP_ATTACHMENT",r.RESOURCE="RESOURCE"})(tm||(tm={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.MAP_ATTACHMENT="MAP_ATTACHMENT",r.RESOURCE="RESOURCE"})(ci||(ci={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(rm||(rm={}));(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(om||(om={}));(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",r.GEN_AI__RATE="GEN_AI__RATE",r.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",r.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__DISPLAY="TOPIC__DISPLAY",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(Eo||(Eo={}));(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(im||(im={}));(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(nm||(nm={}));(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(am||(am={}));(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(sm||(sm={}));(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(lm||(lm={}));(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(cm||(cm={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(dm||(dm={}));(function(r){r.ASC="ASC",r.DESC="DESC"})(pm||(pm={}));(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(um||(um={}));(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(wo||(wo={}));mm=r=>Object.keys(wo).includes(r);(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(fm||(fm={}));(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(ua||(ua={}));(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(hm||(hm={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(di||(di={}));gm=r=>Object.keys(di).includes(r);(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(kt||(kt={}));(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(pi||(pi={}));(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(Ue||(Ue={}));(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(Ro||(Ro={}))});var ym,bm,vm,xm=p(()=>{(function(r){r.VALID="VALID",r.INVALID="INVALID"})(ym||(ym={}));(function(r){r.JSON="JSON",r.TEXT="TEXT"})(bm||(bm={}));(function(r){r.TEXT="TEXT",r.HTML="HTML"})(vm||(vm={}))});function Sm(r,e){return r===e||(i0[r]??[]).some(t=>Sm(t,e))}function Cm(r,e){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(i=>Sm(i,e))}var i0,Om=p(()=>{_c();i0={[Ue.PERSONAL_BOOK_SHARE_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.HTML_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.PDF_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.KHUB_ADMIN]:[Ue.CONTENT_PUBLISHER],[Ue.ADMIN]:[Ue.KHUB_ADMIN,Ue.USERS_ADMIN,Ue.PORTAL_ADMIN],[Ue.GENERATIVE_AI_EXPORT_USER]:[Ue.GENERATIVE_AI_USER]}});var Em=p(()=>{});var n0,Yr=p(()=>{n0=Kb(Xh(),1);Ic();_c();xm();Om();Em();Ic()});var Tc={};ie(Tc,{SearchPlaceConverter:()=>Qr,SearchPlaceQueryParams:()=>ve,isSearchPlaceQueryParams:()=>Rm,serializeRequest:()=>s0});function a0(r){return`"${r}"`}function wm(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function s0(r,e){return new Qr(r).serialize(e)}function Rm(r){return l0.has(r)}var ve,l0,Qr,$c=p(()=>{"use strict";Yr();Dr();(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(ve||(ve={}));l0=new Set(Object.values(ve));Qr=class{constructor(e,t={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=t,this.defaultPerPage=i,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=t==null||t.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,f,g,m,v,C,O;let R=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&R.append(ve.LOCALE,e.contentLocale):R.append(ve.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&R.append(ve.QUERY,e.query);let F=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(A=>A.valueFilter&&!A.valueFilter.negative))!==null&&a!==void 0?a:[];if(F.length>0){let A=F.map(K=>{var Z,oe;let pe=((oe=(Z=K.valueFilter)===null||Z===void 0?void 0:Z.values)!==null&&oe!==void 0?oe:[]).map(j=>this.escapeFilters(j)).map(j=>a0(wm(j))).join("_");return`${K.key}~${pe}`}).join("*");R.append(ve.VALUE_FILTERS,A)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(A=>A.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let A=N.map(K=>{var Z;return`${K.key}~${(Z=K.dateFilter)===null||Z===void 0?void 0:Z.type.toLowerCase()}`}).join("*");R.append(ve.DATE_FILTERS,A)}let M=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&f!==void 0?f:[];if(M.length>0){let A=M.map(K=>{var Z,oe;return`${K.key}~${(Z=K.rangeFilter)===null||Z===void 0?void 0:Z.from}_${(oe=K.rangeFilter)===null||oe===void 0?void 0:oe.to}`}).join("*");R.append(ve.RANGE_FILTERS,A)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&R.append(ve.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&R.append(ve.SCOPE,e.scope.toLowerCase()),((g=e.sort)===null||g===void 0?void 0:g.length)>0&&e.sort[0].key==="ft:lastEdition"&&R.append(ve.SORT,"last_update"),!((m=e.paging)===null||m===void 0)&&m.perPage&&((C=(v=e.paging)===null||v===void 0?void 0:v.perPage)!==null&&C!==void 0?C:this.defaultPerPage)!=this.defaultPerPage&&R.append(ve.PER_PAGE,String(e.paging.perPage));let L=(O=e.otherQueryParams)!==null&&O!==void 0?O:{};for(let A in L)R.append(A,L[A]);let k=new Array;return R.forEach((A,K)=>{k.push(this.encodeQueryString(K)+"="+this.encodeQueryString(A))}),encodeURI(k.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l,d,f;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let g=new URLSearchParams(e),m=g.get(ve.LOCALE)==="all"?void 0:g.get(ve.LOCALE),v=((t=g.get(ve.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),C=((i=g.get(ve.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),O=(n=g.get(ve.SCOPE))!==null&&n!==void 0?n:"default",R=+((a=g.get(ve.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),F={};for(let N of g.keys())Rm(N)||(F[N]=g.get(N));return{contentLocale:m??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=g.get(ve.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[O])!==null&&l!==void 0?l:"DEFAULT",virtualField:mm(v)?v:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[C])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(g),facets:[],paging:{page:1,perPage:ho(1,isNaN(R)?this.defaultPerPage:R,1e3)},otherQueryParams:F}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(ve.FILTERS)&&(d=this.parseValueFilters((t=e.get(ve.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(ve.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(ve.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ve.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ve.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ve.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(wm).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:di[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(gm(e))return[{key:"ft:lastEdition",dateFilter:{type:di[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}}});var Fc={};ie(Fc,{toFtFormComponent:()=>Nc});function Nc(r){class e extends r{static get formAssociated(){return!0}get form(){return this[Pc].form}constructor(...i){super(i),this[Pc]=this.attachInternals()}setFormValue(i){this[Pc].setFormValue(i)}}return e}var Pc,Bc=p(()=>{"use strict";Pc=Symbol("elementInternals")});var Dc={};ie(Dc,{DateFormatter:()=>ui});var ui,fa=p(()=>{"use strict";ui=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(i,n)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}}});var Uc={};ie(Uc,{ALL_KEYS_VALUE:()=>Mc,SameWindowStorageEvent:()=>fi});var Mc,fi,zc=p(()=>{"use strict";Mc="__all__",fi=class extends CustomEvent{constructor(e,t,i){super("same-window-storage",{detail:{key:e,oldValue:t,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Mc}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new fi(t[0],i,t[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new fi(t[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(r,e,t){Reflect.apply(r,e,t),window.dispatchEvent(new fi(Mc))}})});var Wc={};ie(Wc,{FocusMainContentEvent:()=>Hc});var Hc,Vc=p(()=>{"use strict";Hc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var Am={};function c0(r){(r.key==="Enter"||r.key===" "||r.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function d0(r){window.FluidTopicsA11yHints.isKeyboardNavigation=r.detail==0}var jc=p(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1};document.addEventListener("keydown",c0);document.addEventListener("click",d0)});var hi,Gc=p(()=>{"use strict";P();hi=I`
47
+ `});var nh={};var Yl=p(()=>{"use strict"});var Ql={};ie(Ql,{ParametrizedLabelResolver:()=>Wr});var Wr,Xl=p(()=>{"use strict";Wr=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)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,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}}});var yx,Oe,bx,ah=p(()=>{"use strict";Dr();Q();yx=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},Oe=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:Br,attribute:!1,...e};h(a)(t,i);let s=t.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})}},bx=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)}});var ln,Jl=p(()=>{"use strict";ln=class{constructor(){this.queue=[]}add(e,t=!1){t&&this.clear(e.type),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}clear(e){typeof e=="string"?this.queue=this.queue.filter(t=>t.type!==e):this.queue=this.queue.filter(t=>!e.test(t.type))}}});function ti(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Jn=p(()=>{"use strict"});function sh(r){var e,t,i;class n extends r{constructor(){super(...arguments),this[e]=new Map,this[t]=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[xo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xo].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[xo].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[xo].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[xo].delete(l)}setupStores(){this.unsubscribeFromStores(),this[xo].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 f=this.getStore(s.store);f&&(s.store?this[Vr].has(s.store):this[Vr].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[Vr].set(s,l.subscribe(()=>this.updateFromStores())),this[cn].set(s,[]),ti(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,g)=>{if(typeof this[g]=="function"&&(!f.store||l.name===f.store)){let m=v=>this[g](v);l.addEventListener(f.eventName,m),this[cn].get(s).push(()=>l.removeEventListener(f.eventName,m))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Vr].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Vr].has(s)&&this[Vr].get(s)(),this[Vr].delete(s),(l=this[cn].get(s))===null||l===void 0||l.forEach(d=>d()),this[cn].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Vr,t=xo,i=cn,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}var cn,Vr,xo,zt,lh=p(()=>{"use strict";rn();Jn();cn=Symbol("internalReduxEventsUnsubscribers"),Vr=Symbol("internalStoresUnsubscribers"),xo=Symbol("internalStores");zt=class extends sh(H){}});function At(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Er(r){return!!r&&!!r[Re]}function Ht(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Rx}(r)||Array.isArray(r)||!!r[mh]||!!(!((e=r.constructor)===null||e===void 0)&&e[mh])||lc(r)||cc(r))}function So(r,e,t){t===void 0&&(t=!1),ii(r)===0?(t?Object.keys:oi)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function ii(r){var e=r[Re];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:lc(r)?2:cc(r)?3:0}function ri(r,e){return ii(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function vx(r,e){return ii(r)===2?r.get(e):r[e]}function gh(r,e,t){var i=ii(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function yh(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function lc(r){return Ex&&r instanceof Map}function cc(r){return wx&&r instanceof Set}function jr(r){return r.o||r.t}function dc(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=xh(r);delete e[Re];for(var t=oi(e),i=0;i<t.length;i++){var n=t[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:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function pc(r,e){return e===void 0&&(e=!1),uc(r)||Er(r)||!Ht(r)||(ii(r)>1&&(r.set=r.add=r.clear=r.delete=xx),Object.freeze(r),e&&So(r,function(t,i){return pc(i,!0)},!0)),r}function xx(){At(2)}function uc(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function tr(r){var e=sc[r];return e||At(18,r),e}function Sx(r,e){sc[r]||(sc[r]=e)}function ic(){return pn}function ec(r,e){e&&(tr("Patches"),r.u=[],r.s=[],r.v=e)}function ea(r){nc(r),r.p.forEach(Cx),r.p=null}function nc(r){r===pn&&(pn=r.l)}function ch(r){return pn={p:[],l:pn,h:r,m:!0,_:0}}function Cx(r){var e=r[Re];e.i===0||e.i===1?e.j():e.g=!0}function tc(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||tr("ES5").S(e,r,i),i?(t[Re].P&&(ea(e),At(4)),Ht(r)&&(r=ta(e,r),e.l||ra(e,r)),e.u&&tr("Patches").M(t[Re].t,r,e.u,e.s)):r=ta(e,t,[]),ea(e),e.u&&e.v(e.u,e.s),r!==vh?r:void 0}function ta(r,e,t){if(uc(e))return e;var i=e[Re];if(!i)return So(e,function(l,d){return dh(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return ra(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=dc(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),So(a,function(l,d){return dh(r,i,n,l,d,t,s)}),ra(r,n,!1),t&&r.u&&tr("Patches").N(i,t,r.u,r.s)}return i.o}function dh(r,e,t,i,n,a,s){if(Er(n)){var l=ta(r,n,a&&e&&e.i!==3&&!ri(e.R,i)?a.concat(i):void 0);if(gh(t,i,l),!Er(l))return;r.m=!1}else s&&t.add(n);if(Ht(n)&&!uc(n)){if(!r.h.D&&r._<1)return;ta(r,n),e&&e.A.l||ra(r,n)}}function ra(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&pc(e,t)}function rc(r,e){var t=r[Re];return(t?jr(t):r)[e]}function ph(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function Gr(r){r.P||(r.P=!0,r.l&&Gr(r.l))}function oc(r){r.o||(r.o=dc(r.t))}function ac(r,e,t){var i=lc(e)?tr("MapSet").F(e,t):cc(e)?tr("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:ic(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=un;s&&(d=[l],f=dn);var g=Proxy.revocable(d,f),m=g.revoke,v=g.proxy;return l.k=v,l.j=m,v}(e,t):tr("ES5").J(e,t);return(t?t.A:ic()).p.push(i),i}function Ox(r){return Er(r)||At(22,r),function e(t){if(!Ht(t))return t;var i,n=t[Re],a=ii(t);if(n){if(!n.P&&(n.i<4||!tr("ES5").K(n)))return n.t;n.I=!0,i=uh(t,a),n.I=!1}else i=uh(t,a);return So(i,function(s,l){n&&vx(n.t,s)===l||gh(i,s,e(l))}),a===3?new Set(i):i}(r)}function uh(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return dc(r)}function bh(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[Re];return un.get(f,s)},set:function(f){var g=this[Re];un.set(g,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Re];if(!d.P)switch(d.i){case 5:i(d)&&Gr(d);break;case 4:t(d)&&Gr(d)}}}function t(s){for(var l=s.t,d=s.k,f=oi(d),g=f.length-1;g>=0;g--){var m=f[g];if(m!==Re){var v=l[m];if(v===void 0&&!ri(l,m))return!0;var C=d[m],O=C&&C[Re];if(O?O.t!==v:!yh(C,v))return!0}}var R=!!l[Re];return f.length!==oi(l).length+(R?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 f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&At(3,JSON.stringify(jr(s)))}var a={};Sx("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(m,v){if(m){for(var C=Array(v.length),O=0;O<v.length;O++)Object.defineProperty(C,""+O,r(O,!0));return C}var R=xh(v);delete R[Re];for(var F=oi(R),N=0;N<F.length;N++){var M=F[N];R[M]=r(M,m||!!R[M].enumerable)}return Object.create(Object.getPrototypeOf(v),R)}(d,s),g={i:d?5:4,A:l?l.A:ic(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Re,{value:g,writable:!0}),f},S:function(s,l,d){d?Er(l)&&l[Re].A===s&&e(s.p):(s.u&&function f(g){if(g&&typeof g=="object"){var m=g[Re];if(m){var v=m.t,C=m.k,O=m.R,R=m.i;if(R===4)So(C,function(k){k!==Re&&(v[k]!==void 0||ri(v,k)?O[k]||f(C[k]):(O[k]=!0,Gr(m)))}),So(v,function(k){C[k]!==void 0||ri(C,k)||(O[k]=!1,Gr(m))});else if(R===5){if(i(m)&&(Gr(m),O.length=!0),C.length<v.length)for(var F=C.length;F<v.length;F++)O[F]=!1;else for(var N=v.length;N<C.length;N++)O[N]=!0;for(var M=Math.min(C.length,v.length),L=0;L<M;L++)C.hasOwnProperty(L)||(O[L]=!0),O[L]===void 0&&f(C[L])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var fh,pn,fc,Ex,wx,hh,vh,mh,Re,Rx,oi,xh,sc,un,dn,Ax,Ct,Lx,nR,aR,sR,lR,cR,dR,oa,ia=p(()=>{fc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ex=typeof Map<"u",wx=typeof Set<"u",hh=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",vh=fc?Symbol.for("immer-nothing"):((fh={})["immer-nothing"]=!0,fh),mh=fc?Symbol.for("immer-draftable"):"__$immer_draftable",Re=fc?Symbol.for("immer-state"):"__$immer_state",Rx=""+Object.prototype.constructor,oi=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,xh=Object.getOwnPropertyDescriptors||function(r){var e={};return oi(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},sc={},un={get:function(r,e){if(e===Re)return r;var t=jr(r);if(!ri(t,e))return function(n,a,s){var l,d=ph(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!Ht(i)?i:i===rc(r.t,e)?(oc(r),r.o[e]=ac(r.A.h,i,r)):i},has:function(r,e){return e in jr(r)},ownKeys:function(r){return Reflect.ownKeys(jr(r))},set:function(r,e,t){var i=ph(jr(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=rc(jr(r),e),a=n?.[Re];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(yh(t,n)&&(t!==void 0||ri(r.t,e)))return!0;oc(r),Gr(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return rc(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,oc(r),Gr(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=jr(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){At(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){At(12)}},dn={};So(un,function(r,e){dn[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),dn.deleteProperty=function(r,e){return dn.set.call(this,r,e,void 0)},dn.set=function(r,e,t){return un.set.call(this,r[0],e,t,r[0])};Ax=function(){function r(t){var i=this;this.O=hh,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(R){var F=this;R===void 0&&(R=l);for(var N=arguments.length,M=Array(N>1?N-1:0),L=1;L<N;L++)M[L-1]=arguments[L];return d.produce(R,function(k){var A;return(A=a).call.apply(A,[F,k].concat(M))})}}var f;if(typeof a!="function"&&At(6),s!==void 0&&typeof s!="function"&&At(7),Ht(n)){var g=ch(i),m=ac(i,n,void 0),v=!0;try{f=a(m),v=!1}finally{v?ea(g):nc(g)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(R){return ec(g,s),tc(R,g)},function(R){throw ea(g),R}):(ec(g,s),tc(f,g))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===vh&&(f=void 0),i.D&&pc(f,!0),s){var C=[],O=[];tr("Patches").M(n,f,C,O),s(C,O)}return f}At(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var g=arguments.length,m=Array(g>1?g-1:0),v=1;v<g;v++)m[v-1]=arguments[v];return i.produceWithPatches(f,function(C){return n.apply(void 0,[C].concat(m))})};var s,l,d=i.produce(n,a,function(f,g){s=f,l=g});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){Ht(t)||At(8),Er(t)&&(t=Ox(t));var i=ch(this),n=ac(this,t,void 0);return n[Re].C=!0,nc(i),n},e.finishDraft=function(t,i){var n=t&&t[Re],a=n.A;return ec(a,i),tc(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!hh&&At(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=tr("Patches").$;return Er(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),Ct=new Ax,Lx=Ct.produce,nR=Ct.produceWithPatches.bind(Ct),aR=Ct.setAutoFreeze.bind(Ct),sR=Ct.setUseProxies.bind(Ct),lR=Ct.applyPatches.bind(Ct),cR=Ct.createDraft.bind(Ct),dR=Ct.finishDraft.bind(Ct),oa=Lx});function Co(r){"@babel/helpers - typeof";return Co=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},Co(r)}var hc=p(()=>{});function Sh(r,e){if(Co(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(Co(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var Ch=p(()=>{hc()});function Oh(r){var e=Sh(r,"string");return Co(e)=="symbol"?e:e+""}var Eh=p(()=>{hc();Ch()});function wh(r,e,t){return(e=Oh(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Rh=p(()=>{Eh()});function Ah(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function mc(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ah(Object(t),!0).forEach(function(i){wh(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ah(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}var Lh=p(()=>{Rh()});function Xe(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}function kx(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function yc(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Xe(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Xe(1));return t(yc)(r,e)}if(typeof r!="function")throw new Error(Xe(2));var n=r,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function g(){if(d)throw new Error(Xe(3));return a}function m(R){if(typeof R!="function")throw new Error(Xe(4));if(d)throw new Error(Xe(5));var F=!0;return f(),l.push(R),function(){if(F){if(d)throw new Error(Xe(6));F=!1,f();var M=l.indexOf(R);l.splice(M,1),s=null}}}function v(R){if(!kx(R))throw new Error(Xe(7));if(typeof R.type>"u")throw new Error(Xe(8));if(d)throw new Error(Xe(9));try{d=!0,a=n(a,R)}finally{d=!1}for(var F=s=l,N=0;N<F.length;N++){var M=F[N];M()}return R}function C(R){if(typeof R!="function")throw new Error(Xe(10));n=R,v({type:na.REPLACE})}function O(){var R,F=m;return R={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(Xe(11));function L(){M.next&&M.next(g())}L();var k=F(L);return{unsubscribe:k}}},R[kh]=function(){return this},R}return v({type:na.INIT}),i={dispatch:v,subscribe:m,getState:g,replaceReducer:C},i[kh]=O,i}function Ix(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:na.INIT});if(typeof i>"u")throw new Error(Xe(12));if(typeof t(void 0,{type:na.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Xe(13))})}function Ih(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{Ix(t)}catch(d){l=d}return function(f,g){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var v=!1,C={},O=0;O<a.length;O++){var R=a[O],F=t[R],N=f[R],M=F(N,g);if(typeof M>"u"){var L=g&&g.type;throw new Error(Xe(14))}C[R]=M,v=v||M!==N}return v=v||a.length!==Object.keys(f).length,v?C:f}}function ni(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];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 _h(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Xe(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=ni.apply(void 0,l)(n.dispatch),mc(mc({},n),{},{dispatch:a})}}}var kh,gc,na,aa=p(()=>{Lh();kh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),gc=function(){return Math.random().toString(36).substring(7).split("").join(".")},na={INIT:"@@redux/INIT"+gc(),REPLACE:"@@redux/REPLACE"+gc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+gc()}}});function Th(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var $h,bc,Ph=p(()=>{$h=Th();$h.withExtraArgument=Th;bc=$h});function Mx(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}function Cc(r){return Ht(r)?oa(r,function(){}):r}function Hx(r){return typeof r=="boolean"}function Wx(){return function(e){return Vx(e)}}function Vx(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new Ux;if(t&&(Hx(t)?l.push(bc):l.push(bc.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var f}return l}function Uh(r){var e=Wx(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,f=t.preloadedState,g=f===void 0?void 0:f,m=t.enhancers,v=m===void 0?void 0:m,C;if(typeof n=="function")C=n;else if(Mx(n))C=Ih(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 O=s;if(typeof O=="function"&&(O=O(e),!xc&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!xc&&O.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=_h.apply(void 0,O),F=ni;d&&(F=Dx(Kr({trace:!xc},typeof d=="object"&&d)));var N=new zx(R),M=N;Array.isArray(v)?M=ai([R],v):typeof v=="function"&&(M=v(N));var L=F.apply(void 0,M);return yc(C,g,L)}function qr(r,e){function t(){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 Kr(Kr({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function zh(r){var e={},t=[],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 t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function jx(r){return typeof r=="function"}function Gx(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?zh(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(jx(r))d=function(){return Cc(r())};else{var f=Cc(r);d=function(){return f}}function g(m,v){m===void 0&&(m=d());var C=ai([a[v.type]],s.filter(function(O){var R=O.matcher;return R(v)}).map(function(O){var R=O.reducer;return R}));return C.filter(function(O){return!!O}).length===0&&(C=[l]),C.reduce(function(O,R){if(R)if(Er(O)){var F=O,N=R(F,v);return N===void 0?O:N}else{if(Ht(O))return oa(O,function(M){return R(M,v)});var N=R(O,v);if(N===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return O},m)}return g.getInitialState=d,g}function Kx(r,e){return r+"/"+e}function Hh(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:Cc(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(g){var m=i[g],v=Kx(e,g),C,O;"reducer"in m?(C=m.reducer,O=m.prepare):C=m,a[g]=C,s[v]=C,l[g]=O?qr(v,O):qr(v)});function d(){var g=typeof r.extraReducers=="function"?zh(r.extraReducers):[r.extraReducers],m=g[0],v=m===void 0?{}:m,C=g[1],O=C===void 0?[]:C,R=g[2],F=R===void 0?void 0:R,N=Kr(Kr({},v),s);return Gx(t,function(M){for(var L in N)M.addCase(L,N[L]);for(var k=0,A=O;k<A.length;k++){var K=A[k];M.addMatcher(K.matcher,K.reducer)}F&&M.addDefaultCase(F)})}var f;return{name:e,reducer:function(g,m){return f||(f=d()),f(g,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}function Xx(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Jx(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Mh,_x,ai,Tx,$x,Px,Nh,Nx,Fx,Fh,Kr,vc,Bx,Dx,LR,Ux,zx,xc,qx,Zx,Yx,Sc,Bh,Qx,TR,Wh,Vh,jh,$R,PR,NR,FR,Oc,BR,DR,MR,Dh,UR,e0,zR,Gh=p(()=>{ia();aa();aa();aa();Ph();ia();ia();Mh=function(){var r=function(e,t){return r=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])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),_x=function(r,e){var t={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(f){return function(g){return d([f,g])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,n=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(r,t)}catch(g){f=[6,g],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ai=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},Tx=Object.defineProperty,$x=Object.defineProperties,Px=Object.getOwnPropertyDescriptors,Nh=Object.getOwnPropertySymbols,Nx=Object.prototype.hasOwnProperty,Fx=Object.prototype.propertyIsEnumerable,Fh=function(r,e,t){return e in r?Tx(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},Kr=function(r,e){for(var t in e||(e={}))Nx.call(e,t)&&Fh(r,t,e[t]);if(Nh)for(var i=0,n=Nh(e);i<n.length;i++){var t=n[i];Fx.call(e,t)&&Fh(r,t,e[t])}return r},vc=function(r,e){return $x(r,Px(e))},Bx=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(f){n(f)}},s=function(d){try{l(t.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})},Dx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ni:ni.apply(null,arguments)},LR=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};Ux=function(r){Mh(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||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 t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,ai([void 0],t.concat(this))))},e}(Array),zx=function(r){Mh(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||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 t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,ai([void 0],t.concat(this))))},e}(Array);xc=!0;qx="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Zx=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=qx[Math.random()*64|0];return e},Yx=["name","message","stack","code"],Sc=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Bh=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Qx=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=Yx;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},TR=function(){function r(e,t,i){var n=qr(e+"/fulfilled",function(g,m,v,C){return{payload:g,meta:vc(Kr({},C||{}),{arg:v,requestId:m,requestStatus:"fulfilled"})}}),a=qr(e+"/pending",function(g,m,v){return{payload:void 0,meta:vc(Kr({},v||{}),{arg:m,requestId:g,requestStatus:"pending"})}}),s=qr(e+"/rejected",function(g,m,v,C,O){return{payload:C,error:(i&&i.serializeError||Qx)(g||"Rejected"),meta:vc(Kr({},O||{}),{arg:v,requestId:m,rejectedWithValue:!!C,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function f(g){return function(m,v,C){var O=i?.idGenerator?i.idGenerator(g):Zx(),R=new d,F,N=!1;function M(k){F=k,R.abort()}var L=function(){return Bx(this,null,function(){var k,A,K,Z,oe,pe,j;return _x(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),Z=(k=i?.condition)==null?void 0:k.call(i,g,{getState:v,extra:C}),Jx(Z)?[4,Z]:[3,2];case 1:Z=b.sent(),b.label=2;case 2:if(Z===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,oe=new Promise(function(w,G){return R.signal.addEventListener("abort",function(){return G({name:"AbortError",message:F||"Aborted"})})}),m(a(O,g,(A=i?.getPendingMeta)==null?void 0:A.call(i,{requestId:O,arg:g},{getState:v,extra:C}))),[4,Promise.race([oe,Promise.resolve(t(g,{dispatch:m,getState:v,extra:C,requestId:O,signal:R.signal,abort:M,rejectWithValue:function(w,G){return new Sc(w,G)},fulfillWithValue:function(w,G){return new Bh(w,G)}})).then(function(w){if(w instanceof Sc)throw w;return w instanceof Bh?n(w.payload,O,g,w.meta):n(w,O,g)})])];case 3:return K=b.sent(),[3,5];case 4:return pe=b.sent(),K=pe instanceof Sc?s(null,O,g,pe.payload,pe.meta):s(pe,O,g),[3,5];case 5:return j=i&&!i.dispatchConditionRejection&&s.match(K)&&K.meta.condition,j||m(K),[2,K]}})})}();return Object.assign(L,{abort:M,requestId:O,arg:g,unwrap:function(){return L.then(Xx)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();Wh="listener",Vh="completed",jh="cancelled",$R="task-"+jh,PR="task-"+Vh,NR=Wh+"-"+jh,FR=Wh+"-"+Vh,Oc="listenerMiddleware",BR=qr(Oc+"/add"),DR=qr(Oc+"/removeAll"),MR=qr(Oc+"/remove"),UR=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Dh||(Dh=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},e0=function(r){return function(e){setTimeout(e,r)}},zR=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:e0(10);bh()});function t0(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))ti(e)&&e.clear()}var wr,Kh=p(()=>{"use strict";Gh();Jn();Jl();ji();window.ftReduxStores||(window.ftReduxStores={});wr=class r extends br{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(ti(a))return a;if(n==null)return;let s=Hh({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Uh({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new r(s,l,n.eventBus)}constructor(e,t,i){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new ln;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,f=a[d];return f?(...g)=>{let m=f(...g.map(n));return this.reduxStore.dispatch(m),m}:g=>{this.setState({[d]:n(g)})}}}),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 si(r,e,t){return new sa(r,e,t).watch()}var sa,qh=p(()=>{"use strict";Dr();sa=class{constructor(e,t,i){this.store=e,this.valueSelector=t,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),t=this.valueSelector(e);Br(this.lastValue,t)&&(this.callback(t,e),this.lastValue=t)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var Ec={};ie(Ec,{FtCommandQueue:()=>ln,FtLitElementRedux:()=>zt,FtReduxStore:()=>wr,ReduxWatcher:()=>sa,clearAllStores:()=>t0,isFtReduxStore:()=>ti,redux:()=>Oe,reduxEventListener:()=>bx,reduxReactive:()=>yx,watch:()=>si,withRedux:()=>sh});var la=p(()=>{"use strict";ah();Jl();lh();Kh();Jn();qh()});var Lc={};ie(Lc,{scrollHelper:()=>Ac});var wc,ca,Rc,Ac,kc=p(()=>{"use strict";Dr();ca=new Map,Rc=class{lock(e,t){if(t){let i=ca.get(t);if(i==null||i===e)return ca.set(t,e),t}}release(e,t){t&&ca.get(t)===e&&ca.delete(t)}findFirstScrollableParent(e){var t;let i,n;for(let a of Ms(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(t=i??n)!==null&&t!==void 0?t:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){var i,n;let a=0;for(;t&&t.offsetParent!==e.offsetParent;)a+=(i=t.offsetTop)!==null&&i!==void 0?i:0,t=t.offsetParent;return a+((n=t?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){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=ho(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.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=(wc=window.FluidTopicsScrollHelper)!==null&&wc!==void 0?wc:new Rc;Ac=window.FluidTopicsScrollHelper});var Yh=Wb((Zr,Zh)=>{var da=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,pa=function(){function r(){this.fetch=!1,this.DOMException=da.DOMException}return r.prototype=da,new r}();(function(r){var e=function(t){var i=typeof r<"u"&&r||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(b){return b&&DataView.prototype.isPrototypeOf(b)}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(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function d(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function f(b){return typeof b!="string"&&(b=String(b)),b}function g(b){var w={next:function(){var G=b.shift();return{done:G===void 0,value:G}}};return n.iterable&&(w[Symbol.iterator]=function(){return w}),w}function m(b){this.map={},b instanceof m?b.forEach(function(w,G){this.append(G,w)},this):Array.isArray(b)?b.forEach(function(w){if(w.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+w.length);this.append(w[0],w[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(w){this.append(w,b[w])},this)}m.prototype.append=function(b,w){b=d(b),w=f(w);var G=this.map[b];this.map[b]=G?G+", "+w:w},m.prototype.delete=function(b){delete this.map[d(b)]},m.prototype.get=function(b){return b=d(b),this.has(b)?this.map[b]:null},m.prototype.has=function(b){return this.map.hasOwnProperty(d(b))},m.prototype.set=function(b,w){this.map[d(b)]=f(w)},m.prototype.forEach=function(b,w){for(var G in this.map)this.map.hasOwnProperty(G)&&b.call(w,this.map[G],G,this)},m.prototype.keys=function(){var b=[];return this.forEach(function(w,G){b.push(G)}),g(b)},m.prototype.values=function(){var b=[];return this.forEach(function(w){b.push(w)}),g(b)},m.prototype.entries=function(){var b=[];return this.forEach(function(w,G){b.push([G,w])}),g(b)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function v(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function C(b){return new Promise(function(w,G){b.onload=function(){w(b.result)},b.onerror=function(){G(b.error)}})}function O(b){var w=new FileReader,G=C(w);return w.readAsArrayBuffer(b),G}function R(b){var w=new FileReader,G=C(w),fe=/charset=([A-Za-z0-9_-]+)/.exec(b.type),Ce=fe?fe[1]:"utf-8";return w.readAsText(b,Ce),G}function F(b){for(var w=new Uint8Array(b),G=new Array(w.length),fe=0;fe<w.length;fe++)G[fe]=String.fromCharCode(w[fe]);return G.join("")}function N(b){if(b.slice)return b.slice(0);var w=new Uint8Array(b.byteLength);return w.set(new Uint8Array(b)),w.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&a(b)?(this._bodyArrayBuffer=N(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=N(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="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(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=v(this);if(b)return b;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 b=v(this);return b||(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(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=v(this);if(b)return b;if(this._bodyBlob)return R(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(F(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(K)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function k(b){var w=b.toUpperCase();return L.indexOf(w)>-1?w:b}function A(b,w){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');w=w||{};var G=w.body;if(b instanceof A){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,w.headers||(this.headers=new m(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!G&&b._bodyInit!=null&&(G=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=w.credentials||this.credentials||"same-origin",(w.headers||!this.headers)&&(this.headers=new m(w.headers)),this.method=k(w.method||this.method||"GET"),this.mode=w.mode||this.mode||null,this.signal=w.signal||this.signal||function(){if("AbortController"in i){var de=new AbortController;return de.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&G)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(G),(this.method==="GET"||this.method==="HEAD")&&(w.cache==="no-store"||w.cache==="no-cache")){var fe=/([?&])_=[^&]*/;if(fe.test(this.url))this.url=this.url.replace(fe,"$1_="+new Date().getTime());else{var Ce=/\?/;this.url+=(Ce.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})};function K(b){var w=new FormData;return b.trim().split("&").forEach(function(G){if(G){var fe=G.split("="),Ce=fe.shift().replace(/\+/g," "),de=fe.join("=").replace(/\+/g," ");w.append(decodeURIComponent(Ce),decodeURIComponent(de))}}),w}function Z(b){var w=new m,G=b.replace(/\r?\n[\t ]+/g," ");return G.split("\r").map(function(fe){return fe.indexOf(`
48
+ `)===0?fe.substr(1,fe.length):fe}).forEach(function(fe){var Ce=fe.split(":"),de=Ce.shift().trim();if(de){var wn=Ce.join(":").trim();try{w.append(de,wn)}catch(os){console.warn("Response "+os.message)}}}),w}M.call(A.prototype);function oe(b,w){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(w||(w={}),this.type="default",this.status=w.status===void 0?200:w.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=w.statusText===void 0?"":""+w.statusText,this.headers=new m(w.headers),this.url=w.url||"",this._initBody(b)}M.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},oe.error=function(){var b=new oe(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var pe=[301,302,303,307,308];oe.redirect=function(b,w){if(pe.indexOf(w)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:w,headers:{location:b}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(w,G){this.message=w,this.name=G;var fe=Error(w);this.stack=fe.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function j(b,w){return new Promise(function(G,fe){var Ce=new A(b,w);if(Ce.signal&&Ce.signal.aborted)return fe(new t.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function wn(){de.abort()}de.onload=function(){var Ke={statusText:de.statusText,headers:Z(de.getAllResponseHeaders()||"")};Ce.url.indexOf("file://")===0&&(de.status<200||de.status>599)?Ke.status=200:Ke.status=de.status,Ke.url="responseURL"in de?de.responseURL:Ke.headers.get("X-Request-URL");var ao="response"in de?de.response:de.responseText;setTimeout(function(){G(new oe(ao,Ke))},0)},de.onerror=function(){setTimeout(function(){fe(new TypeError("Network request failed"))},0)},de.ontimeout=function(){setTimeout(function(){fe(new TypeError("Network request timed out"))},0)},de.onabort=function(){setTimeout(function(){fe(new t.DOMException("Aborted","AbortError"))},0)};function os(Ke){try{return Ke===""&&i.location.href?i.location.href:Ke}catch{return Ke}}if(de.open(Ce.method,os(Ce.url),!0),Ce.credentials==="include"?de.withCredentials=!0:Ce.credentials==="omit"&&(de.withCredentials=!1),"responseType"in de&&(n.blob?de.responseType="blob":n.arrayBuffer&&(de.responseType="arraybuffer")),w&&typeof w.headers=="object"&&!(w.headers instanceof m||i.Headers&&w.headers instanceof i.Headers)){var tu=[];Object.getOwnPropertyNames(w.headers).forEach(function(Ke){tu.push(d(Ke)),de.setRequestHeader(Ke,f(w.headers[Ke]))}),Ce.headers.forEach(function(Ke,ao){tu.indexOf(ao)===-1&&de.setRequestHeader(ao,Ke)})}else Ce.headers.forEach(function(Ke,ao){de.setRequestHeader(ao,Ke)});Ce.signal&&(Ce.signal.addEventListener("abort",wn),de.onreadystatechange=function(){de.readyState===4&&Ce.signal.removeEventListener("abort",wn)}),de.send(typeof Ce._bodyInit>"u"?null:Ce._bodyInit)})}return j.polyfill=!0,i.fetch||(i.fetch=j,i.Headers=m,i.Request=A,i.Response=oe),t.Headers=m,t.Request=A,t.Response=oe,t.fetch=j,t}({})})(pa);pa.fetch.ponyfill=!0;delete pa.fetch.polyfill;var li=da.fetch?da:pa;Zr=li.fetch;Zr.default=li.fetch;Zr.fetch=li.fetch;Zr.Headers=li.Headers;Zr.Request=li.Request;Zr.Response=li.Response;Zh.exports=Zr});var Ic=p(()=>{});var Qh,Xh,Jh,ci,em,tm,Oo,rm,om,im,nm,am,sm,lm,cm,dm,Eo,fm,pm,ua,um,di,hm,Lt,pi,Ue,wo,_c=p(()=>{(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Qh||(Qh={}));(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Xh||(Xh={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.MAP_ATTACHMENT="MAP_ATTACHMENT",r.RESOURCE="RESOURCE"})(Jh||(Jh={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.MAP_ATTACHMENT="MAP_ATTACHMENT",r.RESOURCE="RESOURCE"})(ci||(ci={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(em||(em={}));(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(tm||(tm={}));(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",r.GEN_AI__RATE="GEN_AI__RATE",r.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",r.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__DISPLAY="TOPIC__DISPLAY",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(Oo||(Oo={}));(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(rm||(rm={}));(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(om||(om={}));(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(im||(im={}));(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(nm||(nm={}));(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(am||(am={}));(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(sm||(sm={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(lm||(lm={}));(function(r){r.ASC="ASC",r.DESC="DESC"})(cm||(cm={}));(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(dm||(dm={}));(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Eo||(Eo={}));fm=r=>Object.keys(Eo).includes(r);(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(pm||(pm={}));(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(ua||(ua={}));(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(um||(um={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(di||(di={}));hm=r=>Object.keys(di).includes(r);(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Lt||(Lt={}));(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(pi||(pi={}));(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(Ue||(Ue={}));(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(wo||(wo={}))});var mm,gm,ym,bm=p(()=>{(function(r){r.VALID="VALID",r.INVALID="INVALID"})(mm||(mm={}));(function(r){r.JSON="JSON",r.TEXT="TEXT"})(gm||(gm={}));(function(r){r.TEXT="TEXT",r.HTML="HTML"})(ym||(ym={}))});function vm(r,e){return r===e||(r0[r]??[]).some(t=>vm(t,e))}function xm(r,e){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(i=>vm(i,e))}var r0,Sm=p(()=>{_c();r0={[Ue.PERSONAL_BOOK_SHARE_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.HTML_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.PDF_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.KHUB_ADMIN]:[Ue.CONTENT_PUBLISHER],[Ue.ADMIN]:[Ue.KHUB_ADMIN,Ue.USERS_ADMIN,Ue.PORTAL_ADMIN],[Ue.GENERATIVE_AI_EXPORT_USER]:[Ue.GENERATIVE_AI_USER]}});var Cm=p(()=>{});var o0,Yr=p(()=>{o0=jb(Yh(),1);Ic();_c();bm();Sm();Cm();Ic()});var Tc={};ie(Tc,{SearchPlaceConverter:()=>Qr,SearchPlaceQueryParams:()=>ve,isSearchPlaceQueryParams:()=>Em,serializeRequest:()=>n0});function i0(r){return`"${r}"`}function Om(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function n0(r,e){return new Qr(r).serialize(e)}function Em(r){return a0.has(r)}var ve,a0,Qr,$c=p(()=>{"use strict";Yr();Dr();(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(ve||(ve={}));a0=new Set(Object.values(ve));Qr=class{constructor(e,t={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=t,this.defaultPerPage=i,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=t==null||t.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,f,g,m,v,C,O;let R=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&R.append(ve.LOCALE,e.contentLocale):R.append(ve.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&R.append(ve.QUERY,e.query);let F=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(A=>A.valueFilter&&!A.valueFilter.negative))!==null&&a!==void 0?a:[];if(F.length>0){let A=F.map(K=>{var Z,oe;let pe=((oe=(Z=K.valueFilter)===null||Z===void 0?void 0:Z.values)!==null&&oe!==void 0?oe:[]).map(j=>this.escapeFilters(j)).map(j=>i0(Om(j))).join("_");return`${K.key}~${pe}`}).join("*");R.append(ve.VALUE_FILTERS,A)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(A=>A.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let A=N.map(K=>{var Z;return`${K.key}~${(Z=K.dateFilter)===null||Z===void 0?void 0:Z.type.toLowerCase()}`}).join("*");R.append(ve.DATE_FILTERS,A)}let M=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&f!==void 0?f:[];if(M.length>0){let A=M.map(K=>{var Z,oe;return`${K.key}~${(Z=K.rangeFilter)===null||Z===void 0?void 0:Z.from}_${(oe=K.rangeFilter)===null||oe===void 0?void 0:oe.to}`}).join("*");R.append(ve.RANGE_FILTERS,A)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&R.append(ve.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&R.append(ve.SCOPE,e.scope.toLowerCase()),((g=e.sort)===null||g===void 0?void 0:g.length)>0&&e.sort[0].key==="ft:lastEdition"&&R.append(ve.SORT,"last_update"),!((m=e.paging)===null||m===void 0)&&m.perPage&&((C=(v=e.paging)===null||v===void 0?void 0:v.perPage)!==null&&C!==void 0?C:this.defaultPerPage)!=this.defaultPerPage&&R.append(ve.PER_PAGE,String(e.paging.perPage));let L=(O=e.otherQueryParams)!==null&&O!==void 0?O:{};for(let A in L)R.append(A,L[A]);let k=new Array;return R.forEach((A,K)=>{k.push(this.encodeQueryString(K)+"="+this.encodeQueryString(A))}),encodeURI(k.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l,d,f;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let g=new URLSearchParams(e),m=g.get(ve.LOCALE)==="all"?void 0:g.get(ve.LOCALE),v=((t=g.get(ve.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),C=((i=g.get(ve.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),O=(n=g.get(ve.SCOPE))!==null&&n!==void 0?n:"default",R=+((a=g.get(ve.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),F={};for(let N of g.keys())Em(N)||(F[N]=g.get(N));return{contentLocale:m??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=g.get(ve.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[O])!==null&&l!==void 0?l:"DEFAULT",virtualField:fm(v)?v:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[C])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(g),facets:[],paging:{page:1,perPage:ho(1,isNaN(R)?this.defaultPerPage:R,1e3)},otherQueryParams:F}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(ve.FILTERS)&&(d=this.parseValueFilters((t=e.get(ve.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(ve.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(ve.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ve.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ve.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ve.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(Om).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:di[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(hm(e))return[{key:"ft:lastEdition",dateFilter:{type:di[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}}});var Fc={};ie(Fc,{toFtFormComponent:()=>Nc});function Nc(r){class e extends r{static get formAssociated(){return!0}get form(){return this[Pc].form}constructor(...i){super(i),this[Pc]=this.attachInternals()}setFormValue(i){this[Pc].setFormValue(i)}}return e}var Pc,Bc=p(()=>{"use strict";Pc=Symbol("elementInternals")});var Dc={};ie(Dc,{DateFormatter:()=>ui});var ui,fa=p(()=>{"use strict";ui=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(i,n)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}}});var Uc={};ie(Uc,{ALL_KEYS_VALUE:()=>Mc,SameWindowStorageEvent:()=>fi});var Mc,fi,zc=p(()=>{"use strict";Mc="__all__",fi=class extends CustomEvent{constructor(e,t,i){super("same-window-storage",{detail:{key:e,oldValue:t,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Mc}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new fi(t[0],i,t[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new fi(t[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(r,e,t){Reflect.apply(r,e,t),window.dispatchEvent(new fi(Mc))}})});var Wc={};ie(Wc,{FocusMainContentEvent:()=>Hc});var Hc,Vc=p(()=>{"use strict";Hc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var wm={};function s0(r){(r.key==="Enter"||r.key===" "||r.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function l0(r){window.FluidTopicsA11yHints.isKeyboardNavigation=r.detail==0}var jc=p(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1};document.addEventListener("keydown",s0);document.addEventListener("click",l0)});var hi,Gc=p(()=>{"use strict";P();hi=I`
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
- `});function Kc(r,e,t){return r?e(r):t?.(r)}var Lm=p(()=>{});var qc=p(()=>{Lm()});var km,Im,_m=p(()=>{"use strict";Q();Ut();qc();P();(function(r){r.blur="blur",r.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",r.input="input"})(km||(km={}));(function(r){r.default="default",r.warning="warning",r.error="error"})(Im||(Im={}))});var Tm=p(()=>{"use strict"});var $m=p(()=>{"use strict";_m();Tm()});var Zc,Yc,Qc,Xc,Ao,Jc,_=p(()=>{"use strict";ou();P();Q();Ut();nt();Bu();Vi();$s();Dn();Bs();Mn();zn();gl();bl();ji();Yn();Hn();Hl();rn();Wl();Dr();Kl();Zl();Yl();Xl();la();Qn();kc();Xn();$c();Bc();fa();ne();zc();Vc();jc();Gc();Vc();jc();$s();Dn();Bs();fa();Mn();zn();gl();bl();ji();Yn();kc();Hn();Hl();Bc();rn();Wl();Dr();Kl();Zl();Yl();Xl();la();zc();Qn();Xn();$c();Gc();$m();ne();Ao=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qc=(Yc=(Zc=window.safari)===null||Zc===void 0?void 0:Zc.pushNotification)===null||Yc===void 0?void 0:Yc.toString())!==null&&Qc!==void 0?Qc:"")==="[object SafariRemoteNotification]",Jc="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Xc=window.ftGlobals)!==null&&Xc!==void 0?Xc:{lit:ys,litDecorators:Cs,litRepeat:Os,litClassMap:Es,litStyleMap:ws,litUnsafeHTML:Rs,wcUtils:{...Ts,...As,...Fs,...Dc,...Ds,...Hs,...ml,..._s,...Fl,...Wc,...Am,...Lc,...hl,...zl,...Fc,...Ul,...eh,...zs,...Gl,...yl,...ql,...hi,...nh,...Ql,...Ec,...Uc,...Bl,...Ml,...Tc,isSafari:Ao,isTouchScreen:Jc,setVariable:y}}});var Pm,T,Nm,Fm,Bm,Dm,Mm,Rr=p(()=>{"use strict";P();_();Pm=o.extend("--ft-ripple-color","",E.colorContent),T={color:Pm,backgroundColor:o.extend("--ft-ripple-background-color","",Pm),opacityContentOnSurfacePressed:o.external(E.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(E.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(E.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(E.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Nm=o.extend("--ft-ripple-color","",E.colorPrimary),Fm={color:Nm,backgroundColor:o.extend("--ft-ripple-background-color","",Nm)},Bm=o.extend("--ft-ripple-color","",E.colorSecondary),Dm={color:Bm,backgroundColor:o.extend("--ft-ripple-background-color","",Bm)},Mm=I`
72
+ `});function Kc(r,e,t){return r?e(r):t?.(r)}var Rm=p(()=>{});var qc=p(()=>{Rm()});var Am,Lm,km=p(()=>{"use strict";Q();Mt();qc();P();(function(r){r.blur="blur",r.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",r.input="input"})(Am||(Am={}));(function(r){r.default="default",r.warning="warning",r.error="error"})(Lm||(Lm={}))});var Im=p(()=>{"use strict"});var _m=p(()=>{"use strict";km();Im()});var Zc,Yc,Qc,Xc,Ro,Jc,_=p(()=>{"use strict";ou();P();Q();Mt();nt();Bu();Vi();$s();Dn();Bs();Mn();zn();gl();bl();ji();Yn();Hn();Hl();rn();Wl();Dr();Kl();Zl();Yl();Xl();la();Qn();kc();Xn();$c();Bc();fa();ne();zc();Vc();jc();Gc();Vc();jc();$s();Dn();Bs();fa();Mn();zn();gl();bl();ji();Yn();kc();Hn();Hl();Bc();rn();Wl();Dr();Kl();Zl();Yl();Xl();la();zc();Qn();Xn();$c();Gc();_m();ne();Ro=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qc=(Yc=(Zc=window.safari)===null||Zc===void 0?void 0:Zc.pushNotification)===null||Yc===void 0?void 0:Yc.toString())!==null&&Qc!==void 0?Qc:"")==="[object SafariRemoteNotification]",Jc="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Xc=window.ftGlobals)!==null&&Xc!==void 0?Xc:{lit:ys,litDecorators:Cs,litRepeat:Os,litClassMap:Es,litStyleMap:ws,litUnsafeHTML:Rs,wcUtils:{...Ts,...As,...Fs,...Dc,...Ds,...Hs,...ml,..._s,...Fl,...Wc,...wm,...Lc,...hl,...zl,...Fc,...Ul,...eh,...zs,...Gl,...yl,...ql,...hi,...nh,...Ql,...Ec,...Uc,...Bl,...Ml,...Tc,isSafari:Ro,isTouchScreen:Jc,setVariable:y}}});var Tm,T,$m,Pm,Nm,Fm,Bm,Rr=p(()=>{"use strict";P();_();Tm=o.extend("--ft-ripple-color","",E.colorContent),T={color:Tm,backgroundColor:o.extend("--ft-ripple-background-color","",Tm),opacityContentOnSurfacePressed:o.external(E.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(E.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(E.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(E.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},$m=o.extend("--ft-ripple-color","",E.colorPrimary),Pm={color:$m,backgroundColor:o.extend("--ft-ripple-background-color","",$m)},Nm=o.extend("--ft-ripple-color","",E.colorSecondary),Fm={color:Nm,backgroundColor:o.extend("--ft-ripple-background-color","",Nm)},Bm=I`
73
73
  :host {
74
74
  display: contents;
75
75
  }
@@ -124,19 +124,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
124
124
  }
125
125
 
126
126
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
127
- background-color: ${Dm.backgroundColor};
127
+ background-color: ${Fm.backgroundColor};
128
128
  }
129
129
 
130
130
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
131
- background-color: ${Dm.color};
131
+ background-color: ${Fm.color};
132
132
  }
133
133
 
134
134
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
135
- background-color: ${Fm.backgroundColor};
135
+ background-color: ${Pm.backgroundColor};
136
136
  }
137
137
 
138
138
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
139
- background-color: ${Fm.color};
139
+ background-color: ${Pm.color};
140
140
  }
141
141
 
142
142
  .ft-ripple .ft-ripple--background {
@@ -181,7 +181,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
181
181
  opacity: ${T.opacityContentOnSurfacePressed};
182
182
  transform: translate(-50%, -50%) scale(1);
183
183
  }
184
- `});function zm(r){let e=Zi[r];return I`
184
+ `});function Mm(r){let e=Zi[r];return I`
185
185
  .ft-typography--${mr(r)} {
186
186
  font-family: ${e.fontFamily};
187
187
  font-size: ${e.fontSize};
@@ -190,7 +190,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
190
190
  line-height: ${e.lineHeight};
191
191
  text-transform: ${e.textCase};
192
192
  }
193
- `}var Hm=p(()=>{"use strict";P();ne()});var Wm,Lr,W,mi,gi,yi,bi,Ar,ze,Je,vi,xi,rr,Vm,jm,Gm,Km,qm,Xr,or,Zm,Ym,Qm,Xm,Jm,It=p(()=>{"use strict";P();_();ne();Hm();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();Wm=o.extend("--ft-typography-font-family","",E.titleFont),Lr=o.extend("--ft-typography-font-family","",E.contentFont),W={fontFamily:Lr,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")},mi={fontFamily:o.extend("--ft-typography-title-font-family","",Wm),fontSize:o.extend("--ft-typography-title-font-size","",W.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",W.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",W.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",W.textTransform,"inherit")},gi={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Wm),fontSize:o.extend("--ft-typography-title-dense-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",W.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",W.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",W.textTransform,"inherit")},yi={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Lr),fontSize:o.extend("--ft-typography-subtitle1-font-size","",W.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",W.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",W.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",W.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",W.textTransform,"inherit")},bi={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Lr),fontSize:o.extend("--ft-typography-subtitle2-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",W.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",W.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",W.textTransform,"inherit")},Ar={fontFamily:o.extend("--ft-typography-body1-font-family","",Lr),fontSize:o.extend("--ft-typography-body1-font-size","",W.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",W.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",W.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",W.textTransform,"inherit")},ze={fontFamily:o.extend("--ft-typography-body2-font-family","",Lr),fontSize:o.extend("--ft-typography-body2-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",W.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",W.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",W.textTransform,"inherit")},Je={fontFamily:o.extend("--ft-typography-caption-font-family","",Lr),fontSize:o.extend("--ft-typography-caption-font-size","",W.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",W.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",W.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",W.textTransform,"inherit")},vi={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Lr),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",W.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",W.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",W.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",W.textTransform,"inherit")},xi={fontFamily:o.extend("--ft-typography-overline-font-family","",Lr),fontSize:o.extend("--ft-typography-overline-font-size","",W.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",W.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",W.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",W.textTransform,"uppercase")},rr={fontFamily:o.extend("--ft-typography-button-font-family","",Lr),fontSize:o.extend("--ft-typography-button-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",W.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",W.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",W.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",W.textTransform,"uppercase")},Vm=I`
193
+ `}var Um=p(()=>{"use strict";P();ne()});var zm,Lr,W,mi,gi,yi,bi,Ar,ze,Je,vi,xi,rr,Hm,Wm,Vm,jm,Gm,Xr,or,Km,qm,Zm,Ym,Qm,kt=p(()=>{"use strict";P();_();ne();Um();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();zm=o.extend("--ft-typography-font-family","",E.titleFont),Lr=o.extend("--ft-typography-font-family","",E.contentFont),W={fontFamily:Lr,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")},mi={fontFamily:o.extend("--ft-typography-title-font-family","",zm),fontSize:o.extend("--ft-typography-title-font-size","",W.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",W.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",W.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",W.textTransform,"inherit")},gi={fontFamily:o.extend("--ft-typography-title-dense-font-family","",zm),fontSize:o.extend("--ft-typography-title-dense-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",W.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",W.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",W.textTransform,"inherit")},yi={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Lr),fontSize:o.extend("--ft-typography-subtitle1-font-size","",W.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",W.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",W.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",W.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",W.textTransform,"inherit")},bi={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Lr),fontSize:o.extend("--ft-typography-subtitle2-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",W.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",W.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",W.textTransform,"inherit")},Ar={fontFamily:o.extend("--ft-typography-body1-font-family","",Lr),fontSize:o.extend("--ft-typography-body1-font-size","",W.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",W.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",W.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",W.textTransform,"inherit")},ze={fontFamily:o.extend("--ft-typography-body2-font-family","",Lr),fontSize:o.extend("--ft-typography-body2-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",W.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",W.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",W.textTransform,"inherit")},Je={fontFamily:o.extend("--ft-typography-caption-font-family","",Lr),fontSize:o.extend("--ft-typography-caption-font-size","",W.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",W.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",W.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",W.textTransform,"inherit")},vi={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Lr),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",W.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",W.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",W.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",W.textTransform,"inherit")},xi={fontFamily:o.extend("--ft-typography-overline-font-family","",Lr),fontSize:o.extend("--ft-typography-overline-font-size","",W.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",W.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",W.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",W.textTransform,"uppercase")},rr={fontFamily:o.extend("--ft-typography-button-font-family","",Lr),fontSize:o.extend("--ft-typography-button-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",W.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",W.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",W.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",W.textTransform,"uppercase")},Hm=I`
194
194
  .ft-typography--title {
195
195
  font-family: ${mi.fontFamily};
196
196
  font-size: ${mi.fontSize};
@@ -199,7 +199,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
199
199
  line-height: ${mi.lineHeight};
200
200
  text-transform: ${mi.textTransform};
201
201
  }
202
- `,jm=I`
202
+ `,Wm=I`
203
203
  .ft-typography--title-dense {
204
204
  font-family: ${gi.fontFamily};
205
205
  font-size: ${gi.fontSize};
@@ -208,7 +208,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
208
208
  line-height: ${gi.lineHeight};
209
209
  text-transform: ${gi.textTransform};
210
210
  }
211
- `,Gm=I`
211
+ `,Vm=I`
212
212
  .ft-typography--subtitle1 {
213
213
  font-family: ${yi.fontFamily};
214
214
  font-size: ${yi.fontSize};
@@ -217,7 +217,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
217
217
  line-height: ${yi.lineHeight};
218
218
  text-transform: ${yi.textTransform};
219
219
  }
220
- `,Km=I`
220
+ `,jm=I`
221
221
  .ft-typography--subtitle2 {
222
222
  font-family: ${bi.fontFamily};
223
223
  font-size: ${bi.fontSize};
@@ -227,7 +227,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
227
227
  text-transform: ${bi.textTransform};
228
228
  }
229
229
 
230
- `,qm=I`
230
+ `,Gm=I`
231
231
  .ft-typography--body1 {
232
232
  font-family: ${Ar.fontFamily};
233
233
  font-size: ${Ar.fontSize};
@@ -254,7 +254,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
254
254
  line-height: ${Je.lineHeight};
255
255
  text-transform: ${Je.textTransform};
256
256
  }
257
- `,Zm=I`
257
+ `,Km=I`
258
258
  .ft-typography--breadcrumb {
259
259
  font-family: ${vi.fontFamily};
260
260
  font-size: ${vi.fontSize};
@@ -263,7 +263,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
263
263
  line-height: ${vi.lineHeight};
264
264
  text-transform: ${vi.textTransform};
265
265
  }
266
- `,Ym=I`
266
+ `,qm=I`
267
267
  .ft-typography--overline {
268
268
  font-family: ${xi.fontFamily};
269
269
  font-size: ${xi.fontSize};
@@ -272,7 +272,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
272
272
  line-height: ${xi.lineHeight};
273
273
  text-transform: ${xi.textTransform};
274
274
  }
275
- `,Qm=I`
275
+ `,Zm=I`
276
276
  .ft-typography--button {
277
277
  font-family: ${rr.fontFamily};
278
278
  font-size: ${rr.fontSize};
@@ -281,11 +281,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
281
281
  line-height: ${rr.lineHeight};
282
282
  text-transform: ${rr.textTransform};
283
283
  }
284
- `,Xm=I`
284
+ `,Ym=I`
285
285
  .ft-typography {
286
286
  vertical-align: inherit;
287
287
  }
288
- `,Jm=[Object.keys(Zi).map(r=>zm(r))]});var Ae,eg,fn=p(()=>{"use strict";P();_();Ae={color:o.extend("--ft-loader-color","",E.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},eg=I`
288
+ `,Qm=[Object.keys(Zi).map(r=>Mm(r))]});var Ae,Xm,fn=p(()=>{"use strict";P();_();Ae={color:o.extend("--ft-loader-color","",E.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Xm=I`
289
289
  :host {
290
290
  line-height: 0;
291
291
  }
@@ -354,7 +354,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
354
354
  transform: translate(calc(0.35 * ${Ae.size}), 0);
355
355
  }
356
356
  }
357
- `});var $e,tg,Lo=p(()=>{"use strict";P();_();$e={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")},tg=[I`
357
+ `});var $e,Jm,Ao=p(()=>{"use strict";P();_();$e={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")},Jm=[I`
358
358
  :host, i.ft-icon {
359
359
  display: inline-flex;
360
360
  align-items: center;
@@ -402,7 +402,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
402
402
  .ft-icon--material {
403
403
  font-family: ${$e.materialFontFamily}, "Material Icons", sans-serif;
404
404
  }
405
- `,Or]});var rg,ee,og,ed,ir,ig,ko=p(()=>{"use strict";P();_();Rr();It();fn();Lo();rg=o.extend("--ft-button-color","",E.colorPrimary),ee={backgroundColor:o.extend("--ft-button-background-color","",E.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",E.borderRadiusL),color:rg,fontSize:o.extend("--ft-button-font-size","",rr.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",rg),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(E.colorOpacityDisabled,"Design system")},og=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",E.colorOnPrimary)),ed={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",E.colorPrimary)),color:og,rippleColor:o.extend("--ft-button-primary-ripple-color","",og)},ir={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",E.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")},ig=[I`
405
+ `,Or]});var eg,ee,tg,ed,ir,rg,Lo=p(()=>{"use strict";P();_();Rr();kt();fn();Ao();eg=o.extend("--ft-button-color","",E.colorPrimary),ee={backgroundColor:o.extend("--ft-button-background-color","",E.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",E.borderRadiusL),color:eg,fontSize:o.extend("--ft-button-font-size","",rr.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",eg),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(E.colorOpacityDisabled,"Design system")},tg=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",E.colorOnPrimary)),ed={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",E.colorPrimary)),color:tg,rippleColor:o.extend("--ft-button-primary-ripple-color","",tg)},ir={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",E.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")},rg=[I`
406
406
  :host {
407
407
  display: inline-block;
408
408
  max-width: 100%;
@@ -539,7 +539,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
539
539
  ${y(Ae.size,ee.iconSize)};
540
540
  ${y(Ae.color,"var(--ft-button-internal-color)")};
541
541
  }
542
- `,Or]});var pt,te,td=p(()=>{"use strict";P();Q();nt();_();Rr();pt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},te=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new he(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new he(10),this.moveRipple=e=>{var t,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return S`
542
+ `,Or]});var dt,te,td=p(()=>{"use strict";P();Q();nt();_();Rr();dt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},te=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new he(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new he(10),this.moveRipple=e=>{var t,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return S`
543
543
  <style>
544
544
  .ft-ripple .ft-ripple--effect {
545
545
  left: ${this.originX}px;
@@ -550,7 +550,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
550
550
  <div class="ft-ripple--background"></div>
551
551
  <div class="ft-ripple--effect"></div>
552
552
  </div>
553
- `}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 t,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.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,t;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((t=this.target)!==null&&t!==void 0?t: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 t=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=t("mouseup","contextmenu"),n=t("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&t("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 t=e,i=e,n,a;return t.x!=null?{x:n,y:a}=t: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 t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};te.elementDefinitions={};te.styles=Mm;pt([h({type:Boolean})],te.prototype,"primary",void 0);pt([h({type:Boolean})],te.prototype,"secondary",void 0);pt([h({type:Boolean})],te.prototype,"unbounded",void 0);pt([h({type:Boolean})],te.prototype,"activated",void 0);pt([h({type:Boolean})],te.prototype,"selected",void 0);pt([h({type:Boolean})],te.prototype,"disabled",void 0);pt([D()],te.prototype,"hovered",void 0);pt([D()],te.prototype,"focused",void 0);pt([D()],te.prototype,"pressed",void 0);pt([D()],te.prototype,"rippling",void 0);pt([D()],te.prototype,"originX",void 0);pt([D()],te.prototype,"originY",void 0);pt([z(".ft-ripple")],te.prototype,"ripple",void 0);pt([z(".ft-ripple--effect")],te.prototype,"rippleEffect",void 0)});var ng=p(()=>{"use strict"});var ut=p(()=>{"use strict";_();td();td();Rr();ng();U("ft-ripple")(te)});var sg,p0,rd,ag,od,id,kk,Ik,lg=p(()=>{Dt();sg=Symbol.for(""),p0=r=>{if(r?.r===sg)return r?._$litStatic$},rd=r=>({_$litStatic$:r,r:sg}),ag=new Map,od=r=>(e,...t)=>{let i=t.length,n,a,s=[],l=[],d,f=0,g=!1;for(;f<i;){for(d=e[f];f<i&&(a=t[f],(n=p0(a))!==void 0);)d+=n+e[++f],g=!0;f!==i&&l.push(a),s.push(d),f++}if(f===i&&s.push(e[i]),g){let m=s.join("$$lit$$");(e=ag.get(m))===void 0&&(s.raw=s,ag.set(m,e=s)),t=l}return r(e,...t)},id=od(S),kk=od(us),Ik=od(fs)});var cg=p(()=>{lg()});var Wt,ha=p(()=>{"use strict";(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(Wt||(Wt={}))});var dg,re,nd=p(()=>{"use strict";cg();Q();_();ha();It();dg=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},re=class extends H{constructor(){super(...arguments),this.variant=Wt.body1}render(){return this.element?id`
553
+ `}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 t,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.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,t;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((t=this.target)!==null&&t!==void 0?t: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 t=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=t("mouseup","contextmenu"),n=t("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&t("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 t=e,i=e,n,a;return t.x!=null?{x:n,y:a}=t: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 t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};te.elementDefinitions={};te.styles=Bm;dt([h({type:Boolean})],te.prototype,"primary",void 0);dt([h({type:Boolean})],te.prototype,"secondary",void 0);dt([h({type:Boolean})],te.prototype,"unbounded",void 0);dt([h({type:Boolean})],te.prototype,"activated",void 0);dt([h({type:Boolean})],te.prototype,"selected",void 0);dt([h({type:Boolean})],te.prototype,"disabled",void 0);dt([D()],te.prototype,"hovered",void 0);dt([D()],te.prototype,"focused",void 0);dt([D()],te.prototype,"pressed",void 0);dt([D()],te.prototype,"rippling",void 0);dt([D()],te.prototype,"originX",void 0);dt([D()],te.prototype,"originY",void 0);dt([z(".ft-ripple")],te.prototype,"ripple",void 0);dt([z(".ft-ripple--effect")],te.prototype,"rippleEffect",void 0)});var og=p(()=>{"use strict"});var pt=p(()=>{"use strict";_();td();td();Rr();og();U("ft-ripple")(te)});var ng,c0,rd,ig,od,id,Ak,Lk,ag=p(()=>{Bt();ng=Symbol.for(""),c0=r=>{if(r?.r===ng)return r?._$litStatic$},rd=r=>({_$litStatic$:r,r:ng}),ig=new Map,od=r=>(e,...t)=>{let i=t.length,n,a,s=[],l=[],d,f=0,g=!1;for(;f<i;){for(d=e[f];f<i&&(a=t[f],(n=c0(a))!==void 0);)d+=n+e[++f],g=!0;f!==i&&l.push(a),s.push(d),f++}if(f===i&&s.push(e[i]),g){let m=s.join("$$lit$$");(e=ig.get(m))===void 0&&(s.raw=s,ig.set(m,e=s)),t=l}return r(e,...t)},id=od(S),Ak=od(us),Lk=od(fs)});var sg=p(()=>{ag()});var Wt,ha=p(()=>{"use strict";(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(Wt||(Wt={}))});var lg,re,nd=p(()=>{"use strict";sg();Q();_();ha();kt();lg=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},re=class extends H{constructor(){super(...arguments),this.variant=Wt.body1}render(){return this.element?id`
554
554
  <${rd(this.element)}
555
555
  part="text"
556
556
  class="ft-typography ft-typography--${this.variant}">
@@ -558,7 +558,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
558
558
  </${rd(this.element)}>
559
559
  `:id`
560
560
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
561
- `}};re.styles=[Vm,jm,Gm,Km,qm,Xr,or,Zm,Ym,Qm,Xm,...Jm];dg([h()],re.prototype,"element",void 0);dg([h()],re.prototype,"variant",void 0)});var Be=p(()=>{"use strict";_();nd();nd();It();ha();U("ft-typography")(re)});var nr,pg,ma=p(()=>{"use strict";P();_();nr={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(E.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},pg=I`
561
+ `}};re.styles=[Hm,Wm,Vm,jm,Gm,Xr,or,Km,qm,Zm,Ym,...Qm];lg([h()],re.prototype,"element",void 0);lg([h()],re.prototype,"variant",void 0)});var Be=p(()=>{"use strict";_();nd();nd();kt();ha();U("ft-typography")(re)});var nr,cg,ma=p(()=>{"use strict";P();_();nr={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(E.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},cg=I`
562
562
  .ft-tooltip--container {
563
563
  display: block;
564
564
  }
@@ -587,7 +587,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
587
587
  position: relative;
588
588
  word-break: break-word;
589
589
  }
590
- `});var ft,Le,ad=p(()=>{"use strict";P();Q();_();Be();ma();Yn();ft=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Le=class extends H{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 he,this.revealDebouncer=new he}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return S`
590
+ `});var ut,Le,ad=p(()=>{"use strict";P();Q();_();Be();ma();Yn();ut=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Le=class extends H{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 he,this.revealDebouncer=new he}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return S`
591
591
  <div part="container"
592
592
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
593
593
  @mouseenter=${this.onHover}
@@ -605,19 +605,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
605
605
  </div>
606
606
  </div>
607
607
  </div>
608
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,t){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(t),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(t=>t.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="",Pl(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,t){return Math.max(e,Math.min(0,-t))}};Le.elementDefinitions={"ft-typography":re};Le.styles=pg;ft([h()],Le.prototype,"text",void 0);ft([h({type:Boolean})],Le.prototype,"manual",void 0);ft([h({type:Boolean})],Le.prototype,"inline",void 0);ft([h({type:Number})],Le.prototype,"delay",void 0);ft([h()],Le.prototype,"position",void 0);ft([Ss()],Le.prototype,"slotNodes",void 0);ft([z(".ft-tooltip--container")],Le.prototype,"container",void 0);ft([z(".ft-tooltip")],Le.prototype,"tooltip",void 0);ft([z(".ft-tooltip--content")],Le.prototype,"tooltipContent",void 0);ft([D()],Le.prototype,"visible",void 0);ft([Ho({passive:!0})],Le.prototype,"onTouch",null);ft([Ho({passive:!0})],Le.prototype,"onHover",null);ft([Ho({passive:!0})],Le.prototype,"onOut",null);ft([Ho({passive:!0})],Le.prototype,"onClick",null)});var ug=p(()=>{"use strict"});var ga=p(()=>{"use strict";_();ad();ad();ma();ug();U("ft-tooltip")(Le)});function ya(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=u0.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=sd.get(l))!==null&&i!==void 0?i:sd.get(e))!==null&&n!==void 0?n:sd.get(s))!==null&&a!==void 0?a:B.UNKNOWN}var ht,B,sd,u0,cI,ld=p(()=>{"use strict";(function(r){r.ADD_TO_PBK="&#xe800;",r.ALERT="&#xe801;",r.ADD_ALERT="&#xe802;",r.BACK_TO_SEARCH="&#xe803;",r.ADD_BOOKMARK="&#xe804;",r.BOOKMARK="&#xe805;",r.BOOKS="&#xe806;",r.MENU="&#xe807;",r.DOWNLOAD="&#xe808;",r.EDIT="&#xe809;",r.FEEDBACK="&#xe80a;",r.HOME="&#xe80b;",r.MODIFY_PBK="&#xe80c;",r.SCHEDULED="&#xe80d;",r.SEARCH="&#xe80e;",r.EXPORT="&#xe80f;",r.TOC="&#xe810;",r.WRITE_UGC="&#xe811;",r.TRASH="&#xe812;",r.USER="&#xe813;",r.EXTLINK="&#xe814;",r.CALENDAR="&#xe815;",r.OFFLINE="&#xe816;",r.BOOK="&#xe817;",r.DOWNLOAD_PLAIN="&#xe818;",r.CHECK="&#xe819;",r.STAR_PLAIN="&#xe900;",r.TOPICS="&#xe901;",r.DISC="&#xe902;",r.CIRCLE="&#xe903;",r.SHARED="&#xe904;",r.SORT_UNSORTED="&#xe905;",r.SORT_UP="&#xe906;",r.SORT_DOWN="&#xe907;",r.WORKING="&#xe908;",r.CLOSE="&#xe909;",r.ZOOM_OUT="&#xe90a;",r.ZOOM_IN="&#xe90b;",r.ZOOM_REALSIZE="&#xe90c;",r.ZOOM_FULLSCREEN="&#xe90d;",r.ADMIN_RESTRICTED="&#xe90e;",r.ADMIN="&#xe90f;",r.ADMIN_KHUB="&#xe910;",r.ADMIN_THEME="&#xe911;",r.ADMIN_USERS="&#xe912;",r.WARNING="&#xe913;",r.CONTEXT="&#xe914;",r.SEARCH_HOME="&#xe915;",r.STEPS="&#xe916;",r.ICON_EXPAND="&#xe917;",r.ICON_COLLAPSE="&#xe918;",r.INFO="&#xe919;",r.MINUS_PLAIN="&#xe91a;",r.PLUS_PLAIN="&#xe91b;",r.FACET_HAS_DESCENDANT="&#xe91c;",r.TRIANGLE_BOTTOM="&#xe91d;",r.TRIANGLE_LEFT="&#xe91e;",r.TRIANGLE_RIGHT="&#xe91f;",r.TRIANGLE_TOP="&#xe920;",r.THIN_ARROW="&#xe921;",r.SIGN_IN="&#xe922;",r.LOGOUT="&#xe923;",r.TRANSLATE="&#xe924;",r.CLOSE_PLAIN="&#xe925;",r.CHECK_PLAIN="&#xe926;",r.ARTICLE="&#xe927;",r.COLUMNS="&#xe928;",r.ANALYTICS="&#xe929;",r.COLLECTIONS="&#xe92a;",r.ARROW_DOWN="&#xe92b;",r.ARROW_LEFT="&#xe92c;",r.ARROW_RIGHT="&#xe92d;",r.ARROW_UP="&#xe92e;",r.SEARCH_IN_PUBLICATION="&#xe92f;",r.COPY_TO_CLIPBOARD="&#xe930;",r.SHARED_PBK="&#xe931;",r.ATTACHMENTS="&#xe932;",r.STRIPE_ARROW_LEFT="&#xe933;",r.STRIPE_ARROW_RIGHT="&#xe934;",r.FILTERS="&#xe935;",r.DOT="&#xe936;",r.MINUS="&#xe937;",r.PLUS="&#xe938;",r.MAILS_AND_NOTIFICATIONS="&#xe939;",r.SAVE="&#xe93a;",r.LOCKER="&#xe93b;",r.ADMIN_INTEGRATION="&#xe93c;",r.SYNC="&#xe93d;",r.TAG="&#xe93e;",r.BOOK_PLAIN="&#xe93f;",r.UPLOAD="&#xe940;",r.ONLINE="&#xe941;",r.TAG_PLAIN="&#xe942;",r.ACCOUNT_SETTINGS="&#xe943;",r.PRINT="&#xe944;",r.DEFAULT_ROLES="&#xe945;",r.SHORTCUT_MENU="&#xe946;",r.RELATIVES_PLAIN="&#xe947;",r.RELATIVES="&#xe948;",r.PAUSE="&#xe949;",r.PLAY="&#xe94a;",r.ADMIN_PORTAL="&#xe94b;",r.STAR="&#xe94c;",r.THUMBS_DOWN="&#xe94d;",r.THUMBS_DOWN_PLAIN="&#xe94e;",r.THUMBS_UP="&#xe94f;",r.THUMBS_UP_PLAIN="&#xe950;",r.FEEDBACK_PLAIN="&#xe951;",r.RATE_PLAIN="&#xe952;",r.RATE="&#xe953;",r.OFFLINE_SETTINGS="&#xe954;",r.MY_COLLECTIONS="&#xe955;",r.THIN_ARROW_LEFT="&#xe956;",r.THIN_ARROW_RIGHT="&#xe957;",r.RESET="&#xe958;",r.MY_LIBRARY="&#xe959;",r.UNSTRUCTURED_DOC="&#xe95a;",r.CONTEXTUAL="&#xe95b;",r.THIN_ARROW_UP="&#xe95c;",r.ARROW_RIGHT_TO_LINE="&#xe95d;",r.DESKTOP="&#xe95e;",r.TABLET_LANDSCAPE="&#xe95f;",r.TABLET_PORTRAIT="&#xe960;",r.MOBILE_LANDSCAPE="&#xe961;",r.MOBILE_PORTRAIT="&#xe962;",r.DIAGRAM_SUNBURST="&#xe963;",r.DIAGRAM_SANKEY="&#xe964;",r.COMMENT_QUESTION="&#xe965;",r.COMMENT_QUESTION_PLAIN="&#xe966;",r.MESSAGE_BOT="&#xe967;",r.CHART_SIMPLE="&#xe968;",r.BARS_PROGRESS="&#xe969;",r.BOOK_OPEN_GEAR="&#xe96a;",r.BOOK_OPEN_GEAR_SLASH="&#xe96b;",r.LINE_CHART="&#xe96c;",r.STACKED_CHART="&#xe96d;",r.CHART_BAR_STACKED="&#xe96e;",r.CHART_BAR_GROUPED="&#xe96f;",r.EYE_SLASH="&#xe970;",r.X_MARK="&#xe971;",r.EXPAND_WIDE="&#xe972;",r.PIP="&#xe973;",r.PIP_WIDE="&#xe974;",r.LIFE_RING="&#xe975;",r.GLOBE="&#xe976;",r.PIGGY_BANK="&#xe977;",r.EXTLINK_LIGHT="&#xe978;",r.CLONE="&#xe979;",r.CLONE_LINK_SIMPLE="&#xe97a;",r.CHART_BAR_NORMALIZED="&#xe97b;",r.CONSUMER="&#xe97c;",r.OCTAGON_XMARK="&#xe97d;",r.HOURGLASS_HALF="&#xe97e;",r.CLOCK="&#xe97f;",r.CLOCK_THREE="&#xe97f;",r.CALENDAR_DAY="&#xe980;",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",r.WAND_MAGIC_SPARKLES="&#xe982;",r.PAPER_PLANE="&#xe983;",r.CIRCLE_STOP="&#xe984;",r.ARROW_ROTATE_RIGHT="&#xe985;",r.ARROWS_ROTATE="&#xe986;",r.ALIGN_RIGHT="&#xe987;",r.FORMAT_CLEAR="&#xe988;",r.ALIGN_CENTER="&#xe989;",r.ALIGN_LEFT="&#xe98a;",r.PALETTE="&#xe98b;",r.BOLD="&#xe98c;",r.ITALIC="&#xe98d;",r.UNDERLINE="&#xe98e;",r.STRIKETHROUGH="&#xe98f;",r.LINK_SIMPLE_SLASH="&#xe990;",r.LINK_SIMPLE="&#xe991;",r.ROUTE="&#xe992;",r.CIRCLE_USER_SLASH="&#xe993;",r.CIRCLE_USER_CHECK="&#xe994;",r.LIST_MAGNIFYING_GLASS="&#xe995;",r.MEDAL="&#xe996;",r.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",r.ARROW_TURN_DOWN_RIGHT="&#xe998;",r.FLASK="&#xe999;",r.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",r.HOURGLASS_END="&#xe99b;",r.CIRCLE_QUESTION="&#xe99c;",r.GRIP_LINES_SOLID="&#xe99d;",r.TRANSLATE_SPARKLE_SOLID="&#xe99e;",r.CODE="&#xe99f;",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",r.PAPER_PLANE_SLASH="&#xe9a1;",r.COMPRESS="&#xe9a2;",r.EXPAND="&#xe9a3;",r.ARROW_ROTATE_LEFT="&#xe9a4;",r.EYE="&#xf06e;",r.SHARE="&#xe80f1;",r.MOBILE_SMALL="&#xe9a5;",r.SPARKLES="&#xe9a6;",r.HAND_SOLID="&#xe9a7;",r.CLOCK_SOLID="&#xe9a8;",r.CONTEXT_MENU_CURSOR="&#xe9a9;"})(ht||(ht={}));(function(r){r.UNKNOWN="&#xe90a;",r.ABW="&#xe900;",r.AUDIO="&#xe901;",r.AVI="&#xe902;",r.CHM="&#xe904;",r.CODE="&#xe905;",r.CSV="&#xe903;",r.DITA="&#xe906;",r.EPUB="&#xe907;",r.EXCEL="&#xe908;",r.FLAC="&#xe909;",r.GIF="&#xe90b;",r.GZIP="&#xe90c;",r.HTML="&#xe90d;",r.IMAGE="&#xe90e;",r.JPEG="&#xe90f;",r.JSON="&#xe910;",r.M4A="&#xe911;",r.MOV="&#xe912;",r.MP3="&#xe913;",r.MP4="&#xe914;",r.OGG="&#xe915;",r.PDF="&#xe916;",r.PNG="&#xe917;",r.POWERPOINT="&#xe918;",r.RAR="&#xe91a;",r.STP="&#xe91b;",r.TEXT="&#xe91c;",r.VIDEO="&#xe91e;",r.WAV="&#xe91f;",r.WMA="&#xe920;",r.WORD="&#xe921;",r.XML="&#xe922;",r.YAML="&#xe919;",r.ZIP="&#xe923;"})(B||(B={}));sd=new Map([...["abw"].map(r=>[r,B.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(r=>[r,B.AUDIO]),...["avi"].map(r=>[r,B.AVI]),...["chm","xhs"].map(r=>[r,B.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(r=>[r,B.CODE]),...["csv"].map(r=>[r,B.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,B.DITA]),...["epub"].map(r=>[r,B.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,B.EXCEL]),...["flac"].map(r=>[r,B.FLAC]),...["gif"].map(r=>[r,B.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,B.GZIP]),...["html","htm","xhtml"].map(r=>[r,B.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(r=>[r,B.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,B.JPEG]),...["json"].map(r=>[r,B.JSON]),...["m4a","m4p"].map(r=>[r,B.M4A]),...["mov","qt"].map(r=>[r,B.MOV]),...["mp3"].map(r=>[r,B.MP3]),...["mp4","m4v"].map(r=>[r,B.MP4]),...["ogg","oga"].map(r=>[r,B.OGG]),...["pdf","ps"].map(r=>[r,B.PDF]),...["png"].map(r=>[r,B.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,B.POWERPOINT]),...["rar"].map(r=>[r,B.RAR]),...["stp"].map(r=>[r,B.STP]),...["txt","rtf","md","mdown"].map(r=>[r,B.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(r=>[r,B.VIDEO]),...["wav"].map(r=>[r,B.WAV]),...["wma"].map(r=>[r,B.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,B.WORD]),...["xml","xsl","rdf"].map(r=>[r,B.XML]),...["yaml","yml","x-yaml"].map(r=>[r,B.YAML]),...["zip"].map(r=>[r,B.ZIP])]),u0=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"]]);cI={[B.ABW]:"#91ABC6",[B.AUDIO]:"#1795E3",[B.AVI]:"#E63324",[B.CHM]:"#71C3EB",[B.CODE]:"#71C3EB",[B.CSV]:"#1F7345",[B.DITA]:"#71C3EB",[B.EPUB]:"#85B926",[B.EXCEL]:"#1F7345",[B.FLAC]:"#1795E3",[B.GIF]:"#59B031",[B.GZIP]:"#F8AB36",[B.HTML]:"#71C3EB",[B.IMAGE]:"#59B031",[B.JPEG]:"#59B031",[B.JSON]:"#71C3EB",[B.M4A]:"#1795E3",[B.MOV]:"#E63324",[B.MP3]:"#1795E3",[B.MP4]:"#E63324",[B.OGG]:"#1795E3",[B.PDF]:"#E44948",[B.PNG]:"#59B031",[B.POWERPOINT]:"#B54A2B",[B.RAR]:"#F8AB36",[B.STP]:"#3764B1",[B.TEXT]:"#3162AB",[B.UNKNOWN]:"#999999",[B.VIDEO]:"#E63324",[B.WAV]:"#1795E3",[B.WMA]:"#1795E3",[B.WORD]:"#3162AB",[B.XML]:"#71C3EB",[B.YAML]:"#71C3EB",[B.ZIP]:"#F8AB36"}});var je,cd=p(()=>{"use strict";(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(je||(je={}))});var hn,xe,dd=p(()=>{"use strict";P();Q();_();Vi();ld();Lo();cd();hn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},xe=class extends H{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=$}render(){let e=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,t=e!==je.material||!!this.value;return S`
608
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,t){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(t),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(t=>t.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="",Pl(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,t){return Math.max(e,Math.min(0,-t))}};Le.elementDefinitions={"ft-typography":re};Le.styles=cg;ut([h()],Le.prototype,"text",void 0);ut([h({type:Boolean})],Le.prototype,"manual",void 0);ut([h({type:Boolean})],Le.prototype,"inline",void 0);ut([h({type:Number})],Le.prototype,"delay",void 0);ut([h()],Le.prototype,"position",void 0);ut([Ss()],Le.prototype,"slotNodes",void 0);ut([z(".ft-tooltip--container")],Le.prototype,"container",void 0);ut([z(".ft-tooltip")],Le.prototype,"tooltip",void 0);ut([z(".ft-tooltip--content")],Le.prototype,"tooltipContent",void 0);ut([D()],Le.prototype,"visible",void 0);ut([zo({passive:!0})],Le.prototype,"onTouch",null);ut([zo({passive:!0})],Le.prototype,"onHover",null);ut([zo({passive:!0})],Le.prototype,"onOut",null);ut([zo({passive:!0})],Le.prototype,"onClick",null)});var dg=p(()=>{"use strict"});var ga=p(()=>{"use strict";_();ad();ad();ma();dg();U("ft-tooltip")(Le)});function ya(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=d0.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=sd.get(l))!==null&&i!==void 0?i:sd.get(e))!==null&&n!==void 0?n:sd.get(s))!==null&&a!==void 0?a:B.UNKNOWN}var ft,B,sd,d0,sI,ld=p(()=>{"use strict";(function(r){r.ADD_TO_PBK="&#xe800;",r.ALERT="&#xe801;",r.ADD_ALERT="&#xe802;",r.BACK_TO_SEARCH="&#xe803;",r.ADD_BOOKMARK="&#xe804;",r.BOOKMARK="&#xe805;",r.BOOKS="&#xe806;",r.MENU="&#xe807;",r.DOWNLOAD="&#xe808;",r.EDIT="&#xe809;",r.FEEDBACK="&#xe80a;",r.HOME="&#xe80b;",r.MODIFY_PBK="&#xe80c;",r.SCHEDULED="&#xe80d;",r.SEARCH="&#xe80e;",r.EXPORT="&#xe80f;",r.TOC="&#xe810;",r.WRITE_UGC="&#xe811;",r.TRASH="&#xe812;",r.USER="&#xe813;",r.EXTLINK="&#xe814;",r.CALENDAR="&#xe815;",r.OFFLINE="&#xe816;",r.BOOK="&#xe817;",r.DOWNLOAD_PLAIN="&#xe818;",r.CHECK="&#xe819;",r.STAR_PLAIN="&#xe900;",r.TOPICS="&#xe901;",r.DISC="&#xe902;",r.CIRCLE="&#xe903;",r.SHARED="&#xe904;",r.SORT_UNSORTED="&#xe905;",r.SORT_UP="&#xe906;",r.SORT_DOWN="&#xe907;",r.WORKING="&#xe908;",r.CLOSE="&#xe909;",r.ZOOM_OUT="&#xe90a;",r.ZOOM_IN="&#xe90b;",r.ZOOM_REALSIZE="&#xe90c;",r.ZOOM_FULLSCREEN="&#xe90d;",r.ADMIN_RESTRICTED="&#xe90e;",r.ADMIN="&#xe90f;",r.ADMIN_KHUB="&#xe910;",r.ADMIN_THEME="&#xe911;",r.ADMIN_USERS="&#xe912;",r.WARNING="&#xe913;",r.CONTEXT="&#xe914;",r.SEARCH_HOME="&#xe915;",r.STEPS="&#xe916;",r.ICON_EXPAND="&#xe917;",r.ICON_COLLAPSE="&#xe918;",r.INFO="&#xe919;",r.MINUS_PLAIN="&#xe91a;",r.PLUS_PLAIN="&#xe91b;",r.FACET_HAS_DESCENDANT="&#xe91c;",r.TRIANGLE_BOTTOM="&#xe91d;",r.TRIANGLE_LEFT="&#xe91e;",r.TRIANGLE_RIGHT="&#xe91f;",r.TRIANGLE_TOP="&#xe920;",r.THIN_ARROW="&#xe921;",r.SIGN_IN="&#xe922;",r.LOGOUT="&#xe923;",r.TRANSLATE="&#xe924;",r.CLOSE_PLAIN="&#xe925;",r.CHECK_PLAIN="&#xe926;",r.ARTICLE="&#xe927;",r.COLUMNS="&#xe928;",r.ANALYTICS="&#xe929;",r.COLLECTIONS="&#xe92a;",r.ARROW_DOWN="&#xe92b;",r.ARROW_LEFT="&#xe92c;",r.ARROW_RIGHT="&#xe92d;",r.ARROW_UP="&#xe92e;",r.SEARCH_IN_PUBLICATION="&#xe92f;",r.COPY_TO_CLIPBOARD="&#xe930;",r.SHARED_PBK="&#xe931;",r.ATTACHMENTS="&#xe932;",r.STRIPE_ARROW_LEFT="&#xe933;",r.STRIPE_ARROW_RIGHT="&#xe934;",r.FILTERS="&#xe935;",r.DOT="&#xe936;",r.MINUS="&#xe937;",r.PLUS="&#xe938;",r.MAILS_AND_NOTIFICATIONS="&#xe939;",r.SAVE="&#xe93a;",r.LOCKER="&#xe93b;",r.ADMIN_INTEGRATION="&#xe93c;",r.SYNC="&#xe93d;",r.TAG="&#xe93e;",r.BOOK_PLAIN="&#xe93f;",r.UPLOAD="&#xe940;",r.ONLINE="&#xe941;",r.TAG_PLAIN="&#xe942;",r.ACCOUNT_SETTINGS="&#xe943;",r.PRINT="&#xe944;",r.DEFAULT_ROLES="&#xe945;",r.SHORTCUT_MENU="&#xe946;",r.RELATIVES_PLAIN="&#xe947;",r.RELATIVES="&#xe948;",r.PAUSE="&#xe949;",r.PLAY="&#xe94a;",r.ADMIN_PORTAL="&#xe94b;",r.STAR="&#xe94c;",r.THUMBS_DOWN="&#xe94d;",r.THUMBS_DOWN_PLAIN="&#xe94e;",r.THUMBS_UP="&#xe94f;",r.THUMBS_UP_PLAIN="&#xe950;",r.FEEDBACK_PLAIN="&#xe951;",r.RATE_PLAIN="&#xe952;",r.RATE="&#xe953;",r.OFFLINE_SETTINGS="&#xe954;",r.MY_COLLECTIONS="&#xe955;",r.THIN_ARROW_LEFT="&#xe956;",r.THIN_ARROW_RIGHT="&#xe957;",r.RESET="&#xe958;",r.MY_LIBRARY="&#xe959;",r.UNSTRUCTURED_DOC="&#xe95a;",r.CONTEXTUAL="&#xe95b;",r.THIN_ARROW_UP="&#xe95c;",r.ARROW_RIGHT_TO_LINE="&#xe95d;",r.DESKTOP="&#xe95e;",r.TABLET_LANDSCAPE="&#xe95f;",r.TABLET_PORTRAIT="&#xe960;",r.MOBILE_LANDSCAPE="&#xe961;",r.MOBILE_PORTRAIT="&#xe962;",r.DIAGRAM_SUNBURST="&#xe963;",r.DIAGRAM_SANKEY="&#xe964;",r.COMMENT_QUESTION="&#xe965;",r.COMMENT_QUESTION_PLAIN="&#xe966;",r.MESSAGE_BOT="&#xe967;",r.CHART_SIMPLE="&#xe968;",r.BARS_PROGRESS="&#xe969;",r.BOOK_OPEN_GEAR="&#xe96a;",r.BOOK_OPEN_GEAR_SLASH="&#xe96b;",r.LINE_CHART="&#xe96c;",r.STACKED_CHART="&#xe96d;",r.CHART_BAR_STACKED="&#xe96e;",r.CHART_BAR_GROUPED="&#xe96f;",r.EYE_SLASH="&#xe970;",r.X_MARK="&#xe971;",r.EXPAND_WIDE="&#xe972;",r.PIP="&#xe973;",r.PIP_WIDE="&#xe974;",r.LIFE_RING="&#xe975;",r.GLOBE="&#xe976;",r.PIGGY_BANK="&#xe977;",r.EXTLINK_LIGHT="&#xe978;",r.CLONE="&#xe979;",r.CLONE_LINK_SIMPLE="&#xe97a;",r.CHART_BAR_NORMALIZED="&#xe97b;",r.CONSUMER="&#xe97c;",r.OCTAGON_XMARK="&#xe97d;",r.HOURGLASS_HALF="&#xe97e;",r.CLOCK="&#xe97f;",r.CLOCK_THREE="&#xe97f;",r.CALENDAR_DAY="&#xe980;",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",r.WAND_MAGIC_SPARKLES="&#xe982;",r.PAPER_PLANE="&#xe983;",r.CIRCLE_STOP="&#xe984;",r.ARROW_ROTATE_RIGHT="&#xe985;",r.ARROWS_ROTATE="&#xe986;",r.ALIGN_RIGHT="&#xe987;",r.FORMAT_CLEAR="&#xe988;",r.ALIGN_CENTER="&#xe989;",r.ALIGN_LEFT="&#xe98a;",r.PALETTE="&#xe98b;",r.BOLD="&#xe98c;",r.ITALIC="&#xe98d;",r.UNDERLINE="&#xe98e;",r.STRIKETHROUGH="&#xe98f;",r.LINK_SIMPLE_SLASH="&#xe990;",r.LINK_SIMPLE="&#xe991;",r.ROUTE="&#xe992;",r.CIRCLE_USER_SLASH="&#xe993;",r.CIRCLE_USER_CHECK="&#xe994;",r.LIST_MAGNIFYING_GLASS="&#xe995;",r.MEDAL="&#xe996;",r.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",r.ARROW_TURN_DOWN_RIGHT="&#xe998;",r.FLASK="&#xe999;",r.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",r.HOURGLASS_END="&#xe99b;",r.CIRCLE_QUESTION="&#xe99c;",r.GRIP_LINES_SOLID="&#xe99d;",r.TRANSLATE_SPARKLE_SOLID="&#xe99e;",r.CODE="&#xe99f;",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",r.PAPER_PLANE_SLASH="&#xe9a1;",r.COMPRESS="&#xe9a2;",r.EXPAND="&#xe9a3;",r.ARROW_ROTATE_LEFT="&#xe9a4;",r.EYE="&#xf06e;",r.SHARE="&#xe80f1;",r.MOBILE_SMALL="&#xe9a5;",r.SPARKLES="&#xe9a6;",r.HAND_SOLID="&#xe9a7;",r.CLOCK_SOLID="&#xe9a8;",r.CONTEXT_MENU_CURSOR="&#xe9a9;"})(ft||(ft={}));(function(r){r.UNKNOWN="&#xe90a;",r.ABW="&#xe900;",r.AUDIO="&#xe901;",r.AVI="&#xe902;",r.CHM="&#xe904;",r.CODE="&#xe905;",r.CSV="&#xe903;",r.DITA="&#xe906;",r.EPUB="&#xe907;",r.EXCEL="&#xe908;",r.FLAC="&#xe909;",r.GIF="&#xe90b;",r.GZIP="&#xe90c;",r.HTML="&#xe90d;",r.IMAGE="&#xe90e;",r.JPEG="&#xe90f;",r.JSON="&#xe910;",r.M4A="&#xe911;",r.MOV="&#xe912;",r.MP3="&#xe913;",r.MP4="&#xe914;",r.OGG="&#xe915;",r.PDF="&#xe916;",r.PNG="&#xe917;",r.POWERPOINT="&#xe918;",r.RAR="&#xe91a;",r.STP="&#xe91b;",r.TEXT="&#xe91c;",r.VIDEO="&#xe91e;",r.WAV="&#xe91f;",r.WMA="&#xe920;",r.WORD="&#xe921;",r.XML="&#xe922;",r.YAML="&#xe919;",r.ZIP="&#xe923;"})(B||(B={}));sd=new Map([...["abw"].map(r=>[r,B.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(r=>[r,B.AUDIO]),...["avi"].map(r=>[r,B.AVI]),...["chm","xhs"].map(r=>[r,B.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(r=>[r,B.CODE]),...["csv"].map(r=>[r,B.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,B.DITA]),...["epub"].map(r=>[r,B.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,B.EXCEL]),...["flac"].map(r=>[r,B.FLAC]),...["gif"].map(r=>[r,B.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,B.GZIP]),...["html","htm","xhtml"].map(r=>[r,B.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(r=>[r,B.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,B.JPEG]),...["json"].map(r=>[r,B.JSON]),...["m4a","m4p"].map(r=>[r,B.M4A]),...["mov","qt"].map(r=>[r,B.MOV]),...["mp3"].map(r=>[r,B.MP3]),...["mp4","m4v"].map(r=>[r,B.MP4]),...["ogg","oga"].map(r=>[r,B.OGG]),...["pdf","ps"].map(r=>[r,B.PDF]),...["png"].map(r=>[r,B.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,B.POWERPOINT]),...["rar"].map(r=>[r,B.RAR]),...["stp"].map(r=>[r,B.STP]),...["txt","rtf","md","mdown"].map(r=>[r,B.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(r=>[r,B.VIDEO]),...["wav"].map(r=>[r,B.WAV]),...["wma"].map(r=>[r,B.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,B.WORD]),...["xml","xsl","rdf"].map(r=>[r,B.XML]),...["yaml","yml","x-yaml"].map(r=>[r,B.YAML]),...["zip"].map(r=>[r,B.ZIP])]),d0=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"]]);sI={[B.ABW]:"#91ABC6",[B.AUDIO]:"#1795E3",[B.AVI]:"#E63324",[B.CHM]:"#71C3EB",[B.CODE]:"#71C3EB",[B.CSV]:"#1F7345",[B.DITA]:"#71C3EB",[B.EPUB]:"#85B926",[B.EXCEL]:"#1F7345",[B.FLAC]:"#1795E3",[B.GIF]:"#59B031",[B.GZIP]:"#F8AB36",[B.HTML]:"#71C3EB",[B.IMAGE]:"#59B031",[B.JPEG]:"#59B031",[B.JSON]:"#71C3EB",[B.M4A]:"#1795E3",[B.MOV]:"#E63324",[B.MP3]:"#1795E3",[B.MP4]:"#E63324",[B.OGG]:"#1795E3",[B.PDF]:"#E44948",[B.PNG]:"#59B031",[B.POWERPOINT]:"#B54A2B",[B.RAR]:"#F8AB36",[B.STP]:"#3764B1",[B.TEXT]:"#3162AB",[B.UNKNOWN]:"#999999",[B.VIDEO]:"#E63324",[B.WAV]:"#1795E3",[B.WMA]:"#1795E3",[B.WORD]:"#3162AB",[B.XML]:"#71C3EB",[B.YAML]:"#71C3EB",[B.ZIP]:"#F8AB36"}});var je,cd=p(()=>{"use strict";(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(je||(je={}))});var hn,xe,dd=p(()=>{"use strict";P();Q();_();Vi();ld();Ao();cd();hn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},xe=class extends H{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=$}render(){let e=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,t=e!==je.material||!!this.value;return S`
609
609
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
610
610
  ${fo(this.resolvedIcon)}
611
611
  <slot ?hidden=${t}></slot>
612
612
  </i>
613
- `}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=(e=B[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case je.material:this.resolvedIcon=this.value||$;break;default:this.resolvedIcon=(t=ht[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};xe.elementDefinitions={};xe.styles=tg;hn([h()],xe.prototype,"variant",void 0);hn([h()],xe.prototype,"value",void 0);hn([h({reflect:!0,attribute:"aria-hidden"})],xe.prototype,"ariaHidden",void 0);hn([D()],xe.prototype,"resolvedIcon",void 0);hn([z("slot")],xe.prototype,"slottedContent",void 0)});var _t=p(()=>{"use strict";_();dd();Lo();cd();dd();ld();U("ft-icon")(xe)});var Io,pd=p(()=>{"use strict";P();_();fn();Io=class extends H{render(){return S`
613
+ `}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=(e=B[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case je.material:this.resolvedIcon=this.value||$;break;default:this.resolvedIcon=(t=ft[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};xe.elementDefinitions={};xe.styles=Jm;hn([h()],xe.prototype,"variant",void 0);hn([h()],xe.prototype,"value",void 0);hn([h({reflect:!0,attribute:"aria-hidden"})],xe.prototype,"ariaHidden",void 0);hn([D()],xe.prototype,"resolvedIcon",void 0);hn([z("slot")],xe.prototype,"slottedContent",void 0)});var It=p(()=>{"use strict";_();dd();Ao();cd();dd();ld();U("ft-icon")(xe)});var ko,pd=p(()=>{"use strict";P();_();fn();ko=class extends H{render(){return S`
614
614
  <div class="ft-loader">
615
615
  <div></div>
616
616
  <div></div>
617
617
  <div></div>
618
618
  <div></div>
619
619
  </div>
620
- `}};Io.styles=eg});var fg=p(()=>{"use strict"});var hg=p(()=>{"use strict";_();pd();fn();fg();pd();U("ft-loader")(Io)});var Ze,ke,ud=p(()=>{"use strict";_();ut();ga();Be();_t();hg();P();nt();Q();Ze=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ke=class extends Nc(H){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.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var t;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((t=this.form)===null||t===void 0||t.requestSubmit())})}render(){var e,t,i;let n=S`
620
+ `}};ko.styles=Xm});var pg=p(()=>{"use strict"});var ug=p(()=>{"use strict";_();pd();fn();pg();pd();U("ft-loader")(ko)});var Ze,ke,ud=p(()=>{"use strict";_();pt();ga();Be();It();ug();P();nt();Q();Ze=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ke=class extends Nc(H){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.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var t;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((t=this.form)===null||t===void 0||t.requestSubmit())})}render(){var e,t,i;let n=S`
621
621
  <ft-ripple part="ripple"
622
622
  ?disabled=${this.isDisabled()}
623
623
  ?activated=${this.activated}
@@ -625,7 +625,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
625
625
  <ft-typography part="label"
626
626
  variant=${this.typographyVariant}
627
627
  element="span"
628
- class="ft-button--label ${Ao?"ft-safari-ellipsis-fix":""}"
628
+ class="ft-button--label ${Ro?"ft-safari-ellipsis-fix":""}"
629
629
  ?hidden=${!this.hasTextContent()}>
630
630
  <slot @slotchange=${this.onSlotchange}></slot>
631
631
  </ft-typography>
@@ -657,7 +657,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
657
657
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
658
658
  `:S`
659
659
  <slot part="icon" name="icon"></slot>
660
- `}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,t){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,t)}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 qo(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ke.elementDefinitions={"ft-ripple":te,"ft-tooltip":Le,"ft-typography":re,"ft-icon":xe,"ft-loader":Io};Ze([h()],ke.prototype,"href",void 0);Ze([h()],ke.prototype,"target",void 0);Ze([h()],ke.prototype,"type",void 0);Ze([h({type:Boolean})],ke.prototype,"disabled",void 0);Ze([h()],ke.prototype,"label",void 0);Ze([h()],ke.prototype,"icon",void 0);Ze([h()],ke.prototype,"iconVariant",void 0);Ze([h({type:Boolean})],ke.prototype,"trailingIcon",void 0);Ze([h({type:Boolean})],ke.prototype,"loading",void 0);Ze([h({attribute:"aria-label"})],ke.prototype,"ariaLabel",void 0);Ze([h()],ke.prototype,"tooltipPosition",void 0);Ze([h({type:Boolean})],ke.prototype,"hideTooltip",void 0);Ze([h({type:Boolean})],ke.prototype,"forceTooltip",void 0);Ze([h({type:Boolean})],ke.prototype,"activated",void 0);Ze([z(".ft-button")],ke.prototype,"button",void 0);Ze([z(".ft-button--label slot")],ke.prototype,"slottedContent",void 0);Ze([z("[part=tooltip]")],ke.prototype,"tooltip",void 0)});var ba,Pe,fd=p(()=>{"use strict";Q();_();ko();ud();ba=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Pe=class extends ke{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"}};Pe.styles=[sn,ig];ba([h({type:Boolean})],Pe.prototype,"primary",void 0);ba([h({type:Boolean})],Pe.prototype,"outlined",void 0);ba([h({type:Boolean})],Pe.prototype,"dense",void 0);ba([h({type:Boolean})],Pe.prototype,"round",void 0)});var f0,mg,hd=p(()=>{"use strict";P();_();Rr();fn();Lo();ne();f0={...x,iconOnlyScale:o.create("--ft-button-icon-only-scale","","NUMBER","1")},mg=[I`
660
+ `}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,t){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,t)}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 Ko(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ke.elementDefinitions={"ft-ripple":te,"ft-tooltip":Le,"ft-typography":re,"ft-icon":xe,"ft-loader":ko};Ze([h()],ke.prototype,"href",void 0);Ze([h()],ke.prototype,"target",void 0);Ze([h()],ke.prototype,"type",void 0);Ze([h({type:Boolean})],ke.prototype,"disabled",void 0);Ze([h()],ke.prototype,"label",void 0);Ze([h()],ke.prototype,"icon",void 0);Ze([h()],ke.prototype,"iconVariant",void 0);Ze([h({type:Boolean})],ke.prototype,"trailingIcon",void 0);Ze([h({type:Boolean})],ke.prototype,"loading",void 0);Ze([h({attribute:"aria-label"})],ke.prototype,"ariaLabel",void 0);Ze([h()],ke.prototype,"tooltipPosition",void 0);Ze([h({type:Boolean})],ke.prototype,"hideTooltip",void 0);Ze([h({type:Boolean})],ke.prototype,"forceTooltip",void 0);Ze([h({type:Boolean})],ke.prototype,"activated",void 0);Ze([z(".ft-button")],ke.prototype,"button",void 0);Ze([z(".ft-button--label slot")],ke.prototype,"slottedContent",void 0);Ze([z("[part=tooltip]")],ke.prototype,"tooltip",void 0)});var ba,Pe,fd=p(()=>{"use strict";Q();_();Lo();ud();ba=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Pe=class extends ke{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"}};Pe.styles=[sn,rg];ba([h({type:Boolean})],Pe.prototype,"primary",void 0);ba([h({type:Boolean})],Pe.prototype,"outlined",void 0);ba([h({type:Boolean})],Pe.prototype,"dense",void 0);ba([h({type:Boolean})],Pe.prototype,"round",void 0)});var p0,fg,hd=p(()=>{"use strict";P();_();Rr();fn();Ao();ne();p0={...x,iconOnlyScale:o.create("--ft-button-icon-only-scale","","NUMBER","1")},fg=[I`
661
661
  :host {
662
662
  display: inline-block;
663
663
  max-width: 100%;
@@ -740,7 +740,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
740
740
  }
741
741
 
742
742
  .ft-button.ft-button--icon-only ft-icon {
743
- transform: scale(${f0.iconOnlyScale});
743
+ transform: scale(${p0.iconOnlyScale});
744
744
  }
745
745
 
746
746
  /** Brand Primary styles **/
@@ -1127,7 +1127,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1127
1127
  .ftds--size-small.ft-button--icon-only {
1128
1128
  width: ${x.smallIconOnlyWidth};
1129
1129
  }
1130
- `,Or]});var va,Vt,md=p(()=>{"use strict";ud();Q();ha();_();hd();ne();_t();va=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Vt=class extends ti(ke){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=vr.brand,this.iconVariant=je.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 Ve.large:return Wt.body2medium;case Ve.medium:return Wt.caption1medium;case Ve.small:return Wt.caption2medium}}};Vt.styles=[sn,mg];va([h({type:Boolean})],Vt.prototype,"primary",void 0);va([h({type:Boolean})],Vt.prototype,"secondary",void 0);va([h({type:Boolean})],Vt.prototype,"tertiary",void 0);va([h({type:Boolean})],Vt.prototype,"round",void 0)});var gg=p(()=>{"use strict"});var yg=p(()=>{"use strict"});var jt=p(()=>{"use strict";_();fd();md();fd();ko();gg();md();hd();yg();U("ft-button")(Pe);U("ftds-button")(Vt)});var Se,gd,mn=p(()=>{"use strict";P();_();jt();ga();Se={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",E.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",E.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",E.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",E.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",E.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",E.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",E.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",E.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",E.colorPrimary)},gd=I`
1130
+ `,Or]});var va,Vt,md=p(()=>{"use strict";ud();Q();ha();_();hd();ne();It();va=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Vt=class extends ei(ke){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=vr.brand,this.iconVariant=je.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 Ve.large:return Wt.body2medium;case Ve.medium:return Wt.caption1medium;case Ve.small:return Wt.caption2medium}}};Vt.styles=[sn,fg];va([h({type:Boolean})],Vt.prototype,"primary",void 0);va([h({type:Boolean})],Vt.prototype,"secondary",void 0);va([h({type:Boolean})],Vt.prototype,"tertiary",void 0);va([h({type:Boolean})],Vt.prototype,"round",void 0)});var hg=p(()=>{"use strict"});var mg=p(()=>{"use strict"});var jt=p(()=>{"use strict";_();fd();md();fd();Lo();hg();md();hd();mg();U("ft-button")(Pe);U("ftds-button")(Vt)});var Se,gd,mn=p(()=>{"use strict";P();_();jt();ga();Se={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",E.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",E.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",E.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",E.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",E.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",E.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",E.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",E.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",E.colorPrimary)},gd=I`
1131
1131
  * {
1132
1132
  box-sizing: border-box;
1133
1133
  ${y(ee.color,Se.buttonColor)};
@@ -1222,19 +1222,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1222
1222
  a:focus {
1223
1223
  outline: revert;
1224
1224
  }
1225
- `});var xg,vd=p(()=>{"use strict";P();xg=I`
1226
- `});var Sg,xd=p(()=>{"use strict";P();Sg=I`
1227
- `});var h0,_o,m0,V,mt=p(()=>{"use strict";_();h0="ft-app-info",_o=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:e})}};_o.eventName="authentication-change";m0={session:(r,e)=>{qe(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>V.dispatchEvent(new _o(e.payload)),0))}},V=wr.get({name:h0,reducers:m0,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 To,Sd=p(()=>{"use strict";mt();To=class r{static get(e){let{baseUrl:t,apiIntegrationIdentifier:i}=V.getState(),n=e??i;if(t&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,n,!0)}static await(e){return new Promise(t=>{let i=r.get(e);if(i)t(i);else{let n=V.subscribe(()=>{i=r.get(e),i&&(n(),t(i))})}})}}});var Ea,Cg=p(()=>{"use strict";Sd();Ea=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:To.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):To.await()}}});var gt,$o=p(()=>{"use strict";_();Cg();gt=class extends Ea{constructor(e=!0,t){var i;super(t),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 Xt,this.cache=e?n.commonCache:new Xt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((t,i)=>0|31*t+i.charCodeAt(0),0))}}});var wa,Cd=p(()=>{"use strict";mt();$o();wa=class extends gt{async listMyBookmarks(){let e=V.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Od,Og=p(()=>{"use strict";mt();Od=class{addCommand(e,t=!1){V.commands.add(e,t)}consumeCommand(e){return V.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Od});var Eg,g0,Ra,Si,Aa,wg=p(()=>{"use strict";mt();_();$o();g0=Symbol("clearAfterUnitTest"),Ra=class extends gt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Eg]=()=>{this.defaultMessages={},this.cache=new Xt,this.listeners={}},this.currentUiLocale=V.getState().uiLocale,V.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=V.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var i;if(e=e.toLowerCase(),t&&Object.keys(t).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...t};qe(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var t,i;return this.fetchContext(e),(i=(t=this.cache.getNow(e))===null||t===void 0?void 0:t.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,t){let i=e.toLowerCase();return this.resolveContext(i)[t]}resolveMessage(e,t,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Wr((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(t,...i)}async fetchContext(e){let t=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),t&&await this.notify(e)}catch(n){!(n instanceof Qt)&&t&&console.error(n)}return i}subscribe(e,t){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(t),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(t)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(t=>Un(0).then(()=>t()).catch(()=>null)))}};Eg=g0;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ra{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ra{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});Si=window.FluidTopicsI18nService,Aa=window.FluidTopicsCustomI18nService});var Ed,Rg=p(()=>{"use strict";_();Ed=class{highlightHtml(e,t,i){jl(e,t,i)}};window.FluidTopicsHighlightHtmlService=new Ed});var La,wd=p(()=>{"use strict";mt();Yr();$o();La=class extends gt{async listMySearches(){let{session:e}=V.getState();return Cm(e,Ue.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Rd,Ag=p(()=>{"use strict";_();mt();Rd=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=V.getState().metadataConfiguration)===null||t===void 0?void 0:t.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,t){var i,n,a;return ui.format(e,(i=t?.locale)!==null&&i!==void 0?i:V.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Rd});var kr,Ad=p(()=>{"use strict";_();mt();kr=class{static get(e,t){var i,n,a,s;let l=V.getState(),{lang:d,region:f}=(n=(i=l.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Qr(l.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,t??`${d}-${f}`)}}});var ka,Lg=p(()=>{"use strict";$o();ka=class extends gt{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}sortEventArrays(e){let t=Object.entries(e).map(([i,n])=>Array.isArray(n)?[i,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[i,this.sortEventArrays(n)]:[i,n]);return Object.fromEntries(t)}sendEvents(e,t){let i="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>i).catch(n=>(console.info(t),console.debug(n),i)),1e3)}}});var Ld,kg=p(()=>{"use strict";Ad();Ld=class{urlToSearchRequest(e){return kr.get().parse(e)}searchRequestToUrl(e){return kr.get().serialize(e)}};window.FluidTopicsUrlService=new Ld});var Po,Ig=p(()=>{"use strict";Po=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:{currentItem:e}})}};Po.eventName="change"});var kd,_g,Tg=p(()=>{"use strict";kd=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let t=sessionStorage.getItem(this.itemName(e));return t?JSON.parse(t):void 0}set(e,t){sessionStorage.setItem(this.itemName(e),JSON.stringify(t))}},_g=new kd});var Ia,$g=p(()=>{"use strict";_();Ig();Tg();Ia=class r extends br{static build(){return new r(window.history,_g,()=>window.location,!1)}constructor(e,t,i,n){var a,s;super(),this.history=e,this.historyStorage=t,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,t=!1){let i=t&&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),qe(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Po(this.currentItem())),0)}installProxies(){let e=t=>(i,n,[a,s,l])=>{let d=t(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[f,s,l]),this.setCurrentState(f,!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 t=this.history.length-1;t>=0;t--)e?this.states[t]=this.historyStorage.get(t):setTimeout(()=>this.states[t]=this.historyStorage.get(t),this.history.length-t)}updateCurrentState(e){var t;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(t=e?.title)!==null&&t!==void 0?t:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(Po.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Po.eventName,e)}currentItem(){return qi(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 qi(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 qi(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 t;let i=(t=this.states[e])===null||t===void 0?void 0:t.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,t;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(t=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&t!==void 0?t:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,t){var i;if(!this.hasState(e))return!1;let n=t??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}}});var Pg=p(()=>{"use strict";$g();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ia.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)})});var Id=p(()=>{"use strict";Cd();Sd();Og();wg();$o();Rg();wd();Ag();Ad();Lg();kg();Pg()});function Fg(r,e){var t;return Ng.getState().authenticationRequired&&!(!((t=Ng.getState().session)===null||t===void 0)&&t.sessionAuthenticated)?Promise.resolve(e):r()}var Ng,Bg=p(()=>{"use strict";mt();Ng=V});var He,we,_d=p(()=>{"use strict";P();Q();_();xd();mt();Id();Bg();He=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},we=class extends H{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=()=>To.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Xt,this.cleanSessionDebouncer=new he,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return S`
1225
+ `});var bg,vd=p(()=>{"use strict";P();bg=I`
1226
+ `});var vg,xd=p(()=>{"use strict";P();vg=I`
1227
+ `});var u0,Io,f0,V,ht=p(()=>{"use strict";_();u0="ft-app-info",Io=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:e})}};Io.eventName="authentication-change";f0={session:(r,e)=>{qe(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>V.dispatchEvent(new Io(e.payload)),0))}},V=wr.get({name:u0,reducers:f0,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 _o,Sd=p(()=>{"use strict";ht();_o=class r{static get(e){let{baseUrl:t,apiIntegrationIdentifier:i}=V.getState(),n=e??i;if(t&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,n,!0)}static await(e){return new Promise(t=>{let i=r.get(e);if(i)t(i);else{let n=V.subscribe(()=>{i=r.get(e),i&&(n(),t(i))})}})}}});var Ea,xg=p(()=>{"use strict";Sd();Ea=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:_o.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):_o.await()}}});var mt,To=p(()=>{"use strict";_();xg();mt=class extends Ea{constructor(e=!0,t){var i;super(t),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 Xt,this.cache=e?n.commonCache:new Xt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((t,i)=>0|31*t+i.charCodeAt(0),0))}}});var wa,Cd=p(()=>{"use strict";ht();To();wa=class extends mt{async listMyBookmarks(){let e=V.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Od,Sg=p(()=>{"use strict";ht();Od=class{addCommand(e,t=!1){V.commands.add(e,t)}consumeCommand(e){return V.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Od});var Cg,h0,Ra,Si,Aa,Og=p(()=>{"use strict";ht();_();To();h0=Symbol("clearAfterUnitTest"),Ra=class extends mt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Cg]=()=>{this.defaultMessages={},this.cache=new Xt,this.listeners={}},this.currentUiLocale=V.getState().uiLocale,V.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=V.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var i;if(e=e.toLowerCase(),t&&Object.keys(t).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...t};qe(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var t,i;return this.fetchContext(e),(i=(t=this.cache.getNow(e))===null||t===void 0?void 0:t.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,t){let i=e.toLowerCase();return this.resolveContext(i)[t]}resolveMessage(e,t,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Wr((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(t,...i)}async fetchContext(e){let t=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),t&&await this.notify(e)}catch(n){!(n instanceof Qt)&&t&&console.error(n)}return i}subscribe(e,t){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(t),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(t)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(t=>Un(0).then(()=>t()).catch(()=>null)))}};Cg=h0;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ra{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ra{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});Si=window.FluidTopicsI18nService,Aa=window.FluidTopicsCustomI18nService});var Ed,Eg=p(()=>{"use strict";_();Ed=class{highlightHtml(e,t,i){jl(e,t,i)}};window.FluidTopicsHighlightHtmlService=new Ed});var La,wd=p(()=>{"use strict";ht();Yr();To();La=class extends mt{async listMySearches(){let{session:e}=V.getState();return xm(e,Ue.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Rd,wg=p(()=>{"use strict";_();ht();Rd=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=V.getState().metadataConfiguration)===null||t===void 0?void 0:t.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,t){var i,n,a;return ui.format(e,(i=t?.locale)!==null&&i!==void 0?i:V.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Rd});var kr,Ad=p(()=>{"use strict";_();ht();kr=class{static get(e,t){var i,n,a,s;let l=V.getState(),{lang:d,region:f}=(n=(i=l.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Qr(l.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,t??`${d}-${f}`)}}});var ka,Rg=p(()=>{"use strict";To();ka=class extends mt{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}sortEventArrays(e){let t=Object.entries(e).map(([i,n])=>Array.isArray(n)?[i,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[i,this.sortEventArrays(n)]:[i,n]);return Object.fromEntries(t)}sendEvents(e,t){let i="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>i).catch(n=>(console.info(t),console.debug(n),i)),1e3)}}});var Ld,Ag=p(()=>{"use strict";Ad();Ld=class{urlToSearchRequest(e){return kr.get().parse(e)}searchRequestToUrl(e){return kr.get().serialize(e)}};window.FluidTopicsUrlService=new Ld});var $o,Lg=p(()=>{"use strict";$o=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:{currentItem:e}})}};$o.eventName="change"});var kd,kg,Ig=p(()=>{"use strict";kd=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let t=sessionStorage.getItem(this.itemName(e));return t?JSON.parse(t):void 0}set(e,t){sessionStorage.setItem(this.itemName(e),JSON.stringify(t))}},kg=new kd});var Ia,_g=p(()=>{"use strict";_();Lg();Ig();Ia=class r extends br{static build(){return new r(window.history,kg,()=>window.location,!1)}constructor(e,t,i,n){var a,s;super(),this.history=e,this.historyStorage=t,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,t=!1){let i=t&&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),qe(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new $o(this.currentItem())),0)}installProxies(){let e=t=>(i,n,[a,s,l])=>{let d=t(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[f,s,l]),this.setCurrentState(f,!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 t=this.history.length-1;t>=0;t--)e?this.states[t]=this.historyStorage.get(t):setTimeout(()=>this.states[t]=this.historyStorage.get(t),this.history.length-t)}updateCurrentState(e){var t;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(t=e?.title)!==null&&t!==void 0?t:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener($o.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener($o.eventName,e)}currentItem(){return qi(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 qi(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 qi(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 t;let i=(t=this.states[e])===null||t===void 0?void 0:t.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,t;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(t=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&t!==void 0?t:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,t){var i;if(!this.hasState(e))return!1;let n=t??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}}});var Tg=p(()=>{"use strict";_g();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ia.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)})});var Id=p(()=>{"use strict";Cd();Sd();Sg();Og();To();Eg();wd();wg();Ad();Rg();Ag();Tg()});function Pg(r,e){var t;return $g.getState().authenticationRequired&&!(!((t=$g.getState().session)===null||t===void 0)&&t.sessionAuthenticated)?Promise.resolve(e):r()}var $g,Ng=p(()=>{"use strict";ht();$g=V});var He,we,_d=p(()=>{"use strict";P();Q();_();xd();ht();Id();Ng();He=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},we=class extends H{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=()=>_o.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Xt,this.cleanSessionDebouncer=new he,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return S`
1228
1228
  <slot></slot>
1229
- `}connectedCallback(){super.connectedCallback(),V.addEventListener(_o.eventName,this.reloadConfiguration)}disconnectedCallback(){V.addEventListener(_o.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var t,i,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(V.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&V.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&V.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&V.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&V.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&V.actions.noCustom(this.noCustom),e.has("editorMode")&&V.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&V.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&V.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>Si.addContext(f)),e.has("openExternalDocumentInNewTab")&&V.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&V.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&V.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(V.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),V.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),V.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&V.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&V.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",()=>Fg(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};we.elementDefinitions={};we.styles=Sg;He([h()],we.prototype,"baseUrl",void 0);He([h()],we.prototype,"apiIntegrationIdentifier",void 0);He([h()],we.prototype,"apiIntegrationAppVersion",void 0);He([h()],we.prototype,"uiLocale",void 0);He([Ee(null)],we.prototype,"availableUiLocales",void 0);He([Ee(null)],we.prototype,"metadataConfiguration",void 0);He([h({type:Boolean})],we.prototype,"editorMode",void 0);He([h({type:Boolean})],we.prototype,"noCustom",void 0);He([h({type:Boolean})],we.prototype,"openExternalDocumentInNewTab",void 0);He([h({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],we.prototype,"noCustomComponent",void 0);He([h({type:Boolean})],we.prototype,"withManualResources",void 0);He([h({type:Boolean})],we.prototype,"navigatorOnline",void 0);He([h({type:Boolean})],we.prototype,"forcedOffline",void 0);He([h({type:Object})],we.prototype,"apiProvider",void 0);He([h({type:Boolean})],we.prototype,"authenticationRequired",void 0);He([Ee([])],we.prototype,"messageContexts",void 0);He([Ee(void 0)],we.prototype,"session",void 0);He([D()],we.prototype,"localesConfiguration",void 0);He([D()],we.prototype,"availableContentLocales",void 0)});var Dg=p(()=>{"use strict";Q();la();fa();mt()});var _a,Mg=p(()=>{"use strict";mt();$o();_a=class extends gt{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=V.getState().session;return!!e?.sessionAuthenticated}}});var y0,b0,Tt,Td,$d,Ta=p(()=>{"use strict";Yr();_();wd();Cd();mt();Mg();y0="ft-user-assets",b0={setAssetCount:(r,e)=>{let{userAssetType:t,count:i}=e.payload.assetCount;r.assetCounts.allAsset[t]=i},clearAssetCount:r=>{Object.values(Ro).forEach(e=>{r.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(r,e)=>{let t=e.payload.mapId;r.assetCounts.bookmarkByMap[t]=e.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}}},Tt=wr.get({name:y0,reducers:b0,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ro).map(r=>[r,void 0])),bookmarkByMap:{}}}}),Td=class{constructor(e=new _a){this.assetCountsService=e,this.currentSession=V.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wa,this.savedSearchesService=new La,V.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=V.getState();qe((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){Tt.actions.clearAssetCount(),Tt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Tt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Tt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Tt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(e){let t=await this.assetCountsService.getUserAssetCount(e);t&&Tt.actions.setAssetCount({assetCount:t})}async loadBookmarkByMapId(e){let t=await this.assetCountsService.getUserBookmarkCountByMap(e);t&&Tt.actions.setBookmarkCountByMap({count:t.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let t=Object.keys(Tt.getState().assetCounts.bookmarkByMap).length!==0;e===Ro.BOOKMARKS&&t&&Tt.actions.clearBookmarkCountByMap(),Tt.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 t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Tt.actions.bookmarks(t)}}},$d=new Td;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=$d)});var Ug=p(()=>{"use strict";Yr();Ta()});var zg=p(()=>{"use strict"});var ar=p(()=>{"use strict";_();_d();Dg();mt();Ta();Ug();Id();xd();zg();_d();U("ft-app-context")(we)});function Hg(r){return r.match(/^[\w-]+\.[\w-]+$/)}var Wg=p(()=>{"use strict";gn();_()});function $t(r){var e,t;class i extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[t]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Aa:Si}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let l=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...l)}customI18n(a,s){if(Hg(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 f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(g,m,v)=>v?.context&&v.key&&a(g,m,v)?{...v,message:this.i18n({context:v.context,key:v.key,...g})}:v;(s=this[Vg])===null||s===void 0||s.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[jg])===null||l===void 0||l.forEach((g,m)=>{var v;return d[m]=(v=d[m])===null||v===void 0?void 0:v.map(C=>f(g,m,C))})}updateI18nProperties(a){var s;(s=this[Kg])===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[$a].set(d,{isCustomContext:l}),this[yn].has(d)||this[yn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[$a].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[$a].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[yn].forEach(a=>a()),this[yn].clear()}}return e=$a,t=yn,v0([h({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var v0,Vg,jg,Kg,$a,yn,Gg,Pa,gn=p(()=>{"use strict";_();ar();Q();Wg();v0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Vg=Symbol("i18nAttributes"),jg=Symbol("i18nListAttributes"),Kg=Symbol("i18nProperties"),$a=Symbol("i18nContexts"),yn=Symbol("i18nUnsubs");Gg=class extends $t(H){},Pa=class extends $t(dt){}});var bn,Gt,Pd=p(()=>{"use strict";P();Q();_();vd();gn();ar();bn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Gt=class extends Pa{constructor(){super(),this.editorMode=!1,this.addStore(V)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":$:S`
1229
+ `}connectedCallback(){super.connectedCallback(),V.addEventListener(Io.eventName,this.reloadConfiguration)}disconnectedCallback(){V.addEventListener(Io.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var t,i,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(V.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&V.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&V.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&V.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&V.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&V.actions.noCustom(this.noCustom),e.has("editorMode")&&V.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&V.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&V.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>Si.addContext(f)),e.has("openExternalDocumentInNewTab")&&V.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&V.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&V.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(V.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),V.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),V.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&V.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&V.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",()=>Pg(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};we.elementDefinitions={};we.styles=vg;He([h()],we.prototype,"baseUrl",void 0);He([h()],we.prototype,"apiIntegrationIdentifier",void 0);He([h()],we.prototype,"apiIntegrationAppVersion",void 0);He([h()],we.prototype,"uiLocale",void 0);He([Ee(null)],we.prototype,"availableUiLocales",void 0);He([Ee(null)],we.prototype,"metadataConfiguration",void 0);He([h({type:Boolean})],we.prototype,"editorMode",void 0);He([h({type:Boolean})],we.prototype,"noCustom",void 0);He([h({type:Boolean})],we.prototype,"openExternalDocumentInNewTab",void 0);He([h({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],we.prototype,"noCustomComponent",void 0);He([h({type:Boolean})],we.prototype,"withManualResources",void 0);He([h({type:Boolean})],we.prototype,"navigatorOnline",void 0);He([h({type:Boolean})],we.prototype,"forcedOffline",void 0);He([h({type:Object})],we.prototype,"apiProvider",void 0);He([h({type:Boolean})],we.prototype,"authenticationRequired",void 0);He([Ee([])],we.prototype,"messageContexts",void 0);He([Ee(void 0)],we.prototype,"session",void 0);He([D()],we.prototype,"localesConfiguration",void 0);He([D()],we.prototype,"availableContentLocales",void 0)});var Fg=p(()=>{"use strict";Q();la();fa();ht()});var _a,Bg=p(()=>{"use strict";ht();To();_a=class extends mt{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=V.getState().session;return!!e?.sessionAuthenticated}}});var m0,g0,_t,Td,$d,Ta=p(()=>{"use strict";Yr();_();wd();Cd();ht();Bg();m0="ft-user-assets",g0={setAssetCount:(r,e)=>{let{userAssetType:t,count:i}=e.payload.assetCount;r.assetCounts.allAsset[t]=i},clearAssetCount:r=>{Object.values(wo).forEach(e=>{r.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(r,e)=>{let t=e.payload.mapId;r.assetCounts.bookmarkByMap[t]=e.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}}},_t=wr.get({name:m0,reducers:g0,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(wo).map(r=>[r,void 0])),bookmarkByMap:{}}}}),Td=class{constructor(e=new _a){this.assetCountsService=e,this.currentSession=V.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wa,this.savedSearchesService=new La,V.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=V.getState();qe((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){_t.actions.clearAssetCount(),_t.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),_t.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),_t.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();_t.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(e){let t=await this.assetCountsService.getUserAssetCount(e);t&&_t.actions.setAssetCount({assetCount:t})}async loadBookmarkByMapId(e){let t=await this.assetCountsService.getUserBookmarkCountByMap(e);t&&_t.actions.setBookmarkCountByMap({count:t.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let t=Object.keys(_t.getState().assetCounts.bookmarkByMap).length!==0;e===wo.BOOKMARKS&&t&&_t.actions.clearBookmarkCountByMap(),_t.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 t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;_t.actions.bookmarks(t)}}},$d=new Td;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=$d)});var Dg=p(()=>{"use strict";Yr();Ta()});var Mg=p(()=>{"use strict"});var ar=p(()=>{"use strict";_();_d();Fg();ht();Ta();Dg();Id();xd();Mg();_d();U("ft-app-context")(we)});function Ug(r){return r.match(/^[\w-]+\.[\w-]+$/)}var zg=p(()=>{"use strict";gn();_()});function Tt(r){var e,t;class i extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[t]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Aa:Si}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let l=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...l)}customI18n(a,s){if(Ug(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 f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(g,m,v)=>v?.context&&v.key&&a(g,m,v)?{...v,message:this.i18n({context:v.context,key:v.key,...g})}:v;(s=this[Hg])===null||s===void 0||s.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[Wg])===null||l===void 0||l.forEach((g,m)=>{var v;return d[m]=(v=d[m])===null||v===void 0?void 0:v.map(C=>f(g,m,C))})}updateI18nProperties(a){var s;(s=this[jg])===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[$a].set(d,{isCustomContext:l}),this[yn].has(d)||this[yn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[$a].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[$a].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[yn].forEach(a=>a()),this[yn].clear()}}return e=$a,t=yn,y0([h({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var y0,Hg,Wg,jg,$a,yn,Vg,Pa,gn=p(()=>{"use strict";_();ar();Q();zg();y0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Hg=Symbol("i18nAttributes"),Wg=Symbol("i18nListAttributes"),jg=Symbol("i18nProperties"),$a=Symbol("i18nContexts"),yn=Symbol("i18nUnsubs");Vg=class extends Tt(H){},Pa=class extends Tt(zt){}});var bn,Gt,Pd=p(()=>{"use strict";P();Q();_();vd();gn();ar();bn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Gt=class extends Pa{constructor(){super(),this.editorMode=!1,this.addStore(V)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":$:S`
1230
1230
  <span class="ft-i18n">
1231
1231
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1232
1232
  </span>
1233
- `}update(e){var t;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(t=this.defaultMessage)!==null&&t!==void 0?t:""})}};Gt.elementDefinitions={};Gt.styles=xg;bn([Oe()],Gt.prototype,"editorMode",void 0);bn([h()],Gt.prototype,"context",void 0);bn([h()],Gt.prototype,"key",void 0);bn([Ee([])],Gt.prototype,"args",void 0);bn([h()],Gt.prototype,"defaultMessage",void 0)});var sr,qg=p(()=>{"use strict";ar();sr=class r{static build(e){return new r(e)}static buildCustom(e){return new r(e,!0)}static fromGwt(e){return new r(e)}get service(){return this.custom?Aa:Si}constructor(e,t=!1){this.name=e,this.custom=t,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}}});var Zg=p(()=>{"use strict";gn()});var Yg=p(()=>{"use strict"});var lr=p(()=>{"use strict";_();Pd();qg();gn();Zg();vd();Yg();Pd();U("ft-i18n")(Gt)});var Jg,ey=p(()=>{Dt();Jg=r=>r??$});var ty=p(()=>{ey()});function ry(r){var e,t,i,n,a;return((n=(t=(e=r.map)===null||e===void 0?void 0:e.openMode)!==null&&t!==void 0?t:(i=r.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=r.document)===null||a===void 0?void 0:a.openMode)===ua.EXTERNAL}function Fa(r){var e,t,i,n,a;if(ry(r))return(n=(t=(e=r.map)===null||e===void 0?void 0:e.originUrl)!==null&&t!==void 0?t:(i=r.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=r.document)===null||a===void 0?void 0:a.originUrl;switch(r.type){case kt.MAP:return r.map.readerUrl;case kt.DOCUMENT:return r.document.viewerUrl;case kt.TOPIC:return r.topic.readerUrl}return""}function oy(r,e){return Jg(e&&ry(r)?"_blank":void 0)}var Bd=p(()=>{"use strict";Yr();ty()});var Oi,Ei,Md=p(()=>{"use strict";Oi=class extends CustomEvent{constructor(e,t){super("ft-search-result-click",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}},Ei=class extends CustomEvent{constructor(e,t){super("ft-search-result-open-context-menu",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}}});var C0,Ud,zd=p(()=>{"use strict";P();C0={},Ud=I`
1234
- `});var iy=p(()=>{"use strict"});var O0,ny,ay=p(()=>{"use strict";_();O0={setRequest:(r,e)=>{r.request=e.payload},setRequestQuery:(r,e)=>{r.request.query=e.payload},setRequestContentLocale:(r,e)=>{r.request.contentLocale=e.payload},setPageSize:(r,e)=>{var t;let i=+((t=e.payload)!==null&&t!==void 0?t:20);r.request.paging.perPage=isNaN(i)?20:ho(1,i,1e3)},setPageNumber:(r,e)=>{r.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(r,e)=>{r.request.sort=e.payload},setRequestFilters:(r,e)=>{r.request.metadataFilters=e.payload},setRequestFacets:(r,e)=>{r.request.facets=e.payload},setRequestVirtualField:(r,e)=>{r.request.virtualField=e.payload},setRequestScope:(r,e)=>{r.request.scope=e.payload},setOtherQueryParams:(r,e)=>{r.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(r,e)=>{var t;r.request.clusterSortCriterions=(t=e.payload)!==null&&t!==void 0?t:[]}},ny=r=>wr.get({name:"ft-search-"+r,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:O0})});var Ba,sy=p(()=>{"use strict";ar();Ba=class extends gt{constructor(e){super(!0,e)}async launchSearch(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(t),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(t),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(t=>t.valueFilter==null?t:{...t,valueFilter:{...t.valueFilter,values:[...t.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((t,i)=>t.key.localeCompare(i.key))}}});var ly,vn,wi,Hd=p(()=>{"use strict";_();ay();Yr();sy();ly=r=>r.request.virtualField===wo.TITLE_ONLY&&r.request.scope===pi.DOCUMENTS,vn=class r extends Event{constructor(){super(r.eventName)}};vn.eventName="search-context-clear-all-filters";wi=class r{static build(e,t){return new r(ny(e.trim()||"context"),t)}constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new he(10),this.searchDebouncer=new he(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new he(300),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>({input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:i.request.sort,contentLocale:i.request.contentLocale,scope:i.request.scope}),this.service=t??new Ba,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=si(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=si(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var t;let i=(t=this.store.getState().locales)!==null&&t!==void 0?t:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let t=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(t),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(wo.TITLE_ONLY),this.store.actions.setRequestScope(pi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(wo.EVERYWHERE),this.store.actions.setRequestScope(pi.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return ly(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new vn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,t){let i=this.facetIds.filter(n=>n!=e);t&&i.push(t),this.facetIds=i}get facetIds(){var e;let t=this.store.getState().request;return[...new Set([...t.facets.map(i=>i.id),...((e=t.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,t){this.setValueFilter(e,t)}setValueFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:t,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:t}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.dateFilter),...t.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,t,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:t,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.rangeFilter),...t.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var t,i,n,a;try{if((t=this.cancelableSearch)===null||t===void 0||t.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Go(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof Qt||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var t;try{(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=Go(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof Qt)&&this.errorHandler&&this.errorHandler(i)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function R0(r){class e extends r{setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Wd]=0,this[cy]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Wd]>w0?window.clearInterval(this[cy]):(this[Wd]++,this.dispatchEvent(new Vd))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return E0([D()],e.prototype,"stateManager",void 0),e}var E0,Vd,cy,Wd,w0,Pt,No=p(()=>{"use strict";_();Q();iy();Hd();E0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Vd=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},cy=Symbol("registerInterval"),Wd=Symbol("registerAttempts"),w0=40;Pt=class extends R0(dt){}});function Ri(r){return r.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Ai(r){var e;return r.dateFilter?{key:r.key,type:"DATE",dateValue:r.dateFilter.type}:r.rangeFilter?{key:r.key,type:"RANGE",from:r.rangeFilter.from,to:r.rangeFilter.to}:{key:r.key,values:(e=r.valueFilter)===null||e===void 0?void 0:e.values}}var jd=p(()=>{"use strict"});var Da,dy=p(()=>{"use strict";_();Yr();ar();jd();Da=class{constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=t??new ka,this.resultsWatcher=si(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.convertToAnalyticsMap(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:t}=V.getState();this.setAppName(e??"unknown"),this.setAppVersion(t??"unknown")}convertToAnalyticsMap(e){let t;switch(e.editorialType){case"BOOK":t="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":t="SHARED_PERSONAL_BOOK";break;case"ARTICLE":t="RESOURCE";break}return{id:e.id,title:e.title,type:t,metadata:e.metadata}}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=V.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,t){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Eo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ri(e.metadataFilters),facets:e.metadataFilters.map(n=>Ai(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,t){if(e.metadataFilters.find(n=>{var a;return n.key==="ft:publicationId"&&((a=n.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Eo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ri(e.metadataFilters),facets:e.metadataFilters.map(a=>Ai(a))},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==kt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Eo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ri(i.metadataFilters),facets:i.metadataFilters.map(s=>Ai(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==kt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Eo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ri(i.metadataFilters),facets:i.metadataFilters.map(s=>Ai(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case kt.MAP:return{id:e.map.mapId,title:e.map.title,type:ci.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case kt.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:ci.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case kt.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:ci.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var t,i,n,a,s;return(a=(i=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var tt,Ma,Ua,za,Ne,Gd=p(()=>{"use strict";P();Q();_();zd();No();ar();Ta();dy();tt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ma=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ua=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},za=class extends CustomEvent{constructor(e,t,i){super("ft-search-results-change",{detail:{request:e,paging:t,spellcheck:i}})}},Ne=class extends dt{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=wi.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Da(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(V)}render(){return S`
1233
+ `}update(e){var t;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(t=this.defaultMessage)!==null&&t!==void 0?t:""})}};Gt.elementDefinitions={};Gt.styles=bg;bn([Oe()],Gt.prototype,"editorMode",void 0);bn([h()],Gt.prototype,"context",void 0);bn([h()],Gt.prototype,"key",void 0);bn([Ee([])],Gt.prototype,"args",void 0);bn([h()],Gt.prototype,"defaultMessage",void 0)});var sr,Gg=p(()=>{"use strict";ar();sr=class r{static build(e){return new r(e)}static buildCustom(e){return new r(e,!0)}static fromGwt(e){return new r(e)}get service(){return this.custom?Aa:Si}constructor(e,t=!1){this.name=e,this.custom=t,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}}});var Kg=p(()=>{"use strict";gn()});var qg=p(()=>{"use strict"});var lr=p(()=>{"use strict";_();Pd();Gg();gn();Kg();vd();qg();Pd();U("ft-i18n")(Gt)});var Qg,Xg=p(()=>{Bt();Qg=r=>r??$});var Jg=p(()=>{Xg()});function ey(r){var e,t,i,n,a;return((n=(t=(e=r.map)===null||e===void 0?void 0:e.openMode)!==null&&t!==void 0?t:(i=r.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=r.document)===null||a===void 0?void 0:a.openMode)===ua.EXTERNAL}function Fa(r){var e,t,i,n,a;if(ey(r))return(n=(t=(e=r.map)===null||e===void 0?void 0:e.originUrl)!==null&&t!==void 0?t:(i=r.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=r.document)===null||a===void 0?void 0:a.originUrl;switch(r.type){case Lt.MAP:return r.map.readerUrl;case Lt.DOCUMENT:return r.document.viewerUrl;case Lt.TOPIC:return r.topic.readerUrl}return""}function ty(r,e){return Qg(e&&ey(r)?"_blank":void 0)}var Bd=p(()=>{"use strict";Yr();Jg()});var Oi,Ei,Md=p(()=>{"use strict";Oi=class extends CustomEvent{constructor(e,t){super("ft-search-result-click",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}},Ei=class extends CustomEvent{constructor(e,t){super("ft-search-result-open-context-menu",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}}});var x0,Ud,zd=p(()=>{"use strict";P();x0={},Ud=I`
1234
+ `});var ry=p(()=>{"use strict"});var S0,oy,iy=p(()=>{"use strict";_();S0={setRequest:(r,e)=>{r.request=e.payload},setRequestQuery:(r,e)=>{r.request.query=e.payload},setRequestContentLocale:(r,e)=>{r.request.contentLocale=e.payload},setPageSize:(r,e)=>{var t;let i=+((t=e.payload)!==null&&t!==void 0?t:20);r.request.paging.perPage=isNaN(i)?20:ho(1,i,1e3)},setPageNumber:(r,e)=>{r.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(r,e)=>{r.request.sort=e.payload},setRequestFilters:(r,e)=>{r.request.metadataFilters=e.payload},setRequestFacets:(r,e)=>{r.request.facets=e.payload},setRequestVirtualField:(r,e)=>{r.request.virtualField=e.payload},setRequestScope:(r,e)=>{r.request.scope=e.payload},setOtherQueryParams:(r,e)=>{r.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(r,e)=>{var t;r.request.clusterSortCriterions=(t=e.payload)!==null&&t!==void 0?t:[]}},oy=r=>wr.get({name:"ft-search-"+r,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:S0})});var Ba,ny=p(()=>{"use strict";ar();Ba=class extends mt{constructor(e){super(!0,e)}async launchSearch(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(t),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(t),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(t=>t.valueFilter==null?t:{...t,valueFilter:{...t.valueFilter,values:[...t.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((t,i)=>t.key.localeCompare(i.key))}}});var ay,vn,wi,Hd=p(()=>{"use strict";_();iy();Yr();ny();ay=r=>r.request.virtualField===Eo.TITLE_ONLY&&r.request.scope===pi.DOCUMENTS,vn=class r extends Event{constructor(){super(r.eventName)}};vn.eventName="search-context-clear-all-filters";wi=class r{static build(e,t){return new r(oy(e.trim()||"context"),t)}constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new he(10),this.searchDebouncer=new he(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new he(300),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>({input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:i.request.sort,contentLocale:i.request.contentLocale,scope:i.request.scope}),this.service=t??new Ba,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=si(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=si(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var t;let i=(t=this.store.getState().locales)!==null&&t!==void 0?t:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let t=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(t),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Eo.TITLE_ONLY),this.store.actions.setRequestScope(pi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Eo.EVERYWHERE),this.store.actions.setRequestScope(pi.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return ay(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new vn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,t){let i=this.facetIds.filter(n=>n!=e);t&&i.push(t),this.facetIds=i}get facetIds(){var e;let t=this.store.getState().request;return[...new Set([...t.facets.map(i=>i.id),...((e=t.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,t){this.setValueFilter(e,t)}setValueFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:t,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:t}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.dateFilter),...t.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,t,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:t,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.rangeFilter),...t.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var t,i,n,a;try{if((t=this.cancelableSearch)===null||t===void 0||t.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=jo(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof Qt||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var t;try{(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=jo(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof Qt)&&this.errorHandler&&this.errorHandler(i)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function E0(r){class e extends r{setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Wd]=0,this[sy]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Wd]>O0?window.clearInterval(this[sy]):(this[Wd]++,this.dispatchEvent(new Vd))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return C0([D()],e.prototype,"stateManager",void 0),e}var C0,Vd,sy,Wd,O0,$t,Po=p(()=>{"use strict";_();Q();ry();Hd();C0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Vd=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},sy=Symbol("registerInterval"),Wd=Symbol("registerAttempts"),O0=40;$t=class extends E0(zt){}});function Ri(r){return r.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Ai(r){var e;return r.dateFilter?{key:r.key,type:"DATE",dateValue:r.dateFilter.type}:r.rangeFilter?{key:r.key,type:"RANGE",from:r.rangeFilter.from,to:r.rangeFilter.to}:{key:r.key,values:(e=r.valueFilter)===null||e===void 0?void 0:e.values}}var jd=p(()=>{"use strict"});var Da,ly=p(()=>{"use strict";_();Yr();ar();jd();Da=class{constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=t??new ka,this.resultsWatcher=si(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.convertToAnalyticsMap(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:t}=V.getState();this.setAppName(e??"unknown"),this.setAppVersion(t??"unknown")}convertToAnalyticsMap(e){let t;switch(e.editorialType){case"BOOK":t="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":t="SHARED_PERSONAL_BOOK";break;case"ARTICLE":t="RESOURCE";break}return{id:e.id,title:e.title,type:t,metadata:e.metadata}}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=V.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,t){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Oo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ri(e.metadataFilters),facets:e.metadataFilters.map(n=>Ai(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,t){if(e.metadataFilters.find(n=>{var a;return n.key==="ft:publicationId"&&((a=n.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Oo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ri(e.metadataFilters),facets:e.metadataFilters.map(a=>Ai(a))},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Lt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Oo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ri(i.metadataFilters),facets:i.metadataFilters.map(s=>Ai(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Lt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Oo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ri(i.metadataFilters),facets:i.metadataFilters.map(s=>Ai(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case Lt.MAP:return{id:e.map.mapId,title:e.map.title,type:ci.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Lt.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:ci.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Lt.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:ci.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var t,i,n,a,s;return(a=(i=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var tt,Ma,Ua,za,Ne,Gd=p(()=>{"use strict";P();Q();_();zd();Po();ar();Ta();ly();tt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ma=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ua=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},za=class extends CustomEvent{constructor(e,t,i){super("ft-search-results-change",{detail:{request:e,paging:t,spellcheck:i}})}},Ne=class extends zt{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=wi.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Da(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(V)}render(){return S`
1235
1235
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"
1236
1236
  @ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
1237
- `}willUpdate(e){super.willUpdate(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ua(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new za(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Ma(e))}reloadSavedSearches(){$d.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};Ne.elementDefinitions={};Ne.styles=Ud;tt([Oe({store:V.name})],Ne.prototype,"session",void 0);tt([h()],Ne.prototype,"query",void 0);tt([h()],Ne.prototype,"contentLocale",void 0);tt([h({type:Number})],Ne.prototype,"pageSize",void 0);tt([h({type:Boolean})],Ne.prototype,"searchInDocumentTitlesOnly",void 0);tt([h()],Ne.prototype,"scope",void 0);tt([h()],Ne.prototype,"virtualField",void 0);tt([h({type:Boolean})],Ne.prototype,"ignoreEmptyQuery",void 0);tt([Oe({store:V.name})],Ne.prototype,"openExternalDocumentInNewTab",void 0);tt([Ee([])],Ne.prototype,"filters",void 0);tt([Ee([])],Ne.prototype,"sort",void 0);tt([Ee({})],Ne.prototype,"otherQueryParams",void 0);tt([Oe({store:"search"})],Ne.prototype,"request",void 0);tt([Oe({store:"search"})],Ne.prototype,"paging",void 0);tt([Oe({store:"search",selector:r=>r.spellcheck})],Ne.prototype,"autocorrect",void 0);tt([h({attribute:!1})],Ne.prototype,"searchServiceProvider",void 0)});var py=p(()=>{"use strict"});var uy={};ie(uy,{ClearAllFiltersEvent:()=>vn,FtSearchContext:()=>Ne,FtSearchContextCssVariables:()=>C0,FtSearchStateManager:()=>wi,LoadErrorEvent:()=>Ma,SearchRequestChangeEvent:()=>Ua,SearchResultsChangeEvent:()=>za,convertMetadataFilterToAnalyticsFacet:()=>Ai,getAnalyticsLastUpdate:()=>Ri,searchInDocumentTitlesOnlySelector:()=>ly,styles:()=>Ud});var fy=p(()=>{"use strict";_();Gd();zd();py();Gd();Hd();jd();U("ft-search-context")(Ne)});var Jr,Kd=p(()=>{"use strict";lr();Jr=sr.build("designedSearchInput")});var Nt,qd=p(()=>{"use strict";(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(Nt||(Nt={}))});var hy,Zd=p(()=>{"use strict";P();hy=I`
1237
+ `}willUpdate(e){super.willUpdate(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ua(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new za(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Ma(e))}reloadSavedSearches(){$d.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};Ne.elementDefinitions={};Ne.styles=Ud;tt([Oe({store:V.name})],Ne.prototype,"session",void 0);tt([h()],Ne.prototype,"query",void 0);tt([h()],Ne.prototype,"contentLocale",void 0);tt([h({type:Number})],Ne.prototype,"pageSize",void 0);tt([h({type:Boolean})],Ne.prototype,"searchInDocumentTitlesOnly",void 0);tt([h()],Ne.prototype,"scope",void 0);tt([h()],Ne.prototype,"virtualField",void 0);tt([h({type:Boolean})],Ne.prototype,"ignoreEmptyQuery",void 0);tt([Oe({store:V.name})],Ne.prototype,"openExternalDocumentInNewTab",void 0);tt([Ee([])],Ne.prototype,"filters",void 0);tt([Ee([])],Ne.prototype,"sort",void 0);tt([Ee({})],Ne.prototype,"otherQueryParams",void 0);tt([Oe({store:"search"})],Ne.prototype,"request",void 0);tt([Oe({store:"search"})],Ne.prototype,"paging",void 0);tt([Oe({store:"search",selector:r=>r.spellcheck})],Ne.prototype,"autocorrect",void 0);tt([h({attribute:!1})],Ne.prototype,"searchServiceProvider",void 0)});var cy=p(()=>{"use strict"});var dy={};ie(dy,{ClearAllFiltersEvent:()=>vn,FtSearchContext:()=>Ne,FtSearchContextCssVariables:()=>x0,FtSearchStateManager:()=>wi,LoadErrorEvent:()=>Ma,SearchRequestChangeEvent:()=>Ua,SearchResultsChangeEvent:()=>za,convertMetadataFilterToAnalyticsFacet:()=>Ai,getAnalyticsLastUpdate:()=>Ri,searchInDocumentTitlesOnlySelector:()=>ay,styles:()=>Ud});var py=p(()=>{"use strict";_();Gd();zd();cy();Gd();Hd();jd();U("ft-search-context")(Ne)});var Jr,Kd=p(()=>{"use strict";lr();Jr=sr.build("designedSearchInput")});var Pt,qd=p(()=>{"use strict";(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(Pt||(Pt={}))});var uy,Zd=p(()=>{"use strict";P();uy=I`
1238
1238
  .ft-size-watcher--pixel {
1239
1239
  width: 0;
1240
1240
  height: 0;
@@ -1253,19 +1253,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1253
1253
  .ft-size-watcher--local .ft-size-watcher--watcher {
1254
1254
  width: 100%;
1255
1255
  }
1256
- `});var xn,Yd,Et,Qd=p(()=>{"use strict";P();Q();_();qd();Zd();xn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Yd=class extends CustomEvent{constructor(e,t){super("change",{detail:{size:e,category:t}})}},Et=class extends H{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Nt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new he}render(){return S`
1256
+ `});var xn,Yd,Ot,Qd=p(()=>{"use strict";P();Q();_();qd();Zd();xn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Yd=class extends CustomEvent{constructor(e,t){super("change",{detail:{size:e,category:t}})}},Ot=class extends H{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Pt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new he}render(){return S`
1257
1257
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1258
1258
  <div class="ft-size-watcher--watcher"></div>
1259
1259
  </div>
1260
- `}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=Nt.S:this.size<976?this.category=Nt.M:this.size<1024?this.category=Nt.L:this.size<1440?this.category=Nt.XL:this.category=Nt.XXL,this.dispatchEvent(new Yd(this.size,this.category)))},this.debounceTimeout)}};Et.elementDefinitions={};Et.styles=hy;xn([h({type:Number})],Et.prototype,"debounceTimeout",void 0);xn([h({type:Boolean})],Et.prototype,"local",void 0);xn([h({type:Number,reflect:!0})],Et.prototype,"size",void 0);xn([h({type:String,reflect:!0})],Et.prototype,"category",void 0);xn([z(".ft-size-watcher--watcher")],Et.prototype,"watcher",void 0)});var my=p(()=>{"use strict";_();Qd();Qd();Zd();qd();U("ft-size-watcher")(Et)});function Ha(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function gy(r){return Ha(r).split("|").pop()}function yy(r){return Ha(r).split("|").join(" > ")}function by(r,e){return{label:r.label,selected:!e&&r.selected,subOptions:r.childNodes.map(t=>by(t,r.selected)),value:r.value}}function vy(r){return St(r.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]}).filter(e=>e.selected).map(e=>e.label)}function Xd(r){return{id:r.key,label:r.label,multivalued:r.multiSelectionable,options:r.rootNodes.map(e=>by(e,!1))}}function xy(r){return St(r.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Jd=p(()=>{"use strict";_()});var wt,Sy,ep=p(()=>{"use strict";_();P();Be();ut();wt={textColor:o.extend("--ft-checkbox-text-color","",E.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",W.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",E.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",E.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",E.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",E.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",E.colorError)},Sy=I`
1260
+ `}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=Pt.S:this.size<976?this.category=Pt.M:this.size<1024?this.category=Pt.L:this.size<1440?this.category=Pt.XL:this.category=Pt.XXL,this.dispatchEvent(new Yd(this.size,this.category)))},this.debounceTimeout)}};Ot.elementDefinitions={};Ot.styles=uy;xn([h({type:Number})],Ot.prototype,"debounceTimeout",void 0);xn([h({type:Boolean})],Ot.prototype,"local",void 0);xn([h({type:Number,reflect:!0})],Ot.prototype,"size",void 0);xn([h({type:String,reflect:!0})],Ot.prototype,"category",void 0);xn([z(".ft-size-watcher--watcher")],Ot.prototype,"watcher",void 0)});var fy=p(()=>{"use strict";_();Qd();Qd();Zd();qd();U("ft-size-watcher")(Ot)});function Ha(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function hy(r){return Ha(r).split("|").pop()}function my(r){return Ha(r).split("|").join(" > ")}function gy(r,e){return{label:r.label,selected:!e&&r.selected,subOptions:r.childNodes.map(t=>gy(t,r.selected)),value:r.value}}function yy(r){return xt(r.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]}).filter(e=>e.selected).map(e=>e.label)}function Xd(r){return{id:r.key,label:r.label,multivalued:r.multiSelectionable,options:r.rootNodes.map(e=>gy(e,!1))}}function by(r){return xt(r.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Jd=p(()=>{"use strict";_()});var Et,vy,ep=p(()=>{"use strict";_();P();Be();pt();Et={textColor:o.extend("--ft-checkbox-text-color","",E.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",W.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",E.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",E.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",E.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",E.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",E.colorError)},vy=I`
1261
1261
  * {
1262
1262
  box-sizing: border-box;
1263
1263
  }
1264
1264
 
1265
1265
  .ft-checkbox {
1266
1266
  box-sizing: border-box;
1267
- color: ${wt.textColor};
1268
- font-size: ${wt.fontSize};
1267
+ color: ${Et.textColor};
1268
+ font-size: ${Et.fontSize};
1269
1269
 
1270
1270
  display: inline-flex;
1271
1271
  align-items: center;
@@ -1273,7 +1273,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1273
1273
  }
1274
1274
 
1275
1275
  .ft-checkbox--disabled {
1276
- color: ${wt.disabledColor};
1276
+ color: ${Et.disabledColor};
1277
1277
  }
1278
1278
 
1279
1279
  input {
@@ -1297,26 +1297,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1297
1297
 
1298
1298
  .ft-checkbox--box {
1299
1299
  display: flex;
1300
- border: 2px solid ${wt.borderColor};
1300
+ border: 2px solid ${Et.borderColor};
1301
1301
  border-radius: 2px;
1302
1302
 
1303
1303
  width: 18px;
1304
1304
  height: 18px;
1305
1305
 
1306
- color: ${wt.checkColor};
1306
+ color: ${Et.checkColor};
1307
1307
  }
1308
1308
 
1309
1309
 
1310
1310
  .ft-checkbox--checked .ft-checkbox--box,
1311
1311
  .ft-checkbox--indeterminate .ft-checkbox--box {
1312
- border-color: ${wt.activeColor};
1313
- background-color: ${wt.activeColor};
1312
+ border-color: ${Et.activeColor};
1313
+ background-color: ${Et.activeColor};
1314
1314
  }
1315
1315
 
1316
1316
  .ft-checkbox--disabled .ft-checkbox--box {
1317
- border-color: ${wt.disabledColor};
1317
+ border-color: ${Et.disabledColor};
1318
1318
  background-color: transparent;
1319
- color: ${wt.disabledColor};
1319
+ color: ${Et.disabledColor};
1320
1320
  }
1321
1321
 
1322
1322
  .ft-checkbox--checkmark {
@@ -1337,20 +1337,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1337
1337
  }
1338
1338
 
1339
1339
  .ft-checkbox.ft-checkbox--error {
1340
- color: ${wt.errorColor};
1341
- ${y(T.color,wt.errorColor)};
1340
+ color: ${Et.errorColor};
1341
+ ${y(T.color,Et.errorColor)};
1342
1342
 
1343
1343
  .ft-checkbox--box {
1344
- border-color: ${wt.errorColor};
1344
+ border-color: ${Et.errorColor};
1345
1345
  }
1346
1346
 
1347
1347
  &.ft-checkbox--checked, &.ft-checkbox--indeterminate {
1348
1348
  .ft-checkbox--box {
1349
- background-color: ${wt.errorColor};
1349
+ background-color: ${Et.errorColor};
1350
1350
  }
1351
1351
  }
1352
1352
  }
1353
- `});var eo,rt,tp=p(()=>{"use strict";P();Q();_();nt();ut();Be();ep();eo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},rt=class extends H{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 S`
1353
+ `});var eo,rt,tp=p(()=>{"use strict";P();Q();_();nt();pt();Be();ep();eo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},rt=class extends H{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 S`
1354
1354
  <label class="${ye(e)}" for="checkbox-input" part="checkbox-label">
1355
1355
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1356
1356
  <ft-ripple part="checkbox-ripple"
@@ -1377,7 +1377,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1377
1377
  <slot></slot>
1378
1378
  </ft-typography>
1379
1379
  </label>
1380
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};rt.elementDefinitions={"ft-ripple":te,"ft-typography":re};rt.styles=Sy;eo([h()],rt.prototype,"name",void 0);eo([h({type:Boolean,reflect:!0})],rt.prototype,"checked",void 0);eo([h({type:Boolean})],rt.prototype,"indeterminate",void 0);eo([h({type:Boolean})],rt.prototype,"disabled",void 0);eo([h({type:Boolean})],rt.prototype,"error",void 0);eo([z(".ft-checkbox")],rt.prototype,"container",void 0);eo([z("ft-ripple")],rt.prototype,"ripple",void 0);eo([z("input")],rt.prototype,"input",void 0)});var Cy=p(()=>{"use strict"});var Oy=p(()=>{"use strict";_();tp();tp();ep();Cy();U("ft-checkbox")(rt)});var to,Ey,rp=p(()=>{"use strict";P();_();Be();to={textColor:o.extend("--ft-radio-text-color","",E.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",W.fontSize),colorPrimary:o.external(E.colorPrimary,"Design system"),colorOnPrimary:o.external(E.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",E.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system")},Ey=I`
1380
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};rt.elementDefinitions={"ft-ripple":te,"ft-typography":re};rt.styles=vy;eo([h()],rt.prototype,"name",void 0);eo([h({type:Boolean,reflect:!0})],rt.prototype,"checked",void 0);eo([h({type:Boolean})],rt.prototype,"indeterminate",void 0);eo([h({type:Boolean})],rt.prototype,"disabled",void 0);eo([h({type:Boolean})],rt.prototype,"error",void 0);eo([z(".ft-checkbox")],rt.prototype,"container",void 0);eo([z("ft-ripple")],rt.prototype,"ripple",void 0);eo([z("input")],rt.prototype,"input",void 0)});var xy=p(()=>{"use strict"});var Sy=p(()=>{"use strict";_();tp();tp();ep();xy();U("ft-checkbox")(rt)});var to,Cy,rp=p(()=>{"use strict";P();_();Be();to={textColor:o.extend("--ft-radio-text-color","",E.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",W.fontSize),colorPrimary:o.external(E.colorPrimary,"Design system"),colorOnPrimary:o.external(E.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",E.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system")},Cy=I`
1381
1381
  * {
1382
1382
  box-sizing: border-box;
1383
1383
  }
@@ -1466,7 +1466,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1466
1466
  .ft-radio ft-typography {
1467
1467
  padding-right: 2px;
1468
1468
  }
1469
- `});var Ir,Wa,We,op=p(()=>{"use strict";P();Q();_();nt();ut();Be();rp();Ir=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Wa=class extends CustomEvent{constructor(e,t){super("change",{detail:{value:e,checked:t},bubbles:!0,composed:!0})}},We=class extends H{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return S`
1469
+ `});var Ir,Wa,We,op=p(()=>{"use strict";P();Q();_();nt();pt();Be();rp();Ir=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Wa=class extends CustomEvent{constructor(e,t){super("change",{detail:{value:e,checked:t},bubbles:!0,composed:!0})}},We=class extends H{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return S`
1470
1470
  <div class="${ye(e)}">
1471
1471
  <div class="ft-radio--box-container">
1472
1472
  <ft-ripple
@@ -1491,7 +1491,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1491
1491
  </ft-typography>
1492
1492
  </label>
1493
1493
  </div>
1494
- `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Wa(this.value,this.checked))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Wa(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 t;(t=this.ripple)===null||t===void 0||t.forceFocusUpdate()},0)}};We.elementDefinitions={"ft-ripple":te,"ft-typography":re};We.styles=Ey;Ir([h()],We.prototype,"value",void 0);Ir([h()],We.prototype,"name",void 0);Ir([h({type:Boolean,reflect:!0})],We.prototype,"checked",void 0);Ir([h({attribute:"aria-checked",reflect:!0})],We.prototype,"ariaChecked",void 0);Ir([h({type:Boolean})],We.prototype,"disabled",void 0);Ir([h({reflect:!0,attribute:"role"})],We.prototype,"role",void 0);Ir([z(".ft-radio")],We.prototype,"container",void 0);Ir([z("ft-ripple")],We.prototype,"ripple",void 0);Ir([z("input")],We.prototype,"input",void 0)});var wy,ip=p(()=>{"use strict";P();wy=I`
1494
+ `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Wa(this.value,this.checked))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Wa(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 t;(t=this.ripple)===null||t===void 0||t.forceFocusUpdate()},0)}};We.elementDefinitions={"ft-ripple":te,"ft-typography":re};We.styles=Cy;Ir([h()],We.prototype,"value",void 0);Ir([h()],We.prototype,"name",void 0);Ir([h({type:Boolean,reflect:!0})],We.prototype,"checked",void 0);Ir([h({attribute:"aria-checked",reflect:!0})],We.prototype,"ariaChecked",void 0);Ir([h({type:Boolean})],We.prototype,"disabled",void 0);Ir([h({reflect:!0,attribute:"role"})],We.prototype,"role",void 0);Ir([z(".ft-radio")],We.prototype,"container",void 0);Ir([z("ft-ripple")],We.prototype,"ripple",void 0);Ir([z("input")],We.prototype,"input",void 0)});var Oy,ip=p(()=>{"use strict";P();Oy=I`
1495
1495
  :host {
1496
1496
  display: block;
1497
1497
  }
@@ -1499,12 +1499,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1499
1499
  :host(:focus-visible) {
1500
1500
  outline: none;
1501
1501
  }
1502
- `});var Li,bt,np=p(()=>{"use strict";_();Q();P();ip();Li=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},bt=class extends H{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,t;return(t=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio")?[i]:[...i.querySelectorAll("ft-radio")]))!==null&&t!==void 0?t:[]}render(){return S`
1502
+ `});var Li,yt,np=p(()=>{"use strict";_();Q();P();ip();Li=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},yt=class extends H{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,t;return(t=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio")?[i]:[...i.querySelectorAll("ft-radio")]))!==null&&t!==void 0?t:[]}render(){return S`
1503
1503
  <slot @slotchange=${this.onSlotChange}
1504
1504
  @change=${this.onChange}
1505
1505
  @keydown=${this.onKeyDown}
1506
1506
  ></slot>
1507
- `}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(t=>t.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(t=>t.checked=e.detail.value===t.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let t=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{t=!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":{t=!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()}t&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(t=>t.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};bt.elementDefinitions={};bt.styles=wy;Li([h()],bt.prototype,"name",void 0);Li([h({reflect:!0,attribute:"role"})],bt.prototype,"role",void 0);Li([h({reflect:!0})],bt.prototype,"tabIndex",void 0);Li([h({reflect:!0,attribute:"aria-labelledby"})],bt.prototype,"ariaLabelledBy",void 0);Li([xs()],bt.prototype,"assignedElements",void 0);Li([D()],bt.prototype,"currentSelectedIndex",void 0)});var Ry=p(()=>{"use strict"});var Ay=p(()=>{"use strict"});var ap=p(()=>{"use strict";_();op();np();op();rp();Ry();np();ip();Ay();U("ft-radio")(We);U("ft-radio-group")(bt)});var Sn,Ly,sp=p(()=>{"use strict";P();_();ko();It();Sn={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",E.colorOnSurface),borderRadiusM:o.external(E.borderRadiusM,"Design system"),colorOutline:o.external(E.colorOutline,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),colorOnPrimary:o.external(E.colorOnPrimary,"Design system"),fontFamily:o.external(ze.fontFamily,"Body2 typography"),fontSize:o.external(ze.fontSize,"Body2 typography"),fontWeight:o.external(ze.fontWeight,"Body2 typography"),letterSpacing:o.external(ze.letterSpacing,"Body2 typography"),lineHeight:o.external(ze.lineHeight,"Body2 typography"),textTransform:o.external(ze.textTransform,"Body2 typography")},Ly=I`
1507
+ `}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(t=>t.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(t=>t.checked=e.detail.value===t.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let t=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{t=!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":{t=!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()}t&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(t=>t.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};yt.elementDefinitions={};yt.styles=Oy;Li([h()],yt.prototype,"name",void 0);Li([h({reflect:!0,attribute:"role"})],yt.prototype,"role",void 0);Li([h({reflect:!0})],yt.prototype,"tabIndex",void 0);Li([h({reflect:!0,attribute:"aria-labelledby"})],yt.prototype,"ariaLabelledBy",void 0);Li([xs()],yt.prototype,"assignedElements",void 0);Li([D()],yt.prototype,"currentSelectedIndex",void 0)});var Ey=p(()=>{"use strict"});var wy=p(()=>{"use strict"});var ap=p(()=>{"use strict";_();op();np();op();rp();Ey();np();ip();wy();U("ft-radio")(We);U("ft-radio-group")(yt)});var Sn,Ry,sp=p(()=>{"use strict";P();_();Lo();kt();Sn={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",E.colorOnSurface),borderRadiusM:o.external(E.borderRadiusM,"Design system"),colorOutline:o.external(E.colorOutline,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),colorOnPrimary:o.external(E.colorOnPrimary,"Design system"),fontFamily:o.external(ze.fontFamily,"Body2 typography"),fontSize:o.external(ze.fontSize,"Body2 typography"),fontWeight:o.external(ze.fontWeight,"Body2 typography"),letterSpacing:o.external(ze.letterSpacing,"Body2 typography"),lineHeight:o.external(ze.lineHeight,"Body2 typography"),textTransform:o.external(ze.textTransform,"Body2 typography")},Ry=I`
1508
1508
  .ft-filter-level--container {
1509
1509
  display: flex;
1510
1510
  flex-direction: column;
@@ -1574,7 +1574,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1574
1574
  margin: 10px 0;
1575
1575
  color: ${Sn.colorOnSurfaceMedium};
1576
1576
  }
1577
- `});var at,De,ky=p(()=>{"use strict";P();Q();Ut();_();jt();Be();ut();_t();Oy();ap();sp();at=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},De=class extends H{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}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,t;return(t=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&t!==void 0?t: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"]'}}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let t=e.slice(0,this.limit);return S`
1577
+ `});var at,De,Ay=p(()=>{"use strict";P();Q();Mt();_();jt();Be();pt();It();Sy();ap();sp();at=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},De=class extends H{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}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,t;return(t=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&t!==void 0?t: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"]'}}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let t=e.slice(0,this.limit);return S`
1578
1578
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1579
1579
  ${this.parent==null?null:S`
1580
1580
  <div tabindex="0"
@@ -1626,7 +1626,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1626
1626
  data-value="${e.value}"
1627
1627
  .checked=${e.selected}
1628
1628
  .disabled=${this.disabled}
1629
- .indeterminate=${St((t=e.subOptions)!==null&&t!==void 0?t:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1629
+ .indeterminate=${xt((t=e.subOptions)!==null&&t!==void 0?t:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1630
1630
  @change=${i=>this.optionsChanged(i,e)}>
1631
1631
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1632
1632
  </ft-checkbox>
@@ -1641,7 +1641,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1641
1641
  @change=${t=>this.optionsChanged(t,e)}>
1642
1642
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1643
1643
  </ft-radio>
1644
- `}onRadioKeyDown(e,t){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,t))}optionsChanged(e,t){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:t}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};De.elementDefinitions={"ft-button":Pe,"ft-ripple":te,"ft-typography":re,"ft-checkbox":rt,"ft-icon":xe,"ft-radio":We};De.styles=Ly;at([h({type:String})],De.prototype,"filterId",void 0);at([h({type:Object})],De.prototype,"parent",void 0);at([h({type:Array})],De.prototype,"options",void 0);at([h({type:Boolean})],De.prototype,"multivalued",void 0);at([h({type:Boolean})],De.prototype,"disabled",void 0);at([h({type:Boolean})],De.prototype,"hideSelectedOptions",void 0);at([h({type:Boolean})],De.prototype,"displayCount",void 0);at([h({type:Boolean})],De.prototype,"preventNavigation",void 0);at([h({type:String})],De.prototype,"filter",void 0);at([h({type:String})],De.prototype,"moreValuesButtonLabel",void 0);at([h({type:String})],De.prototype,"noValuesLabel",void 0);at([h({type:Number})],De.prototype,"displayedValuesLimit",void 0);at([z(".ft-filter-level--container")],De.prototype,"container",void 0);at([D()],De.prototype,"radios",void 0);at([D()],De.prototype,"displayedPages",void 0)});var st,Iy,Va=p(()=>{"use strict";P();_();ko();st={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",E.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(E.colorSurface,"Design system")},Iy=I`
1644
+ `}onRadioKeyDown(e,t){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,t))}optionsChanged(e,t){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:t}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};De.elementDefinitions={"ft-button":Pe,"ft-ripple":te,"ft-typography":re,"ft-checkbox":rt,"ft-icon":xe,"ft-radio":We};De.styles=Ry;at([h({type:String})],De.prototype,"filterId",void 0);at([h({type:Object})],De.prototype,"parent",void 0);at([h({type:Array})],De.prototype,"options",void 0);at([h({type:Boolean})],De.prototype,"multivalued",void 0);at([h({type:Boolean})],De.prototype,"disabled",void 0);at([h({type:Boolean})],De.prototype,"hideSelectedOptions",void 0);at([h({type:Boolean})],De.prototype,"displayCount",void 0);at([h({type:Boolean})],De.prototype,"preventNavigation",void 0);at([h({type:String})],De.prototype,"filter",void 0);at([h({type:String})],De.prototype,"moreValuesButtonLabel",void 0);at([h({type:String})],De.prototype,"noValuesLabel",void 0);at([h({type:Number})],De.prototype,"displayedValuesLimit",void 0);at([z(".ft-filter-level--container")],De.prototype,"container",void 0);at([D()],De.prototype,"radios",void 0);at([D()],De.prototype,"displayedPages",void 0)});var st,Ly,Va=p(()=>{"use strict";P();_();Lo();st={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",E.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(E.colorSurface,"Design system")},Ly=I`
1645
1645
  .ft-snap-scroll {
1646
1646
  box-sizing: border-box;
1647
1647
  position: relative;
@@ -1766,7 +1766,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1766
1766
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1767
1767
  background-color: ${st.colorSurface};
1768
1768
  }
1769
- `});var cr,lp,Me,cp=p(()=>{"use strict";P();Q();_();jt();nt();Va();cr=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},lp=class extends CustomEvent{constructor(e,t){super("current-element-change",{detail:{index:e,element:t}})}},Me=class extends H{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 he(200),this.updateScrollDebouncer=new he(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let t=this.elements[e];if(t){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(t[this.offsetAttribute]<n||t[this.offsetAttribute]+t[this.sizeAttribute]>i)&&this.scrollToElement(t)}}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=ye({"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":Ao}),t=this.controls&&this.withScroll;return S`
1769
+ `});var cr,lp,Me,cp=p(()=>{"use strict";P();Q();_();jt();nt();Va();cr=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},lp=class extends CustomEvent{constructor(e,t){super("current-element-change",{detail:{index:e,element:t}})}},Me=class extends H{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 he(200),this.updateScrollDebouncer=new he(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let t=this.elements[e];if(t){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(t[this.offsetAttribute]<n||t[this.offsetAttribute]+t[this.sizeAttribute]>i)&&this.scrollToElement(t)}}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=ye({"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":Ro}),t=this.controls&&this.withScroll;return S`
1770
1770
  <div part="container" class="${e}">
1771
1771
  <ft-button
1772
1772
  class="ft-snap-scroll--previous"
@@ -1790,7 +1790,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1790
1790
  @click=${this.next}
1791
1791
  ></ft-button>
1792
1792
  </div>
1793
- `}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 lp(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var t;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,(t=this.listenedContainer)===null||t===void 0||t.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let t=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<t&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var t,i;e&&(this.horizontal?(t=this.contentSlot)===null||t===void 0||t.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,t;this.elements=(t=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&t!==void 0?t:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let t=0;t<this.elements.length;t++)(e<0||this.getDistanceFromStart(this.elements[t])<this.getDistanceFromStart(this.elements[e]))&&(e=t);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 t=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-t)}};Me.elementDefinitions={"ft-button":Pe};Me.styles=Iy;cr([h({type:Boolean})],Me.prototype,"horizontal",void 0);cr([h({type:Boolean})],Me.prototype,"hideScrollbar",void 0);cr([h({type:Boolean})],Me.prototype,"controls",void 0);cr([h({type:Boolean})],Me.prototype,"limitSize",void 0);cr([D()],Me.prototype,"elements",void 0);cr([D()],Me.prototype,"currentElement",void 0);cr([D()],Me.prototype,"withScroll",void 0);cr([D()],Me.prototype,"startReached",void 0);cr([D()],Me.prototype,"endReached",void 0);cr([z(".ft-snap-scroll--content")],Me.prototype,"contentSlot",void 0)});var _y=p(()=>{"use strict"});var ja=p(()=>{"use strict";_();cp();cp();Va();_y();U("ft-snap-scroll")(Me)});var vt,Ty,Ga=p(()=>{"use strict";P();_();It();ko();vt={colorOutline:o.external(E.colorOutline,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),colorSurface:o.external(E.colorSurface,"Design system"),transitionDuration:o.external(E.transitionDuration,"Design system"),transitionTimingFunction:o.external(E.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",E.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",W.fontSize,"16px")},Ty=[or,vo,I`
1793
+ `}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 lp(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var t;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,(t=this.listenedContainer)===null||t===void 0||t.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let t=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<t&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var t,i;e&&(this.horizontal?(t=this.contentSlot)===null||t===void 0||t.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,t;this.elements=(t=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&t!==void 0?t:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let t=0;t<this.elements.length;t++)(e<0||this.getDistanceFromStart(this.elements[t])<this.getDistanceFromStart(this.elements[e]))&&(e=t);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 t=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-t)}};Me.elementDefinitions={"ft-button":Pe};Me.styles=Ly;cr([h({type:Boolean})],Me.prototype,"horizontal",void 0);cr([h({type:Boolean})],Me.prototype,"hideScrollbar",void 0);cr([h({type:Boolean})],Me.prototype,"controls",void 0);cr([h({type:Boolean})],Me.prototype,"limitSize",void 0);cr([D()],Me.prototype,"elements",void 0);cr([D()],Me.prototype,"currentElement",void 0);cr([D()],Me.prototype,"withScroll",void 0);cr([D()],Me.prototype,"startReached",void 0);cr([D()],Me.prototype,"endReached",void 0);cr([z(".ft-snap-scroll--content")],Me.prototype,"contentSlot",void 0)});var ky=p(()=>{"use strict"});var ja=p(()=>{"use strict";_();cp();cp();Va();ky();U("ft-snap-scroll")(Me)});var bt,Iy,Ga=p(()=>{"use strict";P();_();kt();Lo();bt={colorOutline:o.external(E.colorOutline,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),colorSurface:o.external(E.colorSurface,"Design system"),transitionDuration:o.external(E.transitionDuration,"Design system"),transitionTimingFunction:o.external(E.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",E.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",W.fontSize,"16px")},Iy=[or,vo,I`
1794
1794
  :host {
1795
1795
  display: flex;
1796
1796
  max-height: 100%;
@@ -1830,8 +1830,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1830
1830
  flex-shrink: 1;
1831
1831
  flex-grow: 1;
1832
1832
  word-break: break-word;
1833
- color: ${vt.labelColor};
1834
- font-size: ${vt.labelFontSize};
1833
+ color: ${bt.labelColor};
1834
+ font-size: ${bt.labelFontSize};
1835
1835
  ${y(W.lineHeight,"22px")};
1836
1836
  ${y(W.fontWeight,"bold")};
1837
1837
  }
@@ -1844,8 +1844,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1844
1844
  padding: 0 10px;
1845
1845
  overflow: hidden;
1846
1846
  height: 32px;
1847
- transition: height ${vt.transitionDuration} ${vt.transitionTimingFunction},
1848
- margin ${vt.transitionDuration} ${vt.transitionTimingFunction};
1847
+ transition: height ${bt.transitionDuration} ${bt.transitionTimingFunction},
1848
+ margin ${bt.transitionDuration} ${bt.transitionTimingFunction};
1849
1849
  transition-delay: 500ms;
1850
1850
  }
1851
1851
 
@@ -1858,15 +1858,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1858
1858
  display: block;
1859
1859
  width: 100%;
1860
1860
  border-radius: 4px;
1861
- border: 1px solid ${vt.colorOutline};
1861
+ border: 1px solid ${bt.colorOutline};
1862
1862
  padding: 4px;
1863
- background-color: ${vt.colorSurface};
1864
- color: ${vt.colorOnSurface};
1865
- outline-color: ${vt.colorPrimary};
1863
+ background-color: ${bt.colorSurface};
1864
+ color: ${bt.colorOnSurface};
1865
+ outline-color: ${bt.colorPrimary};
1866
1866
  }
1867
1867
 
1868
1868
  input::placeholder {
1869
- color: ${vt.colorOnSurfaceMedium};
1869
+ color: ${bt.colorOnSurfaceMedium};
1870
1870
  }
1871
1871
 
1872
1872
  input:placeholder-shown {
@@ -1882,7 +1882,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1882
1882
  }
1883
1883
 
1884
1884
  .ft-filter--separator {
1885
- border-top: 1px solid ${vt.colorOutline};
1885
+ border-top: 1px solid ${bt.colorOutline};
1886
1886
  margin: 4px 10px;
1887
1887
  }
1888
1888
 
@@ -1907,7 +1907,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1907
1907
  slot:not([name]) {
1908
1908
  display: none;
1909
1909
  }
1910
- `]});var Ie,dp,ue,pp=p(()=>{"use strict";P();Q();_();Be();ky();jt();ja();Ga();Ie=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},dp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ue=class extends H{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 he(300),this.changeDebouncer=new he(10),this.lastDispatchedValues=[]}get flatOptions(){return St(this.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]})}get childrenFilteredFlatOptions(){return St(this.options,e=>{var t;return e.selected?[]:(t=e.subOptions)!==null&&t!==void 0?t:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),t=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return S`
1910
+ `]});var Ie,dp,ue,pp=p(()=>{"use strict";P();Q();_();Be();Ay();jt();ja();Ga();Ie=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},dp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ue=class extends H{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 he(300),this.changeDebouncer=new he(10),this.lastDispatchedValues=[]}get flatOptions(){return xt(this.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]})}get childrenFilteredFlatOptions(){return xt(this.options,e=>{var t;return e.selected?[]:(t=e.subOptions)!==null&&t!==void 0?t:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),t=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return S`
1911
1911
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1912
1912
  part="container">
1913
1913
  ${!this.label&&!e?null:S`
@@ -1988,21 +1988,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1988
1988
  .exportpartsPrefixes=${["values","available-values"]}
1989
1989
  noValuesLabel="${this.noValuesLabel}"
1990
1990
  ></ft-filter-level>
1991
- `}goBack(e){this.slideOut=e.detail.value,Ki(()=>this.slideOut===void 0).then(()=>{var t;let i=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,Ki(()=>this.slideIn===void 0).then(()=>{var t;let i=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){Ki(()=>this.slideOut===void 0).then(()=>{var e;let t=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");t?.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 t;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?(t=i.subOptions)===null||t===void 0||t.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(t=>t.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;qe(this.lastDispatchedValues,e)||(this.dispatchEvent(new dp(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(t=>t),this.optionsChanged()}onFilterChange(){var e,t;this.filter=(t=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&t!==void 0?t:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};ue.elementDefinitions={"ft-button":Pe,"ft-filter-level":De,"ft-snap-scroll":Me,"ft-typography":re};ue.styles=Ty;Ie([h({type:String})],ue.prototype,"id",void 0);Ie([h({type:String})],ue.prototype,"label",void 0);Ie([h({type:String})],ue.prototype,"filterPlaceHolder",void 0);Ie([h({type:String})],ue.prototype,"clearButtonLabel",void 0);Ie([h({type:String})],ue.prototype,"moreValuesButtonLabel",void 0);Ie([h({type:String})],ue.prototype,"noValuesLabel",void 0);Ie([Ee([])],ue.prototype,"options",void 0);Ie([h({type:Boolean})],ue.prototype,"multivalued",void 0);Ie([h({type:Boolean})],ue.prototype,"disabled",void 0);Ie([h({type:Boolean})],ue.prototype,"raiseSelectedOptions",void 0);Ie([h({type:Boolean})],ue.prototype,"displayCount",void 0);Ie([h({type:Number})],ue.prototype,"displayedValuesLimit",void 0);Ie([h({type:Boolean})],ue.prototype,"hideClearButton",void 0);Ie([z(".ft-filter--slot")],ue.prototype,"slotElement",void 0);Ie([z(".ft-filter--container")],ue.prototype,"container",void 0);Ie([z(".ft-filter--values")],ue.prototype,"valuesContainer",void 0);Ie([z(".ft-filter--levels")],ue.prototype,"levelsContainer",void 0);Ie([D()],ue.prototype,"lastLevelHasHiddenvalues",void 0);Ie([z(".ft-filter--filter input")],ue.prototype,"filterInput",void 0);Ie([vs(".ft-filter--levels ft-filter-level")],ue.prototype,"levels",void 0);Ie([D()],ue.prototype,"withScroll",void 0);Ie([D()],ue.prototype,"filter",void 0);Ie([D()],ue.prototype,"slideIn",void 0);Ie([D()],ue.prototype,"slideOut",void 0)});var ki,Rt,up=p(()=>{"use strict";_();Q();P();ki=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Rt=class extends H{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return S`
1991
+ `}goBack(e){this.slideOut=e.detail.value,Ki(()=>this.slideOut===void 0).then(()=>{var t;let i=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,Ki(()=>this.slideIn===void 0).then(()=>{var t;let i=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){Ki(()=>this.slideOut===void 0).then(()=>{var e;let t=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");t?.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 t;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?(t=i.subOptions)===null||t===void 0||t.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(t=>t.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;qe(this.lastDispatchedValues,e)||(this.dispatchEvent(new dp(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(t=>t),this.optionsChanged()}onFilterChange(){var e,t;this.filter=(t=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&t!==void 0?t:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};ue.elementDefinitions={"ft-button":Pe,"ft-filter-level":De,"ft-snap-scroll":Me,"ft-typography":re};ue.styles=Iy;Ie([h({type:String})],ue.prototype,"id",void 0);Ie([h({type:String})],ue.prototype,"label",void 0);Ie([h({type:String})],ue.prototype,"filterPlaceHolder",void 0);Ie([h({type:String})],ue.prototype,"clearButtonLabel",void 0);Ie([h({type:String})],ue.prototype,"moreValuesButtonLabel",void 0);Ie([h({type:String})],ue.prototype,"noValuesLabel",void 0);Ie([Ee([])],ue.prototype,"options",void 0);Ie([h({type:Boolean})],ue.prototype,"multivalued",void 0);Ie([h({type:Boolean})],ue.prototype,"disabled",void 0);Ie([h({type:Boolean})],ue.prototype,"raiseSelectedOptions",void 0);Ie([h({type:Boolean})],ue.prototype,"displayCount",void 0);Ie([h({type:Number})],ue.prototype,"displayedValuesLimit",void 0);Ie([h({type:Boolean})],ue.prototype,"hideClearButton",void 0);Ie([z(".ft-filter--slot")],ue.prototype,"slotElement",void 0);Ie([z(".ft-filter--container")],ue.prototype,"container",void 0);Ie([z(".ft-filter--values")],ue.prototype,"valuesContainer",void 0);Ie([z(".ft-filter--levels")],ue.prototype,"levelsContainer",void 0);Ie([D()],ue.prototype,"lastLevelHasHiddenvalues",void 0);Ie([z(".ft-filter--filter input")],ue.prototype,"filterInput",void 0);Ie([vs(".ft-filter--levels ft-filter-level")],ue.prototype,"levels",void 0);Ie([D()],ue.prototype,"withScroll",void 0);Ie([D()],ue.prototype,"filter",void 0);Ie([D()],ue.prototype,"slideIn",void 0);Ie([D()],ue.prototype,"slideOut",void 0)});var ki,wt,up=p(()=>{"use strict";_();Q();P();ki=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},wt=class extends H{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return S`
1992
1992
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1993
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(t=>t)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Rt.elementDefinitions={};ki([h({type:String})],Rt.prototype,"label",void 0);ki([h({type:Object,converter:r=>r})],Rt.prototype,"value",void 0);ki([h({type:Boolean,reflect:!0})],Rt.prototype,"selected",void 0);ki([h({type:Object})],Rt.prototype,"subOptions",void 0);ki([Ee({})],Rt.prototype,"renderOption",void 0);ki([z(".ft-filter-option--slot")],Rt.prototype,"slotElement",void 0)});var $y=p(()=>{"use strict"});var Py=p(()=>{"use strict"});var Ny=p(()=>{"use strict";_();pp();up();sp();pp();Ga();$y();up();Py();U("ft-filter")(ue);U("ft-filter-option")(Rt)});var Fy,fp=p(()=>{"use strict";P();Fy=I`
1993
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(t=>t)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};wt.elementDefinitions={};ki([h({type:String})],wt.prototype,"label",void 0);ki([h({type:Object,converter:r=>r})],wt.prototype,"value",void 0);ki([h({type:Boolean,reflect:!0})],wt.prototype,"selected",void 0);ki([h({type:Object})],wt.prototype,"subOptions",void 0);ki([Ee({})],wt.prototype,"renderOption",void 0);ki([z(".ft-filter-option--slot")],wt.prototype,"slotElement",void 0)});var _y=p(()=>{"use strict"});var Ty=p(()=>{"use strict"});var $y=p(()=>{"use strict";_();pp();up();sp();pp();Ga();_y();up();Ty();U("ft-filter")(ue);U("ft-filter-option")(wt)});var Py,fp=p(()=>{"use strict";P();Py=I`
1994
1994
  .ft-accordion {
1995
1995
  box-sizing: border-box;
1996
1996
  }
1997
- `});var By,dr,hp=p(()=>{"use strict";P();Q();_();fp();By=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},dr=class extends H{constructor(){super(...arguments),this.multi=!1}render(){return S`
1997
+ `});var Ny,dr,hp=p(()=>{"use strict";P();Q();_();fp();Ny=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},dr=class extends H{constructor(){super(...arguments),this.multi=!1}render(){return S`
1998
1998
  <div class="ft-accordion">
1999
1999
  <slot @activated=${this.onChange}></slot>
2000
2000
  </div>
2001
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(t=>t.active=t===e.target)}};dr.elementDefinitions={};dr.styles=Fy;By([h({type:Boolean})],dr.prototype,"multi",void 0);By([z("slot")],dr.prototype,"content",void 0)});var Fo,Dy,mp=p(()=>{"use strict";P();_();Fo={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external(E.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Dy=I`
2001
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(t=>t.active=t===e.target)}};dr.elementDefinitions={};dr.styles=Py;Ny([h({type:Boolean})],dr.prototype,"multi",void 0);Ny([z("slot")],dr.prototype,"content",void 0)});var No,Fy,mp=p(()=>{"use strict";P();_();No={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external(E.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Fy=I`
2002
2002
  .ft-accordion-item {
2003
2003
  display: flex;
2004
2004
  flex-direction: column;
2005
- background-color: ${Fo.backgroundColor};
2005
+ background-color: ${No.backgroundColor};
2006
2006
  }
2007
2007
 
2008
2008
  .ft-accordion-item--toggle {
@@ -2012,8 +2012,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2012
2012
  display: flex;
2013
2013
  align-items: center;
2014
2014
  cursor: pointer;
2015
- padding: ${Fo.verticalSpacing} ${Fo.horizontalSpacing};
2016
- gap: calc(${Fo.horizontalSpacing} / 2);
2015
+ padding: ${No.verticalSpacing} ${No.horizontalSpacing};
2016
+ gap: calc(${No.horizontalSpacing} / 2);
2017
2017
  outline: none;
2018
2018
  }
2019
2019
 
@@ -2038,13 +2038,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2038
2038
  .ft-accordion-item--active .ft-accordion-item--content {
2039
2039
  height: initial;
2040
2040
  overflow: visible;
2041
- padding: ${Fo.verticalSpacing} ${Fo.horizontalSpacing};
2041
+ padding: ${No.verticalSpacing} ${No.horizontalSpacing};
2042
2042
  }
2043
2043
 
2044
2044
  .ft-accordion-item--separator {
2045
- border-bottom: 1px solid ${Fo.colorOutline};
2045
+ border-bottom: 1px solid ${No.colorOutline};
2046
2046
  }
2047
- `});var Ka,Ft,gp=p(()=>{"use strict";P();Q();_();ut();Be();_t();mp();Ka=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ft=class extends H{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return S`
2047
+ `});var Ka,Nt,gp=p(()=>{"use strict";P();Q();_();pt();Be();It();mp();Ka=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Nt=class extends H{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return S`
2048
2048
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
2049
2049
  <div class="ft-accordion-item--toggle"
2050
2050
  part="toggle"
@@ -2074,7 +2074,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2074
2074
  </div>
2075
2075
  <div class="ft-accordion-item--separator" part="separator"></div>
2076
2076
  </div>
2077
- `}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)}};Ft.elementDefinitions={"ft-ripple":te,"ft-typography":re,"ft-icon":xe};Ft.styles=Dy;Ka([h()],Ft.prototype,"icon",void 0);Ka([h()],Ft.prototype,"iconVariant",void 0);Ka([h()],Ft.prototype,"label",void 0);Ka([h({type:Boolean,reflect:!0})],Ft.prototype,"active",void 0)});var My=p(()=>{"use strict"});var Uy=p(()=>{"use strict"});var zy=p(()=>{"use strict";_();hp();gp();hp();fp();My();gp();mp();Uy();U("ft-accordion")(dr);U("ft-accordion-item")(Ft)});var Hy,ot,Wy,yp,Vy,jy,bp=p(()=>{"use strict";P();_();Rr();It();Lo();jt();Hy=o.extend("--ft-chip-color","",E.colorOnSurface),ot={backgroundColor:o.extend("--ft-chip-background-color","",E.colorSurface),color:Hy,fontSize:o.extend("--ft-chip-font-size","",ze.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",ze.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","",Hy),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","",E.colorOutline),opacityDisabled:o.external(E.colorOpacityDisabled,"Design system")},Wy=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",E.colorOnPrimary)),yp={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",E.colorPrimary)),color:Wy,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",Wy)},Vy={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},jy=[Or,I`
2077
+ `}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)}};Nt.elementDefinitions={"ft-ripple":te,"ft-typography":re,"ft-icon":xe};Nt.styles=Fy;Ka([h()],Nt.prototype,"icon",void 0);Ka([h()],Nt.prototype,"iconVariant",void 0);Ka([h()],Nt.prototype,"label",void 0);Ka([h({type:Boolean,reflect:!0})],Nt.prototype,"active",void 0)});var By=p(()=>{"use strict"});var Dy=p(()=>{"use strict"});var My=p(()=>{"use strict";_();hp();gp();hp();fp();By();gp();mp();Dy();U("ft-accordion")(dr);U("ft-accordion-item")(Nt)});var Uy,ot,zy,yp,Hy,Wy,bp=p(()=>{"use strict";P();_();Rr();kt();Ao();jt();Uy=o.extend("--ft-chip-color","",E.colorOnSurface),ot={backgroundColor:o.extend("--ft-chip-background-color","",E.colorSurface),color:Uy,fontSize:o.extend("--ft-chip-font-size","",ze.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",ze.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","",Uy),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","",E.colorOutline),opacityDisabled:o.external(E.colorOpacityDisabled,"Design system")},zy=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",E.colorOnPrimary)),yp={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",E.colorPrimary)),color:zy,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",zy)},Hy={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Wy=[Or,I`
2078
2078
  :host {
2079
2079
  display: inline-block;
2080
2080
  max-width: 100%;
@@ -2114,8 +2114,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2114
2114
 
2115
2115
  .ft-chip--dense {
2116
2116
  --ft-chip-internal-icon-padding: 3px;
2117
- --ft-chip-internal-vertical-padding: ${Vy.verticalPadding};
2118
- --ft-chip-internal-horizontal-padding: ${Vy.horizontalPadding};
2117
+ --ft-chip-internal-vertical-padding: ${Hy.verticalPadding};
2118
+ --ft-chip-internal-horizontal-padding: ${Hy.horizontalPadding};
2119
2119
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
2120
2120
  }
2121
2121
 
@@ -2214,7 +2214,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2214
2214
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
2215
2215
  order: -1;
2216
2216
  }
2217
- `]});var xt,qa,Fe,vp=p(()=>{"use strict";P();Q();nt();_();ut();Be();_t();bp();jt();xt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qa=class extends CustomEvent{constructor(){super("icon-click")}},Fe=class extends H{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":Ao};return S`
2217
+ `]});var vt,qa,Fe,vp=p(()=>{"use strict";P();Q();nt();_();pt();Be();It();bp();jt();vt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qa=class extends CustomEvent{constructor(){super("icon-click")}},Fe=class extends H{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":Ro};return S`
2218
2218
  <div class="${ye(e)}"
2219
2219
  aria-label="${this.getLabel()}"
2220
2220
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -2241,7 +2241,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2241
2241
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
2242
2242
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
2243
2243
  </div>
2244
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new qa))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new qa))}getLabel(){return this.label||this.textContent}get textContent(){return qo(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Fe.elementDefinitions={"ft-ripple":te,"ft-typography":re,"ft-icon":xe,"ft-button":Pe};Fe.styles=jy;xt([h({type:Boolean})],Fe.prototype,"highlighted",void 0);xt([h({type:Boolean})],Fe.prototype,"removable",void 0);xt([h({type:Boolean})],Fe.prototype,"disabled",void 0);xt([h({type:Boolean})],Fe.prototype,"clickable",void 0);xt([h({type:Boolean})],Fe.prototype,"iconClickable",void 0);xt([h({type:Boolean})],Fe.prototype,"dense",void 0);xt([h({type:Boolean})],Fe.prototype,"multiLine",void 0);xt([h()],Fe.prototype,"label",void 0);xt([h()],Fe.prototype,"iconLabel",void 0);xt([h({type:Boolean})],Fe.prototype,"hideIconTooltip",void 0);xt([h()],Fe.prototype,"icon",void 0);xt([h()],Fe.prototype,"iconVariant",void 0);xt([h({type:Boolean})],Fe.prototype,"trailingIcon",void 0);xt([z("ft-typography slot")],Fe.prototype,"slottedContent",void 0)});var Gy,xp=p(()=>{"use strict";P();ne();_();_t();Gy=[I`
2244
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new qa))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new qa))}getLabel(){return this.label||this.textContent}get textContent(){return Ko(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Fe.elementDefinitions={"ft-ripple":te,"ft-typography":re,"ft-icon":xe,"ft-button":Pe};Fe.styles=Wy;vt([h({type:Boolean})],Fe.prototype,"highlighted",void 0);vt([h({type:Boolean})],Fe.prototype,"removable",void 0);vt([h({type:Boolean})],Fe.prototype,"disabled",void 0);vt([h({type:Boolean})],Fe.prototype,"clickable",void 0);vt([h({type:Boolean})],Fe.prototype,"iconClickable",void 0);vt([h({type:Boolean})],Fe.prototype,"dense",void 0);vt([h({type:Boolean})],Fe.prototype,"multiLine",void 0);vt([h()],Fe.prototype,"label",void 0);vt([h()],Fe.prototype,"iconLabel",void 0);vt([h({type:Boolean})],Fe.prototype,"hideIconTooltip",void 0);vt([h()],Fe.prototype,"icon",void 0);vt([h()],Fe.prototype,"iconVariant",void 0);vt([h({type:Boolean})],Fe.prototype,"trailingIcon",void 0);vt([z("ft-typography slot")],Fe.prototype,"slottedContent",void 0)});var Vy,xp=p(()=>{"use strict";P();ne();_();It();Vy=[I`
2245
2245
  :host {
2246
2246
  display: inline-block;
2247
2247
  max-width: 100%;
@@ -2408,7 +2408,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2408
2408
  .ftds--family-error .ftds-chip--icon-container {
2409
2409
  color: ${Y.errorIconColor};
2410
2410
  }
2411
- `]});var Ii,Sp,Bt,Cp=p(()=>{"use strict";P();Q();nt();_();Be();_t();xp();ne();jt();Ii=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Sp=class extends CustomEvent{constructor(){super("remove")}},Bt=class extends on{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 S`
2411
+ `]});var Ii,Sp,Ft,Cp=p(()=>{"use strict";P();Q();nt();_();Be();It();xp();ne();jt();Ii=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Sp=class extends CustomEvent{constructor(){super("remove")}},Ft=class extends on{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 S`
2412
2412
  <div class="${ye(e)}"
2413
2413
  aria-label="${this.getLabel()}"
2414
2414
  part="chip">
@@ -2426,7 +2426,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2426
2426
  <ftds-button round
2427
2427
  class="ftds-chip--remove-button"
2428
2428
  @click=${this.dispatchRemoveEvent}
2429
- icon=${ht.X_MARK}
2429
+ icon=${ft.X_MARK}
2430
2430
  label=${this.removeButtonLabel}
2431
2431
  family=${vr.neutral}
2432
2432
  size=${this.resolveButtonSize()}
@@ -2434,7 +2434,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2434
2434
  ></ftds-button>
2435
2435
  `:this.withAction?S`
2436
2436
  <slot name="action"></slot>
2437
- `:$}resolveButtonSize(){switch(this.size){case Ve.large:return Ve.medium;case Ve.medium:case Ve.small:return Ve.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Sp)}typographyVariant(){switch(this.size){case Ve.large:return Wt.body2medium;case Ve.medium:case Ve.small:return Wt.caption1medium}}};Bt.elementDefinitions={"ft-typography":re,"ft-icon":xe,"ftds-button":Vt};Bt.styles=Gy;Ii([h({type:Boolean})],Bt.prototype,"withAction",void 0);Ii([h({type:Boolean})],Bt.prototype,"removable",void 0);Ii([h()],Bt.prototype,"removeButtonLabel",void 0);Ii([h()],Bt.prototype,"label",void 0);Ii([h()],Bt.prototype,"icon",void 0);Ii([z("ft-typography slot")],Bt.prototype,"slottedContent",void 0)});var Ky=p(()=>{"use strict"});var qy=p(()=>{"use strict"});var Op=p(()=>{"use strict";_();vp();Cp();vp();bp();Ky();Cp();xp();qy();U("ft-chip")(Fe);U("ftds-chip")(Bt)});var J,Zy,_i=p(()=>{"use strict";P();_();It();J={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","",E.colorOutline),textColor:o.extend("--ft-input-label-text-color","",E.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",E.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",E.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",E.borderRadiusS),colorError:o.external(E.colorError,"Design system")},Zy=I`
2437
+ `:$}resolveButtonSize(){switch(this.size){case Ve.large:return Ve.medium;case Ve.medium:case Ve.small:return Ve.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Sp)}typographyVariant(){switch(this.size){case Ve.large:return Wt.body2medium;case Ve.medium:case Ve.small:return Wt.caption1medium}}};Ft.elementDefinitions={"ft-typography":re,"ft-icon":xe,"ftds-button":Vt};Ft.styles=Vy;Ii([h({type:Boolean})],Ft.prototype,"withAction",void 0);Ii([h({type:Boolean})],Ft.prototype,"removable",void 0);Ii([h()],Ft.prototype,"removeButtonLabel",void 0);Ii([h()],Ft.prototype,"label",void 0);Ii([h()],Ft.prototype,"icon",void 0);Ii([z("ft-typography slot")],Ft.prototype,"slottedContent",void 0)});var jy=p(()=>{"use strict"});var Gy=p(()=>{"use strict"});var Op=p(()=>{"use strict";_();vp();Cp();vp();bp();jy();Cp();xp();Gy();U("ft-chip")(Fe);U("ftds-chip")(Ft)});var J,Ky,_i=p(()=>{"use strict";P();_();kt();J={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","",E.colorOutline),textColor:o.extend("--ft-input-label-text-color","",E.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",E.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",E.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",E.borderRadiusS),colorError:o.external(E.colorError,"Design system")},Ky=I`
2438
2438
  .ft-input-label {
2439
2439
  position: absolute;
2440
2440
  inset: 0;
@@ -2556,7 +2556,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2556
2556
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2557
2557
  border-top: none;
2558
2558
  }
2559
- `});var Yy,_r,Ep=p(()=>{"use strict";P();Q();qc();nt();_();Yy=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},_r=class extends H{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return S`
2559
+ `});var qy,_r,Ep=p(()=>{"use strict";P();Q();qc();nt();_();qy=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},_r=class extends H{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return S`
2560
2560
  <div class="${ye(this.inputLabelClasses)}">
2561
2561
  ${Kc(this.text,()=>S`
2562
2562
  <div class="ft-input-label--text ft-typography--caption">
@@ -2565,7 +2565,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2565
2565
  </div>
2566
2566
  `)}
2567
2567
  </div>
2568
- `}};_r.elementDefinitions={};Yy([h({type:String})],_r.prototype,"text",void 0);Yy([h({type:Boolean})],_r.prototype,"raised",void 0)});var wp,Kt,Rp=p(()=>{"use strict";Q();It();_i();Ep();wp=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Kt=class extends _r{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}}};Kt.elementDefinitions={};Kt.styles=[or,Zy];wp([h({type:Boolean})],Kt.prototype,"outlined",void 0);wp([h({type:Boolean})],Kt.prototype,"error",void 0);wp([h({type:Boolean})],Kt.prototype,"disabled",void 0)});var it,Qy,Ap=p(()=>{"use strict";P();ne();It();_i();_();it={fontSize:o.extend("--ft-input-label-font-size","",mo.fontSize),fontSizeRaised:o.extend("--ft-input-label-font-size-raised","",Ur.fontSize),lineHeight:o.extend("--ft-input-label-line-height","",Ur.lineHeight),color:o.extend("--ft-input-label-color","",u.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")},Qy=[I`
2568
+ `}};_r.elementDefinitions={};qy([h({type:String})],_r.prototype,"text",void 0);qy([h({type:Boolean})],_r.prototype,"raised",void 0)});var wp,Kt,Rp=p(()=>{"use strict";Q();kt();_i();Ep();wp=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Kt=class extends _r{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}}};Kt.elementDefinitions={};Kt.styles=[or,Ky];wp([h({type:Boolean})],Kt.prototype,"outlined",void 0);wp([h({type:Boolean})],Kt.prototype,"error",void 0);wp([h({type:Boolean})],Kt.prototype,"disabled",void 0)});var it,Zy,Ap=p(()=>{"use strict";P();ne();kt();_i();_();it={fontSize:o.extend("--ft-input-label-font-size","",mo.fontSize),fontSizeRaised:o.extend("--ft-input-label-font-size-raised","",Ur.fontSize),lineHeight:o.extend("--ft-input-label-line-height","",Ur.lineHeight),color:o.extend("--ft-input-label-color","",u.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")},Zy=[I`
2569
2569
 
2570
2570
  :root {
2571
2571
  --field-height: ${it.largeFieldHeight};
@@ -2647,7 +2647,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2647
2647
  top: var(--input-content-vertical-padding);
2648
2648
  }
2649
2649
 
2650
- `]});var Cn,Lp=p(()=>{"use strict";Ep();_();Ap();Be();Cn=class extends ti(_r){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Cn.styles=[or,Qy]});var Xy=p(()=>{"use strict"});var Jy=p(()=>{"use strict"});var eb=p(()=>{"use strict";_();Rp();Lp();Rp();_i();Xy();Lp();Ap();Jy();U("ft-input-label")(Kt);U("ftds-input-label")(Cn)});var ae,tb,Za=p(()=>{"use strict";P();_();_i();It();Rr();Lo();ae={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","",E.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",E.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",E.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",E.colorSurface),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),borderRadiusS:o.external(E.borderRadiusS,"Design system"),elevation02:o.external(E.elevation02,"Design system"),colorError:o.external(E.colorError,"Design system")},tb=I`
2650
+ `]});var Cn,Lp=p(()=>{"use strict";Ep();_();Ap();Be();Cn=class extends ei(_r){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Cn.styles=[or,Zy]});var Yy=p(()=>{"use strict"});var Qy=p(()=>{"use strict"});var Xy=p(()=>{"use strict";_();Rp();Lp();Rp();_i();Yy();Lp();Ap();Qy();U("ft-input-label")(Kt);U("ftds-input-label")(Cn)});var ae,Jy,Za=p(()=>{"use strict";P();_();_i();kt();Rr();Ao();ae={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","",E.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",E.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",E.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",E.colorSurface),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),borderRadiusS:o.external(E.borderRadiusS,"Design system"),elevation02:o.external(E.elevation02,"Design system"),colorError:o.external(E.colorError,"Design system")},Jy=I`
2651
2651
  *:focus {
2652
2652
  outline: none;
2653
2653
  }
@@ -2793,7 +2793,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2793
2793
  .ft-select--in-error .ft-select--helper-text {
2794
2794
  color: ${ae.colorError};
2795
2795
  }
2796
- `});var _e,pr,ge,kp=p(()=>{"use strict";P();Q();nt();Ut();_();Be();eb();ut();_t();Za();_e=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},pr=class extends H{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return S``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};pr.elementDefinitions={};_e([h({type:String})],pr.prototype,"label",void 0);_e([h({type:Object,converter:r=>r})],pr.prototype,"value",void 0);_e([h({type:Boolean,reflect:!0})],pr.prototype,"selected",void 0);ge=class r extends H{constructor(){super(...arguments),this.label="",this.ariaLabel="",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,t,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=(t=this.selectedOption)===null||t===void 0?void 0:t.label)!==null&&i!==void 0?i:"").length>0,f={"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 S`
2796
+ `});var _e,pr,ge,kp=p(()=>{"use strict";P();Q();nt();Mt();_();Be();Xy();pt();It();Za();_e=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},pr=class extends H{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return S``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};pr.elementDefinitions={};_e([h({type:String})],pr.prototype,"label",void 0);_e([h({type:Object,converter:r=>r})],pr.prototype,"value",void 0);_e([h({type:Boolean,reflect:!0})],pr.prototype,"selected",void 0);ge=class r extends H{constructor(){super(...arguments),this.label="",this.ariaLabel="",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,t,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=(t=this.selectedOption)===null||t===void 0?void 0:t.label)!==null&&i!==void 0?i:"").length>0,f={"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 S`
2797
2797
  <div class="${ye(f)}" part="container">
2798
2798
  <div class="ft-select--main-panel" part="main-panel">
2799
2799
  <ft-input-label text="${this.label}"
@@ -2844,7 +2844,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2844
2844
  <ft-ripple ?primary=${t} ?activated=${t}></ft-ripple>
2845
2845
  <span>${e.label}</span>
2846
2846
  </div>
2847
- `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(t=>t.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var t,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(t=this.selectedOptionElement)!==null&&t!==void 0?t: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"];Nl(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",ae.optionsHeight.name,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 t;e.stopPropagation();let i=(t=this.optionsSlot)===null||t===void 0?void 0:t.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 t,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(t=this.mainPanel)===null||t===void 0||t.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 t=e.charCodeAt(0);return t>47&&t<58||t>64&&t<91||t>96&&t<123}handleAlphanumericPress(e){var t,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>r.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=(t=this.optionsMenu)===null||t===void 0?void 0:t.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,t){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var t,i;if(!qe((t=this.selectedOption)===null||t===void 0?void 0:t.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)}};ge.elementDefinitions={"ft-input-label":Kt,"ft-typography":re,"ft-ripple":te,"ft-icon":xe};ge.searchTimeoutMilliseconds=2e3;ge.styles=[Xr,or,tb];_e([h({type:String})],ge.prototype,"label",void 0);_e([h({type:String})],ge.prototype,"ariaLabel",void 0);_e([h({type:String})],ge.prototype,"helper",void 0);_e([h({type:Boolean})],ge.prototype,"outlined",void 0);_e([h({type:Boolean})],ge.prototype,"disabled",void 0);_e([h({type:Boolean})],ge.prototype,"error",void 0);_e([h({type:Boolean})],ge.prototype,"fixedMenuPosition",void 0);_e([h({type:Array})],ge.prototype,"options",void 0);_e([D()],ge.prototype,"selectedOption",void 0);_e([D()],ge.prototype,"optionsDisplayed",void 0);_e([D()],ge.prototype,"focusOptions",void 0);_e([D()],ge.prototype,"currentSearch",void 0);_e([D()],ge.prototype,"lastSearchInputDate",void 0);_e([z(".ft-select")],ge.prototype,"container",void 0);_e([z(".ft-select--options")],ge.prototype,"optionsMenu",void 0);_e([z(".ft-select--input-panel")],ge.prototype,"mainPanel",void 0);_e([z(".ft-select--option:first-child")],ge.prototype,"firstOption",void 0);_e([z(".ft-select--option:focus")],ge.prototype,"focusedOption",void 0);_e([z(".ft-select--option.ft-select--option-selected")],ge.prototype,"selectedOptionElement",void 0);_e([z(".ft-select--option:last-child")],ge.prototype,"lastOption",void 0);_e([z("slot:not([name])")],ge.prototype,"optionsSlot",void 0)});var rb=p(()=>{"use strict"});var ob=p(()=>{"use strict";_();kp();kp();Za();rb();U("ft-select")(ge);U("ft-select-option")(pr)});var Ye,ib,Ya=p(()=>{"use strict";P();_();Ye={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(E.borderRadiusM,"Design system")},ib=I`
2847
+ `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(t=>t.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var t,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(t=this.selectedOptionElement)!==null&&t!==void 0?t: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"];Nl(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",ae.optionsHeight.name,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 t;e.stopPropagation();let i=(t=this.optionsSlot)===null||t===void 0?void 0:t.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 t,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(t=this.mainPanel)===null||t===void 0||t.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 t=e.charCodeAt(0);return t>47&&t<58||t>64&&t<91||t>96&&t<123}handleAlphanumericPress(e){var t,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>r.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=(t=this.optionsMenu)===null||t===void 0?void 0:t.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,t){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var t,i;if(!qe((t=this.selectedOption)===null||t===void 0?void 0:t.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)}};ge.elementDefinitions={"ft-input-label":Kt,"ft-typography":re,"ft-ripple":te,"ft-icon":xe};ge.searchTimeoutMilliseconds=2e3;ge.styles=[Xr,or,Jy];_e([h({type:String})],ge.prototype,"label",void 0);_e([h({type:String})],ge.prototype,"ariaLabel",void 0);_e([h({type:String})],ge.prototype,"helper",void 0);_e([h({type:Boolean})],ge.prototype,"outlined",void 0);_e([h({type:Boolean})],ge.prototype,"disabled",void 0);_e([h({type:Boolean})],ge.prototype,"error",void 0);_e([h({type:Boolean})],ge.prototype,"fixedMenuPosition",void 0);_e([h({type:Array})],ge.prototype,"options",void 0);_e([D()],ge.prototype,"selectedOption",void 0);_e([D()],ge.prototype,"optionsDisplayed",void 0);_e([D()],ge.prototype,"focusOptions",void 0);_e([D()],ge.prototype,"currentSearch",void 0);_e([D()],ge.prototype,"lastSearchInputDate",void 0);_e([z(".ft-select")],ge.prototype,"container",void 0);_e([z(".ft-select--options")],ge.prototype,"optionsMenu",void 0);_e([z(".ft-select--input-panel")],ge.prototype,"mainPanel",void 0);_e([z(".ft-select--option:first-child")],ge.prototype,"firstOption",void 0);_e([z(".ft-select--option:focus")],ge.prototype,"focusedOption",void 0);_e([z(".ft-select--option.ft-select--option-selected")],ge.prototype,"selectedOptionElement",void 0);_e([z(".ft-select--option:last-child")],ge.prototype,"lastOption",void 0);_e([z("slot:not([name])")],ge.prototype,"optionsSlot",void 0)});var eb=p(()=>{"use strict"});var tb=p(()=>{"use strict";_();kp();kp();Za();eb();U("ft-select")(ge);U("ft-select-option")(pr)});var Ye,rb,Ya=p(()=>{"use strict";P();_();Ye={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(E.borderRadiusM,"Design system")},rb=I`
2848
2848
  :host {
2849
2849
  width: ${Ye.width};
2850
2850
  height: ${Ye.height};
@@ -2871,7 +2871,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2871
2871
  background-position: calc(100vw + ${Ye.glareWidth}) 0, calc(${Ye.glareWidth} * -1) 0;
2872
2872
  }
2873
2873
  }
2874
- `});var q,nb,ab,Qa=p(()=>{"use strict";_();P();ko();_i();Za();Ya();ma();Va();Ga();It();q={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",E.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(E.colorSurface,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorOutline:o.external(E.colorOutline,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),elevation02:o.external(E.elevation02,"Design system"),buttonColor:o.external(ee.color,"Button"),buttonRippleColor:o.external(ee.rippleColor,"Button"),activeItemBorderColor:o.extend("--ft-search-bar-active-border-color","",E.colorPrimary)},nb=I`
2874
+ `});var q,ob,ib,Qa=p(()=>{"use strict";_();P();Lo();_i();Za();Ya();ma();Va();Ga();kt();q={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",E.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(E.colorSurface,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorOutline:o.external(E.colorOutline,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),elevation02:o.external(E.elevation02,"Design system"),buttonColor:o.external(ee.color,"Button"),buttonRippleColor:o.external(ee.rippleColor,"Button"),activeItemBorderColor:o.extend("--ft-search-bar-active-border-color","",E.colorPrimary)},ob=I`
2875
2875
  * {
2876
2876
  box-sizing: border-box;
2877
2877
  }
@@ -3036,7 +3036,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3036
3036
  flex-direction: column;
3037
3037
  max-height: 100%;
3038
3038
  max-width: 100%;
3039
- color: ${vt.colorOnSurface};
3039
+ color: ${bt.colorOnSurface};
3040
3040
  }
3041
3041
 
3042
3042
  [part="content-locale-selector"] > ft-radio-group {
@@ -3066,7 +3066,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3066
3066
  ${y(W.fontWeight,"bold")};
3067
3067
  }
3068
3068
 
3069
- `,ab=I`
3069
+ `,ib=I`
3070
3070
  .ft-search-bar--presets {
3071
3071
  min-width: 200px;
3072
3072
  }
@@ -3228,7 +3228,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3228
3228
  margin: 0;
3229
3229
  }
3230
3230
  `});var ro,Ip=p(()=>{"use strict";P();_();Ya();ro=class extends H{render(){return S`
3231
- `}};ro.elementDefinitions={};ro.styles=ib});var sb=p(()=>{"use strict"});var lb=p(()=>{"use strict";_();Ip();Ip();Ya();sb();U("ft-skeleton")(ro)});var ur,Xa=p(()=>{"use strict";P();Ut();_t();_();Qa();ut();ur=class{constructor(e,t=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new he(t)}render(){let e=this.recentSearchesMatchingQuery;return S`
3231
+ `}};ro.elementDefinitions={};ro.styles=rb});var nb=p(()=>{"use strict"});var ab=p(()=>{"use strict";_();Ip();Ip();Ya();nb();U("ft-skeleton")(ro)});var ur,Xa=p(()=>{"use strict";P();Mt();It();_();Qa();pt();ur=class{constructor(e,t=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new he(t)}render(){let e=this.recentSearchesMatchingQuery;return S`
3232
3232
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
3233
3233
  id="${this.listboxId}"
3234
3234
  role="listbox"
@@ -3281,7 +3281,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3281
3281
  </div>
3282
3282
  `)}
3283
3283
  </div>
3284
- `}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,t)=>{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,t){this.searchBar.setQuery(t),this.searchBar.onLaunchSearch()}removeRecentSearch(e,t){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==t.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let t=e.type==="DOCUMENT"?je.file_format:je.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?ht.BOOK:ht.ARTICLE;break;case"DOCUMENT":i=ya(e.mimeType,e.filenameExtension);break;case"TOPIC":i=ht.TOPICS;break}return S`
3284
+ `}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,t)=>{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,t){this.searchBar.setQuery(t),this.searchBar.onLaunchSearch()}removeRecentSearch(e,t){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==t.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let t=e.type==="DOCUMENT"?je.file_format:je.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?ft.BOOK:ft.ARTICLE;break;case"DOCUMENT":i=ya(e.mimeType,e.filenameExtension);break;case"TOPIC":i=ft.TOPICS;break}return S`
3285
3285
  <ft-icon .variant="${t}" .value="${i}" part="suggestion-icon"></ft-icon>
3286
3286
  `}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 t;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(t=e.querySelector("[part=suggestions]"))===null||t===void 0?void 0:t.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()))}};ur.styles=[an,I`
3287
3287
  .ft-search-bar--mobile .ft-search-bar--suggestions {
@@ -3373,7 +3373,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3373
3373
  ft-ripple {
3374
3374
  ${y(T.opacityContentOnSurfaceHover,T.opacityContentOnSurfaceSelected)}
3375
3375
  }
3376
- `]});var fr,Ja=p(()=>{"use strict";P();Ut();Jd();_();ja();Op();fr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return S``;let e=this.searchBar.isMobile(),t=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=S`
3376
+ `]});var fr,Ja=p(()=>{"use strict";P();Mt();Jd();_();ja();Op();fr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return S``;let e=this.searchBar.isMobile(),t=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=S`
3377
3377
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?S`
3378
3378
  <ft-chip part="selected-filters selected-filter-ft-locale"
3379
3379
  ?dense=${this.searchBar.dense&&!e}
@@ -3384,7 +3384,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3384
3384
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
3385
3385
  </ft-chip>
3386
3386
  `:null}
3387
- ${Te(this.searchBar.facets,n=>n.key,n=>{let a=xy(n);return Te(a,s=>{let l=n.label+": "+yy(s),d=n.key.replace(":","-"),f=S`
3387
+ ${Te(this.searchBar.facets,n=>n.key,n=>{let a=by(n);return Te(a,s=>{let l=n.label+": "+my(s),d=n.key.replace(":","-"),f=S`
3388
3388
  <ft-chip
3389
3389
  part="selected-filters selected-filter-${d}"
3390
3390
  ?dense=${this.searchBar.dense&&!e}
@@ -3397,7 +3397,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3397
3397
  @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(g=>g!==s))}
3398
3398
  data-key="${n.key}"
3399
3399
  data-value="${s}">
3400
- ${gy(s)}
3400
+ ${hy(s)}
3401
3401
  </ft-chip>
3402
3402
  `;return t?f:S`
3403
3403
  <ft-tooltip inline text="${l}">
@@ -3453,7 +3453,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3453
3453
  .ft-search-bar--selected-filters ft-chip {
3454
3454
  flex-grow: 0;
3455
3455
  }
3456
- `});var On,cb=p(()=>{"use strict";P();Ja();Xa();nt();On=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new fr(e),this.suggestManager=i??new ur(e)}render(){var e;let t={"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 S`
3456
+ `});var On,sb=p(()=>{"use strict";P();Ja();Xa();nt();On=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new fr(e),this.suggestManager=i??new ur(e)}render(){var e;let t={"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 S`
3457
3457
  <div class="${ye(t)}" part="container" tabindex="-1">
3458
3458
  <div class="ft-search-bar" role="search">
3459
3459
  <div class="ft-search-bar--input-container" part="input-container">
@@ -3512,7 +3512,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3512
3512
  </div>
3513
3513
  `}onSearchBarKeyDown(e){var t;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)(t=this.suggestManager.selectedSuggestRemoveRecentButton)===null||t===void 0||t.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}};On.styles=I`
3514
3514
 
3515
- `});var En,db=p(()=>{"use strict";P();Ut();Ja();Xa();nt();En=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new fr(e),this.suggestManager=i??new ur(e)}render(){var e;let t={"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 S`
3515
+ `});var En,lb=p(()=>{"use strict";P();Mt();Ja();Xa();nt();En=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new fr(e),this.suggestManager=i??new ur(e)}render(){var e;let t={"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 S`
3516
3516
  <div class="${ye(t)}" part="container" tabindex="-1">
3517
3517
  <div class="ft-search-bar" part="search-bar" role="search">
3518
3518
  ${this.renderSearchBarLeftAction()}
@@ -3591,7 +3591,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3591
3591
  </div>
3592
3592
  `}onSearchBarKeyDown(e){var t;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)(t=this.suggestManager.selectedSuggestRemoveRecentButton)===null||t===void 0||t.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};En.styles=I`
3593
3593
 
3594
- `});var se,pb,_p,A0,X,Tp=p(()=>{"use strict";P();Q();Ut();_();my();Be();Jd();Ny();_t();zy();jt();Op();ob();ja();ga();ut();Qa();lb();Xa();Ja();cb();db();ap();ar();se=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,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");pb={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"},_p=class extends CustomEvent{constructor(e){super("change",{detail:e})}},A0=()=>{},X=class extends H{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 Wr(pb,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new Qr(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Nt.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 ur(this),this.selectedFacetsManager=new fr(this),this.desktopSearchBarManager=new En(this),this.mobileSearchBarManager=new On(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new he(10),this.updateLocalesDebouncer=new he(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(t=>t.contentLocales).catch(()=>[]).then(t=>{this.availableContentLocales=t,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 he(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(t=>t===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,t)=>e.valueFilter&&t.valueFilter?this.compareValueFilters(e.valueFilter,t.valueFilter):e.dateFilter&&t.dateFilter?this.compareDateFilters(e.dateFilter,t.dateFilter):e.rangeFilter&&t.rangeFilter?this.compareRangeFilters(e.rangeFilter,t.rangeFilter):!1,this.compareValueFilters=(e,t)=>e.negative==t.negative&&e.values.length===t.values.length&&e.values.every(i=>t.values.includes(i)),this.compareDateFilters=(e,t)=>e.type===t.type,this.compareRangeFilters=(e,t)=>e.from===t.from&&e.to===t.to,this.compareFilters=(e,t)=>e.key===t.key&&this.compareUnknownFilters(e,t),this.compareRequests=(e,t)=>(e.contentLocale==null||t.contentLocale==null||e.contentLocale===t.contentLocale)&&e.metadataFilters.length===t.metadataFilters.length&&e.metadataFilters.every(i=>t.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(t=>{var i,n;return((n=(i=t.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(t.key)}).map(t=>({id:t.key}));return[...this.displayedFilters.map(t=>({id:t})),...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===Nt.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 Ko(()=>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 S`
3594
+ `});var se,cb,_p,w0,X,Tp=p(()=>{"use strict";P();Q();Mt();_();fy();Be();Jd();$y();It();My();jt();Op();tb();ja();ga();pt();Qa();ab();Xa();Ja();sb();lb();ap();ar();se=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,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");cb={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"},_p=class extends CustomEvent{constructor(e){super("change",{detail:e})}},w0=()=>{},X=class extends H{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 Wr(cb,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new Qr(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Pt.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 ur(this),this.selectedFacetsManager=new fr(this),this.desktopSearchBarManager=new En(this),this.mobileSearchBarManager=new On(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new he(10),this.updateLocalesDebouncer=new he(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(t=>t.contentLocales).catch(()=>[]).then(t=>{this.availableContentLocales=t,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 he(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(t=>t===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,t)=>e.valueFilter&&t.valueFilter?this.compareValueFilters(e.valueFilter,t.valueFilter):e.dateFilter&&t.dateFilter?this.compareDateFilters(e.dateFilter,t.dateFilter):e.rangeFilter&&t.rangeFilter?this.compareRangeFilters(e.rangeFilter,t.rangeFilter):!1,this.compareValueFilters=(e,t)=>e.negative==t.negative&&e.values.length===t.values.length&&e.values.every(i=>t.values.includes(i)),this.compareDateFilters=(e,t)=>e.type===t.type,this.compareRangeFilters=(e,t)=>e.from===t.from&&e.to===t.to,this.compareFilters=(e,t)=>e.key===t.key&&this.compareUnknownFilters(e,t),this.compareRequests=(e,t)=>(e.contentLocale==null||t.contentLocale==null||e.contentLocale===t.contentLocale)&&e.metadataFilters.length===t.metadataFilters.length&&e.metadataFilters.every(i=>t.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(t=>{var i,n;return((n=(i=t.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(t.key)}).map(t=>({id:t.key}));return[...this.displayedFilters.map(t=>({id:t})),...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===Pt.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 Go(()=>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 S`
3595
3595
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
3596
3596
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3597
3597
  ${this.renderLiveText()}
@@ -3619,7 +3619,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3619
3619
  </div>
3620
3620
  </ft-accordion-item>
3621
3621
  `:null}
3622
- ${Te(this.facets,t=>t.key,t=>{let i=Xd(t),n=t.key.replace(":","-"),a=vy(i);return t.rootNodes.length>0?S`
3622
+ ${Te(this.facets,t=>t.key,t=>{let i=Xd(t),n=t.key.replace(":","-"),a=yy(i);return t.rootNodes.length>0?S`
3623
3623
  <ft-accordion-item data-facet-key="${t.key}">
3624
3624
  <div class="ft-search-bar--filter-label" slot="toggle">
3625
3625
  <ft-typography variant="button">${t.label}</ft-typography>
@@ -3731,14 +3731,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3731
3731
  ></ft-filter>
3732
3732
  `})}
3733
3733
  </ft-snap-scroll>
3734
- `:$}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var t,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new Wr(pb,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(f=>f.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(t=this.availableContentLocales[0])===null||t===void 0?void 0:t.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(f=>Ha(f)))})),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 _p(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 t,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((t=this.floatingContainer)===null||t===void 0||t.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 t=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),t.set(n.key,n)})).catch(A0)),this.facets=[];for(let i of this.facetsRequest)t.has(i.id)?this.facets.push(t.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 t;e.key==="Escape"&&(this.displayFacets=!1,(t=this.filtersOpener)===null||t===void 0||t.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(t=>t.toLowerCase()!==this.query.toLowerCase()).filter((t,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&&!Jc&&this.focusInput(),V.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),V.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,t){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&St(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=t.includes(a.value))}),t.length&&i.push({key:e,valueFilter:{negative:!1,values:t}}),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(t=>St(t.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?$:S`
3734
+ `:$}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var t,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new Wr(cb,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(f=>f.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(t=this.availableContentLocales[0])===null||t===void 0?void 0:t.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(f=>Ha(f)))})),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 _p(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 t,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((t=this.floatingContainer)===null||t===void 0||t.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 t=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),t.set(n.key,n)})).catch(w0)),this.facets=[];for(let i of this.facetsRequest)t.has(i.id)?this.facets.push(t.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 t;e.key==="Escape"&&(this.displayFacets=!1,(t=this.filtersOpener)===null||t===void 0||t.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(t=>t.toLowerCase()!==this.query.toLowerCase()).filter((t,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&&!Jc&&this.focusInput(),V.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),V.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,t){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&xt(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=t.includes(a.value))}),t.length&&i.push({key:e,valueFilter:{negative:!1,values:t}}),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(t=>xt(t.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?$:S`
3735
3735
  <div class="ft-search-bar--floating-panel"
3736
3736
  id="ft-search-bar-floating-panel"
3737
3737
  @keyup=${this.onFloatingContainerKeyUp}
3738
3738
  part="floating-panel"
3739
3739
  tabindex="-1">
3740
3740
  ${this.renderDesktopMenu()}
3741
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};X.elementDefinitions={"ft-accordion":dr,"ft-accordion-item":Ft,"ft-button":Pe,"ft-chip":Fe,"ft-filter":ue,"ft-filter-option":Rt,"ft-icon":xe,"ft-ripple":te,"ft-select":ge,"ft-select-option":pr,"ft-size-watcher":Et,"ft-skeleton":ro,"ft-snap-scroll":Me,"ft-tooltip":Le,"ft-typography":re,"ft-radio-group":bt,"ft-radio":We};X.styles=[Xr,vo,nb,ab,fr.styles,ur.styles,hi];se([h({type:Boolean})],X.prototype,"dense",void 0);se([h()],X.prototype,"mode",void 0);se([h({type:Boolean})],X.prototype,"forceMobileMenuOpen",void 0);se([h({type:Boolean})],X.prototype,"forceMenuOpen",void 0);se([h()],X.prototype,"baseUrl",void 0);se([h()],X.prototype,"apiIntegrationIdentifier",void 0);se([h()],X.prototype,"contentLocale",void 0);se([D()],X.prototype,"availableContentLocales",void 0);se([D()],X.prototype,"availableContentLocalesInitialized",void 0);se([h()],X.prototype,"uiLocale",void 0);se([Ee({})],X.prototype,"labels",void 0);se([Ee([])],X.prototype,"displayedFilters",void 0);se([Ee([])],X.prototype,"presets",void 0);se([h({type:String,reflect:!0})],X.prototype,"selectedPreset",void 0);se([Ee([])],X.prototype,"priors",void 0);se([h()],X.prototype,"searchRequestSerializer",void 0);se([h({type:Boolean})],X.prototype,"focusOnDisplay",void 0);se([D()],X.prototype,"metadataFilters",void 0);se([D()],X.prototype,"sizeCategory",void 0);se([D()],X.prototype,"displayFacets",void 0);se([D()],X.prototype,"mobileMenuOpen",void 0);se([D()],X.prototype,"facets",void 0);se([D()],X.prototype,"facetsInitialized",void 0);se([z(".ft-search-bar--container")],X.prototype,"container",void 0);se([z(".ft-search-bar--filters-opener")],X.prototype,"filtersOpener",void 0);se([z(".ft-search-bar--floating-panel")],X.prototype,"floatingContainer",void 0);se([z("ft-snap-scroll.ft-search-bar--filters-container")],X.prototype,"scrollingFiltersContainer",void 0);se([z(".ft-search-bar--input")],X.prototype,"input",void 0);se([z(".ft-search-bar--launch-search")],X.prototype,"launchSearchButton",void 0);se([D()],X.prototype,"query",void 0);se([D()],X.prototype,"suggestions",void 0);se([D()],X.prototype,"recentSearches",void 0);se([D()],X.prototype,"scrollToFacet",void 0);se([D()],X.prototype,"api",void 0);se([D()],X.prototype,"displaySuggestListbox",void 0);se([D()],X.prototype,"selectedSuggestOptionId",void 0);se([D()],X.prototype,"selectedSuggestRemoveRecent",void 0);se([D()],X.prototype,"facetsLoaded",void 0)});var ub=p(()=>{"use strict"});var fb=p(()=>{"use strict";_();Tp();Tp();Qa();ub();U("ft-search-bar")(X)});var hb,mb=p(()=>{"use strict";P();mn();_();ut();fb();hb=I`
3741
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};X.elementDefinitions={"ft-accordion":dr,"ft-accordion-item":Nt,"ft-button":Pe,"ft-chip":Fe,"ft-filter":ue,"ft-filter-option":wt,"ft-icon":xe,"ft-ripple":te,"ft-select":ge,"ft-select-option":pr,"ft-size-watcher":Ot,"ft-skeleton":ro,"ft-snap-scroll":Me,"ft-tooltip":Le,"ft-typography":re,"ft-radio-group":yt,"ft-radio":We};X.styles=[Xr,vo,ob,ib,fr.styles,ur.styles,hi];se([h({type:Boolean})],X.prototype,"dense",void 0);se([h()],X.prototype,"mode",void 0);se([h({type:Boolean})],X.prototype,"forceMobileMenuOpen",void 0);se([h({type:Boolean})],X.prototype,"forceMenuOpen",void 0);se([h()],X.prototype,"baseUrl",void 0);se([h()],X.prototype,"apiIntegrationIdentifier",void 0);se([h()],X.prototype,"contentLocale",void 0);se([D()],X.prototype,"availableContentLocales",void 0);se([D()],X.prototype,"availableContentLocalesInitialized",void 0);se([h()],X.prototype,"uiLocale",void 0);se([Ee({})],X.prototype,"labels",void 0);se([Ee([])],X.prototype,"displayedFilters",void 0);se([Ee([])],X.prototype,"presets",void 0);se([h({type:String,reflect:!0})],X.prototype,"selectedPreset",void 0);se([Ee([])],X.prototype,"priors",void 0);se([h()],X.prototype,"searchRequestSerializer",void 0);se([h({type:Boolean})],X.prototype,"focusOnDisplay",void 0);se([D()],X.prototype,"metadataFilters",void 0);se([D()],X.prototype,"sizeCategory",void 0);se([D()],X.prototype,"displayFacets",void 0);se([D()],X.prototype,"mobileMenuOpen",void 0);se([D()],X.prototype,"facets",void 0);se([D()],X.prototype,"facetsInitialized",void 0);se([z(".ft-search-bar--container")],X.prototype,"container",void 0);se([z(".ft-search-bar--filters-opener")],X.prototype,"filtersOpener",void 0);se([z(".ft-search-bar--floating-panel")],X.prototype,"floatingContainer",void 0);se([z("ft-snap-scroll.ft-search-bar--filters-container")],X.prototype,"scrollingFiltersContainer",void 0);se([z(".ft-search-bar--input")],X.prototype,"input",void 0);se([z(".ft-search-bar--launch-search")],X.prototype,"launchSearchButton",void 0);se([D()],X.prototype,"query",void 0);se([D()],X.prototype,"suggestions",void 0);se([D()],X.prototype,"recentSearches",void 0);se([D()],X.prototype,"scrollToFacet",void 0);se([D()],X.prototype,"api",void 0);se([D()],X.prototype,"displaySuggestListbox",void 0);se([D()],X.prototype,"selectedSuggestOptionId",void 0);se([D()],X.prototype,"selectedSuggestRemoveRecent",void 0);se([D()],X.prototype,"facetsLoaded",void 0)});var db=p(()=>{"use strict"});var pb=p(()=>{"use strict";_();Tp();Tp();Qa();db();U("ft-search-bar")(X)});var ub,fb=p(()=>{"use strict";P();mn();_();pt();pb();ub=I`
3742
3742
  * {
3743
3743
  box-sizing: border-box;
3744
3744
  }
@@ -3787,7 +3787,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3787
3787
  ft-ripple {
3788
3788
  ${y(T.opacityContentOnSurfaceHover,T.opacityContentOnSurfaceSelected)}
3789
3789
  }
3790
- `});var oo,gb=p(()=>{"use strict";_();P();mb();Ut();_t();ut();Be();ar();Kd();oo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=kr.get();return S`
3790
+ `});var oo,hb=p(()=>{"use strict";_();P();fb();Mt();It();pt();Be();ar();Kd();oo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=kr.get();return S`
3791
3791
  <div class="ft-search-input-suggestion ft-word-wrap"
3792
3792
  id="${this.listboxId}"
3793
3793
  role="listbox"
@@ -3821,9 +3821,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3821
3821
  @click=${()=>this.onSuggestSelected(t.value)}>
3822
3822
  ${a}
3823
3823
  </div>
3824
- `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let t=e.type==="DOCUMENT"?je.file_format:je.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?ht.BOOK:ht.ARTICLE;break;case"DOCUMENT":i=ya(e.mimeType,e.filenameExtension);break;case"TOPIC":i=ht.TOPICS;break}return S`
3824
+ `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let t=e.type==="DOCUMENT"?je.file_format:je.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?ft.BOOK:ft.ARTICLE;break;case"DOCUMENT":i=ya(e.mimeType,e.filenameExtension);break;case"TOPIC":i=ft.TOPICS;break}return S`
3825
3825
  <ft-icon .variant="${t}" .value="${i}" part="suggestion-icon"></ft-icon>
3826
- `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};oo.elementDefinitions={"ft-ripple":te,"ft-typography":re,"ft-icon":xe};oo.styles=[an,hb]});var qt,Ge,$p=p(()=>{"use strict";P();_();mn();No();lr();Kd();Q();nt();gb();jt();Be();ar();qt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ge=class extends $t(Pt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new oo(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Jr)}render(){var e,t,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(t=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&t!==void 0?t:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=kr.get().serializeToCurrentPageIfPossible(a,s);return S`
3826
+ `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};oo.elementDefinitions={"ft-ripple":te,"ft-typography":re,"ft-icon":xe};oo.styles=[an,ub]});var qt,Ge,$p=p(()=>{"use strict";P();_();mn();Po();lr();Kd();Q();nt();hb();jt();Be();ar();qt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ge=class extends Tt($t){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new oo(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Jr)}render(){var e,t,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(t=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&t!==void 0?t:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=kr.get().serializeToCurrentPageIfPossible(a,s);return S`
3827
3827
  <div class="${ye(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3828
3828
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3829
3829
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -3870,12 +3870,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3870
3870
  ></ft-button>
3871
3871
  </div>
3872
3872
  </div>
3873
- `}renderLiveText(){return this.shouldDisplaySuggestions?Jr.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":let t=this.suggestions.selectedSuggestOption||this.launchSearchButton;t?.click();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var t;(t=this.stateManager)===null||t===void 0||t.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):$,this.input.focus()}launchSearch(e){var t;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(t=this.stateManager)===null||t===void 0||t.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.displaySuggestListbox=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};Ge.elementDefinitions={"ft-button":Pe,...oo.elementDefinitions};Ge.styles=[Xr,vo,gd,...oo.styles,hi];qt([Oe()],Ge.prototype,"request",void 0);qt([Oe()],Ge.prototype,"liveQuery",void 0);qt([Oe()],Ge.prototype,"suggestResults",void 0);qt([D()],Ge.prototype,"forceCloseSuggestion",void 0);qt([D()],Ge.prototype,"displaySuggestListbox",void 0);qt([D()],Ge.prototype,"selectedSuggestOptionId",void 0);qt([h()],Ge.prototype,"launchSearchPath",void 0);qt([h({type:Boolean})],Ge.prototype,"useCustomSearchPath",void 0);qt([h({type:Boolean})],Ge.prototype,"triggerSearchOnClear",void 0);qt([z(".ft-search-input--input")],Ge.prototype,"input",void 0);qt([z('[part="launch-search-in-input"]')],Ge.prototype,"launchSearchButton",void 0)});var yb=p(()=>{"use strict"});var bb={};ie(bb,{FtSearchInput:()=>Ge,FtSearchInputCssVariables:()=>Se,styles:()=>gd});var vb=p(()=>{"use strict";_();$p();mn();yb();$p();U("ft-search-input")(Ge)});var L0,Pp,Np=p(()=>{"use strict";P();L0={},Pp=I`
3874
- `});var Fp,xb=p(()=>{"use strict";lr();Fp=sr.fromGwt("designedActionBlockAriaLabels")});var Sb,Tr,Bp=p(()=>{"use strict";P();_();Np();jt();No();lr();xb();Sb=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Tr=class extends $t(Pt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Fp)}render(){return this.isLastPage?$:S`
3873
+ `}renderLiveText(){return this.shouldDisplaySuggestions?Jr.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":let t=this.suggestions.selectedSuggestOption||this.launchSearchButton;t?.click();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var t;(t=this.stateManager)===null||t===void 0||t.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):$,this.input.focus()}launchSearch(e){var t;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(t=this.stateManager)===null||t===void 0||t.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.displaySuggestListbox=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};Ge.elementDefinitions={"ft-button":Pe,...oo.elementDefinitions};Ge.styles=[Xr,vo,gd,...oo.styles,hi];qt([Oe()],Ge.prototype,"request",void 0);qt([Oe()],Ge.prototype,"liveQuery",void 0);qt([Oe()],Ge.prototype,"suggestResults",void 0);qt([D()],Ge.prototype,"forceCloseSuggestion",void 0);qt([D()],Ge.prototype,"displaySuggestListbox",void 0);qt([D()],Ge.prototype,"selectedSuggestOptionId",void 0);qt([h()],Ge.prototype,"launchSearchPath",void 0);qt([h({type:Boolean})],Ge.prototype,"useCustomSearchPath",void 0);qt([h({type:Boolean})],Ge.prototype,"triggerSearchOnClear",void 0);qt([z(".ft-search-input--input")],Ge.prototype,"input",void 0);qt([z('[part="launch-search-in-input"]')],Ge.prototype,"launchSearchButton",void 0)});var mb=p(()=>{"use strict"});var gb={};ie(gb,{FtSearchInput:()=>Ge,FtSearchInputCssVariables:()=>Se,styles:()=>gd});var yb=p(()=>{"use strict";_();$p();mn();mb();$p();U("ft-search-input")(Ge)});var R0,Pp,Np=p(()=>{"use strict";P();R0={},Pp=I`
3874
+ `});var Fp,bb=p(()=>{"use strict";lr();Fp=sr.fromGwt("designedActionBlockAriaLabels")});var vb,Tr,Bp=p(()=>{"use strict";P();_();Np();jt();Po();lr();bb();vb=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Tr=class extends Tt($t){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Fp)}render(){return this.isLastPage?$:S`
3875
3875
  <ft-button @click="${this.loadMore}">
3876
3876
  ${Fp.messages.searchPageLoadMore()}
3877
3877
  </ft-button>
3878
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Tr.elementDefinitions={"ft-button":Pe};Tr.styles=Pp;Sb([Oe({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.currentPage)!==null&&t!==void 0?t:1}})],Tr.prototype,"currentPage",void 0);Sb([Oe({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&t!==void 0?t:!0}})],Tr.prototype,"isLastPage",void 0)});var Cb=p(()=>{"use strict"});var Ob={};ie(Ob,{FtSearchLoadMoreButton:()=>Tr,FtSearchLoadMoreButtonCssVariables:()=>L0,styles:()=>Pp});var Eb=p(()=>{"use strict";_();Bp();Np();Cb();Bp();U("ft-search-load-more-button")(Tr)});function k0(r){var e;class t extends r{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Dp]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Dp]):this.dispatchEvent(new Mp)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Dp,es([h({attribute:!1})],t.prototype,"cluster",void 0),es([h({attribute:!1})],t.prototype,"result",void 0),es([h({attribute:!1,type:Number})],t.prototype,"rank",void 0),es([h({attribute:!1,type:Boolean})],t.prototype,"openResultInNewTab",void 0),t}var es,Mp,Dp,Ti,Up=p(()=>{"use strict";No();Q();es=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Mp=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Dp=Symbol("registerInterval");Ti=class extends k0(Pt){}});var Bo,zp=p(()=>{"use strict";P();Up();Sa();Vi();Be();Bo=class extends Ti{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?S`
3878
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Tr.elementDefinitions={"ft-button":Pe};Tr.styles=Pp;vb([Oe({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.currentPage)!==null&&t!==void 0?t:1}})],Tr.prototype,"currentPage",void 0);vb([Oe({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&t!==void 0?t:!0}})],Tr.prototype,"isLastPage",void 0)});var xb=p(()=>{"use strict"});var Sb={};ie(Sb,{FtSearchLoadMoreButton:()=>Tr,FtSearchLoadMoreButtonCssVariables:()=>R0,styles:()=>Pp});var Cb=p(()=>{"use strict";_();Bp();Np();xb();Bp();U("ft-search-load-more-button")(Tr)});function A0(r){var e;class t extends r{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Dp]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Dp]):this.dispatchEvent(new Mp)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Dp,es([h({attribute:!1})],t.prototype,"cluster",void 0),es([h({attribute:!1})],t.prototype,"result",void 0),es([h({attribute:!1,type:Number})],t.prototype,"rank",void 0),es([h({attribute:!1,type:Boolean})],t.prototype,"openResultInNewTab",void 0),t}var es,Mp,Dp,Ti,Up=p(()=>{"use strict";Po();Q();es=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Mp=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Dp=Symbol("registerInterval");Ti=class extends A0($t){}});var Fo,zp=p(()=>{"use strict";P();Up();Sa();Vi();Be();Fo=class extends Ti{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?S`
3879
3879
  <ft-typography variant="body1" part="text">${fo(e)}</ft-typography>
3880
3880
  `:S`
3881
3881
  <style>
@@ -3883,30 +3883,30 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3883
3883
  display: none !important;
3884
3884
  }
3885
3885
  </style>
3886
- `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(t=>t.setAttribute("part","kwicmatch"))}};Bo.elementDefinitions={"ft-typography":re};Bo.styles=yd});var wb=p(()=>{"use strict"});var Rb={};ie(Rb,{FtSearchResultAbstract:()=>Bo,FtSearchResultAbstractCssVariables:()=>xa,styles:()=>yd});var Hp=p(()=>{"use strict";_();zp();Sa();wb();zp();U("ft-search-result-abstract")(Bo)});var I0,io,Wp=p(()=>{"use strict";P();Q();Up();Oa();Be();Vi();Bd();Md();I0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},io=class extends Ti{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():S`
3886
+ `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(t=>t.setAttribute("part","kwicmatch"))}};Fo.elementDefinitions={"ft-typography":re};Fo.styles=yd});var Ob=p(()=>{"use strict"});var Eb={};ie(Eb,{FtSearchResultAbstract:()=>Fo,FtSearchResultAbstractCssVariables:()=>xa,styles:()=>yd});var Hp=p(()=>{"use strict";_();zp();Sa();Ob();zp();U("ft-search-result-abstract")(Fo)});var L0,io,Wp=p(()=>{"use strict";P();Q();Up();Oa();Be();Vi();Bd();Md();L0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},io=class extends Ti{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():S`
3887
3887
  <a href="${Fa(this.result)}"
3888
3888
  @click=${this.onResultClick}
3889
3889
  @auxclick=${t=>this.onAuxClick(t)}
3890
3890
  @contextmenu=${this.onContextMenu}
3891
- target="${oy(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3891
+ target="${ty(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3892
3892
  part="link">
3893
3893
  ${this.renderTitle()}
3894
3894
  </a>
3895
3895
  `:$}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return S`
3896
3896
  <ft-typography variant="title" part="text">${fo(this.selectTitle(this.result))}</ft-typography>
3897
- `}onResultClick(){this.dispatchEvent(new Oi(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Ei(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((t=this.stateManager)===null||t===void 0)&&t.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};io.elementDefinitions={"ft-typography":re};io.styles=bd;I0([h({type:Boolean})],io.prototype,"withoutLink",void 0)});var Ab=p(()=>{"use strict"});var Lb={};ie(Lb,{FtSearchResultTitle:()=>io,FtSearchResultTitleCssVariables:()=>Ca,styles:()=>bd});var Vp=p(()=>{"use strict";_();Wp();Oa();Ab();Wp();U("ft-search-result-title")(io)});var _0,jp,Gp=p(()=>{"use strict";P();_0={},jp=I`
3897
+ `}onResultClick(){this.dispatchEvent(new Oi(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Ei(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((t=this.stateManager)===null||t===void 0)&&t.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};io.elementDefinitions={"ft-typography":re};io.styles=bd;L0([h({type:Boolean})],io.prototype,"withoutLink",void 0)});var wb=p(()=>{"use strict"});var Rb={};ie(Rb,{FtSearchResultTitle:()=>io,FtSearchResultTitleCssVariables:()=>Ca,styles:()=>bd});var Vp=p(()=>{"use strict";_();Wp();Oa();wb();Wp();U("ft-search-result-title")(io)});var k0,jp,Gp=p(()=>{"use strict";P();k0={},jp=I`
3898
3898
  [part="no-results-message"] {
3899
3899
  text-align: center;
3900
3900
  padding: 12px;
3901
3901
  }
3902
- `});var kb,Kp=p(()=>{"use strict";P();kb=I`
3902
+ `});var Ab,Kp=p(()=>{"use strict";P();Ab=I`
3903
3903
  a {
3904
3904
  color: inherit;
3905
3905
  text-decoration: inherit;
3906
3906
  }
3907
- `});var ts,Ib=p(()=>{"use strict";ts=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,t){this.cluster=e,this.rank=t,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(t=>this.bindComponent(t))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var rs,qp,hr,Zp=p(()=>{"use strict";P();Q();_();Kp();Ib();rs=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qp=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},hr=class extends H{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new ts(e=>this.onResultSelected(e))}render(){return S`
3907
+ `});var ts,Lb=p(()=>{"use strict";ts=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,t){this.cluster=e,this.rank=t,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(t=>this.bindComponent(t))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var rs,qp,hr,Zp=p(()=>{"use strict";P();Q();_();Kp();Lb();rs=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qp=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},hr=class extends H{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new ts(e=>this.onResultSelected(e))}render(){return S`
3908
3908
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
3909
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new qp(this.result))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};hr.elementDefinitions={};hr.styles=kb;rs([h({attribute:!1})],hr.prototype,"cluster",void 0);rs([h({attribute:!1,type:Boolean})],hr.prototype,"openResultInNewTab",void 0);rs([D()],hr.prototype,"result",void 0);rs([h()],hr.prototype,"index",void 0)});var _b=p(()=>{"use strict"});var Tb=p(()=>{"use strict";_();Zp();Kp();_b();Zp();U("ft-search-result-context")(hr)});var $i,$b,Yp=p(()=>{"use strict";lr();$i=sr.build("searchResultsNumber"),$b={results:"{0} results","results[\\=1]":"1 result"}});var Do,At,Qp=p(()=>{"use strict";P();Ut();Q();_();Gp();No();Tb();Vp();Hp();lr();Yp();Do=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},At=class extends $t(Pt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>S`
3909
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new qp(this.result))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};hr.elementDefinitions={};hr.styles=Ab;rs([h({attribute:!1})],hr.prototype,"cluster",void 0);rs([h({attribute:!1,type:Boolean})],hr.prototype,"openResultInNewTab",void 0);rs([D()],hr.prototype,"result",void 0);rs([h()],hr.prototype,"index",void 0)});var kb=p(()=>{"use strict"});var Ib=p(()=>{"use strict";_();Zp();Kp();kb();Zp();U("ft-search-result-context")(hr)});var $i,_b,Yp=p(()=>{"use strict";lr();$i=sr.build("searchResultsNumber"),_b={results:"{0} results","results[\\=1]":"1 result"}});var Bo,Rt,Qp=p(()=>{"use strict";P();Mt();Q();_();Gp();Po();Ib();Vp();Hp();lr();Yp();Bo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Rt=class extends Tt($t){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>S`
3910
3910
  <ft-search-result-title></ft-search-result-title>
3911
3911
  <ft-search-result-abstract></ft-search-result-abstract>
3912
3912
  `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext($i)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return S`
@@ -3916,13 +3916,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3916
3916
  @ft-search-result-cluster-change="${a=>this.onClusterChange(t.id,a.detail)}">
3917
3917
  ${this.renderResult((n=this.selectedResultByCluster[t.id])!==null&&n!==void 0?n:t.entries[0],i)}
3918
3918
  </ft-search-result-context>
3919
- `})}update(e){var t;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((t=this.stateManager)===null||t===void 0||t.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var t;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector("ft-search-result-context");i&&Ac.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,t){this.selectedResultByCluster[e]=t}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,t;return(t=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:this.clusterId(i.entries[0]),entries:i.entries})))!==null&&t!==void 0?t:[]}buildAllResultsClusters(){var e,t,i;let n=(t=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&t!==void 0?t:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}clusterId(e){var t,i,n,a,s;return(a=(i=(t=e.map)===null||t===void 0?void 0:t.mapId)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};At.styles=jp;Do([h({type:String,attribute:"cluster-policy"})],At.prototype,"clusterPolicy",void 0);Do([h({type:Boolean})],At.prototype,"displayNoResultsMessage",void 0);Do([h({attribute:!1})],At.prototype,"renderResult",void 0);Do([Ee([])],At.prototype,"clusterSortCriterion",void 0);Do([Oe({selector:r=>({...r.request,paging:void 0})})],At.prototype,"requestWithoutPaging",void 0);Do([Oe({selector:r=>r.request.paging})],At.prototype,"paging",void 0);Do([Oe()],At.prototype,"results",void 0)});var Pb=p(()=>{"use strict"});var Nb={};ie(Nb,{FtSearchResults:()=>At,FtSearchResultsCssVariables:()=>_0,styles:()=>jp});var Fb=p(()=>{"use strict";_();Qp();Gp();Pb();Qp();U("ft-search-results")(At)});var T0,Xp,Jp=p(()=>{"use strict";P();T0={},Xp=I`
3919
+ `})}update(e){var t;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((t=this.stateManager)===null||t===void 0||t.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var t;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector("ft-search-result-context");i&&Ac.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,t){this.selectedResultByCluster[e]=t}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,t;return(t=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:this.clusterId(i.entries[0]),entries:i.entries})))!==null&&t!==void 0?t:[]}buildAllResultsClusters(){var e,t,i;let n=(t=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&t!==void 0?t:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}clusterId(e){var t,i,n,a,s;return(a=(i=(t=e.map)===null||t===void 0?void 0:t.mapId)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};Rt.styles=jp;Bo([h({type:String,attribute:"cluster-policy"})],Rt.prototype,"clusterPolicy",void 0);Bo([h({type:Boolean})],Rt.prototype,"displayNoResultsMessage",void 0);Bo([h({attribute:!1})],Rt.prototype,"renderResult",void 0);Bo([Ee([])],Rt.prototype,"clusterSortCriterion",void 0);Bo([Oe({selector:r=>({...r.request,paging:void 0})})],Rt.prototype,"requestWithoutPaging",void 0);Bo([Oe({selector:r=>r.request.paging})],Rt.prototype,"paging",void 0);Bo([Oe()],Rt.prototype,"results",void 0)});var Tb=p(()=>{"use strict"});var $b={};ie($b,{FtSearchResults:()=>Rt,FtSearchResultsCssVariables:()=>k0,styles:()=>jp});var Pb=p(()=>{"use strict";_();Qp();Gp();Tb();Qp();U("ft-search-results")(Rt)});var I0,Xp,Jp=p(()=>{"use strict";P();I0={},Xp=I`
3920
3920
 
3921
- `});var $0,no,eu=p(()=>{"use strict";P();_();Jp();No();lr();Yp();Be();$0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},no=class extends $t(Pt){constructor(){super(),this.addI18nContext($i,$b)}render(){return this.paging==null?$:S`
3921
+ `});var _0,no,eu=p(()=>{"use strict";P();_();Jp();Po();lr();Yp();Be();_0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},no=class extends Tt($t){constructor(){super(),this.addI18nContext($i,_b)}render(){return this.paging==null?$:S`
3922
3922
  <ft-typography variant="body1">
3923
3923
  ${$i.messages.results(this.paging.totalClustersCount)}
3924
3924
  </ft-typography>
3925
- `}};no.elementDefinitions={"ft-typography":re};no.styles=Xp;$0([Oe()],no.prototype,"paging",void 0)});var Bb=p(()=>{"use strict"});var Db={};ie(Db,{FtSearchResultsNumber:()=>no,FtSearchResultsNumberCssVariables:()=>T0,styles:()=>Xp});var Mb=p(()=>{"use strict";_();eu();Jp();Bb();eu();U("ft-search-results-number")(no)});_();P();_();P();_();P();_();Rr();var be={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",E.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",E.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",E.colorPrimary),outlineStyle:o.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.extend("--ft-card-outline-color","",E.colorPrimary),selectedOutlineStyle:o.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.extend("--ft-card-selected-outline-color","",E.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",E.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",E.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",E.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",E.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",E.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",E.elevation04)},Um=I`
3925
+ `}};no.elementDefinitions={"ft-typography":re};no.styles=Xp;_0([Oe()],no.prototype,"paging",void 0)});var Nb=p(()=>{"use strict"});var Fb={};ie(Fb,{FtSearchResultsNumber:()=>no,FtSearchResultsNumberCssVariables:()=>I0,styles:()=>Xp});var Bb=p(()=>{"use strict";_();eu();Jp();Nb();eu();U("ft-search-results-number")(no)});_();P();_();P();_();P();_();Rr();var be={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",E.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",E.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",E.colorPrimary),outlineStyle:o.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.extend("--ft-card-outline-color","",E.colorPrimary),selectedOutlineStyle:o.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.extend("--ft-card-selected-outline-color","",E.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",E.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",E.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",E.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",E.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",E.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",E.elevation04)},Dm=I`
3926
3926
  :host {
3927
3927
  display: block;
3928
3928
  }
@@ -4011,7 +4011,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4011
4011
  #action {
4012
4012
  grid-area: actions;
4013
4013
  }
4014
- `;mn();Sa();Rr();Oa();var et={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",E.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",E.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",E.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",E.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",E.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",E.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",E.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",E.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",E.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",E.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",E.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",E.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",E.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",E.colorPrimary)},bg=I`
4014
+ `;mn();Sa();Rr();Oa();var et={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",E.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",E.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",E.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",E.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",E.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",E.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",E.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",E.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",E.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",E.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",E.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",E.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",E.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",E.colorPrimary)},gg=I`
4015
4015
  .ft-search-in-doc--container {
4016
4016
  display: flex;
4017
4017
  flex-direction: column;
@@ -4037,7 +4037,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4037
4037
  ft-search-load-more-button {
4038
4038
  margin: auto;
4039
4039
  }
4040
- `,vg=I`
4040
+ `,yg=I`
4041
4041
  ft-card {
4042
4042
  margin-bottom: 8px;
4043
4043
  ${y(be.elevation04,"none")};
@@ -4078,7 +4078,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4078
4078
  text-decoration: none;
4079
4079
  color: inherit;
4080
4080
  }
4081
- `;lr();_();Q();var Qg;(function(r){r.clusteringHelperCreated="clustering-helper-created",r.mapAttachmentsUpdate="map-attachments-update",r.visibleTopicChange="visible-topic-change"})(Qg||(Qg={}));var Xg;(function(r){r.FEEDBACK="FEEDBACK",r.RATING="RATING",r.PRINT="PRINT",r.BOOKMARK="BOOKMARK",r.COLLECTIONS="COLLECTIONS",r.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Xg||(Xg={}));var x0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Fd=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Nd=Symbol("registerInterval");function S0(r){var e;class t extends r{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Nd]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Nd]):this.dispatchEvent(new Fd)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Nd,x0([D()],t.prototype,"stateManager",void 0),t}var Na=class extends S0(dt){};Q();Bd();lr();var Dd=sr.build("designedReaderSearchInDocument");_();P();Q();_();ut();Be();nt();var Ci=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},yt=class extends H{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return S`
4081
+ `;lr();_();Q();var Zg;(function(r){r.clusteringHelperCreated="clustering-helper-created",r.mapAttachmentsUpdate="map-attachments-update",r.visibleTopicChange="visible-topic-change"})(Zg||(Zg={}));var Yg;(function(r){r.FEEDBACK="FEEDBACK",r.RATING="RATING",r.PRINT="PRINT",r.BOOKMARK="BOOKMARK",r.COLLECTIONS="COLLECTIONS",r.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Yg||(Yg={}));var b0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Fd=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Nd=Symbol("registerInterval");function v0(r){var e;class t extends r{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Nd]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Nd]):this.dispatchEvent(new Fd)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Nd,b0([D()],t.prototype,"stateManager",void 0),t}var Na=class extends v0(zt){};Q();Bd();lr();var Dd=sr.build("designedReaderSearchInDocument");_();P();Q();_();pt();Be();nt();var Ci=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},gt=class extends H{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return S`
4082
4082
  <div id="container" part="container" class=${ye(e)}>
4083
4083
  ${this.clickable?S`
4084
4084
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -4096,8 +4096,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4096
4096
  </ft-typography>
4097
4097
  </div>
4098
4098
  </div>
4099
- `}};yt.elementDefinitions={"ft-ripple":te,"ft-typography":re};yt.styles=Um;Ci([h()],yt.prototype,"title",void 0);Ci([h({type:Boolean})],yt.prototype,"clickable",void 0);Ci([h({type:Boolean})],yt.prototype,"selected",void 0);Ci([h({type:Boolean})],yt.prototype,"noHeader",void 0);Ci([h({type:Boolean})],yt.prototype,"noContent",void 0);Ci([h({type:Boolean})],yt.prototype,"oneLineHeader",void 0);U("ft-card")(yt);Md();var $r=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},lt=class r extends $t(Na){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=Us(6,"search-in-document-"),this.addI18nContext(Dd)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,t){var i;return S`
4100
- <style> ${vg}</style>
4099
+ `}};gt.elementDefinitions={"ft-ripple":te,"ft-typography":re};gt.styles=Dm;Ci([h()],gt.prototype,"title",void 0);Ci([h({type:Boolean})],gt.prototype,"clickable",void 0);Ci([h({type:Boolean})],gt.prototype,"selected",void 0);Ci([h({type:Boolean})],gt.prototype,"noHeader",void 0);Ci([h({type:Boolean})],gt.prototype,"noContent",void 0);Ci([h({type:Boolean})],gt.prototype,"oneLineHeader",void 0);U("ft-card")(gt);Md();var $r=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},lt=class r extends Tt(Na){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=Us(6,"search-in-document-"),this.addI18nContext(Dd)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,t){var i;return S`
4100
+ <style> ${yg}</style>
4101
4101
  <a href="${Fa(e)}" @click=${()=>this.onLinkClick(e,t)}
4102
4102
  @auxclick=${n=>this.onAuxClick(n,e,t)}
4103
4103
  @contextmenu=${()=>this.onContextMenu(e,t)}>
@@ -4138,7 +4138,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4138
4138
  </slot>
4139
4139
  </div>
4140
4140
  </ft-search-context>
4141
- `:$}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(t=>e.has(t))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){Ko(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,t){this.dispatchEvent(new Oi(e,t))}importDynamicDependencies(){super.importDynamicDependencies();let e=r.registry;Promise.resolve().then(()=>(fy(),uy)).then(({FtSearchContext:t})=>e.define("ft-search-context",t)),Promise.resolve().then(()=>(vb(),bb)).then(({FtSearchInput:t})=>e.define("ft-search-input",t)),Promise.resolve().then(()=>(Eb(),Ob)).then(({FtSearchLoadMoreButton:t})=>e.define("ft-search-load-more-button",t)),Promise.resolve().then(()=>(Hp(),Rb)).then(({FtSearchResultAbstract:t})=>e.define("ft-search-result-abstract",t)),Promise.resolve().then(()=>(Vp(),Lb)).then(({FtSearchResultTitle:t})=>e.define("ft-search-result-title",t)),Promise.resolve().then(()=>(Fb(),Nb)).then(({FtSearchResults:t})=>e.define("ft-search-results",t)),Promise.resolve().then(()=>(Mb(),Db)).then(({FtSearchResultsNumber:t})=>e.define("ft-search-results-number",t))}};lt.elementDefinitions={"ft-card":yt};lt.styles=bg;$r([Oe()],lt.prototype,"map",void 0);$r([Oe()],lt.prototype,"searchInDocumentQuery",void 0);$r([z("ft-search-results")],lt.prototype,"searchResults",void 0);$r([h({type:Boolean})],lt.prototype,"hideResultTitle",void 0);$r([h({type:Boolean})],lt.prototype,"hideResultBreadcrumb",void 0);$r([h({type:Boolean})],lt.prototype,"hideResultAbstract",void 0);$r([h({type:Boolean})],lt.prototype,"hideResultsNumber",void 0);$r([h({type:Boolean})],lt.prototype,"emptyResultOnClear",void 0);$r([z('[part="search-context"]')],lt.prototype,"searchContext",void 0);U("ft-reader-search-in-document")(lt);})();
4141
+ `:$}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(t=>e.has(t))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){Go(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,t){this.dispatchEvent(new Oi(e,t))}importDynamicDependencies(){super.importDynamicDependencies();let e=r.registry;Promise.resolve().then(()=>(py(),dy)).then(({FtSearchContext:t})=>e.define("ft-search-context",t)),Promise.resolve().then(()=>(yb(),gb)).then(({FtSearchInput:t})=>e.define("ft-search-input",t)),Promise.resolve().then(()=>(Cb(),Sb)).then(({FtSearchLoadMoreButton:t})=>e.define("ft-search-load-more-button",t)),Promise.resolve().then(()=>(Hp(),Eb)).then(({FtSearchResultAbstract:t})=>e.define("ft-search-result-abstract",t)),Promise.resolve().then(()=>(Vp(),Rb)).then(({FtSearchResultTitle:t})=>e.define("ft-search-result-title",t)),Promise.resolve().then(()=>(Pb(),$b)).then(({FtSearchResults:t})=>e.define("ft-search-results",t)),Promise.resolve().then(()=>(Bb(),Fb)).then(({FtSearchResultsNumber:t})=>e.define("ft-search-results-number",t))}};lt.elementDefinitions={"ft-card":gt};lt.styles=gg;$r([Oe()],lt.prototype,"map",void 0);$r([Oe()],lt.prototype,"searchInDocumentQuery",void 0);$r([z("ft-search-results")],lt.prototype,"searchResults",void 0);$r([h({type:Boolean})],lt.prototype,"hideResultTitle",void 0);$r([h({type:Boolean})],lt.prototype,"hideResultBreadcrumb",void 0);$r([h({type:Boolean})],lt.prototype,"hideResultAbstract",void 0);$r([h({type:Boolean})],lt.prototype,"hideResultsNumber",void 0);$r([h({type:Boolean})],lt.prototype,"emptyResultOnClear",void 0);$r([z('[part="search-context"]')],lt.prototype,"searchContext",void 0);U("ft-reader-search-in-document")(lt);})();
4142
4142
  /*! Bundled license information:
4143
4143
 
4144
4144
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: