@fluid-topics/ft-reader-search-in-document 1.1.97 → 1.1.99

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,9 +1,9 @@
1
- "use strict";(()=>{var Hh=Object.create;var Ci=Object.defineProperty;var zh=Object.getOwnPropertyDescriptor;var jh=Object.getOwnPropertyNames;var Vh=Object.getPrototypeOf,Kh=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Gh=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)Ci(t,r,{get:e[r],enumerable:!0})},Zh=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jh(e))!Kh.call(t,i)&&i!==r&&Ci(t,i,{get:()=>e[i],enumerable:!(n=zh(e,i))||n.enumerable});return t};var qh=(t,e,r)=>(r=t!=null?Hh(Vh(t)):{},Zh(e||!t||!t.__esModule?Ci(r,"default",{value:t,enumerable:!0}):r,t));var xc=p(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,B=new Set(S.observedAttributes||[]);y(S,B,w);let W={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(O,W),this._definitionsByClass.set(S,W);let be=r.call(n,O);be||(be=m(O),e.call(n,O,be)),this===window.customElements&&(s.set(S,W),W.standInClass=be);let q=this._awaitingUpgrade.get(O);if(q){this._awaitingUpgrade.delete(O);for(let v of q)a.delete(v),x(v,W,!0)}let g=this._whenDefinedPromises.get(O);return g!==void 0&&(g.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(B=>w.resolve=B),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,S,w){let B=this._awaitingUpgrade.get(S);B||this._awaitingUpgrade.set(S,B=new Set),w?B.add(O):B.delete(O)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=t.prototype;let u=O=>O===document||O instanceof ShadowRoot,h=O=>{let S=O.getRootNode();if(!u(S)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),u(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let B=h(w)||window.customElements,W=B._getDefinition(O);return W?x(w,W):a.set(w,B),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},y=(O,S,w)=>{if(S.size===0||w===void 0)return;let B=O.prototype.setAttribute;B&&(O.prototype.setAttribute=function(q,g){let v=q.toLowerCase();if(S.has(v)){let N=this.getAttribute(v);B.call(this,v,g),w.call(this,v,N,g)}else B.call(this,v,g)});let W=O.prototype.removeAttribute;W&&(O.prototype.removeAttribute=function(q){let g=q.toLowerCase();if(S.has(g)){let v=this.getAttribute(g);W.call(this,g),w.call(this,g,v,null)}else W.call(this,g)});let be=O.prototype.toggleAttribute;be&&(O.prototype.toggleAttribute=function(q,g){let v=q.toLowerCase();if(S.has(v)){let N=this.getAttribute(v);be.call(this,v,g);let K=this.getAttribute(v);w.call(this,v,N,K)}else be.call(this,v,g)})},b=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(O,window.HTMLElement):b(S)},x=(O,S,w=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),c=O;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(B=>{O.hasAttribute(B)&&S.attributeChangedCallback.call(O,B,null,O.getAttribute(B))}),w&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=E.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let T=[document],I=(O,S,w=void 0)=>{let B=(w?Object.getPrototypeOf(w):O.prototype)[S];O.prototype[S]=function(){T.push(this);let W=B.apply(w||this,arguments);return W!==void 0&&l.set(W,this),T.pop(),W}};I(ShadowRoot,"createElement",document),I(ShadowRoot,"importNode",document),I(Element,"insertAdjacentHTML");let k=(O,S)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...w,set(B){T.push(this),w.set.call(this,B),T.pop()}})};if(k(Element,"innerHTML"),k(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...q){let g=S.call(this,...q);return O.set(g,this),g},w.forEach(q=>{let g=window.ElementInternals.prototype,v=g[q];g[q]=function(...N){let K=O.get(this);if(i.get(K).formAssociated===!0)return v?.call(this,...N);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(g){super(...g),this._elements=g}get value(){return this._elements.find(g=>g.checked===!0)?.value||""}}class W{constructor(g){let v=new Map;g.forEach((N,K)=>{let ue=N.getAttribute("name"),Y=v.get(ue)||[];this[+K]=N,Y.push(N),v.set(ue,Y)}),this.length=g.length,v.forEach((N,K)=>{N&&(N.length===1?this[K]=N[0]:this[K]=new B(N))})}namedItem(g){return this[g]}}let be=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let q=be.get.call(this,[]),g=[];for(let v of q){let N=i.get(v);(!N||N.formAssociated===!0)&&g.push(v)}return new W(g)}})}}});var vc=p(()=>{"use strict";xc();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}});var zo,Vo,Oc,Sc,jo,Cc,Ei,Ko,wi=p(()=>{zo=globalThis,Vo=zo.ShadowRoot&&(zo.ShadyCSS===void 0||zo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Oc=Symbol(),Sc=new WeakMap,jo=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Oc)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Vo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Sc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Sc.set(r,e))}return e}toString(){return this.cssText}},Cc=t=>new jo(typeof t=="string"?t:t+"",void 0,Oc),Ei=(t,e)=>{if(Vo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=zo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Ko=Vo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Cc(r)})(t):t});var Yh,Xh,Jh,Qh,em,tm,Go,Ec,rm,om,Qr,eo,Zo,wc,Ht,Ai=p(()=>{wi();wi();({is:Yh,defineProperty:Xh,getOwnPropertyDescriptor:Jh,getOwnPropertyNames:Qh,getOwnPropertySymbols:em,getPrototypeOf:tm}=Object),Go=globalThis,Ec=Go.trustedTypes,rm=Ec?Ec.emptyScript:"",om=Go.reactiveElementPolyfillSupport,Qr=(t,e)=>t,eo={toAttribute(t,e){switch(e){case Boolean:t=t?rm:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Zo=(t,e)=>!Yh(t,e),wc={attribute:!0,type:String,converter:eo,reflect:!1,hasChanged:Zo};Symbol.metadata??=Symbol("metadata"),Go.litPropertyMetadata??=new WeakMap;Ht=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=wc){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Xh(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Jh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??wc}static _$Ei(){if(this.hasOwnProperty(Qr("elementProperties")))return;let e=tm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Qr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Qr("properties"))){let r=this.properties,n=[...Qh(r),...em(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Ko(i))}else e!==void 0&&r.push(Ko(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ei(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:eo).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:eo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Zo)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ht.elementStyles=[],Ht.shadowRootOptions={mode:"open"},Ht[Qr("elementProperties")]=new Map,Ht[Qr("finalized")]=new Map,om?.({ReactiveElement:Ht}),(Go.reactiveElementVersions??=[]).push("2.0.2")});function Uc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ac!==void 0?Ac.createHTML(e):e}function Kt(t,e,r=t,n){if(e===Le)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ro(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Kt(t,i._$AS(t,e.values),i,n)),e}var Ni,qo,Ac,_i,at,Pi,nm,Vt,Yo,ro,Ic,Lc,Ri,to,Rc,Nc,zt,_c,Pc,$c,kc,Mc,Dc,Le,ae,Tc,jt,Bc,oo,Xo,no,Gt,Jo,Qo,en,tn,Fc,im,st=p(()=>{Ni=globalThis,qo=Ni.trustedTypes,Ac=qo?qo.createPolicy("lit-html",{createHTML:t=>t}):void 0,_i="$lit$",at=`lit$${(Math.random()+"").slice(9)}$`,Pi="?"+at,nm=`<${Pi}>`,Vt=document,Yo=()=>Vt.createComment(""),ro=t=>t===null||typeof t!="object"&&typeof t!="function",Ic=Array.isArray,Lc=t=>Ic(t)||typeof t?.[Symbol.iterator]=="function",Ri=`[
1
+ "use strict";(()=>{var Hh=Object.create;var Ci=Object.defineProperty;var zh=Object.getOwnPropertyDescriptor;var jh=Object.getOwnPropertyNames;var Vh=Object.getPrototypeOf,Kh=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Gh=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)Ci(t,r,{get:e[r],enumerable:!0})},Zh=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jh(e))!Kh.call(t,i)&&i!==r&&Ci(t,i,{get:()=>e[i],enumerable:!(n=zh(e,i))||n.enumerable});return t};var qh=(t,e,r)=>(r=t!=null?Hh(Vh(t)):{},Zh(e||!t||!t.__esModule?Ci(r,"default",{value:t,enumerable:!0}):r,t));var xc=p(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,B=new Set(S.observedAttributes||[]);g(S,B,w);let W={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(O,W),this._definitionsByClass.set(S,W);let be=r.call(n,O);be||(be=m(O),e.call(n,O,be)),this===window.customElements&&(s.set(S,W),W.standInClass=be);let q=this._awaitingUpgrade.get(O);if(q){this._awaitingUpgrade.delete(O);for(let v of q)a.delete(v),x(v,W,!0)}let y=this._whenDefinedPromises.get(O);return y!==void 0&&(y.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(B=>w.resolve=B),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,S,w){let B=this._awaitingUpgrade.get(S);B||this._awaitingUpgrade.set(S,B=new Set),w?B.add(O):B.delete(O)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=t.prototype;let u=O=>O===document||O instanceof ShadowRoot,h=O=>{let S=O.getRootNode();if(!u(S)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),u(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let B=h(w)||window.customElements,W=B._getDefinition(O);return W?x(w,W):a.set(w,B),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,S,w)=>{if(S.size===0||w===void 0)return;let B=O.prototype.setAttribute;B&&(O.prototype.setAttribute=function(q,y){let v=q.toLowerCase();if(S.has(v)){let N=this.getAttribute(v);B.call(this,v,y),w.call(this,v,N,y)}else B.call(this,v,y)});let W=O.prototype.removeAttribute;W&&(O.prototype.removeAttribute=function(q){let y=q.toLowerCase();if(S.has(y)){let v=this.getAttribute(y);W.call(this,y),w.call(this,y,v,null)}else W.call(this,y)});let be=O.prototype.toggleAttribute;be&&(O.prototype.toggleAttribute=function(q,y){let v=q.toLowerCase();if(S.has(v)){let N=this.getAttribute(v);be.call(this,v,y);let K=this.getAttribute(v);w.call(this,v,N,K)}else be.call(this,v,y)})},b=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(O,window.HTMLElement):b(S)},x=(O,S,w=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),c=O;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(B=>{O.hasAttribute(B)&&S.attributeChangedCallback.call(O,B,null,O.getAttribute(B))}),w&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=E.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let T=[document],I=(O,S,w=void 0)=>{let B=(w?Object.getPrototypeOf(w):O.prototype)[S];O.prototype[S]=function(){T.push(this);let W=B.apply(w||this,arguments);return W!==void 0&&l.set(W,this),T.pop(),W}};I(ShadowRoot,"createElement",document),I(ShadowRoot,"importNode",document),I(Element,"insertAdjacentHTML");let k=(O,S)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...w,set(B){T.push(this),w.set.call(this,B),T.pop()}})};if(k(Element,"innerHTML"),k(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...q){let y=S.call(this,...q);return O.set(y,this),y},w.forEach(q=>{let y=window.ElementInternals.prototype,v=y[q];y[q]=function(...N){let K=O.get(this);if(i.get(K).formAssociated===!0)return v?.call(this,...N);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(y){super(...y),this._elements=y}get value(){return this._elements.find(y=>y.checked===!0)?.value||""}}class W{constructor(y){let v=new Map;y.forEach((N,K)=>{let ue=N.getAttribute("name"),Y=v.get(ue)||[];this[+K]=N,Y.push(N),v.set(ue,Y)}),this.length=y.length,v.forEach((N,K)=>{N&&(N.length===1?this[K]=N[0]:this[K]=new B(N))})}namedItem(y){return this[y]}}let be=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let q=be.get.call(this,[]),y=[];for(let v of q){let N=i.get(v);(!N||N.formAssociated===!0)&&y.push(v)}return new W(y)}})}}});var vc=p(()=>{"use strict";xc();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}});var zo,Vo,Oc,Sc,jo,Cc,Ei,Ko,wi=p(()=>{zo=globalThis,Vo=zo.ShadowRoot&&(zo.ShadyCSS===void 0||zo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Oc=Symbol(),Sc=new WeakMap,jo=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Oc)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Vo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Sc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Sc.set(r,e))}return e}toString(){return this.cssText}},Cc=t=>new jo(typeof t=="string"?t:t+"",void 0,Oc),Ei=(t,e)=>{if(Vo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=zo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Ko=Vo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Cc(r)})(t):t});var Yh,Xh,Jh,Qh,em,tm,Go,Ec,rm,om,Qr,eo,Zo,wc,Ht,Ai=p(()=>{wi();wi();({is:Yh,defineProperty:Xh,getOwnPropertyDescriptor:Jh,getOwnPropertyNames:Qh,getOwnPropertySymbols:em,getPrototypeOf:tm}=Object),Go=globalThis,Ec=Go.trustedTypes,rm=Ec?Ec.emptyScript:"",om=Go.reactiveElementPolyfillSupport,Qr=(t,e)=>t,eo={toAttribute(t,e){switch(e){case Boolean:t=t?rm:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Zo=(t,e)=>!Yh(t,e),wc={attribute:!0,type:String,converter:eo,reflect:!1,hasChanged:Zo};Symbol.metadata??=Symbol("metadata"),Go.litPropertyMetadata??=new WeakMap;Ht=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=wc){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Xh(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Jh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??wc}static _$Ei(){if(this.hasOwnProperty(Qr("elementProperties")))return;let e=tm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Qr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Qr("properties"))){let r=this.properties,n=[...Qh(r),...em(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Ko(i))}else e!==void 0&&r.push(Ko(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ei(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:eo).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:eo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Zo)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ht.elementStyles=[],Ht.shadowRootOptions={mode:"open"},Ht[Qr("elementProperties")]=new Map,Ht[Qr("finalized")]=new Map,om?.({ReactiveElement:Ht}),(Go.reactiveElementVersions??=[]).push("2.0.2")});function Uc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ac!==void 0?Ac.createHTML(e):e}function Kt(t,e,r=t,n){if(e===Le)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ro(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Kt(t,i._$AS(t,e.values),i,n)),e}var Ni,qo,Ac,_i,at,Pi,nm,Vt,Yo,ro,Ic,Lc,Ri,to,Rc,Nc,zt,_c,Pc,$c,kc,Mc,Dc,Le,ae,Tc,jt,Bc,oo,Xo,no,Gt,Jo,Qo,en,tn,Fc,im,st=p(()=>{Ni=globalThis,qo=Ni.trustedTypes,Ac=qo?qo.createPolicy("lit-html",{createHTML:t=>t}):void 0,_i="$lit$",at=`lit$${(Math.random()+"").slice(9)}$`,Pi="?"+at,nm=`<${Pi}>`,Vt=document,Yo=()=>Vt.createComment(""),ro=t=>t===null||typeof t!="object"&&typeof t!="function",Ic=Array.isArray,Lc=t=>Ic(t)||typeof t?.[Symbol.iterator]=="function",Ri=`[
2
2
  \f\r]`,to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Rc=/-->/g,Nc=/>/g,zt=RegExp(`>|${Ri}(?:([^\\s"'>=/]+)(${Ri}*=${Ri}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),_c=/'/g,Pc=/"/g,$c=/^(?:script|style|textarea|title)$/i,kc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Mc=kc(1),Dc=kc(2),Le=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Tc=new WeakMap,jt=Vt.createTreeWalker(Vt,129);Bc=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=to;for(let l=0;l<r;l++){let c=t[l],u,h,m=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===to?h[1]==="!--"?s=Rc:h[1]!==void 0?s=Nc:h[2]!==void 0?($c.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=zt):h[3]!==void 0&&(s=zt):s===zt?h[0]===">"?(s=i??to,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?zt:h[3]==='"'?Pc:_c):s===Pc||s===_c?s=zt:s===Rc||s===Nc?s=to:(s=zt,i=void 0);let b=s===zt&&t[l+1].startsWith("/>")?" ":"";a+=s===to?c+nm:m>=0?(n.push(u),c.slice(0,m)+_i+c.slice(m)+at+b):c+at+(m===-2?l:b)}return[Uc(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},oo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[u,h]=Bc(e,r);if(this.el=t.createElement(u,n),jt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=jt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(_i)){let y=h[s++],b=i.getAttribute(m).split(at),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Jo:x[1]==="?"?Qo:x[1]==="@"?en:Gt}),i.removeAttribute(m)}else m.startsWith(at)&&(c.push({type:6,index:a}),i.removeAttribute(m));if($c.test(i.tagName)){let m=i.textContent.split(at),y=m.length-1;if(y>0){i.textContent=qo?qo.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],Yo()),jt.nextNode(),c.push({type:2,index:++a});i.append(m[y],Yo())}}}else if(i.nodeType===8)if(i.data===Pi)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(at,m+1))!==-1;)c.push({type:7,index:a}),m+=at.length-1}a++}}static createElement(e,r){let n=Vt.createElement("template");return n.innerHTML=e,n}};Xo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Vt).importNode(r,!0);jt.currentNode=i;let a=jt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let u;c.type===2?u=new no(a,a.nextSibling,this,e):c.type===1?u=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(u=new tn(a,this,e)),this._$AV.push(u),c=n[++l]}s!==c?.index&&(a=jt.nextNode(),s++)}return jt.currentNode=Vt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},no=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Kt(this,e,r),ro(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==Le&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Lc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ae&&ro(this._$AH)?this._$AA.nextSibling.data=e:this.$(Vt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=oo.createElement(Uc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Xo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Tc.get(e.strings);return r===void 0&&Tc.set(e.strings,r=new oo(e)),r}T(e){Ic(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(Yo()),this.k(Yo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ae}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Kt(this,e,r,0),s=!ro(e)||e!==this._$AH&&e!==Le,s&&(this._$AH=e);else{let l=e,c,u;for(e=a[0],c=0;c<a.length-1;c++)u=Kt(this,l[n+c],r,c),u===Le&&(u=this._$AH[c]),s||=!ro(u)||u!==this._$AH[c],u===ae?e=ae:e!==ae&&(e+=(u??"")+a[c+1]),this._$AH[c]=u}s&&!i&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Jo=class extends Gt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Qo=class extends Gt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},en=class extends Gt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Kt(this,e,r,0)??ae)===Le)return;let n=this._$AH,i=e===ae&&n!==ae||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ae&&(n===ae||i);i&&this.element.removeEventListener(this.name,this,n),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)}},tn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Kt(this,e)}},Fc={j:_i,P:at,A:Pi,C:1,M:Bc,L:Xo,R:Lc,V:Kt,D:no,I:Gt,H:Qo,N:en,U:Jo,B:tn},im=Ni.litHtmlPolyfillSupport;im?.(oo,no),(Ni.litHtmlVersions??=[]).push("3.1.0")});var rn,io,Ti,Wc,mr,Zt,_,on,ao,Ii=p(()=>{rn=globalThis,io=rn.ShadowRoot&&(rn.ShadyCSS===void 0||rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ti=Symbol(),Wc=new WeakMap,mr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ti)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(io&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Wc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Wc.set(r,e))}return e}toString(){return this.cssText}},Zt=t=>new mr(typeof t=="string"?t:t+"",void 0,Ti),_=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new mr(r,t,Ti)},on=(t,e)=>{if(io)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=rn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},ao=io?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Zt(r)})(t):t});var am,sm,lm,cm,dm,um,an,Hc,pm,fm,so,nn,Li,zc,Ye,$i=p(()=>{Ii();Ii();({is:am,defineProperty:sm,getOwnPropertyDescriptor:lm,getOwnPropertyNames:cm,getOwnPropertySymbols:dm,getPrototypeOf:um}=Object),an=globalThis,Hc=an.trustedTypes,pm=Hc?Hc.emptyScript:"",fm=an.reactiveElementPolyfillSupport,so=(t,e)=>t,nn={toAttribute(t,e){switch(e){case Boolean:t=t?pm:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Li=(t,e)=>!am(t,e),zc={attribute:!0,type:String,converter:nn,reflect:!1,hasChanged:Li};Symbol.metadata??=Symbol("metadata"),an.litPropertyMetadata??=new WeakMap;Ye=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=zc){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&sm(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=lm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??zc}static _$Ei(){if(this.hasOwnProperty(so("elementProperties")))return;let e=um(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(so("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(so("properties"))){let r=this.properties,n=[...cm(r),...dm(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(ao(i))}else e!==void 0&&r.push(ao(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return on(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:nn).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:nn;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Li)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ye.elementStyles=[],Ye.shadowRootOptions={mode:"open"},Ye[so("elementProperties")]=new Map,Ye[so("finalized")]=new Map,fm?.({ReactiveElement:Ye}),(an.reactiveElementVersions??=[]).push("2.0.2")});function ed(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return jc!==void 0?jc.createHTML(e):e}function Jt(t,e,r=t,n){if(e===Ct)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=uo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Jt(t,i._$AS(t,e.values),i,n)),e}var Mi,sn,jc,Di,lt,Ui,hm,Xt,co,uo,Yc,Xc,ki,lo,Vc,Kc,qt,Gc,Zc,Jc,Qc,M,mm,Ct,H,qc,Yt,td,po,ln,gr,Qt,cn,dn,un,pn,gm,ym,Bi,Fi=p(()=>{Mi=globalThis,sn=Mi.trustedTypes,jc=sn?sn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Di="$lit$",lt=`lit$${(Math.random()+"").slice(9)}$`,Ui="?"+lt,hm=`<${Ui}>`,Xt=document,co=()=>Xt.createComment(""),uo=t=>t===null||typeof t!="object"&&typeof t!="function",Yc=Array.isArray,Xc=t=>Yc(t)||typeof t?.[Symbol.iterator]=="function",ki=`[
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),_c=/'/g,Pc=/"/g,$c=/^(?:script|style|textarea|title)$/i,kc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Mc=kc(1),Dc=kc(2),Le=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Tc=new WeakMap,jt=Vt.createTreeWalker(Vt,129);Bc=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=to;for(let l=0;l<r;l++){let c=t[l],u,h,m=-1,g=0;for(;g<c.length&&(s.lastIndex=g,h=s.exec(c),h!==null);)g=s.lastIndex,s===to?h[1]==="!--"?s=Rc:h[1]!==void 0?s=Nc:h[2]!==void 0?($c.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=zt):h[3]!==void 0&&(s=zt):s===zt?h[0]===">"?(s=i??to,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?zt:h[3]==='"'?Pc:_c):s===Pc||s===_c?s=zt:s===Rc||s===Nc?s=to:(s=zt,i=void 0);let b=s===zt&&t[l+1].startsWith("/>")?" ":"";a+=s===to?c+nm:m>=0?(n.push(u),c.slice(0,m)+_i+c.slice(m)+at+b):c+at+(m===-2?l:b)}return[Uc(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},oo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[u,h]=Bc(e,r);if(this.el=t.createElement(u,n),jt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=jt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(_i)){let g=h[s++],b=i.getAttribute(m).split(at),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Jo:x[1]==="?"?Qo:x[1]==="@"?en:Gt}),i.removeAttribute(m)}else m.startsWith(at)&&(c.push({type:6,index:a}),i.removeAttribute(m));if($c.test(i.tagName)){let m=i.textContent.split(at),g=m.length-1;if(g>0){i.textContent=qo?qo.emptyScript:"";for(let b=0;b<g;b++)i.append(m[b],Yo()),jt.nextNode(),c.push({type:2,index:++a});i.append(m[g],Yo())}}}else if(i.nodeType===8)if(i.data===Pi)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(at,m+1))!==-1;)c.push({type:7,index:a}),m+=at.length-1}a++}}static createElement(e,r){let n=Vt.createElement("template");return n.innerHTML=e,n}};Xo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Vt).importNode(r,!0);jt.currentNode=i;let a=jt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let u;c.type===2?u=new no(a,a.nextSibling,this,e):c.type===1?u=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(u=new tn(a,this,e)),this._$AV.push(u),c=n[++l]}s!==c?.index&&(a=jt.nextNode(),s++)}return jt.currentNode=Vt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},no=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Kt(this,e,r),ro(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==Le&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Lc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ae&&ro(this._$AH)?this._$AA.nextSibling.data=e:this.$(Vt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=oo.createElement(Uc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Xo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Tc.get(e.strings);return r===void 0&&Tc.set(e.strings,r=new oo(e)),r}T(e){Ic(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(Yo()),this.k(Yo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ae}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Kt(this,e,r,0),s=!ro(e)||e!==this._$AH&&e!==Le,s&&(this._$AH=e);else{let l=e,c,u;for(e=a[0],c=0;c<a.length-1;c++)u=Kt(this,l[n+c],r,c),u===Le&&(u=this._$AH[c]),s||=!ro(u)||u!==this._$AH[c],u===ae?e=ae:e!==ae&&(e+=(u??"")+a[c+1]),this._$AH[c]=u}s&&!i&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Jo=class extends Gt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Qo=class extends Gt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},en=class extends Gt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Kt(this,e,r,0)??ae)===Le)return;let n=this._$AH,i=e===ae&&n!==ae||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ae&&(n===ae||i);i&&this.element.removeEventListener(this.name,this,n),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)}},tn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Kt(this,e)}},Fc={j:_i,P:at,A:Pi,C:1,M:Bc,L:Xo,R:Lc,V:Kt,D:no,I:Gt,H:Qo,N:en,U:Jo,B:tn},im=Ni.litHtmlPolyfillSupport;im?.(oo,no),(Ni.litHtmlVersions??=[]).push("3.1.0")});var rn,io,Ti,Wc,mr,Zt,_,on,ao,Ii=p(()=>{rn=globalThis,io=rn.ShadowRoot&&(rn.ShadyCSS===void 0||rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ti=Symbol(),Wc=new WeakMap,mr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ti)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(io&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Wc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Wc.set(r,e))}return e}toString(){return this.cssText}},Zt=t=>new mr(typeof t=="string"?t:t+"",void 0,Ti),_=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new mr(r,t,Ti)},on=(t,e)=>{if(io)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=rn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},ao=io?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Zt(r)})(t):t});var am,sm,lm,cm,dm,um,an,Hc,pm,fm,so,nn,Li,zc,Ye,$i=p(()=>{Ii();Ii();({is:am,defineProperty:sm,getOwnPropertyDescriptor:lm,getOwnPropertyNames:cm,getOwnPropertySymbols:dm,getPrototypeOf:um}=Object),an=globalThis,Hc=an.trustedTypes,pm=Hc?Hc.emptyScript:"",fm=an.reactiveElementPolyfillSupport,so=(t,e)=>t,nn={toAttribute(t,e){switch(e){case Boolean:t=t?pm:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Li=(t,e)=>!am(t,e),zc={attribute:!0,type:String,converter:nn,reflect:!1,hasChanged:Li};Symbol.metadata??=Symbol("metadata"),an.litPropertyMetadata??=new WeakMap;Ye=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=zc){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&sm(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=lm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??zc}static _$Ei(){if(this.hasOwnProperty(so("elementProperties")))return;let e=um(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(so("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(so("properties"))){let r=this.properties,n=[...cm(r),...dm(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(ao(i))}else e!==void 0&&r.push(ao(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return on(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:nn).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:nn;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Li)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ye.elementStyles=[],Ye.shadowRootOptions={mode:"open"},Ye[so("elementProperties")]=new Map,Ye[so("finalized")]=new Map,fm?.({ReactiveElement:Ye}),(an.reactiveElementVersions??=[]).push("2.0.2")});function ed(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return jc!==void 0?jc.createHTML(e):e}function Jt(t,e,r=t,n){if(e===Ct)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=uo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Jt(t,i._$AS(t,e.values),i,n)),e}var Mi,sn,jc,Di,lt,Ui,hm,Xt,co,uo,Yc,Xc,ki,lo,Vc,Kc,qt,Gc,Zc,Jc,Qc,M,mm,Ct,H,qc,Yt,td,po,ln,yr,Qt,cn,dn,un,pn,ym,gm,Bi,Fi=p(()=>{Mi=globalThis,sn=Mi.trustedTypes,jc=sn?sn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Di="$lit$",lt=`lit$${(Math.random()+"").slice(9)}$`,Ui="?"+lt,hm=`<${Ui}>`,Xt=document,co=()=>Xt.createComment(""),uo=t=>t===null||typeof t!="object"&&typeof t!="function",Yc=Array.isArray,Xc=t=>Yc(t)||typeof t?.[Symbol.iterator]=="function",ki=`[
4
4
  \f\r]`,lo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vc=/-->/g,Kc=/>/g,qt=RegExp(`>|${ki}(?:([^\\s"'>=/]+)(${ki}*=${ki}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Gc=/'/g,Zc=/"/g,Jc=/^(?:script|style|textarea|title)$/i,Qc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=Qc(1),mm=Qc(2),Ct=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),qc=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);td=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=lo;for(let l=0;l<r;l++){let c=t[l],u,h,m=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===lo?h[1]==="!--"?s=Vc:h[1]!==void 0?s=Kc:h[2]!==void 0?(Jc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=qt):h[3]!==void 0&&(s=qt):s===qt?h[0]===">"?(s=i??lo,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?qt:h[3]==='"'?Zc:Gc):s===Zc||s===Gc?s=qt:s===Vc||s===Kc?s=lo:(s=qt,i=void 0);let b=s===qt&&t[l+1].startsWith("/>")?" ":"";a+=s===lo?c+hm:m>=0?(n.push(u),c.slice(0,m)+Di+c.slice(m)+lt+b):c+lt+(m===-2?l:b)}return[ed(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},po=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[u,h]=td(e,r);if(this.el=t.createElement(u,n),Yt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Yt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Di)){let y=h[s++],b=i.getAttribute(m).split(lt),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?cn:x[1]==="?"?dn:x[1]==="@"?un:Qt}),i.removeAttribute(m)}else m.startsWith(lt)&&(c.push({type:6,index:a}),i.removeAttribute(m));if(Jc.test(i.tagName)){let m=i.textContent.split(lt),y=m.length-1;if(y>0){i.textContent=sn?sn.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],co()),Yt.nextNode(),c.push({type:2,index:++a});i.append(m[y],co())}}}else if(i.nodeType===8)if(i.data===Ui)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(lt,m+1))!==-1;)c.push({type:7,index:a}),m+=lt.length-1}a++}}static createElement(e,r){let n=Xt.createElement("template");return n.innerHTML=e,n}};ln=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Xt).importNode(r,!0);Yt.currentNode=i;let a=Yt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let u;c.type===2?u=new gr(a,a.nextSibling,this,e):c.type===1?u=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(u=new pn(a,this,e)),this._$AV.push(u),c=n[++l]}s!==c?.index&&(a=Yt.nextNode(),s++)}return Yt.currentNode=Xt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},gr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Jt(this,e,r),uo(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ct&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Xc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==H&&uo(this._$AH)?this._$AA.nextSibling.data=e:this.$(Xt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=po.createElement(ed(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new ln(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=qc.get(e.strings);return r===void 0&&qc.set(e.strings,r=new po(e)),r}T(e){Yc(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(co()),this.k(co()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Jt(this,e,r,0),s=!uo(e)||e!==this._$AH&&e!==Ct,s&&(this._$AH=e);else{let l=e,c,u;for(e=a[0],c=0;c<a.length-1;c++)u=Jt(this,l[n+c],r,c),u===Ct&&(u=this._$AH[c]),s||=!uo(u)||u!==this._$AH[c],u===H?e=H:e!==H&&(e+=(u??"")+a[c+1]),this._$AH[c]=u}s&&!i&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},cn=class extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},dn=class extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},un=class extends Qt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Jt(this,e,r,0)??H)===Ct)return;let n=this._$AH,i=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==H&&(n===H||i);i&&this.element.removeEventListener(this.name,this,n),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)}},pn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Jt(this,e)}},gm={j:Di,P:lt,A:Ui,C:1,M:td,L:ln,R:Xc,V:Jt,D:gr,I:Qt,H:dn,N:un,U:cn,B:pn},ym=Mi.litHtmlPolyfillSupport;ym?.(po,gr),(Mi.litHtmlVersions??=[]).push("3.1.0");Bi=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new gr(e.insertBefore(co(),a),a,void 0,r??{})}return i._$AI(t),i}});var ct,bm,xm,rd=p(()=>{$i();$i();Fi();Fi();ct=class extends Ye{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Bi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ct}};ct._$litElement$=!0,ct.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ct});bm=globalThis.litElementPolyfillSupport;bm?.({LitElement:ct});xm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var eb,od=p(()=>{eb=!1});var Wi={};G(Wi,{CSSResult:()=>mr,LitElement:()=>ct,ReactiveElement:()=>Ye,_$LE:()=>xm,_$LH:()=>gm,adoptStyles:()=>on,css:()=>_,defaultConverter:()=>nn,getCompatibleStyle:()=>ao,html:()=>M,isServer:()=>eb,noChange:()=>Ct,notEqual:()=>Li,nothing:()=>H,render:()=>Bi,supportsAdoptingStyleSheets:()=>io,svg:()=>mm,unsafeCSS:()=>Zt});var U=p(()=>{Ai();st();rd();od()});var Hi,nd=p(()=>{Hi=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function C(t){return(e,r)=>typeof r=="object"?id(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}var vm,id,zi=p(()=>{Ai();vm={attribute:!0,type:String,converter:eo,reflect:!1,hasChanged:Zo},id=(t=vm,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return C({...t,state:!0,attribute:!1})}var ad=p(()=>{zi();});function yr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var sd=p(()=>{});var je,br=p(()=>{je=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function me(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(u){this[c]=u}}})();return je(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return je(r,n,{get(){return a(this)}})}}var ld=p(()=>{br();});function Om(t){return(e,r)=>je(e,r,{get(){return(this.renderRoot??(Sm??=document.createDocumentFragment())).querySelectorAll(t)}})}var Sm,cd=p(()=>{br();});function Cm(t){return(e,r)=>je(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var dd=p(()=>{br();});function Em(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return je(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}var ud=p(()=>{br();});function ji(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return je(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var pd=p(()=>{br();});var Vi={};G(Vi,{customElement:()=>Hi,eventOptions:()=>yr,property:()=>C,query:()=>me,queryAll:()=>Om,queryAssignedElements:()=>Em,queryAssignedNodes:()=>ji,queryAsync:()=>Cm,standardProperty:()=>id,state:()=>le});var ee=p(()=>{nd();zi();ad();sd();ld();cd();dd();ud();pd()});var Et,wt,Xe,fo=p(()=>{Et={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},wt=t=>(...e)=>({_$litDirective$:t,values:e}),Xe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var wm,fd,xr,At,Am,hd,md,fn,gd=p(()=>{st();({D:wm}=Fc),fd=()=>document.createComment(""),xr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(fd(),i),s=n.insertBefore(fd(),i);r=new wm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let u=c.nextSibling;n.insertBefore(c,i),c=u}}}return r},At=(t,e,r=t)=>(t._$AI(e,r),t),Am={},hd=(t,e=Am)=>t._$AH=e,md=t=>t._$AH,fn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}}});var yd,ho,bd=p(()=>{st();fo();gd();yd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},ho=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=md(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],u,h,m=0,y=i.length-1,b=0,x=a.length-1;for(;m<=y&&b<=x;)if(i[m]===null)m++;else if(i[y]===null)y--;else if(l[m]===s[b])c[b]=At(i[m],a[b]),m++,b++;else if(l[y]===s[x])c[x]=At(i[y],a[x]),y--,x--;else if(l[m]===s[x])c[x]=At(i[m],a[x]),xr(t,c[x+1],i[m]),m++,x--;else if(l[y]===s[b])c[b]=At(i[y],a[b]),xr(t,i[m],i[y]),y--,b++;else if(u===void 0&&(u=yd(s,b,x),h=yd(l,m,y)),u.has(l[m]))if(u.has(l[y])){let E=h.get(s[b]),T=E!==void 0?i[E]:null;if(T===null){let I=xr(t,i[m]);At(I,a[b]),c[b]=I}else c[b]=At(T,a[b]),xr(t,i[m],T),i[E]=null;b++}else fn(i[y]),y--;else fn(i[m]),m++;for(;b<=x;){let E=xr(t,c[x+1]);At(E,a[b]),c[b++]=E}for(;m<=y;){let E=i[m++];E!==null&&fn(E)}return this.dt=s,hd(t,c),Le}})});var Ki={};G(Ki,{repeat:()=>ho});var hn=p(()=>{bd()});var dt,xd=p(()=>{st();fo();dt=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Le}})});var Gi={};G(Gi,{classMap:()=>dt});var vr=p(()=>{xd()});var vd,Rm,Nm,Sd=p(()=>{st();fo();vd="important",Rm=" !"+vd,Nm=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Rm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?vd:""):r[n]=i}}return Le}})});var Zi={};G(Zi,{styleMap:()=>Nm});var Od=p(()=>{Sd()});var Sr,er,Cd=p(()=>{st();fo();Sr=class extends Xe{constructor(e){if(super(e),this.et=ae,e.type!==Et.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ae||e==null)return this.vt=void 0,this.et=e;if(e===Le)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Sr.directiveName="unsafeHTML",Sr.resultType=1;er=wt(Sr)});var qi={};G(qi,{UnsafeHTMLDirective:()=>Sr,unsafeHTML:()=>er});var mo=p(()=>{Cd()});var Yi={};G(Yi,{CancelablePromise:()=>Or,CanceledPromiseError:()=>Rt,cancelable:()=>Cr});var Rt,Or,Cr,mn=p(()=>{"use strict";Rt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Or=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Rt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Rt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Cr=t=>new Or((e,r)=>t.then(e).catch(r))});var Xi={};G(Xi,{CacheRegistry:()=>Je});var Je,Ji=p(()=>{"use strict";mn();Je=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Or&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Cr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});var ea={};G(ea,{ClusteringHelper:()=>Qi});var Qi,ta=p(()=>{"use strict";Qi=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,m)=>m.findIndex(y=>y.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(c=>{var u;return((u=t.extractResultMetadata(c,e))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let u=this.countMatchingMetadata(c,a);if(u>l&&(l=u,s=c,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var ra={};G(ra,{Debouncer:()=>ye});var ye,gn=p(()=>{"use strict";ye=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var oa={};G(oa,{dateReviver:()=>Pm,deepEqual:()=>Ve,delay:()=>yn,eventPathContainsMatchingElement:()=>Im,flatDeep:()=>wd,hasChanged:()=>go,last:()=>$m,minmax:()=>Lm,parseDate:()=>Ad,waitFor:()=>Ed,waitUntil:()=>_m});async function _m(t,e=10,r=2e4){await Ed(async()=>await t()||void 0,e,r)}async function Ed(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await yn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function wd(t,e){return t.flatMap(r=>[r,...wd(e(r),e)])}function Pm(...t){return function(e,r){return t.includes(e)?Ad(r):r}}function Ad(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function Tm(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ve(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ve(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ve(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ve(t,e){try{return Tm(t,e)}catch{return!1}}function go(t,e){return!Ve(t,e)}function Im(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Lm(t,e,r){return Math.min(Math.max(t,e),r)}function $m(t){return t[t.length-1]}var yn,yo=p(()=>{"use strict";yn=t=>new Promise(e=>setTimeout(e,t))});var na={};G(na,{customElement:()=>z,isNumber:()=>Rd,jsonProperty:()=>Oe,optionalNumberProperty:()=>km});function Oe(t,e){let r=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:go,...e??{}})}function km(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Rd(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Rd(t){return!isNaN(parseFloat(t))}var z,bn=p(()=>{"use strict";ee();yo();z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function P(t,e){return ut(`${t.name}: ${e}`)}var ut,o,X=p(()=>{U();ut=t=>typeof t=="string"?Zt(t):t,o=class{static create(e,r,n,i){let a=l=>ut(l??i),s=_`var(${ut(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${ut(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=_`var(${ut(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${ut(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ut(a??e.lastResortDefaultValue()),i=_`var(${ut(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>_`var(${ut(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var d,ia,aa,sa,la,ca,da,ua,pa,fa,Nd,ha,ma,ga,ya,ba,xa,va,Sa,Oa,Ca,Ea,wa,Aa,Ra,Na,_a,bo,Mm,Q=p(()=>{X();d={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(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),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)")},ia={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},aa={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Nd={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ha={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ma={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")},ga={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")},ya={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")},ba={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")},xa={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")},va={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")},Sa={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Oa={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ca={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ea={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},wa={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Aa={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ra={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Na={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},_a={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},bo={display:ia,"title-1":aa,"title-2":sa,"title-3":la,"body-1-regular":ca,"body-1-medium":da,"body-1-semibold":ua,"body-2-regular":pa,"body-2-medium":fa,"body-2-medium-underline":Nd,"body-2-semibold":ha,"label-1-medium":ma,"label-1-semibold":ga,"label-1-bold":ya,"label-2-medium":ba,"label-2-semibold":xa,"label-2-bold":va,"caption-1-medium":Sa,"caption-1-semibold":Oa,"caption-1-bold":Ca,"caption-2-medium":Ea,"caption-2-semibold":wa,"caption-2-bold":Aa,"caption-3-medium":Ra,"caption-3-semibold":Na,"caption-3-bold":_a},Mm=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var f,oe=p(()=>{X();Q();f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)}});var A,_d=p(()=>{X();Q();oe();A={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:o.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",d.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","",d.spacing2),smallGap:o.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",d.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","",d.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","",d.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)}});var Dm,Pd=p(()=>{X();Q();oe();Dm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:o.extend("--ft-chip-large-gap","",d.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","",d.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",d.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","",d.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:o.extend("--ft-chip-small-gap","",d.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","",d.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)}});var Um,Td=p(()=>{X();Q();oe();Um={focusOpacity:o.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)}});var Bm,Id=p(()=>{X();Q();oe();Bm={iconSize:o.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)}});var Fm,Ld=p(()=>{X();Q();oe();Fm={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)}});var Wm,$d=p(()=>{X();Q();oe();Wm={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)}});var Hm,kd=p(()=>{X();Q();oe();Hm={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)}});var zm,Md=p(()=>{X();Q();oe();zm={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:o.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",d.borderRadiusM)}});var jm,Dd=p(()=>{X();Q();oe();jm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)}});var Vm,Ud=p(()=>{X();Q();oe();Vm={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)}});var Km,Bd=p(()=>{X();Q();oe();Km={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)}});var Gm,Fd=p(()=>{X();Q();oe();Gm={backgroundColor:o.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.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","",d.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",d.borderRadiusM)}});var Zm,Wd=p(()=>{X();Q();oe();Zm={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",d.shadowElevation02)}});var qm,Hd=p(()=>{X();Q();oe();qm={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)}});var Ym,zd=p(()=>{X();Q();oe();Ym={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.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","",d.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)}});var Xm,jd=p(()=>{X();Q();oe();Xm={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",d.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",d.shadowElevation02)}});var Jm,Vd=p(()=>{X();Q();oe();Jm={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",d.iconSize3)}});var Qm,Kd=p(()=>{X();Q();oe();Qm={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:o.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",d.borderRadiusS)}});var eg,Gd=p(()=>{X();Q();eg={color1Light:o.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",d.colorRed40),color5Base:o.extend("--ft-chart-5-base","",d.colorRed60),color6Light:o.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",d.colorGray50),color10Base:o.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",d.colorBrand200)}});var tg,Zd=p(()=>{X();Q();oe();tg={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:o.extend("--ft-notice-gap","",d.spacing2),iconSize:o.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)}});var rg,qd=p(()=>{X();Q();oe();rg={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",d.spacing3)}});var og,Yd=p(()=>{X();Q();oe();og={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",d.spacing3)}});var ng,Xd=p(()=>{X();Q();oe();ng={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.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","",d.spacing3)}});var ig,Jd=p(()=>{X();Q();oe();ig={iconSize:o.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",d.spacing8)}});var ag,Qd=p(()=>{X();Q();oe();ag={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:o.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",d.spacing05)}});var eu=p(()=>{Q();oe();_d();Pd();Td();Id();Ld();$d();kd();Md();Dd();Ud();Bd();Fd();Wd();Hd();zd();jd();Vd();Kd();Gd();Zd();qd();Yd();Xd();Jd();Qd()});function Pa(t){return`ftds--family-${t}`}function Ta(t){return`ftds--size-${t}`}var tr,pt,tu=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(tr||(tr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(pt||(pt={}))});var V=p(()=>{X();eu();tu()});var Ia={};G(Ia,{DesignSystemFamily:()=>tr,DesignSystemSize:()=>pt,FtCssVariableFactory:()=>o,badge:()=>Fm,banner:()=>Bm,breadcrumb:()=>Wm,button:()=>A,chart:()=>eg,checkbox:()=>rg,chip:()=>Dm,collapsible:()=>Jm,comboboxMultiSelect:()=>Ym,comboboxSingleSelect:()=>qm,drawer:()=>jm,floatingMenu:()=>Zm,foundation:()=>d,link:()=>Um,modal:()=>zm,notice:()=>tg,notification:()=>ig,pageHeader:()=>Hm,popover:()=>Xm,radio:()=>ng,resolveFamilyClass:()=>Pa,resolveSizeClass:()=>Ta,semantic:()=>f,setVariable:()=>P,switch_:()=>Qm,tabs:()=>Vm,textArea:()=>Gm,textInput:()=>Km,toggle:()=>og,tooltip:()=>ag,typographies:()=>bo,typographyBody1Medium:()=>da,typographyBody1Regular:()=>ca,typographyBody1Semibold:()=>ua,typographyBody2Medium:()=>fa,typographyBody2MediumUnderline:()=>Nd,typographyBody2Regular:()=>pa,typographyBody2Semibold:()=>ha,typographyCaption1Bold:()=>Ca,typographyCaption1Medium:()=>Sa,typographyCaption1Semibold:()=>Oa,typographyCaption2Bold:()=>Aa,typographyCaption2Medium:()=>Ea,typographyCaption2Semibold:()=>wa,typographyCaption3Bold:()=>_a,typographyCaption3Medium:()=>Ra,typographyCaption3Semibold:()=>Na,typographyDisplay:()=>ia,typographyLabel1Bold:()=>ya,typographyLabel1Medium:()=>ma,typographyLabel1Semibold:()=>ga,typographyLabel2Bold:()=>va,typographyLabel2Medium:()=>ba,typographyLabel2Semibold:()=>xa,typographyTitle1:()=>aa,typographyTitle2:()=>sa,typographyTitle3:()=>la,typographyVariants:()=>Mm});var xn=p(()=>{"use strict";V()});var La={};G(La,{designSystemVariables:()=>L});var L,$a=p(()=>{"use strict";xn();L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),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 Ua={};G(Ua,{FtNotificationEvent:()=>ka,PostResizeEvent:()=>Da,PreResizeEvent:()=>Ma});var ka,Ma,Da,Ba=p(()=>{"use strict";ka=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ma=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Da=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function Ha(t,e,r){return Nt(t,xo(e,r))}function vn(t,e){return typeof t=="function"?t(e):t}function Er(t){return t.split("-")[0]}function _t(t){return t.split("-")[1]}function za(t){return t==="x"?"y":"x"}function ja(t){return t==="y"?"height":"width"}function Sn(t){return["top","bottom"].includes(Er(t))?"y":"x"}function Va(t){return za(Sn(t))}function nu(t,e,r){r===void 0&&(r=!1);let n=_t(t),i=Va(t),a=ja(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Fa(s)),[s,Fa(s)]}function iu(t){return t.replace(/start|end/g,e=>lg[e])}function Fa(t){return t.replace(/left|right|bottom|top/g,e=>sg[e])}function cg(t){return{top:0,right:0,bottom:0,left:0,...t}}function au(t){return typeof t!="number"?cg(t):{top:t,right:t,bottom:t,left:t}}function rr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var ou,ru,Wa,xo,Nt,vo,ft,sg,lg,On=p(()=>{ou=["top","right","bottom","left"],ru=["start","end"],Wa=ou.reduce((t,e)=>t.concat(e,e+"-"+ru[0],e+"-"+ru[1]),[]),xo=Math.min,Nt=Math.max,vo=Math.round,ft=t=>({x:t,y:t}),sg={left:"right",right:"left",bottom:"top",top:"bottom"},lg={start:"end",end:"start"}});function su(t,e,r){let{reference:n,floating:i}=t,a=Sn(e),s=Va(e),l=ja(s),c=Er(e),u=a==="y",h=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(c){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:m};break;case"left":b={x:n.x-i.width,y:m};break;default:b={x:n.x,y:n.y}}switch(_t(e)){case"start":b[s]-=y*(r&&u?-1:1);break;case"end":b[s]+=y*(r&&u?-1:1);break}return b}async function Ka(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:y=!1,padding:b=0}=vn(e,t),x=au(b),T=l[y?m==="floating"?"reference":"floating":m],I=rr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(T)))==null||r?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:c})),k=m==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},w=rr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:O,strategy:c}):k);return{top:(I.top-w.top+x.top)/S.y,bottom:(w.bottom-I.bottom+x.bottom)/S.y,left:(I.left-w.left+x.left)/S.x,right:(w.right-I.right+x.right)/S.x}}function dg(t,e,r){return(t?[...r.filter(i=>_t(i)===t),...r.filter(i=>_t(i)!==t)]:r.filter(i=>Er(i)===i)).filter(i=>t?_t(i)===t||(e?iu(i)!==i:!1):!0)}var lu,Ga,Za,qa=p(()=>{On();On();lu=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:m}=su(u,n,c),y=n,b={},x=0;for(let E=0;E<l.length;E++){let{name:T,fn:I}=l[E],{x:k,y:O,data:S,reset:w}=await I({x:h,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:b,rects:u,platform:s,elements:{reference:t,floating:e}});if(h=k??h,m=O??m,b={...b,[T]:{...b[T],...S}},w&&x<=50){x++,typeof w=="object"&&(w.placement&&(y=w.placement),w.rects&&(u=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:m}=su(u,y,c)),E=-1;continue}}return{x:h,y:m,placement:y,strategy:i,middlewareData:b}};Ga=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:u}=e,{crossAxis:h=!1,alignment:m,allowedPlacements:y=Wa,autoAlignment:b=!0,...x}=vn(t,e),E=m!==void 0||y===Wa?dg(m||null,b,y):y,T=await Ka(e,x),I=((r=s.autoPlacement)==null?void 0:r.index)||0,k=E[I];if(k==null)return{};let O=nu(k,a,await(c.isRTL==null?void 0:c.isRTL(u.floating)));if(l!==k)return{reset:{placement:E[0]}};let S=[T[Er(k)],T[O[0]],T[O[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:S}],B=E[I+1];if(B)return{data:{index:I+1,overflows:w},reset:{placement:B}};let W=w.map(g=>{let v=_t(g.placement);return[g.placement,v&&h?g.overflows.slice(0,2).reduce((N,K)=>N+K,0):g.overflows[0],g.overflows]}).sort((g,v)=>g[1]-v[1]),q=((i=W.filter(g=>g[2].slice(0,_t(g[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||W[0][0];return q!==l?{data:{index:I+1,overflows:w},reset:{placement:q}}:{}}}},Za=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:T=>{let{x:I,y:k}=T;return{x:I,y:k}}},...c}=vn(t,e),u={x:r,y:n},h=await Ka(e,c),m=Sn(Er(i)),y=za(m),b=u[y],x=u[m];if(a){let T=y==="y"?"top":"left",I=y==="y"?"bottom":"right",k=b+h[T],O=b-h[I];b=Ha(k,b,O)}if(s){let T=m==="y"?"top":"left",I=m==="y"?"bottom":"right",k=x+h[T],O=x-h[I];x=Ha(k,x,O)}let E=l.fn({...e,[y]:b,[m]:x});return{...E,data:{x:E.x-r,y:E.y-n}}}}}});function ht(t){return du(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mt(t){var e;return(e=(du(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function du(t){return t instanceof Node||t instanceof Ae(t).Node}function Qe(t){return t instanceof Element||t instanceof Ae(t).Element}function Ke(t){return t instanceof HTMLElement||t instanceof Ae(t).HTMLElement}function cu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function wr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=$e(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function uu(t){return["table","td","th"].includes(ht(t))}function En(t){let e=wn(),r=$e(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function pu(t){let e=or(t);for(;Ke(e)&&!So(e);){if(En(e))return e;e=or(e)}return null}function wn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function So(t){return["html","body","#document"].includes(ht(t))}function $e(t){return Ae(t).getComputedStyle(t)}function Oo(t){return Qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function or(t){if(ht(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cu(t)&&t.host||mt(t);return cu(e)?e.host:e}function fu(t){let e=or(t);return So(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ke(e)&&wr(e)?e:fu(e)}function Cn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=fu(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Ae(i);return a?e.concat(s,s.visualViewport||[],wr(i)?i:[],s.frameElement&&r?Cn(s.frameElement):[]):e.concat(i,Cn(i,[],r))}var hu=p(()=>{});function yu(t){let e=$e(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ke(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=vo(r)!==a||vo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function bu(t){return Qe(t)?t:t.contextElement}function Ar(t){let e=bu(t);if(!Ke(e))return ft(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=yu(e),s=(a?vo(r.width):r.width)/n,l=(a?vo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function xu(t){let e=Ae(t);return!wn()||!e.visualViewport?ug:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function pg(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ae(t)?!1:e}function Co(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=bu(t),s=ft(1);e&&(n?Qe(n)&&(s=Ar(n)):s=Ar(t));let l=pg(a,r,n)?xu(a):ft(0),c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,m=i.height/s.y;if(a){let y=Ae(a),b=n&&Qe(n)?Ae(n):n,x=y.frameElement;for(;x&&n&&b!==y;){let E=Ar(x),T=x.getBoundingClientRect(),I=$e(x),k=T.left+(x.clientLeft+parseFloat(I.paddingLeft))*E.x,O=T.top+(x.clientTop+parseFloat(I.paddingTop))*E.y;c*=E.x,u*=E.y,h*=E.x,m*=E.y,c+=k,u+=O,x=Ae(x).frameElement}}return rr({width:h,height:m,x:c,y:u})}function fg(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ke(r),a=mt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=ft(1),c=ft(0);if((i||!i&&n!=="fixed")&&((ht(r)!=="body"||wr(a))&&(s=Oo(r)),Ke(r))){let u=Co(r);l=Ar(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function hg(t){return Array.from(t.getClientRects())}function vu(t){return Co(mt(t)).left+Oo(t).scrollLeft}function mg(t){let e=mt(t),r=Oo(t),n=t.ownerDocument.body,i=Nt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Nt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+vu(t),l=-r.scrollTop;return $e(n).direction==="rtl"&&(s+=Nt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function gg(t,e){let r=Ae(t),n=mt(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let u=wn();(!u||u&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function yg(t,e){let r=Co(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Ke(t)?Ar(t):ft(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,u=n*a.y;return{width:s,height:l,x:c,y:u}}function mu(t,e,r){let n;if(e==="viewport")n=gg(t,r);else if(e==="document")n=mg(mt(t));else if(Qe(e))n=yg(e,r);else{let i=xu(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return rr(n)}function Su(t,e){let r=or(t);return r===e||!Qe(r)||So(r)?!1:$e(r).position==="fixed"||Su(r,e)}function bg(t,e){let r=e.get(t);if(r)return r;let n=Cn(t,[],!1).filter(l=>Qe(l)&&ht(l)!=="body"),i=null,a=$e(t).position==="fixed",s=a?or(t):t;for(;Qe(s)&&!So(s);){let l=$e(s),c=En(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||wr(s)&&!c&&Su(t,s))?n=n.filter(h=>h!==s):i=l,s=or(s)}return e.set(t,n),n}function xg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?bg(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((u,h)=>{let m=mu(e,h,i);return u.top=Nt(m.top,u.top),u.right=xo(m.right,u.right),u.bottom=xo(m.bottom,u.bottom),u.left=Nt(m.left,u.left),u},mu(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function vg(t){return yu(t)}function Sg(t,e,r){let n=Ke(e),i=mt(e),a=r==="fixed",s=Co(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=ft(0);if(n||!n&&!a)if((ht(e)!=="body"||wr(i))&&(l=Oo(e)),n){let u=Co(e,!0,a,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else i&&(c.x=vu(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function gu(t,e){return!Ke(t)||$e(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ou(t,e){let r=Ae(t);if(!Ke(t))return r;let n=gu(t,e);for(;n&&uu(n)&&$e(n).position==="static";)n=gu(n,e);return n&&(ht(n)==="html"||ht(n)==="body"&&$e(n).position==="static"&&!En(n))?r:n||pu(t)||r}function Cg(t){return $e(t).direction==="rtl"}var ug,Og,An,Cu,Eu=p(()=>{qa();qa();On();hu();ug=ft(0);Og=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Ou,a=this.getDimensions;return{reference:Sg(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};An={convertOffsetParentRelativeRectToViewportRelativeRect:fg,getDocumentElement:mt,getClippingRect:xg,getOffsetParent:Ou,getElementRects:Og,getClientRects:hg,getDimensions:vg,getScale:Ar,isElement:Qe,isRTL:Cg},Cu=(t,e,r)=>{let n=new Map,i={platform:An,...r},a={...i.platform,_c:n};return lu(t,e,{...i,platform:a})}});function wu(t){return Eg(t)}function Ya(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Eg(t){for(let e=t;e;e=Ya(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ya(t);e;e=Ya(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var Au=p(()=>{});var Ja={};G(Ja,{computeOffsetPosition:()=>Xa});async function Xa(t,e,r){return Cu(t,e,{platform:{...An,getOffsetParent:n=>An.getOffsetParent(n,wu)},middleware:[Za({crossAxis:!0}),Ga({allowedPlacements:[r]})]})}var Rn=p(()=>{"use strict";Eu();Au()});var Nn,wg,aS,Ru,Nu=p(()=>{Nn=window,wg=Nn.ShadowRoot&&(Nn.ShadyCSS===void 0||Nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,aS=Symbol(),Ru=(t,e)=>{wg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Nn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var Qa={};G(Qa,{ScopedRegistryLitElement:()=>Eo});var Eo,_n=p(()=>{"use strict";U();Nu();Eo=class extends ct{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ru(n,e.elementStyles),n}}});var es={};G(es,{FtLitElement:()=>Z});var Pn,Iu,_u,Pu,Lu,Tu,Z,wo=p(()=>{"use strict";ee();bn();gn();_n();Pn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},_u=Symbol("constructorPrototype"),Pu=Symbol("constructorName"),Lu=Symbol("exportpartsDebouncer"),Tu=Symbol("dynamicDependenciesLoaded"),Z=class extends Eo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Iu]=new ye(5),this[Pu]=this.constructor.name,this[_u]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pu]&&Object.setPrototypeOf(this,this[_u])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Tu]||(e[Tu]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Lu].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,l;let c=y=>y!=null&&y.trim().length>0,u=e.filter(c).map(y=>y.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(y=>u.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Iu=Lu;Pn([C()],Z.prototype,"exportpartsPrefix",void 0);Pn([Oe([])],Z.prototype,"exportpartsPrefixes",void 0);Pn([C()],Z.prototype,"customStylesheet",void 0);Pn([le()],Z.prototype,"useAdoptedStyleSheets",void 0)});var rs={};G(rs,{FtdsBase:()=>ts,toFtdsBase:()=>Tn});function Tn(t){class e extends t{constructor(){super(...arguments),this.size=pt.medium,this.family=tr.neutral}getDesignSystemBaseClasses(){return{[Pa(this.family)]:!0,[Ta(this.size)]:!0}}}return $u([C()],e.prototype,"size",void 0),$u([C()],e.prototype,"family",void 0),e}var $u,ts,os=p(()=>{"use strict";wo();ee();V();$u=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};ts=class extends Tn(Z){}});var ku={};var ns=p(()=>{"use strict"});var nr,Mu=p(()=>{nr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(u=>{t.matches(u,this.exclude)?c():this.onIframeReady(u,h=>{r(u)&&(l++,n(h)),c()},c)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),l=[],c=[],u,h,m=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;m();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(u,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,b=>c.push(b),i)}),c.push(u);c.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}}});var Ao,Du=p(()=>{Mu();Ao=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new nr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>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:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return nr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let u=r-s.start,h=(n>s.end?s.end:n)-s.start,m=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=m+y,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let u;for(;(u=e.exec(c.textContent))!==null&&u[s]!=="";){if(!n(u[s],c))continue;let h=u.index;if(s!==0)for(let m=1;m<s;m++)h+=u[m].length;c=this.wrapRangeInTextNode(c,h,h+u[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let u=c.index;if(s!==0)for(let m=1;m<s;m++)u+=c[m].length;let h=u+c[s].length;this.wrapRangeInMappedTextNode(l,u,h,m=>n(c[s],m),(m,y)=>{e.lastIndex=y,i(m)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:u,end:h,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,u,h,y=>r(y,l,a.value.substring(u,h),c),y=>{n(y,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),m=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,b)=>this.opt.filter(b,u,n,m),y=>{m++,n++,this.opt.each(y)},()=>{m===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):c(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=nr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function is(t){let e=new Ao(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Uu=p(()=>{Du()});var ls={};G(ls,{highlightHtml:()=>ss,highlightHtmlColorCssVariable:()=>Bu,highlightHtmlStyles:()=>Rg});function ss(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new Ag(t);i.unmark(as),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...as,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...as,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Ag,Bu,Rg,as,cs=p(()=>{"use strict";U();V();Uu();Ag=is,Bu=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Rg=_`
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Gc=/'/g,Zc=/"/g,Jc=/^(?:script|style|textarea|title)$/i,Qc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=Qc(1),mm=Qc(2),Ct=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),qc=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);td=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=lo;for(let l=0;l<r;l++){let c=t[l],u,h,m=-1,g=0;for(;g<c.length&&(s.lastIndex=g,h=s.exec(c),h!==null);)g=s.lastIndex,s===lo?h[1]==="!--"?s=Vc:h[1]!==void 0?s=Kc:h[2]!==void 0?(Jc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=qt):h[3]!==void 0&&(s=qt):s===qt?h[0]===">"?(s=i??lo,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?qt:h[3]==='"'?Zc:Gc):s===Zc||s===Gc?s=qt:s===Vc||s===Kc?s=lo:(s=qt,i=void 0);let b=s===qt&&t[l+1].startsWith("/>")?" ":"";a+=s===lo?c+hm:m>=0?(n.push(u),c.slice(0,m)+Di+c.slice(m)+lt+b):c+lt+(m===-2?l:b)}return[ed(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},po=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[u,h]=td(e,r);if(this.el=t.createElement(u,n),Yt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Yt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Di)){let g=h[s++],b=i.getAttribute(m).split(lt),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?cn:x[1]==="?"?dn:x[1]==="@"?un:Qt}),i.removeAttribute(m)}else m.startsWith(lt)&&(c.push({type:6,index:a}),i.removeAttribute(m));if(Jc.test(i.tagName)){let m=i.textContent.split(lt),g=m.length-1;if(g>0){i.textContent=sn?sn.emptyScript:"";for(let b=0;b<g;b++)i.append(m[b],co()),Yt.nextNode(),c.push({type:2,index:++a});i.append(m[g],co())}}}else if(i.nodeType===8)if(i.data===Ui)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(lt,m+1))!==-1;)c.push({type:7,index:a}),m+=lt.length-1}a++}}static createElement(e,r){let n=Xt.createElement("template");return n.innerHTML=e,n}};ln=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Xt).importNode(r,!0);Yt.currentNode=i;let a=Yt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let u;c.type===2?u=new yr(a,a.nextSibling,this,e):c.type===1?u=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(u=new pn(a,this,e)),this._$AV.push(u),c=n[++l]}s!==c?.index&&(a=Yt.nextNode(),s++)}return Yt.currentNode=Xt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},yr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Jt(this,e,r),uo(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ct&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Xc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==H&&uo(this._$AH)?this._$AA.nextSibling.data=e:this.$(Xt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=po.createElement(ed(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new ln(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=qc.get(e.strings);return r===void 0&&qc.set(e.strings,r=new po(e)),r}T(e){Yc(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(co()),this.k(co()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Jt(this,e,r,0),s=!uo(e)||e!==this._$AH&&e!==Ct,s&&(this._$AH=e);else{let l=e,c,u;for(e=a[0],c=0;c<a.length-1;c++)u=Jt(this,l[n+c],r,c),u===Ct&&(u=this._$AH[c]),s||=!uo(u)||u!==this._$AH[c],u===H?e=H:e!==H&&(e+=(u??"")+a[c+1]),this._$AH[c]=u}s&&!i&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},cn=class extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},dn=class extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},un=class extends Qt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Jt(this,e,r,0)??H)===Ct)return;let n=this._$AH,i=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==H&&(n===H||i);i&&this.element.removeEventListener(this.name,this,n),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)}},pn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Jt(this,e)}},ym={j:Di,P:lt,A:Ui,C:1,M:td,L:ln,R:Xc,V:Jt,D:yr,I:Qt,H:dn,N:un,U:cn,B:pn},gm=Mi.litHtmlPolyfillSupport;gm?.(po,yr),(Mi.litHtmlVersions??=[]).push("3.1.0");Bi=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new yr(e.insertBefore(co(),a),a,void 0,r??{})}return i._$AI(t),i}});var ct,bm,xm,rd=p(()=>{$i();$i();Fi();Fi();ct=class extends Ye{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Bi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ct}};ct._$litElement$=!0,ct.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ct});bm=globalThis.litElementPolyfillSupport;bm?.({LitElement:ct});xm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var eb,od=p(()=>{eb=!1});var Wi={};G(Wi,{CSSResult:()=>mr,LitElement:()=>ct,ReactiveElement:()=>Ye,_$LE:()=>xm,_$LH:()=>ym,adoptStyles:()=>on,css:()=>_,defaultConverter:()=>nn,getCompatibleStyle:()=>ao,html:()=>M,isServer:()=>eb,noChange:()=>Ct,notEqual:()=>Li,nothing:()=>H,render:()=>Bi,supportsAdoptingStyleSheets:()=>io,svg:()=>mm,unsafeCSS:()=>Zt});var U=p(()=>{Ai();st();rd();od()});var Hi,nd=p(()=>{Hi=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function C(t){return(e,r)=>typeof r=="object"?id(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}var vm,id,zi=p(()=>{Ai();vm={attribute:!0,type:String,converter:eo,reflect:!1,hasChanged:Zo},id=(t=vm,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return C({...t,state:!0,attribute:!1})}var ad=p(()=>{zi();});function gr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var sd=p(()=>{});var je,br=p(()=>{je=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function me(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(u){this[c]=u}}})();return je(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return je(r,n,{get(){return a(this)}})}}var ld=p(()=>{br();});function Om(t){return(e,r)=>je(e,r,{get(){return(this.renderRoot??(Sm??=document.createDocumentFragment())).querySelectorAll(t)}})}var Sm,cd=p(()=>{br();});function Cm(t){return(e,r)=>je(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var dd=p(()=>{br();});function Em(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return je(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}var ud=p(()=>{br();});function ji(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return je(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var pd=p(()=>{br();});var Vi={};G(Vi,{customElement:()=>Hi,eventOptions:()=>gr,property:()=>C,query:()=>me,queryAll:()=>Om,queryAssignedElements:()=>Em,queryAssignedNodes:()=>ji,queryAsync:()=>Cm,standardProperty:()=>id,state:()=>le});var ee=p(()=>{nd();zi();ad();sd();ld();cd();dd();ud();pd()});var Et,wt,Xe,fo=p(()=>{Et={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},wt=t=>(...e)=>({_$litDirective$:t,values:e}),Xe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var wm,fd,xr,At,Am,hd,md,fn,yd=p(()=>{st();({D:wm}=Fc),fd=()=>document.createComment(""),xr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(fd(),i),s=n.insertBefore(fd(),i);r=new wm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let u=c.nextSibling;n.insertBefore(c,i),c=u}}}return r},At=(t,e,r=t)=>(t._$AI(e,r),t),Am={},hd=(t,e=Am)=>t._$AH=e,md=t=>t._$AH,fn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}}});var gd,ho,bd=p(()=>{st();fo();yd();gd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},ho=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=md(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],u,h,m=0,g=i.length-1,b=0,x=a.length-1;for(;m<=g&&b<=x;)if(i[m]===null)m++;else if(i[g]===null)g--;else if(l[m]===s[b])c[b]=At(i[m],a[b]),m++,b++;else if(l[g]===s[x])c[x]=At(i[g],a[x]),g--,x--;else if(l[m]===s[x])c[x]=At(i[m],a[x]),xr(t,c[x+1],i[m]),m++,x--;else if(l[g]===s[b])c[b]=At(i[g],a[b]),xr(t,i[m],i[g]),g--,b++;else if(u===void 0&&(u=gd(s,b,x),h=gd(l,m,g)),u.has(l[m]))if(u.has(l[g])){let E=h.get(s[b]),T=E!==void 0?i[E]:null;if(T===null){let I=xr(t,i[m]);At(I,a[b]),c[b]=I}else c[b]=At(T,a[b]),xr(t,i[m],T),i[E]=null;b++}else fn(i[g]),g--;else fn(i[m]),m++;for(;b<=x;){let E=xr(t,c[x+1]);At(E,a[b]),c[b++]=E}for(;m<=g;){let E=i[m++];E!==null&&fn(E)}return this.dt=s,hd(t,c),Le}})});var Ki={};G(Ki,{repeat:()=>ho});var hn=p(()=>{bd()});var dt,xd=p(()=>{st();fo();dt=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Le}})});var Gi={};G(Gi,{classMap:()=>dt});var vr=p(()=>{xd()});var vd,Rm,Nm,Sd=p(()=>{st();fo();vd="important",Rm=" !"+vd,Nm=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Rm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?vd:""):r[n]=i}}return Le}})});var Zi={};G(Zi,{styleMap:()=>Nm});var Od=p(()=>{Sd()});var Sr,er,Cd=p(()=>{st();fo();Sr=class extends Xe{constructor(e){if(super(e),this.et=ae,e.type!==Et.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ae||e==null)return this.vt=void 0,this.et=e;if(e===Le)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Sr.directiveName="unsafeHTML",Sr.resultType=1;er=wt(Sr)});var qi={};G(qi,{UnsafeHTMLDirective:()=>Sr,unsafeHTML:()=>er});var mo=p(()=>{Cd()});var Yi={};G(Yi,{CancelablePromise:()=>Or,CanceledPromiseError:()=>Rt,cancelable:()=>Cr});var Rt,Or,Cr,mn=p(()=>{"use strict";Rt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Or=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Rt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Rt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Cr=t=>new Or((e,r)=>t.then(e).catch(r))});var Xi={};G(Xi,{CacheRegistry:()=>Je});var Je,Ji=p(()=>{"use strict";mn();Je=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Or&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Cr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});var ea={};G(ea,{ClusteringHelper:()=>Qi});var Qi,ta=p(()=>{"use strict";Qi=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,m)=>m.findIndex(g=>g.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(c=>{var u;return((u=t.extractResultMetadata(c,e))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let u=this.countMatchingMetadata(c,a);if(u>l&&(l=u,s=c,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var ra={};G(ra,{Debouncer:()=>ge});var ge,yn=p(()=>{"use strict";ge=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var oa={};G(oa,{dateReviver:()=>Pm,deepEqual:()=>Ve,delay:()=>gn,eventPathContainsMatchingElement:()=>Im,flatDeep:()=>wd,hasChanged:()=>yo,last:()=>$m,minmax:()=>Lm,parseDate:()=>Ad,waitFor:()=>Ed,waitUntil:()=>_m});async function _m(t,e=10,r=2e4){await Ed(async()=>await t()||void 0,e,r)}async function Ed(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await gn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function wd(t,e){return t.flatMap(r=>[r,...wd(e(r),e)])}function Pm(...t){return function(e,r){return t.includes(e)?Ad(r):r}}function Ad(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function Tm(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ve(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ve(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ve(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ve(t,e){try{return Tm(t,e)}catch{return!1}}function yo(t,e){return!Ve(t,e)}function Im(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Lm(t,e,r){return Math.min(Math.max(t,e),r)}function $m(t){return t[t.length-1]}var gn,go=p(()=>{"use strict";gn=t=>new Promise(e=>setTimeout(e,t))});var na={};G(na,{customElement:()=>z,isNumber:()=>Rd,jsonProperty:()=>Oe,optionalNumberProperty:()=>km});function Oe(t,e){let r=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:yo,...e??{}})}function km(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Rd(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Rd(t){return!isNaN(parseFloat(t))}var z,bn=p(()=>{"use strict";ee();go();z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function P(t,e){return ut(`${t.name}: ${e}`)}var ut,o,X=p(()=>{U();ut=t=>typeof t=="string"?Zt(t):t,o=class{static create(e,r,n,i){let a=l=>ut(l??i),s=_`var(${ut(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${ut(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=_`var(${ut(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${ut(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ut(a??e.lastResortDefaultValue()),i=_`var(${ut(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>_`var(${ut(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var d,ia,aa,sa,la,ca,da,ua,pa,fa,Nd,ha,ma,ya,ga,ba,xa,va,Sa,Oa,Ca,Ea,wa,Aa,Ra,Na,_a,bo,Mm,Q=p(()=>{X();d={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(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),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)")},ia={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},aa={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Nd={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ha={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ma={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")},ya={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")},ga={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")},ba={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")},xa={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")},va={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")},Sa={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Oa={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ca={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ea={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},wa={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Aa={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ra={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Na={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},_a={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},bo={display:ia,"title-1":aa,"title-2":sa,"title-3":la,"body-1-regular":ca,"body-1-medium":da,"body-1-semibold":ua,"body-2-regular":pa,"body-2-medium":fa,"body-2-medium-underline":Nd,"body-2-semibold":ha,"label-1-medium":ma,"label-1-semibold":ya,"label-1-bold":ga,"label-2-medium":ba,"label-2-semibold":xa,"label-2-bold":va,"caption-1-medium":Sa,"caption-1-semibold":Oa,"caption-1-bold":Ca,"caption-2-medium":Ea,"caption-2-semibold":wa,"caption-2-bold":Aa,"caption-3-medium":Ra,"caption-3-semibold":Na,"caption-3-bold":_a},Mm=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var f,oe=p(()=>{X();Q();f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)}});var A,_d=p(()=>{X();Q();oe();A={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:o.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",d.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","",d.spacing2),smallGap:o.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",d.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","",d.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","",d.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)}});var Dm,Pd=p(()=>{X();Q();oe();Dm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:o.extend("--ft-chip-large-gap","",d.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","",d.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",d.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","",d.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:o.extend("--ft-chip-small-gap","",d.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","",d.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)}});var Um,Td=p(()=>{X();Q();oe();Um={focusOpacity:o.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)}});var Bm,Id=p(()=>{X();Q();oe();Bm={iconSize:o.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)}});var Fm,Ld=p(()=>{X();Q();oe();Fm={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)}});var Wm,$d=p(()=>{X();Q();oe();Wm={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)}});var Hm,kd=p(()=>{X();Q();oe();Hm={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)}});var zm,Md=p(()=>{X();Q();oe();zm={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:o.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",d.borderRadiusM)}});var jm,Dd=p(()=>{X();Q();oe();jm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)}});var Vm,Ud=p(()=>{X();Q();oe();Vm={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)}});var Km,Bd=p(()=>{X();Q();oe();Km={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)}});var Gm,Fd=p(()=>{X();Q();oe();Gm={backgroundColor:o.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.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","",d.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",d.borderRadiusM)}});var Zm,Wd=p(()=>{X();Q();oe();Zm={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",d.shadowElevation02)}});var qm,Hd=p(()=>{X();Q();oe();qm={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)}});var Ym,zd=p(()=>{X();Q();oe();Ym={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.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","",d.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)}});var Xm,jd=p(()=>{X();Q();oe();Xm={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",d.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",d.shadowElevation02)}});var Jm,Vd=p(()=>{X();Q();oe();Jm={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",d.iconSize3)}});var Qm,Kd=p(()=>{X();Q();oe();Qm={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:o.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",d.borderRadiusS)}});var ey,Gd=p(()=>{X();Q();ey={color1Light:o.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",d.colorRed40),color5Base:o.extend("--ft-chart-5-base","",d.colorRed60),color6Light:o.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",d.colorGray50),color10Base:o.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",d.colorBrand200)}});var ty,Zd=p(()=>{X();Q();oe();ty={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:o.extend("--ft-notice-gap","",d.spacing2),iconSize:o.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)}});var ry,qd=p(()=>{X();Q();oe();ry={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",d.spacing3)}});var oy,Yd=p(()=>{X();Q();oe();oy={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",d.spacing3)}});var ny,Xd=p(()=>{X();Q();oe();ny={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.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","",d.spacing3)}});var iy,Jd=p(()=>{X();Q();oe();iy={iconSize:o.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",d.spacing8)}});var ay,Qd=p(()=>{X();Q();oe();ay={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:o.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",d.spacing05)}});var eu=p(()=>{Q();oe();_d();Pd();Td();Id();Ld();$d();kd();Md();Dd();Ud();Bd();Fd();Wd();Hd();zd();jd();Vd();Kd();Gd();Zd();qd();Yd();Xd();Jd();Qd()});function Pa(t){return`ftds--family-${t}`}function Ta(t){return`ftds--size-${t}`}var tr,pt,tu=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(tr||(tr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(pt||(pt={}))});var V=p(()=>{X();eu();tu()});var Ia={};G(Ia,{DesignSystemFamily:()=>tr,DesignSystemSize:()=>pt,FtCssVariableFactory:()=>o,badge:()=>Fm,banner:()=>Bm,breadcrumb:()=>Wm,button:()=>A,chart:()=>ey,checkbox:()=>ry,chip:()=>Dm,collapsible:()=>Jm,comboboxMultiSelect:()=>Ym,comboboxSingleSelect:()=>qm,drawer:()=>jm,floatingMenu:()=>Zm,foundation:()=>d,link:()=>Um,modal:()=>zm,notice:()=>ty,notification:()=>iy,pageHeader:()=>Hm,popover:()=>Xm,radio:()=>ny,resolveFamilyClass:()=>Pa,resolveSizeClass:()=>Ta,semantic:()=>f,setVariable:()=>P,switch_:()=>Qm,tabs:()=>Vm,textArea:()=>Gm,textInput:()=>Km,toggle:()=>oy,tooltip:()=>ay,typographies:()=>bo,typographyBody1Medium:()=>da,typographyBody1Regular:()=>ca,typographyBody1Semibold:()=>ua,typographyBody2Medium:()=>fa,typographyBody2MediumUnderline:()=>Nd,typographyBody2Regular:()=>pa,typographyBody2Semibold:()=>ha,typographyCaption1Bold:()=>Ca,typographyCaption1Medium:()=>Sa,typographyCaption1Semibold:()=>Oa,typographyCaption2Bold:()=>Aa,typographyCaption2Medium:()=>Ea,typographyCaption2Semibold:()=>wa,typographyCaption3Bold:()=>_a,typographyCaption3Medium:()=>Ra,typographyCaption3Semibold:()=>Na,typographyDisplay:()=>ia,typographyLabel1Bold:()=>ga,typographyLabel1Medium:()=>ma,typographyLabel1Semibold:()=>ya,typographyLabel2Bold:()=>va,typographyLabel2Medium:()=>ba,typographyLabel2Semibold:()=>xa,typographyTitle1:()=>aa,typographyTitle2:()=>sa,typographyTitle3:()=>la,typographyVariants:()=>Mm});var xn=p(()=>{"use strict";V()});var La={};G(La,{designSystemVariables:()=>L});var L,$a=p(()=>{"use strict";xn();L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),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 Ua={};G(Ua,{FtNotificationEvent:()=>ka,PostResizeEvent:()=>Da,PreResizeEvent:()=>Ma});var ka,Ma,Da,Ba=p(()=>{"use strict";ka=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ma=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Da=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function Ha(t,e,r){return Nt(t,xo(e,r))}function vn(t,e){return typeof t=="function"?t(e):t}function Er(t){return t.split("-")[0]}function _t(t){return t.split("-")[1]}function za(t){return t==="x"?"y":"x"}function ja(t){return t==="y"?"height":"width"}function Sn(t){return["top","bottom"].includes(Er(t))?"y":"x"}function Va(t){return za(Sn(t))}function nu(t,e,r){r===void 0&&(r=!1);let n=_t(t),i=Va(t),a=ja(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Fa(s)),[s,Fa(s)]}function iu(t){return t.replace(/start|end/g,e=>ly[e])}function Fa(t){return t.replace(/left|right|bottom|top/g,e=>sy[e])}function cy(t){return{top:0,right:0,bottom:0,left:0,...t}}function au(t){return typeof t!="number"?cy(t):{top:t,right:t,bottom:t,left:t}}function rr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var ou,ru,Wa,xo,Nt,vo,ft,sy,ly,On=p(()=>{ou=["top","right","bottom","left"],ru=["start","end"],Wa=ou.reduce((t,e)=>t.concat(e,e+"-"+ru[0],e+"-"+ru[1]),[]),xo=Math.min,Nt=Math.max,vo=Math.round,ft=t=>({x:t,y:t}),sy={left:"right",right:"left",bottom:"top",top:"bottom"},ly={start:"end",end:"start"}});function su(t,e,r){let{reference:n,floating:i}=t,a=Sn(e),s=Va(e),l=ja(s),c=Er(e),u=a==="y",h=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,g=n[l]/2-i[l]/2,b;switch(c){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:m};break;case"left":b={x:n.x-i.width,y:m};break;default:b={x:n.x,y:n.y}}switch(_t(e)){case"start":b[s]-=g*(r&&u?-1:1);break;case"end":b[s]+=g*(r&&u?-1:1);break}return b}async function Ka(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:g=!1,padding:b=0}=vn(e,t),x=au(b),T=l[g?m==="floating"?"reference":"floating":m],I=rr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(T)))==null||r?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:c})),k=m==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},w=rr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:O,strategy:c}):k);return{top:(I.top-w.top+x.top)/S.y,bottom:(w.bottom-I.bottom+x.bottom)/S.y,left:(I.left-w.left+x.left)/S.x,right:(w.right-I.right+x.right)/S.x}}function dy(t,e,r){return(t?[...r.filter(i=>_t(i)===t),...r.filter(i=>_t(i)!==t)]:r.filter(i=>Er(i)===i)).filter(i=>t?_t(i)===t||(e?iu(i)!==i:!1):!0)}var lu,Ga,Za,qa=p(()=>{On();On();lu=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:m}=su(u,n,c),g=n,b={},x=0;for(let E=0;E<l.length;E++){let{name:T,fn:I}=l[E],{x:k,y:O,data:S,reset:w}=await I({x:h,y:m,initialPlacement:n,placement:g,strategy:i,middlewareData:b,rects:u,platform:s,elements:{reference:t,floating:e}});if(h=k??h,m=O??m,b={...b,[T]:{...b[T],...S}},w&&x<=50){x++,typeof w=="object"&&(w.placement&&(g=w.placement),w.rects&&(u=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:m}=su(u,g,c)),E=-1;continue}}return{x:h,y:m,placement:g,strategy:i,middlewareData:b}};Ga=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:u}=e,{crossAxis:h=!1,alignment:m,allowedPlacements:g=Wa,autoAlignment:b=!0,...x}=vn(t,e),E=m!==void 0||g===Wa?dy(m||null,b,g):g,T=await Ka(e,x),I=((r=s.autoPlacement)==null?void 0:r.index)||0,k=E[I];if(k==null)return{};let O=nu(k,a,await(c.isRTL==null?void 0:c.isRTL(u.floating)));if(l!==k)return{reset:{placement:E[0]}};let S=[T[Er(k)],T[O[0]],T[O[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:S}],B=E[I+1];if(B)return{data:{index:I+1,overflows:w},reset:{placement:B}};let W=w.map(y=>{let v=_t(y.placement);return[y.placement,v&&h?y.overflows.slice(0,2).reduce((N,K)=>N+K,0):y.overflows[0],y.overflows]}).sort((y,v)=>y[1]-v[1]),q=((i=W.filter(y=>y[2].slice(0,_t(y[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||W[0][0];return q!==l?{data:{index:I+1,overflows:w},reset:{placement:q}}:{}}}},Za=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:T=>{let{x:I,y:k}=T;return{x:I,y:k}}},...c}=vn(t,e),u={x:r,y:n},h=await Ka(e,c),m=Sn(Er(i)),g=za(m),b=u[g],x=u[m];if(a){let T=g==="y"?"top":"left",I=g==="y"?"bottom":"right",k=b+h[T],O=b-h[I];b=Ha(k,b,O)}if(s){let T=m==="y"?"top":"left",I=m==="y"?"bottom":"right",k=x+h[T],O=x-h[I];x=Ha(k,x,O)}let E=l.fn({...e,[g]:b,[m]:x});return{...E,data:{x:E.x-r,y:E.y-n}}}}}});function ht(t){return du(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mt(t){var e;return(e=(du(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function du(t){return t instanceof Node||t instanceof Ae(t).Node}function Qe(t){return t instanceof Element||t instanceof Ae(t).Element}function Ke(t){return t instanceof HTMLElement||t instanceof Ae(t).HTMLElement}function cu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function wr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=$e(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function uu(t){return["table","td","th"].includes(ht(t))}function En(t){let e=wn(),r=$e(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function pu(t){let e=or(t);for(;Ke(e)&&!So(e);){if(En(e))return e;e=or(e)}return null}function wn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function So(t){return["html","body","#document"].includes(ht(t))}function $e(t){return Ae(t).getComputedStyle(t)}function Oo(t){return Qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function or(t){if(ht(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cu(t)&&t.host||mt(t);return cu(e)?e.host:e}function fu(t){let e=or(t);return So(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ke(e)&&wr(e)?e:fu(e)}function Cn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=fu(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Ae(i);return a?e.concat(s,s.visualViewport||[],wr(i)?i:[],s.frameElement&&r?Cn(s.frameElement):[]):e.concat(i,Cn(i,[],r))}var hu=p(()=>{});function gu(t){let e=$e(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ke(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=vo(r)!==a||vo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function bu(t){return Qe(t)?t:t.contextElement}function Ar(t){let e=bu(t);if(!Ke(e))return ft(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=gu(e),s=(a?vo(r.width):r.width)/n,l=(a?vo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function xu(t){let e=Ae(t);return!wn()||!e.visualViewport?uy:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function py(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ae(t)?!1:e}function Co(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=bu(t),s=ft(1);e&&(n?Qe(n)&&(s=Ar(n)):s=Ar(t));let l=py(a,r,n)?xu(a):ft(0),c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,m=i.height/s.y;if(a){let g=Ae(a),b=n&&Qe(n)?Ae(n):n,x=g.frameElement;for(;x&&n&&b!==g;){let E=Ar(x),T=x.getBoundingClientRect(),I=$e(x),k=T.left+(x.clientLeft+parseFloat(I.paddingLeft))*E.x,O=T.top+(x.clientTop+parseFloat(I.paddingTop))*E.y;c*=E.x,u*=E.y,h*=E.x,m*=E.y,c+=k,u+=O,x=Ae(x).frameElement}}return rr({width:h,height:m,x:c,y:u})}function fy(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ke(r),a=mt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=ft(1),c=ft(0);if((i||!i&&n!=="fixed")&&((ht(r)!=="body"||wr(a))&&(s=Oo(r)),Ke(r))){let u=Co(r);l=Ar(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function hy(t){return Array.from(t.getClientRects())}function vu(t){return Co(mt(t)).left+Oo(t).scrollLeft}function my(t){let e=mt(t),r=Oo(t),n=t.ownerDocument.body,i=Nt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Nt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+vu(t),l=-r.scrollTop;return $e(n).direction==="rtl"&&(s+=Nt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function yy(t,e){let r=Ae(t),n=mt(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let u=wn();(!u||u&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function gy(t,e){let r=Co(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Ke(t)?Ar(t):ft(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,u=n*a.y;return{width:s,height:l,x:c,y:u}}function mu(t,e,r){let n;if(e==="viewport")n=yy(t,r);else if(e==="document")n=my(mt(t));else if(Qe(e))n=gy(e,r);else{let i=xu(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return rr(n)}function Su(t,e){let r=or(t);return r===e||!Qe(r)||So(r)?!1:$e(r).position==="fixed"||Su(r,e)}function by(t,e){let r=e.get(t);if(r)return r;let n=Cn(t,[],!1).filter(l=>Qe(l)&&ht(l)!=="body"),i=null,a=$e(t).position==="fixed",s=a?or(t):t;for(;Qe(s)&&!So(s);){let l=$e(s),c=En(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||wr(s)&&!c&&Su(t,s))?n=n.filter(h=>h!==s):i=l,s=or(s)}return e.set(t,n),n}function xy(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?by(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((u,h)=>{let m=mu(e,h,i);return u.top=Nt(m.top,u.top),u.right=xo(m.right,u.right),u.bottom=xo(m.bottom,u.bottom),u.left=Nt(m.left,u.left),u},mu(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function vy(t){return gu(t)}function Sy(t,e,r){let n=Ke(e),i=mt(e),a=r==="fixed",s=Co(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=ft(0);if(n||!n&&!a)if((ht(e)!=="body"||wr(i))&&(l=Oo(e)),n){let u=Co(e,!0,a,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else i&&(c.x=vu(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function yu(t,e){return!Ke(t)||$e(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ou(t,e){let r=Ae(t);if(!Ke(t))return r;let n=yu(t,e);for(;n&&uu(n)&&$e(n).position==="static";)n=yu(n,e);return n&&(ht(n)==="html"||ht(n)==="body"&&$e(n).position==="static"&&!En(n))?r:n||pu(t)||r}function Cy(t){return $e(t).direction==="rtl"}var uy,Oy,An,Cu,Eu=p(()=>{qa();qa();On();hu();uy=ft(0);Oy=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Ou,a=this.getDimensions;return{reference:Sy(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};An={convertOffsetParentRelativeRectToViewportRelativeRect:fy,getDocumentElement:mt,getClippingRect:xy,getOffsetParent:Ou,getElementRects:Oy,getClientRects:hy,getDimensions:vy,getScale:Ar,isElement:Qe,isRTL:Cy},Cu=(t,e,r)=>{let n=new Map,i={platform:An,...r},a={...i.platform,_c:n};return lu(t,e,{...i,platform:a})}});function wu(t){return Ey(t)}function Ya(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ey(t){for(let e=t;e;e=Ya(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ya(t);e;e=Ya(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var Au=p(()=>{});var Ja={};G(Ja,{computeOffsetPosition:()=>Xa});async function Xa(t,e,r){return Cu(t,e,{platform:{...An,getOffsetParent:n=>An.getOffsetParent(n,wu)},middleware:[Za({crossAxis:!0}),Ga({allowedPlacements:[r]})]})}var Rn=p(()=>{"use strict";Eu();Au()});var Nn,wy,aS,Ru,Nu=p(()=>{Nn=window,wy=Nn.ShadowRoot&&(Nn.ShadyCSS===void 0||Nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,aS=Symbol(),Ru=(t,e)=>{wy?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Nn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var Qa={};G(Qa,{ScopedRegistryLitElement:()=>Eo});var Eo,_n=p(()=>{"use strict";U();Nu();Eo=class extends ct{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ru(n,e.elementStyles),n}}});var es={};G(es,{FtLitElement:()=>Z});var Pn,Iu,_u,Pu,Lu,Tu,Z,wo=p(()=>{"use strict";ee();bn();yn();_n();Pn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},_u=Symbol("constructorPrototype"),Pu=Symbol("constructorName"),Lu=Symbol("exportpartsDebouncer"),Tu=Symbol("dynamicDependenciesLoaded"),Z=class extends Eo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Iu]=new ge(5),this[Pu]=this.constructor.name,this[_u]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pu]&&Object.setPrototypeOf(this,this[_u])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Tu]||(e[Tu]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Lu].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,l;let c=g=>g!=null&&g.trim().length>0,u=e.filter(c).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(g=>u.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Iu=Lu;Pn([C()],Z.prototype,"exportpartsPrefix",void 0);Pn([Oe([])],Z.prototype,"exportpartsPrefixes",void 0);Pn([C()],Z.prototype,"customStylesheet",void 0);Pn([le()],Z.prototype,"useAdoptedStyleSheets",void 0)});var rs={};G(rs,{FtdsBase:()=>ts,toFtdsBase:()=>Tn});function Tn(t){class e extends t{constructor(){super(...arguments),this.size=pt.medium,this.family=tr.neutral}getDesignSystemBaseClasses(){return{[Pa(this.family)]:!0,[Ta(this.size)]:!0}}}return $u([C()],e.prototype,"size",void 0),$u([C()],e.prototype,"family",void 0),e}var $u,ts,os=p(()=>{"use strict";wo();ee();V();$u=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};ts=class extends Tn(Z){}});var ku={};var ns=p(()=>{"use strict"});var nr,Mu=p(()=>{nr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(u=>{t.matches(u,this.exclude)?c():this.onIframeReady(u,h=>{r(u)&&(l++,n(h)),c()},c)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),l=[],c=[],u,h,m=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;m();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>c.push(b),i)}),c.push(u);c.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}}});var Ao,Du=p(()=>{Mu();Ao=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new nr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>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:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return nr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let u=r-s.start,h=(n>s.end?s.end:n)-s.start,m=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=m+g,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let u;for(;(u=e.exec(c.textContent))!==null&&u[s]!=="";){if(!n(u[s],c))continue;let h=u.index;if(s!==0)for(let m=1;m<s;m++)h+=u[m].length;c=this.wrapRangeInTextNode(c,h,h+u[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let u=c.index;if(s!==0)for(let m=1;m<s;m++)u+=c[m].length;let h=u+c[s].length;this.wrapRangeInMappedTextNode(l,u,h,m=>n(c[s],m),(m,g)=>{e.lastIndex=g,i(m)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:u,end:h,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,u,h,g=>r(g,l,a.value.substring(u,h),c),g=>{n(g,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),m=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(g,b)=>this.opt.filter(b,u,n,m),g=>{m++,n++,this.opt.each(g)},()=>{m===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):c(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=nr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function is(t){let e=new Ao(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Uu=p(()=>{Du()});var ls={};G(ls,{highlightHtml:()=>ss,highlightHtmlColorCssVariable:()=>Bu,highlightHtmlStyles:()=>Ry});function ss(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new Ay(t);i.unmark(as),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...as,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...as,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Ay,Bu,Ry,as,cs=p(()=>{"use strict";U();V();Uu();Ay=is,Bu=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ry=_`
7
7
  .highlight-html-match {
8
8
  background: ${Bu};
9
9
  }
@@ -46,7 +46,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
46
46
  input::-webkit-search-results-decoration {
47
47
  display: none;
48
48
  }
49
- `});var Fu={};var hs=p(()=>{"use strict"});var ms={};G(ms,{ParametrizedLabelResolver:()=>_o});var _o,gs=p(()=>{"use strict";_o=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,u)=>this.formatValue(s,u))),a}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}}});var Ng,te,_g,Wu=p(()=>{"use strict";yo();ee();Ng=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},te=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:go,attribute:!1,...e};C(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},_g=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Po,ys=p(()=>{"use strict";Po=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}}});function ir(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var In=p(()=>{"use strict"});var Hu,zu,ju,Ln,Pt,ar,Re,Vu=p(()=>{"use strict";wo();In();Ln=Symbol("internalReduxEventsUnsubscribers"),Pt=Symbol("internalStoresUnsubscribers"),ar=Symbol("internalStores"),Re=class extends Z{constructor(){super(...arguments),this[Hu]=new Map,this[zu]=new Map,this[ju]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[ar].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ar].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[ar].get(e)}addStore(e,r){var n;r=(n=r??(ir(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[ar].delete(r)}setupStore(e,r){this[ar].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ar].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Pt].has(e.store):this[Pt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Pt].set(e,r.subscribe(()=>this.updateFromStores())),ir(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Ln].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Pt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Ln].forEach(e=>e()),this[Ln]=[]}unsubscribeFromStore(e){this[Pt].has(e)&&this[Pt].get(e)(),this[Pt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Hu=Pt,zu=ar,ju=Ln;Re.reduxProperties=new Map;Re.reduxReactiveProperties=new Set;Re.reduxEventListeners=new Map});function Fe(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function gt(t){return!!t&&!!t[ie]}function Ge(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Dg}(t)||Array.isArray(t)||!!t[Ju]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ju])||As(t)||Rs(t))}function sr(t,e,r){r===void 0&&(r=!1),_r(t)===0?(r?Object.keys:Nr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function _r(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:As(t)?2:Rs(t)?3:0}function Rr(t,e){return _r(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Pg(t,e){return _r(t)===2?t.get(e):t[e]}function Qu(t,e,r){var n=_r(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function ep(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function As(t){return kg&&t instanceof Map}function Rs(t){return Mg&&t instanceof Set}function Tt(t){return t.o||t.t}function Ns(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=op(t);delete e[ie];for(var r=Nr(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function _s(t,e){return e===void 0&&(e=!1),Ps(t)||gt(t)||!Ge(t)||(_r(t)>1&&(t.set=t.add=t.clear=t.delete=Tg),Object.freeze(t),e&&sr(t,function(r,n){return _s(n,!0)},!0)),t}function Tg(){Fe(2)}function Ps(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function et(t){var e=ws[t];return e||Fe(18,t),e}function Ig(t,e){ws[t]||(ws[t]=e)}function Os(){return Io}function bs(t,e){e&&(et("Patches"),t.u=[],t.s=[],t.v=e)}function $n(t){Cs(t),t.p.forEach(Lg),t.p=null}function Cs(t){t===Io&&(Io=t.l)}function Ku(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function Lg(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function xs(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||et("ES5").S(e,t,n),n?(r[ie].P&&($n(e),Fe(4)),Ge(t)&&(t=kn(e,t),e.l||Mn(e,t)),e.u&&et("Patches").M(r[ie].t,t,e.u,e.s)):t=kn(e,r,[]),$n(e),e.u&&e.v(e.u,e.s),t!==rp?t:void 0}function kn(t,e,r){if(Ps(e))return e;var n=e[ie];if(!n)return sr(e,function(l,c){return Gu(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Mn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ns(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),sr(a,function(l,c){return Gu(t,n,i,l,c,r,s)}),Mn(t,i,!1),r&&t.u&&et("Patches").N(n,r,t.u,t.s)}return n.o}function Gu(t,e,r,n,i,a,s){if(gt(i)){var l=kn(t,i,a&&e&&e.i!==3&&!Rr(e.R,n)?a.concat(n):void 0);if(Qu(r,n,l),!gt(l))return;t.m=!1}else s&&r.add(i);if(Ge(i)&&!Ps(i)){if(!t.h.D&&t._<1)return;kn(t,i),e&&e.A.l||Mn(t,i)}}function Mn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&_s(e,r)}function vs(t,e){var r=t[ie];return(r?Tt(r):t)[e]}function Zu(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function It(t){t.P||(t.P=!0,t.l&&It(t.l))}function Ss(t){t.o||(t.o=Ns(t.t))}function Es(t,e,r){var n=As(e)?et("MapSet").F(e,r):Rs(e)?et("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Os(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,u=Lo;s&&(c=[l],u=To);var h=Proxy.revocable(c,u),m=h.revoke,y=h.proxy;return l.k=y,l.j=m,y}(e,r):et("ES5").J(e,r);return(r?r.A:Os()).p.push(n),n}function $g(t){return gt(t)||Fe(22,t),function e(r){if(!Ge(r))return r;var n,i=r[ie],a=_r(r);if(i){if(!i.P&&(i.i<4||!et("ES5").K(i)))return i.t;i.I=!0,n=qu(r,a),i.I=!1}else n=qu(r,a);return sr(n,function(s,l){i&&Pg(i.t,s)===l||Qu(n,s,e(l))}),a===3?new Set(n):n}(t)}function qu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ns(t)}function tp(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var u=this[ie];return Lo.get(u,s)},set:function(u){var h=this[ie];Lo.set(h,s,u)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][ie];if(!c.P)switch(c.i){case 5:n(c)&&It(c);break;case 4:r(c)&&It(c)}}}function r(s){for(var l=s.t,c=s.k,u=Nr(c),h=u.length-1;h>=0;h--){var m=u[h];if(m!==ie){var y=l[m];if(y===void 0&&!Rr(l,m))return!0;var b=c[m],x=b&&b[ie];if(x?x.t!==y:!ep(b,y))return!0}}var E=!!l[ie];return u.length!==Nr(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Fe(3,JSON.stringify(Tt(s)))}var a={};Ig("ES5",{J:function(s,l){var c=Array.isArray(s),u=function(m,y){if(m){for(var b=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var E=op(y);delete E[ie];for(var T=Nr(E),I=0;I<T.length;I++){var k=T[I];E[k]=t(k,m||!!E[k].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(c,s),h={i:c?5:4,A:l?l.A:Os(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ie,{value:h,writable:!0}),u},S:function(s,l,c){c?gt(l)&&l[ie].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var m=h[ie];if(m){var y=m.t,b=m.k,x=m.R,E=m.i;if(E===4)sr(b,function(S){S!==ie&&(y[S]!==void 0||Rr(y,S)?x[S]||u(b[S]):(x[S]=!0,It(m)))}),sr(y,function(S){b[S]!==void 0||Rr(b,S)||(x[S]=!1,It(m))});else if(E===5){if(n(m)&&(It(m),x.length=!0),b.length<y.length)for(var T=b.length;T<y.length;T++)x[T]=!1;else for(var I=y.length;I<b.length;I++)x[I]=!0;for(var k=Math.min(b.length,y.length),O=0;O<k;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&u(b[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Yu,Io,Ts,kg,Mg,Xu,rp,Ju,ie,Dg,Nr,op,ws,Lo,To,Ug,ke,Bg,$S,kS,MS,DS,US,BS,Dn,Un=p(()=>{Ts=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",kg=typeof Map<"u",Mg=typeof Set<"u",Xu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",rp=Ts?Symbol.for("immer-nothing"):((Yu={})["immer-nothing"]=!0,Yu),Ju=Ts?Symbol.for("immer-draftable"):"__$immer_draftable",ie=Ts?Symbol.for("immer-state"):"__$immer_state",Dg=""+Object.prototype.constructor,Nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,op=Object.getOwnPropertyDescriptors||function(t){var e={};return Nr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ws={},Lo={get:function(t,e){if(e===ie)return t;var r=Tt(t);if(!Rr(r,e))return function(i,a,s){var l,c=Zu(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ge(n)?n:n===vs(t.t,e)?(Ss(t),t.o[e]=Es(t.A.h,n,t)):n},has:function(t,e){return e in Tt(t)},ownKeys:function(t){return Reflect.ownKeys(Tt(t))},set:function(t,e,r){var n=Zu(Tt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=vs(Tt(t),e),a=i?.[ie];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(ep(r,i)&&(r!==void 0||Rr(t.t,e)))return!0;Ss(t),It(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return vs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ss(t),It(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Tt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Fe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Fe(12)}},To={};sr(Lo,function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,r){return Lo.set.call(this,t[0],e,r,t[0])};Ug=function(){function t(r){var n=this;this.O=Xu,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(E){var T=this;E===void 0&&(E=l);for(var I=arguments.length,k=Array(I>1?I-1:0),O=1;O<I;O++)k[O-1]=arguments[O];return c.produce(E,function(S){var w;return(w=a).call.apply(w,[T,S].concat(k))})}}var u;if(typeof a!="function"&&Fe(6),s!==void 0&&typeof s!="function"&&Fe(7),Ge(i)){var h=Ku(n),m=Es(n,i,void 0),y=!0;try{u=a(m),y=!1}finally{y?$n(h):Cs(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return bs(h,s),xs(E,h)},function(E){throw $n(h),E}):(bs(h,s),xs(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===rp&&(u=void 0),n.D&&_s(u,!0),s){var b=[],x=[];et("Patches").M(i,u,b,x),s(b,x)}return u}Fe(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,m=Array(h>1?h-1:0),y=1;y<h;y++)m[y-1]=arguments[y];return n.produceWithPatches(u,function(b){return i.apply(void 0,[b].concat(m))})};var s,l,c=n.produce(i,a,function(u,h){s=u,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(u){return[u,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ge(r)||Fe(8),gt(r)&&(r=$g(r));var n=Ku(this),i=Es(this,r,void 0);return i[ie].C=!0,Cs(n),i},e.finishDraft=function(r,n){var i=r&&r[ie],a=i.A;return bs(a,n),xs(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Xu&&Fe(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=et("Patches").$;return gt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),ke=new Ug,Bg=ke.produce,$S=ke.produceWithPatches.bind(ke),kS=ke.setAutoFreeze.bind(ke),MS=ke.setUseProxies.bind(ke),DS=ke.applyPatches.bind(ke),US=ke.createDraft.bind(ke),BS=ke.finishDraft.bind(ke),Dn=Bg});function Lt(t){"@babel/helpers - typeof";return Lt=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},Lt(t)}var Is=p(()=>{});function Ls(t,e){if(Lt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var np=p(()=>{Is()});function $s(t){var e=Ls(t,"string");return Lt(e)==="symbol"?e:String(e)}var ip=p(()=>{Is();np()});function ks(t,e,r){return e=$s(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ap=p(()=>{ip()});function sp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Bn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sp(Object(r),!0).forEach(function(n){ks(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var lp=p(()=>{ap()});function xe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function Fg(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ds(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(xe(1));return r(Ds)(t,e)}if(typeof t!="function")throw new Error(xe(2));var i=t,a=e,s=[],l=s,c=!1;function u(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(xe(3));return a}function m(E){if(typeof E!="function")throw new Error(xe(4));if(c)throw new Error(xe(5));var T=!0;return u(),l.push(E),function(){if(T){if(c)throw new Error(xe(6));T=!1,u();var k=l.indexOf(E);l.splice(k,1),s=null}}}function y(E){if(!Fg(E))throw new Error(xe(7));if(typeof E.type>"u")throw new Error(xe(8));if(c)throw new Error(xe(9));try{c=!0,a=i(a,E)}finally{c=!1}for(var T=s=l,I=0;I<T.length;I++){var k=T[I];k()}return E}function b(E){if(typeof E!="function")throw new Error(xe(10));i=E,y({type:Fn.REPLACE})}function x(){var E,T=m;return E={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(xe(11));function O(){k.next&&k.next(h())}O();var S=T(O);return{unsubscribe:S}}},E[cp]=function(){return this},E}return y({type:Fn.INIT}),n={dispatch:y,subscribe:m,getState:h,replaceReducer:b},n[cp]=x,n}function Wg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Fn.INIT});if(typeof n>"u")throw new Error(xe(12));if(typeof r(void 0,{type:Fn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function dp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{Wg(r)}catch(c){l=c}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var m;for(var y=!1,b={},x=0;x<a.length;x++){var E=a[x],T=r[E],I=u[E],k=T(I,h);if(typeof k>"u"){var O=h&&h.type;throw new Error(xe(14))}b[E]=k,y=y||k!==I}return y=y||a.length!==Object.keys(u).length,y?b:u}}function Pr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function up(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(xe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Pr.apply(void 0,l)(i.dispatch),Bn(Bn({},i),{},{dispatch:a})}}}var cp,Ms,Fn,Wn=p(()=>{lp();cp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ms=function(){return Math.random().toString(36).substring(7).split("").join(".")},Fn={INIT:"@@redux/INIT"+Ms(),REPLACE:"@@redux/REPLACE"+Ms(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ms()}}});function pp(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var fp,Us,hp=p(()=>{fp=pp();fp.withExtraArgument=pp;Us=fp});function Yg(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function Hs(t){return Ge(t)?Dn(t,function(){}):t}function Qg(t){return typeof t=="boolean"}function ey(){return function(e){return ty(e)}}function ty(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Xg;if(r&&(Qg(r)?l.push(Us):l.push(Us.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var u}return l}function vp(t){var e=ey(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,m=r.enhancers,y=m===void 0?void 0:m,b;if(typeof i=="function")b=i;else if(Yg(i))b=dp(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!Fs&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Fs&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=up.apply(void 0,x),T=Pr;c&&(T=qg($t({trace:!Fs},typeof c=="object"&&c)));var I=new Jg(E),k=I;Array.isArray(y)?k=Tr([E],y):typeof y=="function"&&(k=y(I));var O=T.apply(void 0,k);return Ds(b,h,O)}function kt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return $t($t({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Sp(t){var e={},r=[],n,i={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,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function ry(t){return typeof t=="function"}function oy(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Sp(e):[e,r,n],a=i[0],s=i[1],l=i[2],c;if(ry(t))c=function(){return Hs(t())};else{var u=Hs(t);c=function(){return u}}function h(m,y){m===void 0&&(m=c());var b=Tr([a[y.type]],s.filter(function(x){var E=x.matcher;return E(y)}).map(function(x){var E=x.reducer;return E}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,E){if(E)if(gt(x)){var T=x,I=E(T,y);return I===void 0?x:I}else{if(Ge(x))return Dn(x,function(k){return E(k,y)});var I=E(x,y);if(I===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return x},m)}return h.getInitialState=c,h}function ny(t,e){return t+"/"+e}function Op(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Hs(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var m=n[h],y=ny(e,h),b,x;"reducer"in m?(b=m.reducer,x=m.prepare):b=m,a[h]=b,s[y]=b,l[h]=x?kt(y,x):kt(y)});function c(){var h=typeof t.extraReducers=="function"?Sp(t.extraReducers):[t.extraReducers],m=h[0],y=m===void 0?{}:m,b=h[1],x=b===void 0?[]:b,E=h[2],T=E===void 0?void 0:E,I=$t($t({},y),s);return oy(r,function(k){for(var O in I)k.addCase(O,I[O]);for(var S=0,w=x;S<w.length;S++){var B=w[S];k.addMatcher(B.matcher,B.reducer)}T&&k.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,m){return u||(u=c()),u(h,m)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=c()),u.getInitialState()}}}function cy(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function dy(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var xp,Hg,Tr,zg,jg,Vg,mp,Kg,Gg,gp,$t,Bs,Zg,qg,oO,Xg,Jg,Fs,iy,ay,sy,Ws,yp,ly,sO,Cp,Ep,wp,lO,cO,dO,uO,zs,pO,fO,hO,bp,mO,uy,gO,Ap=p(()=>{Un();Wn();Wn();Wn();hp();Un();Un();xp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Hg=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return c([u,h])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Tr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},zg=Object.defineProperty,jg=Object.defineProperties,Vg=Object.getOwnPropertyDescriptors,mp=Object.getOwnPropertySymbols,Kg=Object.prototype.hasOwnProperty,Gg=Object.prototype.propertyIsEnumerable,gp=function(t,e,r){return e in t?zg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},$t=function(t,e){for(var r in e||(e={}))Kg.call(e,r)&&gp(t,r,e[r]);if(mp)for(var n=0,i=mp(e);n<i.length;n++){var r=i[n];Gg.call(e,r)&&gp(t,r,e[r])}return t},Bs=function(t,e){return jg(t,Vg(e))},Zg=function(t,e,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(u){i(u)}},s=function(c){try{l(r.throw(c))}catch(u){i(u)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})},qg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Pr:Pr.apply(null,arguments)},oO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Xg=function(t){xp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Tr([void 0],r.concat(this))))},e}(Array),Jg=function(t){xp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Tr([void 0],r.concat(this))))},e}(Array);Fs=!0;iy="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ay=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=iy[Math.random()*64|0];return e},sy=["name","message","stack","code"],Ws=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),yp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),ly=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=sy;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},sO=function(){function t(e,r,n){var i=kt(e+"/fulfilled",function(h,m,y,b){return{payload:h,meta:Bs($t({},b||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=kt(e+"/pending",function(h,m,y){return{payload:void 0,meta:Bs($t({},y||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=kt(e+"/rejected",function(h,m,y,b,x){return{payload:b,error:(n&&n.serializeError||ly)(h||"Rejected"),meta:Bs($t({},x||{}),{arg:y,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(m,y,b){var x=n?.idGenerator?n.idGenerator(h):ay(),E=new c,T,I=!1;function k(S){T=S,E.abort()}var O=function(){return Zg(this,null,function(){var S,w,B,W,be,q,g;return Hg(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),W=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:b}),dy(W)?[4,W]:[3,2];case 1:W=v.sent(),v.label=2;case 2:if(W===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,be=new Promise(function(N,K){return E.signal.addEventListener("abort",function(){return K({name:"AbortError",message:T||"Aborted"})})}),m(a(x,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:x,arg:h},{getState:y,extra:b}))),[4,Promise.race([be,Promise.resolve(r(h,{dispatch:m,getState:y,extra:b,requestId:x,signal:E.signal,abort:k,rejectWithValue:function(N,K){return new Ws(N,K)},fulfillWithValue:function(N,K){return new yp(N,K)}})).then(function(N){if(N instanceof Ws)throw N;return N instanceof yp?i(N.payload,x,h,N.meta):i(N,x,h)})])];case 3:return B=v.sent(),[3,5];case 4:return q=v.sent(),B=q instanceof Ws?s(null,x,h,q.payload,q.meta):s(q,x,h),[3,5];case 5:return g=n&&!n.dispatchConditionRejection&&s.match(B)&&B.meta.condition,g||m(B),[2,B]}})})}();return Object.assign(O,{abort:k,requestId:x,arg:h,unwrap:function(){return O.then(cy)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Cp="listener",Ep="completed",wp="cancelled",lO="task-"+wp,cO="task-"+Ep,dO=Cp+"-"+wp,uO=Cp+"-"+Ep,zs="listenerMiddleware",pO=kt(zs+"/add"),fO=kt(zs+"/removeAll"),hO=kt(zs+"/remove"),mO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(bp||(bp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},uy=function(t){return function(e){setTimeout(e,t)}},gO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:uy(10);tp()});function py(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ir(e)&&e.clear()}var yt,Rp=p(()=>{"use strict";Ap();In();ys();window.ftReduxStores||(window.ftReduxStores={});yt=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(ir(a))return a;if(i==null)return;let s=Op({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=vp({reducer:(c,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...u.overwrites}:s.reducer(c,u)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Po,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let u=l(...c);return this.reduxStore.dispatch(u),u}:c=>{this.setState({[s]:c})}}})}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()}}});var js={};G(js,{FtCommandQueue:()=>Po,FtLitElementRedux:()=>Re,FtReduxStore:()=>yt,clearAllStores:()=>py,isFtReduxStore:()=>ir,redux:()=>te,reduxEventListener:()=>_g,reduxReactive:()=>Ng});var Hn=p(()=>{"use strict";Wu();ys();Vu();Rp();In()});var Vs={};G(Vs,{serializeRequest:()=>hy});function fy(t){return`"${t}"`}function hy(t,e){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,u=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(u=>{let h=u.values.map(m=>m.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(m=>encodeURIComponent(fy(m))).join("_");return`${u.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Ks=p(()=>{"use strict"});var Zs={};G(Zs,{toFtFormComponent:()=>Gs});function Gs(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[zn].form}constructor(...i){super(i),this[zn]=this.attachInternals(),this[zn].role=e}setFormValue(i){this[zn].setFormValue(i)}}return r}var zn,qs=p(()=>{"use strict";zn=Symbol("elementInternals")});var lr,jn=p(()=>{"use strict";lr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var Np=p(()=>{"use strict"});var Ys,Xs,Js,Qs,el,my,$=p(()=>{"use strict";vc();U();ee();hn();vr();Od();mo();Ji();mn();ta();gn();bn();$a();Ba();Rn();xn();os();wo();ns();yo();cs();fs();hs();gs();Hn();_n();Ks();qs();jn();Ji();mn();ta();jn();gn();bn();$a();Ba();Rn();xn();os();wo();ns();yo();cs();fs();hs();gs();Hn();_n();Np();Ks();qs();V();el=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Js=(Xs=(Ys=window.safari)===null||Ys===void 0?void 0:Ys.pushNotification)===null||Xs===void 0?void 0:Xs.toString())!==null&&Js!==void 0?Js:"")==="[object SafariRemoteNotification]",my="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Qs=window.ftGlobals)!==null&&Qs!==void 0?Qs:{lit:Wi,litDecorators:Vi,litRepeat:Ki,litClassMap:Gi,litStyleMap:Zi,litUnsafeHTML:qi,wcUtils:{...Xi,...Yi,...ea,...lr,...ra,...na,...La,...Ua,...Ja,...Ia,...rs,...es,...ku,...oa,...ls,...ps,...Fu,...ms,...js,...Qa,...Vs,...Zs,isSafari:el,isTouchScreen:my}}});var _p,j,Pp,Tp,Ip,Lp,$p,cr=p(()=>{"use strict";U();$();_p=o.extend("--ft-ripple-color","",L.colorContent),j={color:_p,backgroundColor:o.extend("--ft-ripple-background-color","",_p),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Pp=o.extend("--ft-ripple-color","",L.colorPrimary),Tp={color:Pp,backgroundColor:o.extend("--ft-ripple-background-color","",Pp)},Ip=o.extend("--ft-ripple-color","",L.colorSecondary),Lp={color:Ip,backgroundColor:o.extend("--ft-ripple-background-color","",Ip)},$p=_`
49
+ `});var Fu={};var hs=p(()=>{"use strict"});var ms={};G(ms,{ParametrizedLabelResolver:()=>_o});var _o,ys=p(()=>{"use strict";_o=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,u)=>this.formatValue(s,u))),a}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}}});var Ny,te,_y,Wu=p(()=>{"use strict";go();ee();Ny=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},te=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:yo,attribute:!1,...e};C(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},_y=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Po,gs=p(()=>{"use strict";Po=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}}});function ir(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var In=p(()=>{"use strict"});var Hu,zu,ju,Ln,Pt,ar,Re,Vu=p(()=>{"use strict";wo();In();Ln=Symbol("internalReduxEventsUnsubscribers"),Pt=Symbol("internalStoresUnsubscribers"),ar=Symbol("internalStores"),Re=class extends Z{constructor(){super(...arguments),this[Hu]=new Map,this[zu]=new Map,this[ju]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[ar].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ar].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[ar].get(e)}addStore(e,r){var n;r=(n=r??(ir(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[ar].delete(r)}setupStore(e,r){this[ar].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ar].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Pt].has(e.store):this[Pt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Pt].set(e,r.subscribe(()=>this.updateFromStores())),ir(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Ln].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Pt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Ln].forEach(e=>e()),this[Ln]=[]}unsubscribeFromStore(e){this[Pt].has(e)&&this[Pt].get(e)(),this[Pt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Hu=Pt,zu=ar,ju=Ln;Re.reduxProperties=new Map;Re.reduxReactiveProperties=new Set;Re.reduxEventListeners=new Map});function Fe(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function yt(t){return!!t&&!!t[ie]}function Ge(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Dy}(t)||Array.isArray(t)||!!t[Ju]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ju])||As(t)||Rs(t))}function sr(t,e,r){r===void 0&&(r=!1),_r(t)===0?(r?Object.keys:Nr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function _r(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:As(t)?2:Rs(t)?3:0}function Rr(t,e){return _r(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Py(t,e){return _r(t)===2?t.get(e):t[e]}function Qu(t,e,r){var n=_r(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function ep(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function As(t){return ky&&t instanceof Map}function Rs(t){return My&&t instanceof Set}function Tt(t){return t.o||t.t}function Ns(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=op(t);delete e[ie];for(var r=Nr(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function _s(t,e){return e===void 0&&(e=!1),Ps(t)||yt(t)||!Ge(t)||(_r(t)>1&&(t.set=t.add=t.clear=t.delete=Ty),Object.freeze(t),e&&sr(t,function(r,n){return _s(n,!0)},!0)),t}function Ty(){Fe(2)}function Ps(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function et(t){var e=ws[t];return e||Fe(18,t),e}function Iy(t,e){ws[t]||(ws[t]=e)}function Os(){return Io}function bs(t,e){e&&(et("Patches"),t.u=[],t.s=[],t.v=e)}function $n(t){Cs(t),t.p.forEach(Ly),t.p=null}function Cs(t){t===Io&&(Io=t.l)}function Ku(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function Ly(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function xs(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||et("ES5").S(e,t,n),n?(r[ie].P&&($n(e),Fe(4)),Ge(t)&&(t=kn(e,t),e.l||Mn(e,t)),e.u&&et("Patches").M(r[ie].t,t,e.u,e.s)):t=kn(e,r,[]),$n(e),e.u&&e.v(e.u,e.s),t!==rp?t:void 0}function kn(t,e,r){if(Ps(e))return e;var n=e[ie];if(!n)return sr(e,function(l,c){return Gu(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Mn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ns(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),sr(a,function(l,c){return Gu(t,n,i,l,c,r,s)}),Mn(t,i,!1),r&&t.u&&et("Patches").N(n,r,t.u,t.s)}return n.o}function Gu(t,e,r,n,i,a,s){if(yt(i)){var l=kn(t,i,a&&e&&e.i!==3&&!Rr(e.R,n)?a.concat(n):void 0);if(Qu(r,n,l),!yt(l))return;t.m=!1}else s&&r.add(i);if(Ge(i)&&!Ps(i)){if(!t.h.D&&t._<1)return;kn(t,i),e&&e.A.l||Mn(t,i)}}function Mn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&_s(e,r)}function vs(t,e){var r=t[ie];return(r?Tt(r):t)[e]}function Zu(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function It(t){t.P||(t.P=!0,t.l&&It(t.l))}function Ss(t){t.o||(t.o=Ns(t.t))}function Es(t,e,r){var n=As(e)?et("MapSet").F(e,r):Rs(e)?et("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Os(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,u=Lo;s&&(c=[l],u=To);var h=Proxy.revocable(c,u),m=h.revoke,g=h.proxy;return l.k=g,l.j=m,g}(e,r):et("ES5").J(e,r);return(r?r.A:Os()).p.push(n),n}function $y(t){return yt(t)||Fe(22,t),function e(r){if(!Ge(r))return r;var n,i=r[ie],a=_r(r);if(i){if(!i.P&&(i.i<4||!et("ES5").K(i)))return i.t;i.I=!0,n=qu(r,a),i.I=!1}else n=qu(r,a);return sr(n,function(s,l){i&&Py(i.t,s)===l||Qu(n,s,e(l))}),a===3?new Set(n):n}(t)}function qu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ns(t)}function tp(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var u=this[ie];return Lo.get(u,s)},set:function(u){var h=this[ie];Lo.set(h,s,u)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][ie];if(!c.P)switch(c.i){case 5:n(c)&&It(c);break;case 4:r(c)&&It(c)}}}function r(s){for(var l=s.t,c=s.k,u=Nr(c),h=u.length-1;h>=0;h--){var m=u[h];if(m!==ie){var g=l[m];if(g===void 0&&!Rr(l,m))return!0;var b=c[m],x=b&&b[ie];if(x?x.t!==g:!ep(b,g))return!0}}var E=!!l[ie];return u.length!==Nr(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Fe(3,JSON.stringify(Tt(s)))}var a={};Iy("ES5",{J:function(s,l){var c=Array.isArray(s),u=function(m,g){if(m){for(var b=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var E=op(g);delete E[ie];for(var T=Nr(E),I=0;I<T.length;I++){var k=T[I];E[k]=t(k,m||!!E[k].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(c,s),h={i:c?5:4,A:l?l.A:Os(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ie,{value:h,writable:!0}),u},S:function(s,l,c){c?yt(l)&&l[ie].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var m=h[ie];if(m){var g=m.t,b=m.k,x=m.R,E=m.i;if(E===4)sr(b,function(S){S!==ie&&(g[S]!==void 0||Rr(g,S)?x[S]||u(b[S]):(x[S]=!0,It(m)))}),sr(g,function(S){b[S]!==void 0||Rr(b,S)||(x[S]=!1,It(m))});else if(E===5){if(n(m)&&(It(m),x.length=!0),b.length<g.length)for(var T=b.length;T<g.length;T++)x[T]=!1;else for(var I=g.length;I<b.length;I++)x[I]=!0;for(var k=Math.min(b.length,g.length),O=0;O<k;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&u(b[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Yu,Io,Ts,ky,My,Xu,rp,Ju,ie,Dy,Nr,op,ws,Lo,To,Uy,ke,By,$S,kS,MS,DS,US,BS,Dn,Un=p(()=>{Ts=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ky=typeof Map<"u",My=typeof Set<"u",Xu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",rp=Ts?Symbol.for("immer-nothing"):((Yu={})["immer-nothing"]=!0,Yu),Ju=Ts?Symbol.for("immer-draftable"):"__$immer_draftable",ie=Ts?Symbol.for("immer-state"):"__$immer_state",Dy=""+Object.prototype.constructor,Nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,op=Object.getOwnPropertyDescriptors||function(t){var e={};return Nr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ws={},Lo={get:function(t,e){if(e===ie)return t;var r=Tt(t);if(!Rr(r,e))return function(i,a,s){var l,c=Zu(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ge(n)?n:n===vs(t.t,e)?(Ss(t),t.o[e]=Es(t.A.h,n,t)):n},has:function(t,e){return e in Tt(t)},ownKeys:function(t){return Reflect.ownKeys(Tt(t))},set:function(t,e,r){var n=Zu(Tt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=vs(Tt(t),e),a=i?.[ie];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(ep(r,i)&&(r!==void 0||Rr(t.t,e)))return!0;Ss(t),It(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return vs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ss(t),It(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Tt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Fe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Fe(12)}},To={};sr(Lo,function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,r){return Lo.set.call(this,t[0],e,r,t[0])};Uy=function(){function t(r){var n=this;this.O=Xu,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(E){var T=this;E===void 0&&(E=l);for(var I=arguments.length,k=Array(I>1?I-1:0),O=1;O<I;O++)k[O-1]=arguments[O];return c.produce(E,function(S){var w;return(w=a).call.apply(w,[T,S].concat(k))})}}var u;if(typeof a!="function"&&Fe(6),s!==void 0&&typeof s!="function"&&Fe(7),Ge(i)){var h=Ku(n),m=Es(n,i,void 0),g=!0;try{u=a(m),g=!1}finally{g?$n(h):Cs(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return bs(h,s),xs(E,h)},function(E){throw $n(h),E}):(bs(h,s),xs(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===rp&&(u=void 0),n.D&&_s(u,!0),s){var b=[],x=[];et("Patches").M(i,u,b,x),s(b,x)}return u}Fe(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,m=Array(h>1?h-1:0),g=1;g<h;g++)m[g-1]=arguments[g];return n.produceWithPatches(u,function(b){return i.apply(void 0,[b].concat(m))})};var s,l,c=n.produce(i,a,function(u,h){s=u,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(u){return[u,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ge(r)||Fe(8),yt(r)&&(r=$y(r));var n=Ku(this),i=Es(this,r,void 0);return i[ie].C=!0,Cs(n),i},e.finishDraft=function(r,n){var i=r&&r[ie],a=i.A;return bs(a,n),xs(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Xu&&Fe(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=et("Patches").$;return yt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),ke=new Uy,By=ke.produce,$S=ke.produceWithPatches.bind(ke),kS=ke.setAutoFreeze.bind(ke),MS=ke.setUseProxies.bind(ke),DS=ke.applyPatches.bind(ke),US=ke.createDraft.bind(ke),BS=ke.finishDraft.bind(ke),Dn=By});function Lt(t){"@babel/helpers - typeof";return Lt=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},Lt(t)}var Is=p(()=>{});function Ls(t,e){if(Lt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var np=p(()=>{Is()});function $s(t){var e=Ls(t,"string");return Lt(e)==="symbol"?e:String(e)}var ip=p(()=>{Is();np()});function ks(t,e,r){return e=$s(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ap=p(()=>{ip()});function sp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Bn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sp(Object(r),!0).forEach(function(n){ks(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var lp=p(()=>{ap()});function xe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function Fy(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ds(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(xe(1));return r(Ds)(t,e)}if(typeof t!="function")throw new Error(xe(2));var i=t,a=e,s=[],l=s,c=!1;function u(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(xe(3));return a}function m(E){if(typeof E!="function")throw new Error(xe(4));if(c)throw new Error(xe(5));var T=!0;return u(),l.push(E),function(){if(T){if(c)throw new Error(xe(6));T=!1,u();var k=l.indexOf(E);l.splice(k,1),s=null}}}function g(E){if(!Fy(E))throw new Error(xe(7));if(typeof E.type>"u")throw new Error(xe(8));if(c)throw new Error(xe(9));try{c=!0,a=i(a,E)}finally{c=!1}for(var T=s=l,I=0;I<T.length;I++){var k=T[I];k()}return E}function b(E){if(typeof E!="function")throw new Error(xe(10));i=E,g({type:Fn.REPLACE})}function x(){var E,T=m;return E={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(xe(11));function O(){k.next&&k.next(h())}O();var S=T(O);return{unsubscribe:S}}},E[cp]=function(){return this},E}return g({type:Fn.INIT}),n={dispatch:g,subscribe:m,getState:h,replaceReducer:b},n[cp]=x,n}function Wy(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Fn.INIT});if(typeof n>"u")throw new Error(xe(12));if(typeof r(void 0,{type:Fn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function dp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{Wy(r)}catch(c){l=c}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var m;for(var g=!1,b={},x=0;x<a.length;x++){var E=a[x],T=r[E],I=u[E],k=T(I,h);if(typeof k>"u"){var O=h&&h.type;throw new Error(xe(14))}b[E]=k,g=g||k!==I}return g=g||a.length!==Object.keys(u).length,g?b:u}}function Pr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function up(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(xe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Pr.apply(void 0,l)(i.dispatch),Bn(Bn({},i),{},{dispatch:a})}}}var cp,Ms,Fn,Wn=p(()=>{lp();cp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ms=function(){return Math.random().toString(36).substring(7).split("").join(".")},Fn={INIT:"@@redux/INIT"+Ms(),REPLACE:"@@redux/REPLACE"+Ms(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ms()}}});function pp(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var fp,Us,hp=p(()=>{fp=pp();fp.withExtraArgument=pp;Us=fp});function Yy(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function Hs(t){return Ge(t)?Dn(t,function(){}):t}function Qy(t){return typeof t=="boolean"}function eg(){return function(e){return tg(e)}}function tg(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Xy;if(r&&(Qy(r)?l.push(Us):l.push(Us.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var u}return l}function vp(t){var e=eg(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,m=r.enhancers,g=m===void 0?void 0:m,b;if(typeof i=="function")b=i;else if(Yy(i))b=dp(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!Fs&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Fs&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=up.apply(void 0,x),T=Pr;c&&(T=qy($t({trace:!Fs},typeof c=="object"&&c)));var I=new Jy(E),k=I;Array.isArray(g)?k=Tr([E],g):typeof g=="function"&&(k=g(I));var O=T.apply(void 0,k);return Ds(b,h,O)}function kt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return $t($t({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Sp(t){var e={},r=[],n,i={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,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function rg(t){return typeof t=="function"}function og(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Sp(e):[e,r,n],a=i[0],s=i[1],l=i[2],c;if(rg(t))c=function(){return Hs(t())};else{var u=Hs(t);c=function(){return u}}function h(m,g){m===void 0&&(m=c());var b=Tr([a[g.type]],s.filter(function(x){var E=x.matcher;return E(g)}).map(function(x){var E=x.reducer;return E}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,E){if(E)if(yt(x)){var T=x,I=E(T,g);return I===void 0?x:I}else{if(Ge(x))return Dn(x,function(k){return E(k,g)});var I=E(x,g);if(I===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return x},m)}return h.getInitialState=c,h}function ng(t,e){return t+"/"+e}function Op(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Hs(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var m=n[h],g=ng(e,h),b,x;"reducer"in m?(b=m.reducer,x=m.prepare):b=m,a[h]=b,s[g]=b,l[h]=x?kt(g,x):kt(g)});function c(){var h=typeof t.extraReducers=="function"?Sp(t.extraReducers):[t.extraReducers],m=h[0],g=m===void 0?{}:m,b=h[1],x=b===void 0?[]:b,E=h[2],T=E===void 0?void 0:E,I=$t($t({},g),s);return og(r,function(k){for(var O in I)k.addCase(O,I[O]);for(var S=0,w=x;S<w.length;S++){var B=w[S];k.addMatcher(B.matcher,B.reducer)}T&&k.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,m){return u||(u=c()),u(h,m)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=c()),u.getInitialState()}}}function cg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function dg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var xp,Hy,Tr,zy,jy,Vy,mp,Ky,Gy,yp,$t,Bs,Zy,qy,oO,Xy,Jy,Fs,ig,ag,sg,Ws,gp,lg,sO,Cp,Ep,wp,lO,cO,dO,uO,zs,pO,fO,hO,bp,mO,ug,yO,Ap=p(()=>{Un();Wn();Wn();Wn();hp();Un();Un();xp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Hy=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return c([u,h])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Tr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},zy=Object.defineProperty,jy=Object.defineProperties,Vy=Object.getOwnPropertyDescriptors,mp=Object.getOwnPropertySymbols,Ky=Object.prototype.hasOwnProperty,Gy=Object.prototype.propertyIsEnumerable,yp=function(t,e,r){return e in t?zy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},$t=function(t,e){for(var r in e||(e={}))Ky.call(e,r)&&yp(t,r,e[r]);if(mp)for(var n=0,i=mp(e);n<i.length;n++){var r=i[n];Gy.call(e,r)&&yp(t,r,e[r])}return t},Bs=function(t,e){return jy(t,Vy(e))},Zy=function(t,e,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(u){i(u)}},s=function(c){try{l(r.throw(c))}catch(u){i(u)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})},qy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Pr:Pr.apply(null,arguments)},oO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Xy=function(t){xp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Tr([void 0],r.concat(this))))},e}(Array),Jy=function(t){xp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Tr([void 0],r.concat(this))))},e}(Array);Fs=!0;ig="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ag=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=ig[Math.random()*64|0];return e},sg=["name","message","stack","code"],Ws=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),gp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),lg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=sg;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},sO=function(){function t(e,r,n){var i=kt(e+"/fulfilled",function(h,m,g,b){return{payload:h,meta:Bs($t({},b||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})}}),a=kt(e+"/pending",function(h,m,g){return{payload:void 0,meta:Bs($t({},g||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=kt(e+"/rejected",function(h,m,g,b,x){return{payload:b,error:(n&&n.serializeError||lg)(h||"Rejected"),meta:Bs($t({},x||{}),{arg:g,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(m,g,b){var x=n?.idGenerator?n.idGenerator(h):ag(),E=new c,T,I=!1;function k(S){T=S,E.abort()}var O=function(){return Zy(this,null,function(){var S,w,B,W,be,q,y;return Hy(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),W=(S=n?.condition)==null?void 0:S.call(n,h,{getState:g,extra:b}),dg(W)?[4,W]:[3,2];case 1:W=v.sent(),v.label=2;case 2:if(W===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,be=new Promise(function(N,K){return E.signal.addEventListener("abort",function(){return K({name:"AbortError",message:T||"Aborted"})})}),m(a(x,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:x,arg:h},{getState:g,extra:b}))),[4,Promise.race([be,Promise.resolve(r(h,{dispatch:m,getState:g,extra:b,requestId:x,signal:E.signal,abort:k,rejectWithValue:function(N,K){return new Ws(N,K)},fulfillWithValue:function(N,K){return new gp(N,K)}})).then(function(N){if(N instanceof Ws)throw N;return N instanceof gp?i(N.payload,x,h,N.meta):i(N,x,h)})])];case 3:return B=v.sent(),[3,5];case 4:return q=v.sent(),B=q instanceof Ws?s(null,x,h,q.payload,q.meta):s(q,x,h),[3,5];case 5:return y=n&&!n.dispatchConditionRejection&&s.match(B)&&B.meta.condition,y||m(B),[2,B]}})})}();return Object.assign(O,{abort:k,requestId:x,arg:h,unwrap:function(){return O.then(cg)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Cp="listener",Ep="completed",wp="cancelled",lO="task-"+wp,cO="task-"+Ep,dO=Cp+"-"+wp,uO=Cp+"-"+Ep,zs="listenerMiddleware",pO=kt(zs+"/add"),fO=kt(zs+"/removeAll"),hO=kt(zs+"/remove"),mO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(bp||(bp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},ug=function(t){return function(e){setTimeout(e,t)}},yO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ug(10);tp()});function pg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ir(e)&&e.clear()}var gt,Rp=p(()=>{"use strict";Ap();In();gs();window.ftReduxStores||(window.ftReduxStores={});gt=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(ir(a))return a;if(i==null)return;let s=Op({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=vp({reducer:(c,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...u.overwrites}:s.reducer(c,u)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Po,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let u=l(...c);return this.reduxStore.dispatch(u),u}:c=>{this.setState({[s]:c})}}})}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()}}});var js={};G(js,{FtCommandQueue:()=>Po,FtLitElementRedux:()=>Re,FtReduxStore:()=>gt,clearAllStores:()=>pg,isFtReduxStore:()=>ir,redux:()=>te,reduxEventListener:()=>_y,reduxReactive:()=>Ny});var Hn=p(()=>{"use strict";Wu();gs();Vu();Rp();In()});var Vs={};G(Vs,{serializeRequest:()=>hg});function fg(t){return`"${t}"`}function hg(t,e){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,u=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(u=>{let h=u.values.map(m=>m.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(m=>encodeURIComponent(fg(m))).join("_");return`${u.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Ks=p(()=>{"use strict"});var Zs={};G(Zs,{toFtFormComponent:()=>Gs});function Gs(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[zn].form}constructor(...i){super(i),this[zn]=this.attachInternals(),this[zn].role=e}setFormValue(i){this[zn].setFormValue(i)}}return r}var zn,qs=p(()=>{"use strict";zn=Symbol("elementInternals")});var lr,jn=p(()=>{"use strict";lr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var Np=p(()=>{"use strict"});var Ys,Xs,Js,Qs,el,mg,$=p(()=>{"use strict";vc();U();ee();hn();vr();Od();mo();Ji();mn();ta();yn();bn();$a();Ba();Rn();xn();os();wo();ns();go();cs();fs();hs();ys();Hn();_n();Ks();qs();jn();Ji();mn();ta();jn();yn();bn();$a();Ba();Rn();xn();os();wo();ns();go();cs();fs();hs();ys();Hn();_n();Np();Ks();qs();V();el=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Js=(Xs=(Ys=window.safari)===null||Ys===void 0?void 0:Ys.pushNotification)===null||Xs===void 0?void 0:Xs.toString())!==null&&Js!==void 0?Js:"")==="[object SafariRemoteNotification]",mg="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Qs=window.ftGlobals)!==null&&Qs!==void 0?Qs:{lit:Wi,litDecorators:Vi,litRepeat:Ki,litClassMap:Gi,litStyleMap:Zi,litUnsafeHTML:qi,wcUtils:{...Xi,...Yi,...ea,...lr,...ra,...na,...La,...Ua,...Ja,...Ia,...rs,...es,...ku,...oa,...ls,...ps,...Fu,...ms,...js,...Qa,...Vs,...Zs,isSafari:el,isTouchScreen:mg}}});var _p,j,Pp,Tp,Ip,Lp,$p,cr=p(()=>{"use strict";U();$();_p=o.extend("--ft-ripple-color","",L.colorContent),j={color:_p,backgroundColor:o.extend("--ft-ripple-background-color","",_p),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Pp=o.extend("--ft-ripple-color","",L.colorPrimary),Tp={color:Pp,backgroundColor:o.extend("--ft-ripple-background-color","",Pp)},Ip=o.extend("--ft-ripple-color","",L.colorSecondary),Lp={color:Ip,backgroundColor:o.extend("--ft-ripple-background-color","",Ip)},$p=_`
50
50
  :host {
51
51
  display: contents;
52
52
  }
@@ -515,7 +515,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
515
515
  ${P(Ce.size,ce.iconSize)};
516
516
  ${P(Ce.color,"var(--ft-button-internal-color)")};
517
517
  }
518
- `,Ro]});var Ne,ne,ol=p(()=>{"use strict";U();ee();vr();$();cr();Ne=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ne=class extends Z{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ye(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ye(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-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 M`
518
+ `,Ro]});var Ne,ne,ol=p(()=>{"use strict";U();ee();vr();$();cr();Ne=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ne=class extends Z{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ge(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 ge(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-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 M`
519
519
  <style>
520
520
  .ft-ripple .ft-ripple--effect {
521
521
  left: ${this.originX}px;
@@ -526,7 +526,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
526
526
  <div class="ft-ripple--background"></div>
527
527
  <div class="ft-ripple--effect"></div>
528
528
  </div>
529
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,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",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ne.elementDefinitions={};ne.styles=$p;Ne([C({type:Boolean})],ne.prototype,"primary",void 0);Ne([C({type:Boolean})],ne.prototype,"secondary",void 0);Ne([C({type:Boolean})],ne.prototype,"unbounded",void 0);Ne([C({type:Boolean})],ne.prototype,"activated",void 0);Ne([C({type:Boolean})],ne.prototype,"selected",void 0);Ne([C({type:Boolean})],ne.prototype,"disabled",void 0);Ne([le()],ne.prototype,"hovered",void 0);Ne([le()],ne.prototype,"focused",void 0);Ne([le()],ne.prototype,"pressed",void 0);Ne([le()],ne.prototype,"rippling",void 0);Ne([le()],ne.prototype,"originX",void 0);Ne([le()],ne.prototype,"originY",void 0);Ne([me(".ft-ripple")],ne.prototype,"ripple",void 0);Ne([me(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0)});var tf=p(()=>{"use strict"});var Gn=p(()=>{"use strict";$();ol();ol();cr();tf();z("ft-ripple")(ne)});var of,gy,nl,rf,nf,il,mE,af=p(()=>{st();of=Symbol.for(""),gy=t=>{if(t?.r===of)return t?._$litStatic$},nl=t=>({_$litStatic$:t,r:of}),rf=new Map,nf=t=>(e,...r)=>{let n=r.length,i,a,s=[],l=[],c,u=0,h=!1;for(;u<n;){for(c=e[u];u<n&&(a=r[u],(i=gy(a))!==void 0);)c+=i+e[++u],h=!0;u!==n&&l.push(a),s.push(c),u++}if(u===n&&s.push(e[n]),h){let m=s.join("$$lit$$");(e=rf.get(m))===void 0&&(s.raw=s,rf.set(m,e=s)),r=l}return t(e,...r)},il=nf(Mc),mE=nf(Dc)});var sf=p(()=>{af()});var Mt,Zn=p(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Mt||(Mt={}))});var lf,pe,al=p(()=>{"use strict";sf();ee();$();Zn();Kn();lf=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},pe=class extends Z{constructor(){super(...arguments),this.variant=Mt.body1}render(){return this.element?il`
529
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,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",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ne.elementDefinitions={};ne.styles=$p;Ne([C({type:Boolean})],ne.prototype,"primary",void 0);Ne([C({type:Boolean})],ne.prototype,"secondary",void 0);Ne([C({type:Boolean})],ne.prototype,"unbounded",void 0);Ne([C({type:Boolean})],ne.prototype,"activated",void 0);Ne([C({type:Boolean})],ne.prototype,"selected",void 0);Ne([C({type:Boolean})],ne.prototype,"disabled",void 0);Ne([le()],ne.prototype,"hovered",void 0);Ne([le()],ne.prototype,"focused",void 0);Ne([le()],ne.prototype,"pressed",void 0);Ne([le()],ne.prototype,"rippling",void 0);Ne([le()],ne.prototype,"originX",void 0);Ne([le()],ne.prototype,"originY",void 0);Ne([me(".ft-ripple")],ne.prototype,"ripple",void 0);Ne([me(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0)});var tf=p(()=>{"use strict"});var Gn=p(()=>{"use strict";$();ol();ol();cr();tf();z("ft-ripple")(ne)});var of,yg,nl,rf,nf,il,mE,af=p(()=>{st();of=Symbol.for(""),yg=t=>{if(t?.r===of)return t?._$litStatic$},nl=t=>({_$litStatic$:t,r:of}),rf=new Map,nf=t=>(e,...r)=>{let n=r.length,i,a,s=[],l=[],c,u=0,h=!1;for(;u<n;){for(c=e[u];u<n&&(a=r[u],(i=yg(a))!==void 0);)c+=i+e[++u],h=!0;u!==n&&l.push(a),s.push(c),u++}if(u===n&&s.push(e[n]),h){let m=s.join("$$lit$$");(e=rf.get(m))===void 0&&(s.raw=s,rf.set(m,e=s)),r=l}return t(e,...r)},il=nf(Mc),mE=nf(Dc)});var sf=p(()=>{af()});var Mt,Zn=p(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Mt||(Mt={}))});var lf,pe,al=p(()=>{"use strict";sf();ee();$();Zn();Kn();lf=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},pe=class extends Z{constructor(){super(...arguments),this.variant=Mt.body1}render(){return this.element?il`
530
530
  <${nl(this.element)}
531
531
  part="text"
532
532
  class="ft-typography ft-typography--${this.variant}">
@@ -563,7 +563,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
563
563
  position: relative;
564
564
  word-break: break-word;
565
565
  }
566
- `});var _e,de,ll=p(()=>{"use strict";U();ee();$();xt();sl();Rn();_e=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},de=class extends Z{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ye,this.revealDebouncer=new ye}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return M`
566
+ `});var _e,de,ll=p(()=>{"use strict";U();ee();$();xt();sl();Rn();_e=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},de=class extends Z{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ge,this.revealDebouncer=new ge}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return M`
567
567
  <div part="container"
568
568
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
569
569
  @mouseenter=${this.onHover}
@@ -581,7 +581,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
581
581
  </div>
582
582
  </div>
583
583
  </div>
584
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Xa(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};de.elementDefinitions={"ft-typography":pe};de.styles=cf;_e([C()],de.prototype,"text",void 0);_e([C({type:Boolean})],de.prototype,"manual",void 0);_e([C({type:Boolean})],de.prototype,"inline",void 0);_e([C({type:Number})],de.prototype,"delay",void 0);_e([C()],de.prototype,"position",void 0);_e([ji()],de.prototype,"slotNodes",void 0);_e([me(".ft-tooltip--container")],de.prototype,"container",void 0);_e([me(".ft-tooltip")],de.prototype,"tooltip",void 0);_e([me(".ft-tooltip--content")],de.prototype,"tooltipContent",void 0);_e([le()],de.prototype,"visible",void 0);_e([yr({passive:!0})],de.prototype,"onTouch",null);_e([yr({passive:!0})],de.prototype,"onHover",null);_e([yr({passive:!0})],de.prototype,"onOut",null);_e([yr({passive:!0})],de.prototype,"onClick",null)});var df=p(()=>{"use strict"});var cl=p(()=>{"use strict";$();ll();ll();sl();df();z("ft-tooltip")(de)});function uf(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=yy.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=dl.get(l))!==null&&n!==void 0?n:dl.get(e))!==null&&i!==void 0?i:dl.get(s))!==null&&a!==void 0?a:R.UNKNOWN}var Ut,R,dl,yy,ZE,ul=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Ut||(Ut={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(R||(R={}));dl=new Map([...["abw"].map(t=>[t,R.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,R.AUDIO]),...["avi"].map(t=>[t,R.AVI]),...["chm","xhs"].map(t=>[t,R.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,R.CODE]),...["csv"].map(t=>[t,R.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,R.DITA]),...["epub"].map(t=>[t,R.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,R.EXCEL]),...["flac"].map(t=>[t,R.FLAC]),...["gif"].map(t=>[t,R.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,R.GZIP]),...["html","htm","xhtml"].map(t=>[t,R.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,R.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,R.JPEG]),...["json"].map(t=>[t,R.JSON]),...["m4a","m4p"].map(t=>[t,R.M4A]),...["mov","qt"].map(t=>[t,R.MOV]),...["mp3"].map(t=>[t,R.MP3]),...["mp4","m4v"].map(t=>[t,R.MP4]),...["ogg","oga"].map(t=>[t,R.OGG]),...["pdf","ps"].map(t=>[t,R.PDF]),...["png"].map(t=>[t,R.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,R.POWERPOINT]),...["rar"].map(t=>[t,R.RAR]),...["stp"].map(t=>[t,R.STP]),...["txt","rtf","md","mdown"].map(t=>[t,R.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,R.VIDEO]),...["wav"].map(t=>[t,R.WAV]),...["wma"].map(t=>[t,R.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,R.WORD]),...["xml","xsl","rdf"].map(t=>[t,R.XML]),...["yaml","yml","x-yaml"].map(t=>[t,R.YAML]),...["zip"].map(t=>[t,R.ZIP])]),yy=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"]]);ZE={[R.ABW]:"#91ABC6",[R.AUDIO]:"#1795E3",[R.AVI]:"#E63324",[R.CHM]:"#71C3EB",[R.CODE]:"#71C3EB",[R.CSV]:"#1F7345",[R.DITA]:"#71C3EB",[R.EPUB]:"#85B926",[R.EXCEL]:"#1F7345",[R.FLAC]:"#1795E3",[R.GIF]:"#59B031",[R.GZIP]:"#F8AB36",[R.HTML]:"#71C3EB",[R.IMAGE]:"#59B031",[R.JPEG]:"#59B031",[R.JSON]:"#71C3EB",[R.M4A]:"#1795E3",[R.MOV]:"#E63324",[R.MP3]:"#1795E3",[R.MP4]:"#E63324",[R.OGG]:"#1795E3",[R.PDF]:"#E44948",[R.PNG]:"#59B031",[R.POWERPOINT]:"#B54A2B",[R.RAR]:"#F8AB36",[R.STP]:"#3764B1",[R.TEXT]:"#3162AB",[R.UNKNOWN]:"#999999",[R.VIDEO]:"#E63324",[R.WAV]:"#1795E3",[R.WMA]:"#1795E3",[R.WORD]:"#3162AB",[R.XML]:"#71C3EB",[R.YAML]:"#71C3EB",[R.ZIP]:"#F8AB36"}});var Me,pl=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Me||(Me={}))});var qn,Pe,fl=p(()=>{"use strict";U();ee();$();mo();ul();ko();pl();qn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Pe=class extends Z{constructor(){super(...arguments),this.resolvedIcon=H}render(){let e=this.variant&&Object.values(Me).includes(this.variant)?this.variant:Me.fluid_topics,r=e!==Me.material||!!this.value;return M`
584
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Xa(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};de.elementDefinitions={"ft-typography":pe};de.styles=cf;_e([C()],de.prototype,"text",void 0);_e([C({type:Boolean})],de.prototype,"manual",void 0);_e([C({type:Boolean})],de.prototype,"inline",void 0);_e([C({type:Number})],de.prototype,"delay",void 0);_e([C()],de.prototype,"position",void 0);_e([ji()],de.prototype,"slotNodes",void 0);_e([me(".ft-tooltip--container")],de.prototype,"container",void 0);_e([me(".ft-tooltip")],de.prototype,"tooltip",void 0);_e([me(".ft-tooltip--content")],de.prototype,"tooltipContent",void 0);_e([le()],de.prototype,"visible",void 0);_e([gr({passive:!0})],de.prototype,"onTouch",null);_e([gr({passive:!0})],de.prototype,"onHover",null);_e([gr({passive:!0})],de.prototype,"onOut",null);_e([gr({passive:!0})],de.prototype,"onClick",null)});var df=p(()=>{"use strict"});var cl=p(()=>{"use strict";$();ll();ll();sl();df();z("ft-tooltip")(de)});function uf(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=gg.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=dl.get(l))!==null&&n!==void 0?n:dl.get(e))!==null&&i!==void 0?i:dl.get(s))!==null&&a!==void 0?a:R.UNKNOWN}var Ut,R,dl,gg,ZE,ul=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Ut||(Ut={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(R||(R={}));dl=new Map([...["abw"].map(t=>[t,R.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,R.AUDIO]),...["avi"].map(t=>[t,R.AVI]),...["chm","xhs"].map(t=>[t,R.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,R.CODE]),...["csv"].map(t=>[t,R.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,R.DITA]),...["epub"].map(t=>[t,R.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,R.EXCEL]),...["flac"].map(t=>[t,R.FLAC]),...["gif"].map(t=>[t,R.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,R.GZIP]),...["html","htm","xhtml"].map(t=>[t,R.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,R.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,R.JPEG]),...["json"].map(t=>[t,R.JSON]),...["m4a","m4p"].map(t=>[t,R.M4A]),...["mov","qt"].map(t=>[t,R.MOV]),...["mp3"].map(t=>[t,R.MP3]),...["mp4","m4v"].map(t=>[t,R.MP4]),...["ogg","oga"].map(t=>[t,R.OGG]),...["pdf","ps"].map(t=>[t,R.PDF]),...["png"].map(t=>[t,R.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,R.POWERPOINT]),...["rar"].map(t=>[t,R.RAR]),...["stp"].map(t=>[t,R.STP]),...["txt","rtf","md","mdown"].map(t=>[t,R.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,R.VIDEO]),...["wav"].map(t=>[t,R.WAV]),...["wma"].map(t=>[t,R.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,R.WORD]),...["xml","xsl","rdf"].map(t=>[t,R.XML]),...["yaml","yml","x-yaml"].map(t=>[t,R.YAML]),...["zip"].map(t=>[t,R.ZIP])]),gg=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"]]);ZE={[R.ABW]:"#91ABC6",[R.AUDIO]:"#1795E3",[R.AVI]:"#E63324",[R.CHM]:"#71C3EB",[R.CODE]:"#71C3EB",[R.CSV]:"#1F7345",[R.DITA]:"#71C3EB",[R.EPUB]:"#85B926",[R.EXCEL]:"#1F7345",[R.FLAC]:"#1795E3",[R.GIF]:"#59B031",[R.GZIP]:"#F8AB36",[R.HTML]:"#71C3EB",[R.IMAGE]:"#59B031",[R.JPEG]:"#59B031",[R.JSON]:"#71C3EB",[R.M4A]:"#1795E3",[R.MOV]:"#E63324",[R.MP3]:"#1795E3",[R.MP4]:"#E63324",[R.OGG]:"#1795E3",[R.PDF]:"#E44948",[R.PNG]:"#59B031",[R.POWERPOINT]:"#B54A2B",[R.RAR]:"#F8AB36",[R.STP]:"#3764B1",[R.TEXT]:"#3162AB",[R.UNKNOWN]:"#999999",[R.VIDEO]:"#E63324",[R.WAV]:"#1795E3",[R.WMA]:"#1795E3",[R.WORD]:"#3162AB",[R.XML]:"#71C3EB",[R.YAML]:"#71C3EB",[R.ZIP]:"#F8AB36"}});var Me,pl=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Me||(Me={}))});var qn,Pe,fl=p(()=>{"use strict";U();ee();$();mo();ul();ko();pl();qn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Pe=class extends Z{constructor(){super(...arguments),this.resolvedIcon=H}render(){let e=this.variant&&Object.values(Me).includes(this.variant)?this.variant:Me.fluid_topics,r=e!==Me.material||!!this.value;return M`
585
585
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
586
586
  ${er(this.resolvedIcon)}
587
587
  <slot ?hidden=${r}></slot>
@@ -619,7 +619,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
619
619
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
620
620
  `:M`
621
621
  <slot part="icon" name="icon"></slot>
622
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};he.elementDefinitions={"ft-ripple":ne,"ft-tooltip":de,"ft-typography":pe,"ft-icon":Pe,"ft-loader":dr};De([C({type:String,reflect:!0})],he.prototype,"role",void 0);De([C()],he.prototype,"type",void 0);De([C({type:Boolean})],he.prototype,"disabled",void 0);De([C()],he.prototype,"label",void 0);De([C()],he.prototype,"icon",void 0);De([C()],he.prototype,"iconVariant",void 0);De([C({type:Boolean})],he.prototype,"trailingIcon",void 0);De([C({type:Boolean})],he.prototype,"loading",void 0);De([C()],he.prototype,"tooltipPosition",void 0);De([C({type:Boolean})],he.prototype,"hideTooltip",void 0);De([C({type:Boolean})],he.prototype,"forceTooltip",void 0);De([me(".ft-button")],he.prototype,"button",void 0);De([me(".ft-button--label slot")],he.prototype,"slottedContent",void 0)});var Xn,Ue,gl=p(()=>{"use strict";ee();$();rl();ml();Xn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ue=class extends he{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ue.styles=[No,ef];Xn([C({type:Boolean})],Ue.prototype,"primary",void 0);Xn([C({type:Boolean})],Ue.prototype,"outlined",void 0);Xn([C({type:Boolean})],Ue.prototype,"dense",void 0);Xn([C({type:Boolean})],Ue.prototype,"round",void 0)});var hf,yl=p(()=>{"use strict";U();$();cr();$o();ko();V();V();hf=[_`
622
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};he.elementDefinitions={"ft-ripple":ne,"ft-tooltip":de,"ft-typography":pe,"ft-icon":Pe,"ft-loader":dr};De([C({type:String,reflect:!0})],he.prototype,"role",void 0);De([C()],he.prototype,"type",void 0);De([C({type:Boolean})],he.prototype,"disabled",void 0);De([C()],he.prototype,"label",void 0);De([C()],he.prototype,"icon",void 0);De([C()],he.prototype,"iconVariant",void 0);De([C({type:Boolean})],he.prototype,"trailingIcon",void 0);De([C({type:Boolean})],he.prototype,"loading",void 0);De([C()],he.prototype,"tooltipPosition",void 0);De([C({type:Boolean})],he.prototype,"hideTooltip",void 0);De([C({type:Boolean})],he.prototype,"forceTooltip",void 0);De([me(".ft-button")],he.prototype,"button",void 0);De([me(".ft-button--label slot")],he.prototype,"slottedContent",void 0)});var Xn,Ue,yl=p(()=>{"use strict";ee();$();rl();ml();Xn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ue=class extends he{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ue.styles=[No,ef];Xn([C({type:Boolean})],Ue.prototype,"primary",void 0);Xn([C({type:Boolean})],Ue.prototype,"outlined",void 0);Xn([C({type:Boolean})],Ue.prototype,"dense",void 0);Xn([C({type:Boolean})],Ue.prototype,"round",void 0)});var hf,gl=p(()=>{"use strict";U();$();cr();$o();ko();V();V();hf=[_`
623
623
  :host {
624
624
  display: inline-block;
625
625
  max-width: 100%;
@@ -863,7 +863,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
863
863
  .ftds--size-small.ft-button--icon-only {
864
864
  width: ${A.smallIconOnlyWidth};
865
865
  }
866
- `,Ro]});var Jn,vt,bl=p(()=>{"use strict";ml();ee();Zn();$();yl();V();Yn();Jn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vt=class extends Tn(he){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=tr.brand,this.iconVariant=Me.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 pt.large:return Mt.body2medium;case pt.medium:return Mt.caption1medium;case pt.small:return Mt.caption2medium}}};vt.styles=[No,hf];Jn([C({type:Boolean})],vt.prototype,"primary",void 0);Jn([C({type:Boolean})],vt.prototype,"secondary",void 0);Jn([C({type:Boolean})],vt.prototype,"tertiary",void 0);Jn([C({type:Boolean})],vt.prototype,"round",void 0)});var mf=p(()=>{"use strict"});var gf=p(()=>{"use strict"});var Qn=p(()=>{"use strict";$();gl();bl();gl();rl();mf();bl();yl();gf();z("ft-button")(Ue);z("ftds-button")(vt)});var re,xl,Mo=p(()=>{"use strict";U();$();Qn();cl();re={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",L.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","",L.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",L.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",L.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",L.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",L.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",L.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",L.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",L.colorPrimary)},xl=_`
866
+ `,Ro]});var Jn,vt,bl=p(()=>{"use strict";ml();ee();Zn();$();gl();V();Yn();Jn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vt=class extends Tn(he){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=tr.brand,this.iconVariant=Me.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 pt.large:return Mt.body2medium;case pt.medium:return Mt.caption1medium;case pt.small:return Mt.caption2medium}}};vt.styles=[No,hf];Jn([C({type:Boolean})],vt.prototype,"primary",void 0);Jn([C({type:Boolean})],vt.prototype,"secondary",void 0);Jn([C({type:Boolean})],vt.prototype,"tertiary",void 0);Jn([C({type:Boolean})],vt.prototype,"round",void 0)});var mf=p(()=>{"use strict"});var yf=p(()=>{"use strict"});var Qn=p(()=>{"use strict";$();yl();bl();yl();rl();mf();bl();gl();yf();z("ft-button")(Ue);z("ftds-button")(vt)});var re,xl,Mo=p(()=>{"use strict";U();$();Qn();cl();re={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",L.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","",L.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",L.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",L.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",L.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",L.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",L.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",L.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",L.colorPrimary)},xl=_`
867
867
  * {
868
868
  box-sizing: border-box;
869
869
  ${P(ce.color,re.buttonColor)};
@@ -968,16 +968,16 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
968
968
  }
969
969
  `});var xf,Ol=p(()=>{"use strict";U();xf=_`
970
970
  `});var vf,Cl=p(()=>{"use strict";U();vf=_`
971
- `});var by,El,xy,F,Ze=p(()=>{"use strict";$();by="ft-app-info",El=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},xy={session:(t,e)=>{Ve(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>F.eventBus.dispatchEvent(new El(e.payload)),0))}},F=yt.get({name:by,reducers:xy,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var ur,ni=p(()=>{"use strict";Ze();ur=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=F.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=F.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var ot,Do=p(()=>{"use strict";$();ni();ot=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Je,this.cache=e?i.commonCache:new Je}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ur.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ur.await()}clearCache(){this.cache.clearAll()}}});var Sf,vy,ii,Wr,Of,wl=p(()=>{"use strict";Ze();$();Do();vy=Symbol("clearAfterUnitTest"),ii=class extends ot{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Sf]=()=>{this.defaultMessages={},this.cache=new Je,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=F.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Ve(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new _o((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>yn(0).then(()=>r()).catch(()=>null)))}};Sf=vy;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ii{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ii{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Wr=window.FluidTopicsI18nService,Of=window.FluidTopicsCustomI18nService});var we,fe,Al=p(()=>{"use strict";U();ee();$();Cl();Ze();wl();ni();we=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends Z{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ur.get(),this.messageContexts=[],this.cache=new Je,this.cleanSessionDebouncer=new ye}render(){return M`
971
+ `});var bg,El,xg,F,Ze=p(()=>{"use strict";$();bg="ft-app-info",El=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},xg={session:(t,e)=>{Ve(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>F.eventBus.dispatchEvent(new El(e.payload)),0))}},F=gt.get({name:bg,reducers:xg,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var ur,ni=p(()=>{"use strict";Ze();ur=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=F.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=F.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var ot,Do=p(()=>{"use strict";$();ni();ot=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Je,this.cache=e?i.commonCache:new Je}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ur.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ur.await()}clearCache(){this.cache.clearAll()}}});var Sf,vg,ii,Wr,Of,wl=p(()=>{"use strict";Ze();$();Do();vg=Symbol("clearAfterUnitTest"),ii=class extends ot{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Sf]=()=>{this.defaultMessages={},this.cache=new Je,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=F.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Ve(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new _o((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>gn(0).then(()=>r()).catch(()=>null)))}};Sf=vg;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ii{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ii{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Wr=window.FluidTopicsI18nService,Of=window.FluidTopicsCustomI18nService});var we,fe,Al=p(()=>{"use strict";U();ee();$();Cl();Ze();wl();ni();we=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends Z{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ur.get(),this.messageContexts=[],this.cache=new Je,this.cleanSessionDebouncer=new ge}render(){return M`
972
972
  <slot></slot>
973
- `}update(e){super.update(e),e.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&F.actions.noCustom(this.noCustom),e.has("editorMode")&&F.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&F.actions.session(this.session),e.has("availableUiLocales")&&F.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Wr.addContext(r)),e.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&F.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}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 updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};fe.elementDefinitions={};fe.styles=vf;we([C()],fe.prototype,"baseUrl",void 0);we([C()],fe.prototype,"apiIntegrationIdentifier",void 0);we([C()],fe.prototype,"uiLocale",void 0);we([Oe(null)],fe.prototype,"availableUiLocales",void 0);we([Oe(null)],fe.prototype,"metadataConfiguration",void 0);we([C({type:Boolean})],fe.prototype,"editorMode",void 0);we([C({type:Boolean})],fe.prototype,"noCustom",void 0);we([C({type:Boolean})],fe.prototype,"openExternalDocumentInNewTab",void 0);we([C({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],fe.prototype,"noCustomComponent",void 0);we([C({type:Boolean})],fe.prototype,"withManualResources",void 0);we([C({type:Boolean})],fe.prototype,"navigatorOnline",void 0);we([C({type:Boolean})],fe.prototype,"forcedOffline",void 0);we([C({type:Object})],fe.prototype,"apiProvider",void 0);we([Oe([])],fe.prototype,"messageContexts",void 0);we([Oe(void 0)],fe.prototype,"session",void 0)});var Cf=p(()=>{"use strict";ee();Hn();jn();Ze()});var ai,Rl=p(()=>{"use strict";Ze();Do();ai=class extends ot{async listMySearches(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var si,Nl=p(()=>{"use strict";Ze();Do();si=class extends ot{async listMyBookmarks(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Sy,li,_l,Ef,Pl=p(()=>{"use strict";$();Rl();Nl();Ze();Sy="ft-user-assets",li=yt.get({name:Sy,initialState:{savedSearches:void 0,bookmarks:void 0}}),_l=class{constructor(){this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new si,this.savedSearchesService=new ai,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=F.getState();Ve((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),li.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),li.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();li.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;li.actions.bookmarks(r)}}},Ef=new _l});var Tl,wf=p(()=>{"use strict";Ze();Tl=class{addCommand(e,r=!1){F.commands.add(e,r)}consumeCommand(e){return F.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Tl});var Il,Af=p(()=>{"use strict";$();Il=class{highlightHtml(e,r){ss(e,r)}};window.FluidTopicsHighlightHtmlService=new Il});var Ll,Rf=p(()=>{"use strict";$();Ze();Ll=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=F.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return lr.format(e,(n=r?.locale)!==null&&n!==void 0?n:F.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ll});var Nf=p(()=>{"use strict";Nl();ni();wf();wl();Do();Af();Rl();Rf()});var _f=p(()=>{"use strict"});var Hr=p(()=>{"use strict";$();Al();Cf();Ze();Pl();Nf();Cl();_f();Al();z("ft-app-context")(fe)});function We(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Of:Wr}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[$l])===null||a===void 0||a.forEach((l,c)=>{var u;let h=this.getI18nAttributeValue(c);((u=h?.context)===null||u===void 0?void 0:u.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,h,l)}),(s=this[ci])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[$l])===null||a===void 0||a.forEach((l,c)=>{let u=this.getI18nAttributeValue(c);u?.context&&u.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(c,u,l))}),(s=this[ci])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[ci])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[$l])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(i,a){i=i.toLowerCase(),this[Uo].has(i)||this[Uo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Uo].forEach(i=>i()),this[Uo].clear()}}return e=Uo,Oy([C({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Oy,$l,ci,Uo,Pf,di,ui=p(()=>{"use strict";$();Hr();ee();Oy=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$l=Symbol("i18nAttributes"),ci=Symbol("i18nProperties"),Uo=Symbol("i18nUnsubs");Pf=class extends We(Z){},di=class extends We(Re){}});var Bo,qe,kl=p(()=>{"use strict";U();ee();$();Ol();ui();Hr();Bo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},qe=class extends di{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":H:M`
973
+ `}update(e){super.update(e),e.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&F.actions.noCustom(this.noCustom),e.has("editorMode")&&F.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&F.actions.session(this.session),e.has("availableUiLocales")&&F.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Wr.addContext(r)),e.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&F.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}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 updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};fe.elementDefinitions={};fe.styles=vf;we([C()],fe.prototype,"baseUrl",void 0);we([C()],fe.prototype,"apiIntegrationIdentifier",void 0);we([C()],fe.prototype,"uiLocale",void 0);we([Oe(null)],fe.prototype,"availableUiLocales",void 0);we([Oe(null)],fe.prototype,"metadataConfiguration",void 0);we([C({type:Boolean})],fe.prototype,"editorMode",void 0);we([C({type:Boolean})],fe.prototype,"noCustom",void 0);we([C({type:Boolean})],fe.prototype,"openExternalDocumentInNewTab",void 0);we([C({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],fe.prototype,"noCustomComponent",void 0);we([C({type:Boolean})],fe.prototype,"withManualResources",void 0);we([C({type:Boolean})],fe.prototype,"navigatorOnline",void 0);we([C({type:Boolean})],fe.prototype,"forcedOffline",void 0);we([C({type:Object})],fe.prototype,"apiProvider",void 0);we([Oe([])],fe.prototype,"messageContexts",void 0);we([Oe(void 0)],fe.prototype,"session",void 0)});var Cf=p(()=>{"use strict";ee();Hn();jn();Ze()});var ai,Rl=p(()=>{"use strict";Ze();Do();ai=class extends ot{async listMySearches(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var si,Nl=p(()=>{"use strict";Ze();Do();si=class extends ot{async listMyBookmarks(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Sg,li,_l,Ef,Pl=p(()=>{"use strict";$();Rl();Nl();Ze();Sg="ft-user-assets",li=gt.get({name:Sg,initialState:{savedSearches:void 0,bookmarks:void 0}}),_l=class{constructor(){this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new si,this.savedSearchesService=new ai,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=F.getState();Ve((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),li.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),li.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();li.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;li.actions.bookmarks(r)}}},Ef=new _l});var Tl,wf=p(()=>{"use strict";Ze();Tl=class{addCommand(e,r=!1){F.commands.add(e,r)}consumeCommand(e){return F.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Tl});var Il,Af=p(()=>{"use strict";$();Il=class{highlightHtml(e,r){ss(e,r)}};window.FluidTopicsHighlightHtmlService=new Il});var Ll,Rf=p(()=>{"use strict";$();Ze();Ll=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=F.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return lr.format(e,(n=r?.locale)!==null&&n!==void 0?n:F.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ll});var Nf=p(()=>{"use strict";Nl();ni();wf();wl();Do();Af();Rl();Rf()});var _f=p(()=>{"use strict"});var Hr=p(()=>{"use strict";$();Al();Cf();Ze();Pl();Nf();Cl();_f();Al();z("ft-app-context")(fe)});function We(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Of:Wr}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[$l])===null||a===void 0||a.forEach((l,c)=>{var u;let h=this.getI18nAttributeValue(c);((u=h?.context)===null||u===void 0?void 0:u.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,h,l)}),(s=this[ci])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[$l])===null||a===void 0||a.forEach((l,c)=>{let u=this.getI18nAttributeValue(c);u?.context&&u.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(c,u,l))}),(s=this[ci])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[ci])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[$l])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(i,a){i=i.toLowerCase(),this[Uo].has(i)||this[Uo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Uo].forEach(i=>i()),this[Uo].clear()}}return e=Uo,Og([C({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Og,$l,ci,Uo,Pf,di,ui=p(()=>{"use strict";$();Hr();ee();Og=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$l=Symbol("i18nAttributes"),ci=Symbol("i18nProperties"),Uo=Symbol("i18nUnsubs");Pf=class extends We(Z){},di=class extends We(Re){}});var Bo,qe,kl=p(()=>{"use strict";U();ee();$();Ol();ui();Hr();Bo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},qe=class extends di{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":H:M`
974
974
  <span class="ft-i18n">
975
975
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
976
976
  </span>
977
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};qe.elementDefinitions={};qe.styles=xf;Bo([te()],qe.prototype,"editorMode",void 0);Bo([C()],qe.prototype,"context",void 0);Bo([C()],qe.prototype,"key",void 0);Bo([Oe([])],qe.prototype,"args",void 0);Bo([C()],qe.prototype,"defaultMessage",void 0)});var nt,Tf=p(()=>{"use strict";Hr();nt=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>Wr.resolveMessage(this.name,n,...i)})}}});var If=p(()=>{"use strict";ui()});var Lf=p(()=>{"use strict"});var it=p(()=>{"use strict";$();kl();Tf();ui();If();Ol();Lf();kl();z("ft-i18n")(qe)});var Mf=Gh(kf=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(g){return g&&a.indexOf(Object.prototype.toString.call(g))>-1};function l(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(g))throw new TypeError("Invalid character in header field name");return g.toLowerCase()}function c(g){return typeof g!="string"&&(g=String(g)),g}function u(g){var v={next:function(){var N=g.shift();return{done:N===void 0,value:N}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(g){this.map={},g instanceof h?g.forEach(function(v,N){this.append(N,v)},this):Array.isArray(g)?g.forEach(function(v){this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}h.prototype.append=function(g,v){g=l(g),v=c(v);var N=this.map[g];this.map[g]=N?N+", "+v:v},h.prototype.delete=function(g){delete this.map[l(g)]},h.prototype.get=function(g){return g=l(g),this.has(g)?this.map[g]:null},h.prototype.has=function(g){return this.map.hasOwnProperty(l(g))},h.prototype.set=function(g,v){this.map[l(g)]=c(v)},h.prototype.forEach=function(g,v){for(var N in this.map)this.map.hasOwnProperty(N)&&g.call(v,this.map[N],N,this)},h.prototype.keys=function(){var g=[];return this.forEach(function(v,N){g.push(N)}),u(g)},h.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),u(g)},h.prototype.entries=function(){var g=[];return this.forEach(function(v,N){g.push([N,v])}),u(g)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(g){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}function y(g){return new Promise(function(v,N){g.onload=function(){v(g.result)},g.onerror=function(){N(g.error)}})}function b(g){var v=new FileReader,N=y(v);return v.readAsArrayBuffer(g),N}function x(g){var v=new FileReader,N=y(v);return v.readAsText(g),N}function E(g){for(var v=new Uint8Array(g),N=new Array(v.length),K=0;K<v.length;K++)N[K]=String.fromCharCode(v[K]);return N.join("")}function T(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(g){this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&i(g)?(this._bodyArrayBuffer=T(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||s(g))?this._bodyArrayBuffer=T(g):this._bodyText=g=Object.prototype.toString.call(g):this._bodyText="",this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(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(w)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(g){var v=g.toUpperCase();return k.indexOf(v)>-1?v:g}function S(g,v){v=v||{};var N=v.body;if(g instanceof S){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new h(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!N&&g._bodyInit!=null&&(N=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function w(g){var v=new FormData;return g.trim().split("&").forEach(function(N){if(N){var K=N.split("="),ue=K.shift().replace(/\+/g," "),Y=K.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ue),decodeURIComponent(Y))}}),v}function B(g){var v=new h,N=g.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(K){var ue=K.split(":"),Y=ue.shift().trim();if(Y){var Ho=ue.join(":").trim();v.append(Y,Ho)}}),v}I.call(S.prototype);function W(g,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new h(v.headers),this.url=v.url||"",this._initBody(g)}I.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},W.error=function(){var g=new W(null,{status:0,statusText:""});return g.type="error",g};var be=[301,302,303,307,308];W.redirect=function(g,v){if(be.indexOf(v)===-1)throw new RangeError("Invalid status code");return new W(null,{status:v,headers:{location:g}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,N){this.message=v,this.name=N;var K=Error(v);this.stack=K.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function q(g,v){return new Promise(function(N,K){var ue=new S(g,v);if(ue.signal&&ue.signal.aborted)return K(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function Ho(){Y.abort()}Y.onload=function(){var Jr={status:Y.status,statusText:Y.statusText,headers:B(Y.getAllResponseHeaders()||"")};Jr.url="responseURL"in Y?Y.responseURL:Jr.headers.get("X-Request-URL");var Oi="response"in Y?Y.response:Y.responseText;N(new W(Oi,Jr))},Y.onerror=function(){K(new TypeError("Network request failed"))},Y.ontimeout=function(){K(new TypeError("Network request failed"))},Y.onabort=function(){K(new r.DOMException("Aborted","AbortError"))},Y.open(ue.method,ue.url,!0),ue.credentials==="include"?Y.withCredentials=!0:ue.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&n.blob&&(Y.responseType="blob"),ue.headers.forEach(function(Jr,Oi){Y.setRequestHeader(Oi,Jr)}),ue.signal&&(ue.signal.addEventListener("abort",Ho),Y.onreadystatechange=function(){Y.readyState===4&&ue.signal.removeEventListener("abort",Ho)}),Y.send(typeof ue._bodyInit>"u"?null:ue._bodyInit)})}return q.polyfill=!0,t.fetch||(t.fetch=q,t.Headers=h,t.Request=S,t.Response=W),r.Headers=h,r.Request=S,r.Response=W,r.fetch=q,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:kf)});var Df=p(()=>{});var Uf,Bf,Ff,Wf,Hf,zf,jf,Vf,Kf,Gf,Zf,zr,qf,fi,Yf,jr,Vr,ge,Ul=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Uf||(Uf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Bf||(Bf={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Ff||(Ff={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Wf||(Wf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Hf||(Hf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(zf||(zf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(jf||(jf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Vf||(Vf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Kf||(Kf={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Gf||(Gf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Zf||(Zf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(zr||(zr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(qf||(qf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(fi||(fi={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Yf||(Yf={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(jr||(jr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Vr||(Vr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ge||(ge={}))});var Xf,Jf=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Xf||(Xf={}))});var SN,Qf=p(()=>{Ul();SN={[ge.PERSONAL_BOOK_SHARE_USER]:[ge.PERSONAL_BOOK_USER],[ge.HTML_EXPORT_USER]:[ge.PERSONAL_BOOK_USER],[ge.PDF_EXPORT_USER]:[ge.PERSONAL_BOOK_USER],[ge.KHUB_ADMIN]:[ge.CONTENT_PUBLISHER],[ge.ADMIN]:[ge.KHUB_ADMIN,ge.USERS_ADMIN,ge.PORTAL_ADMIN],[ge.DEVELOPER]:[ge.BETA_USER,ge.DEBUG_USER]}});var eh=p(()=>{});var wN,Bl=p(()=>{wN=qh(Mf(),1);Df();Ul();Jf();Qf();eh()});var th,rh=p(()=>{st();th=t=>t??ae});var oh=p(()=>{rh()});function nh(t){var e,r,n,i,a;return((i=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===fi.EXTERNAL}function hi(t){var e,r,n,i,a;if(nh(t))return(i=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case jr.MAP:return t.map.readerUrl;case jr.DOCUMENT:return t.document.viewerUrl;case jr.TOPIC:return t.topic.readerUrl}return""}function ih(t,e){return th(e&&nh(t)?"_blank":void 0)}var Kr,Fl=p(()=>{"use strict";Bl();oh();Kr=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var wy,Hl,zl=p(()=>{"use strict";U();wy={},Hl=_`
978
- `});var ah=p(()=>{"use strict"});var Ay,sh,lh=p(()=>{"use strict";$();Ay={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},sh=t=>yt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Ay})});var yi,ch=p(()=>{"use strict";Hr();yi=class extends ot{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0)}}});var dh,Fo,Gr,jl=p(()=>{"use strict";$();lh();Bl();ch();dh=t=>t.request.virtualField===zr.TITLE_ONLY&&t.request.scope===Vr.DOCUMENTS,Fo=class t extends Event{constructor(){super(t.eventName)}};Fo.eventName="search-context-clear-all-filters";Gr=class t{static build(e,r){return new t(sh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ye(10),this.searchDebouncer=new ye(100),this.suggestDebouncer=new ye(300),this.service=r??new yi}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(r){let i=a=>r.some(s=>s.lang==a);i(e)||(e=i(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(n=>n.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(zr.TITLE_ONLY),this.store.actions.setRequestScope(Vr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(zr.EVERYWHERE),this.store.actions.setRequestScope(Vr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return dh(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Fo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){let n=this.store.getState().request.filters,i={key:e,values:r,negative:!1},a=[...n.filter(s=>s.key!==e),i];this.setFilters(a)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=Cr(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof Rt)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Cr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof Rt)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function Ny(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}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[Vl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Vl]):this.dispatchEvent(new Kl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Vl,Ry([le()],r.prototype,"stateManager",void 0),r}var Ry,Kl,Vl,Te,Bt=p(()=>{"use strict";$();ee();ah();jl();Ry=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Kl=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Vl=Symbol("registerInterval");Te=class extends Ny(Re){}});var Se,bi,xi,vi,se,Gl=p(()=>{"use strict";U();ee();$();zl();Bt();Hr();Pl();Se=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bi=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},xi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},vi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},se=class extends Re{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Gr.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(F)}render(){return M`
977
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};qe.elementDefinitions={};qe.styles=xf;Bo([te()],qe.prototype,"editorMode",void 0);Bo([C()],qe.prototype,"context",void 0);Bo([C()],qe.prototype,"key",void 0);Bo([Oe([])],qe.prototype,"args",void 0);Bo([C()],qe.prototype,"defaultMessage",void 0)});var nt,Tf=p(()=>{"use strict";Hr();nt=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>Wr.resolveMessage(this.name,n,...i)})}}});var If=p(()=>{"use strict";ui()});var Lf=p(()=>{"use strict"});var it=p(()=>{"use strict";$();kl();Tf();ui();If();Ol();Lf();kl();z("ft-i18n")(qe)});var Mf=Gh(kf=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(y){return y&&a.indexOf(Object.prototype.toString.call(y))>-1};function l(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(y))throw new TypeError("Invalid character in header field name");return y.toLowerCase()}function c(y){return typeof y!="string"&&(y=String(y)),y}function u(y){var v={next:function(){var N=y.shift();return{done:N===void 0,value:N}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(y){this.map={},y instanceof h?y.forEach(function(v,N){this.append(N,v)},this):Array.isArray(y)?y.forEach(function(v){this.append(v[0],v[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}h.prototype.append=function(y,v){y=l(y),v=c(v);var N=this.map[y];this.map[y]=N?N+", "+v:v},h.prototype.delete=function(y){delete this.map[l(y)]},h.prototype.get=function(y){return y=l(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(l(y))},h.prototype.set=function(y,v){this.map[l(y)]=c(v)},h.prototype.forEach=function(y,v){for(var N in this.map)this.map.hasOwnProperty(N)&&y.call(v,this.map[N],N,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(v,N){y.push(N)}),u(y)},h.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),u(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(v,N){y.push([N,v])}),u(y)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(y){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}function g(y){return new Promise(function(v,N){y.onload=function(){v(y.result)},y.onerror=function(){N(y.error)}})}function b(y){var v=new FileReader,N=g(v);return v.readAsArrayBuffer(y),N}function x(y){var v=new FileReader,N=g(v);return v.readAsText(y),N}function E(y){for(var v=new Uint8Array(y),N=new Array(v.length),K=0;K<v.length;K++)N[K]=String.fromCharCode(v[K]);return N.join("")}function T(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(y){this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:n.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:n.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():n.arrayBuffer&&n.blob&&i(y)?(this._bodyArrayBuffer=T(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||s(y))?this._bodyArrayBuffer=T(y):this._bodyText=y=Object.prototype.toString.call(y):this._bodyText="",this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(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(w)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(y){var v=y.toUpperCase();return k.indexOf(v)>-1?v:y}function S(y,v){v=v||{};var N=v.body;if(y instanceof S){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!N&&y._bodyInit!=null&&(N=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function w(y){var v=new FormData;return y.trim().split("&").forEach(function(N){if(N){var K=N.split("="),ue=K.shift().replace(/\+/g," "),Y=K.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ue),decodeURIComponent(Y))}}),v}function B(y){var v=new h,N=y.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(K){var ue=K.split(":"),Y=ue.shift().trim();if(Y){var Ho=ue.join(":").trim();v.append(Y,Ho)}}),v}I.call(S.prototype);function W(y,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new h(v.headers),this.url=v.url||"",this._initBody(y)}I.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},W.error=function(){var y=new W(null,{status:0,statusText:""});return y.type="error",y};var be=[301,302,303,307,308];W.redirect=function(y,v){if(be.indexOf(v)===-1)throw new RangeError("Invalid status code");return new W(null,{status:v,headers:{location:y}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,N){this.message=v,this.name=N;var K=Error(v);this.stack=K.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function q(y,v){return new Promise(function(N,K){var ue=new S(y,v);if(ue.signal&&ue.signal.aborted)return K(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function Ho(){Y.abort()}Y.onload=function(){var Jr={status:Y.status,statusText:Y.statusText,headers:B(Y.getAllResponseHeaders()||"")};Jr.url="responseURL"in Y?Y.responseURL:Jr.headers.get("X-Request-URL");var Oi="response"in Y?Y.response:Y.responseText;N(new W(Oi,Jr))},Y.onerror=function(){K(new TypeError("Network request failed"))},Y.ontimeout=function(){K(new TypeError("Network request failed"))},Y.onabort=function(){K(new r.DOMException("Aborted","AbortError"))},Y.open(ue.method,ue.url,!0),ue.credentials==="include"?Y.withCredentials=!0:ue.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&n.blob&&(Y.responseType="blob"),ue.headers.forEach(function(Jr,Oi){Y.setRequestHeader(Oi,Jr)}),ue.signal&&(ue.signal.addEventListener("abort",Ho),Y.onreadystatechange=function(){Y.readyState===4&&ue.signal.removeEventListener("abort",Ho)}),Y.send(typeof ue._bodyInit>"u"?null:ue._bodyInit)})}return q.polyfill=!0,t.fetch||(t.fetch=q,t.Headers=h,t.Request=S,t.Response=W),r.Headers=h,r.Request=S,r.Response=W,r.fetch=q,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:kf)});var Df=p(()=>{});var Uf,Bf,Ff,Wf,Hf,zf,jf,Vf,Kf,Gf,Zf,zr,qf,fi,Yf,jr,Vr,ye,Ul=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Uf||(Uf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Bf||(Bf={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Ff||(Ff={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Wf||(Wf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Hf||(Hf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(zf||(zf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(jf||(jf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Vf||(Vf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Kf||(Kf={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Gf||(Gf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Zf||(Zf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(zr||(zr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(qf||(qf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(fi||(fi={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Yf||(Yf={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(jr||(jr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Vr||(Vr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ye||(ye={}))});var Xf,Jf=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Xf||(Xf={}))});var SN,Qf=p(()=>{Ul();SN={[ye.PERSONAL_BOOK_SHARE_USER]:[ye.PERSONAL_BOOK_USER],[ye.HTML_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.PDF_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.KHUB_ADMIN]:[ye.CONTENT_PUBLISHER],[ye.ADMIN]:[ye.KHUB_ADMIN,ye.USERS_ADMIN,ye.PORTAL_ADMIN],[ye.DEVELOPER]:[ye.BETA_USER,ye.DEBUG_USER]}});var eh=p(()=>{});var wN,Bl=p(()=>{wN=qh(Mf(),1);Df();Ul();Jf();Qf();eh()});var th,rh=p(()=>{st();th=t=>t??ae});var oh=p(()=>{rh()});function nh(t){var e,r,n,i,a;return((i=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===fi.EXTERNAL}function hi(t){var e,r,n,i,a;if(nh(t))return(i=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case jr.MAP:return t.map.readerUrl;case jr.DOCUMENT:return t.document.viewerUrl;case jr.TOPIC:return t.topic.readerUrl}return""}function ih(t,e){return th(e&&nh(t)?"_blank":void 0)}var Kr,Fl=p(()=>{"use strict";Bl();oh();Kr=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var wg,Hl,zl=p(()=>{"use strict";U();wg={},Hl=_`
978
+ `});var ah=p(()=>{"use strict"});var Ag,sh,lh=p(()=>{"use strict";$();Ag={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},sh=t=>gt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Ag})});var gi,ch=p(()=>{"use strict";Hr();gi=class extends ot{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0)}}});var dh,Fo,Gr,jl=p(()=>{"use strict";$();lh();Bl();ch();dh=t=>t.request.virtualField===zr.TITLE_ONLY&&t.request.scope===Vr.DOCUMENTS,Fo=class t extends Event{constructor(){super(t.eventName)}};Fo.eventName="search-context-clear-all-filters";Gr=class t{static build(e,r){return new t(sh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ge(10),this.searchDebouncer=new ge(100),this.suggestDebouncer=new ge(300),this.service=r??new gi}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(r){let i=a=>r.some(s=>s.lang==a);i(e)||(e=i(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(n=>n.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(zr.TITLE_ONLY),this.store.actions.setRequestScope(Vr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(zr.EVERYWHERE),this.store.actions.setRequestScope(Vr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return dh(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Fo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){let n=this.store.getState().request.filters,i={key:e,values:r,negative:!1},a=[...n.filter(s=>s.key!==e),i];this.setFilters(a)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=Cr(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof Rt)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Cr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof Rt)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function Ng(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}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[Vl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Vl]):this.dispatchEvent(new Kl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Vl,Rg([le()],r.prototype,"stateManager",void 0),r}var Rg,Kl,Vl,Te,Bt=p(()=>{"use strict";$();ee();ah();jl();Rg=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Kl=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Vl=Symbol("registerInterval");Te=class extends Ng(Re){}});var Se,bi,xi,vi,se,Gl=p(()=>{"use strict";U();ee();$();zl();Bt();Hr();Pl();Se=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bi=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},xi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},vi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},se=class extends Re{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Gr.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(F)}render(){return M`
979
979
  <slot @register-ft-search-component=${this.registerComponent}></slot>
980
- `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(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("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new xi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new vi(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new bi(e))}reloadSavedSearches(){Ef.clearMySearches()}clear(){this.stateManager.clear()}};se.elementDefinitions={};se.styles=Hl;Se([te({store:F.name})],se.prototype,"session",void 0);Se([C()],se.prototype,"query",void 0);Se([C()],se.prototype,"contentLocale",void 0);Se([C({type:Number})],se.prototype,"pageSize",void 0);Se([C({type:Boolean})],se.prototype,"searchInDocumentTitlesOnly",void 0);Se([C()],se.prototype,"periodFilter",void 0);Se([C()],se.prototype,"scope",void 0);Se([C()],se.prototype,"virtualField",void 0);Se([C({type:Boolean})],se.prototype,"ignoreEmptyQuery",void 0);Se([te({store:F.name})],se.prototype,"openExternalDocumentInNewTab",void 0);Se([Oe([])],se.prototype,"filters",void 0);Se([Oe([])],se.prototype,"sort",void 0);Se([te({store:"search"})],se.prototype,"request",void 0);Se([te({store:"search"})],se.prototype,"paging",void 0);Se([te({store:"search",selector:t=>t.spellcheck})],se.prototype,"autocorrect",void 0);Se([C({attribute:!1})],se.prototype,"searchServiceProvider",void 0)});var uh=p(()=>{"use strict"});var ph={};G(ph,{ClearAllFiltersEvent:()=>Fo,FtSearchContext:()=>se,FtSearchContextCssVariables:()=>wy,FtSearchStateManager:()=>Gr,LoadErrorEvent:()=>bi,SearchRequestChangeEvent:()=>xi,SearchResultsChangeEvent:()=>vi,searchInDocumentTitlesOnlySelector:()=>dh,styles:()=>Hl});var fh=p(()=>{"use strict";$();Gl();zl();uh();Gl();jl();z("ft-search-context")(se)});var Wo,hh=p(()=>{"use strict";it();Wo=nt.build("designedSearchInput")});var mh,gh=p(()=>{"use strict";U();Mo();mh=_`
980
+ `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(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("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter({key:"ft:lastEdition",periodType:this.periodFilter}),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new xi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new vi(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new bi(e))}reloadSavedSearches(){Ef.clearMySearches()}clear(){this.stateManager.clear()}};se.elementDefinitions={};se.styles=Hl;Se([te({store:F.name})],se.prototype,"session",void 0);Se([C()],se.prototype,"query",void 0);Se([C()],se.prototype,"contentLocale",void 0);Se([C({type:Number})],se.prototype,"pageSize",void 0);Se([C({type:Boolean})],se.prototype,"searchInDocumentTitlesOnly",void 0);Se([C()],se.prototype,"periodFilter",void 0);Se([C()],se.prototype,"scope",void 0);Se([C()],se.prototype,"virtualField",void 0);Se([C({type:Boolean})],se.prototype,"ignoreEmptyQuery",void 0);Se([te({store:F.name})],se.prototype,"openExternalDocumentInNewTab",void 0);Se([Oe([])],se.prototype,"filters",void 0);Se([Oe([])],se.prototype,"sort",void 0);Se([te({store:"search"})],se.prototype,"request",void 0);Se([te({store:"search"})],se.prototype,"paging",void 0);Se([te({store:"search",selector:t=>t.spellcheck})],se.prototype,"autocorrect",void 0);Se([C({attribute:!1})],se.prototype,"searchServiceProvider",void 0)});var uh=p(()=>{"use strict"});var ph={};G(ph,{ClearAllFiltersEvent:()=>Fo,FtSearchContext:()=>se,FtSearchContextCssVariables:()=>wg,FtSearchStateManager:()=>Gr,LoadErrorEvent:()=>bi,SearchRequestChangeEvent:()=>xi,SearchResultsChangeEvent:()=>vi,searchInDocumentTitlesOnlySelector:()=>dh,styles:()=>Hl});var fh=p(()=>{"use strict";$();Gl();zl();uh();Gl();jl();z("ft-search-context")(se)});var Wo,hh=p(()=>{"use strict";it();Wo=nt.build("designedSearchInput")});var mh,yh=p(()=>{"use strict";U();Mo();mh=_`
981
981
  * {
982
982
  box-sizing: border-box;
983
983
  }
@@ -1019,7 +1019,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1019
1019
  flex-grow: 1;
1020
1020
  flex-shrink: 1;
1021
1021
  }
1022
- `});var yh,Zl,pr,bh=p(()=>{"use strict";$();U();ee();gh();hn();Yn();Gn();xt();Bt();yh=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Zl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},pr=class extends Te{render(){return M`
1022
+ `});var gh,Zl,pr,bh=p(()=>{"use strict";$();U();ee();yh();hn();Yn();Gn();xt();Bt();gh=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Zl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},pr=class extends Te{render(){return M`
1023
1023
  <div class="ft-search-input-suggestion ft-word-wrap"
1024
1024
  part="container"
1025
1025
  @keydown=${e=>this.onSuggestKeyDown(e)}>
@@ -1037,7 +1037,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1037
1037
  </div>
1038
1038
  `}onSuggestKeyDown(e){var r,n,i,a,s,l;switch(e.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),this.dispatchEvent(new Zl(r))}getIcon(e){let r=e.type==="DOCUMENT"?Me.file_format:Me.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Ut.BOOK:Ut.ARTICLE;break;case"DOCUMENT":n=uf(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Ut.TOPICS;break}return M`
1039
1039
  <ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
1040
- `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};pr.elementDefinitions={"ft-ripple":ne,"ft-typography":pe,"ft-icon":Pe};pr.styles=[ds,mh];yh([te()],pr.prototype,"suggestResults",void 0);pr=yh([Hi("ft-search-input-suggestion")],pr)});var Zr,Be,ql=p(()=>{"use strict";U();$();Mo();Bt();it();hh();ee();vr();bh();Qn();xt();Zr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Be=class extends We(Te){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Wo)}render(){var e,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return M`
1040
+ `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};pr.elementDefinitions={"ft-ripple":ne,"ft-typography":pe,"ft-icon":Pe};pr.styles=[ds,mh];gh([te()],pr.prototype,"suggestResults",void 0);pr=gh([Hi("ft-search-input-suggestion")],pr)});var Zr,Be,ql=p(()=>{"use strict";U();$();Mo();Bt();it();hh();ee();vr();bh();Qn();xt();Zr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Be=class extends We(Te){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Wo)}render(){var e,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return M`
1041
1041
  <div class="${dt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
1042
1042
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1043
1043
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -1075,12 +1075,12 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1075
1075
  ></ft-button>
1076
1076
  </div>
1077
1077
  </div>
1078
- `}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Be.elementDefinitions={"ft-search-input-suggestion":pr,"ft-button":Ue};Be.styles=[Vn,us,xl];Zr([te()],Be.prototype,"request",void 0);Zr([te()],Be.prototype,"liveQuery",void 0);Zr([te()],Be.prototype,"suggestResults",void 0);Zr([le()],Be.prototype,"forceCloseSuggestion",void 0);Zr([me(".ft-search-input--input")],Be.prototype,"input",void 0);Zr([me("ft-search-input-suggestion")],Be.prototype,"suggestion",void 0)});var xh=p(()=>{"use strict"});var vh={};G(vh,{FtSearchInput:()=>Be,FtSearchInputCssVariables:()=>re,styles:()=>xl});var Sh=p(()=>{"use strict";$();ql();Mo();xh();ql();z("ft-search-input")(Be)});var _y,Yl,Xl=p(()=>{"use strict";U();_y={},Yl=_`
1078
+ `}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Be.elementDefinitions={"ft-search-input-suggestion":pr,"ft-button":Ue};Be.styles=[Vn,us,xl];Zr([te()],Be.prototype,"request",void 0);Zr([te()],Be.prototype,"liveQuery",void 0);Zr([te()],Be.prototype,"suggestResults",void 0);Zr([le()],Be.prototype,"forceCloseSuggestion",void 0);Zr([me(".ft-search-input--input")],Be.prototype,"input",void 0);Zr([me("ft-search-input-suggestion")],Be.prototype,"suggestion",void 0)});var xh=p(()=>{"use strict"});var vh={};G(vh,{FtSearchInput:()=>Be,FtSearchInputCssVariables:()=>re,styles:()=>xl});var Sh=p(()=>{"use strict";$();ql();Mo();xh();ql();z("ft-search-input")(Be)});var _g,Yl,Xl=p(()=>{"use strict";U();_g={},Yl=_`
1079
1079
  `});var Jl,Oh=p(()=>{"use strict";it();Jl=nt.fromGwt("designedActionBlockAriaLabels")});var Ch,St,Ql=p(()=>{"use strict";U();$();Xl();Qn();Bt();it();Oh();Ch=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},St=class extends We(Te){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Jl)}render(){return this.isLastPage?H:M`
1080
1080
  <ft-button @click="${this.loadMore}">
1081
1081
  ${Jl.messages.searchPageLoadMore()}
1082
1082
  </ft-button>
1083
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};St.elementDefinitions={"ft-button":Ue};St.styles=Yl;Ch([te({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],St.prototype,"currentPage",void 0);Ch([te({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],St.prototype,"isLastPage",void 0)});var Eh=p(()=>{"use strict"});var wh={};G(wh,{FtSearchLoadMoreButton:()=>St,FtSearchLoadMoreButtonCssVariables:()=>_y,styles:()=>Yl});var Ah=p(()=>{"use strict";$();Ql();Xl();Eh();Ql();z("ft-search-load-more-button")(St)});function Py(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[tc]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[tc]):this.dispatchEvent(new rc)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=tc,ec([C({attribute:!1})],r.prototype,"cluster",void 0),ec([C({attribute:!1})],r.prototype,"result",void 0),ec([C({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var ec,rc,tc,qr,oc=p(()=>{"use strict";Bt();ee();ec=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},rc=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},tc=Symbol("registerInterval");qr=class extends Py(Te){}});var fr,nc=p(()=>{"use strict";U();oc();ti();mo();xt();fr=class extends qr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?M`
1083
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};St.elementDefinitions={"ft-button":Ue};St.styles=Yl;Ch([te({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],St.prototype,"currentPage",void 0);Ch([te({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],St.prototype,"isLastPage",void 0)});var Eh=p(()=>{"use strict"});var wh={};G(wh,{FtSearchLoadMoreButton:()=>St,FtSearchLoadMoreButtonCssVariables:()=>_g,styles:()=>Yl});var Ah=p(()=>{"use strict";$();Ql();Xl();Eh();Ql();z("ft-search-load-more-button")(St)});function Pg(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[tc]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[tc]):this.dispatchEvent(new rc)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=tc,ec([C({attribute:!1})],r.prototype,"cluster",void 0),ec([C({attribute:!1})],r.prototype,"result",void 0),ec([C({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var ec,rc,tc,qr,oc=p(()=>{"use strict";Bt();ee();ec=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},rc=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},tc=Symbol("registerInterval");qr=class extends Pg(Te){}});var fr,nc=p(()=>{"use strict";U();oc();ti();mo();xt();fr=class extends qr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?M`
1084
1084
  <ft-typography variant="body1" part="text">${er(e)}</ft-typography>
1085
1085
  `:M`
1086
1086
  <style>
@@ -1092,7 +1092,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1092
1092
  <a href="${this.result?hi(this.result):""}" @click=${this.onResultClick} target="${ih(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}">
1093
1093
  <ft-typography variant="title" part="text">${er(this.selectTitle(this.result))}</ft-typography>
1094
1094
  </a>
1095
- `:H}onResultClick(){this.dispatchEvent(new Kr(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){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};hr.elementDefinitions={"ft-typography":pe};hr.styles=Sl});var _h=p(()=>{"use strict"});var Ph={};G(Ph,{FtSearchResultTitle:()=>hr,FtSearchResultTitleCssVariables:()=>ri,styles:()=>Sl});var sc=p(()=>{"use strict";$();ac();oi();_h();ac();z("ft-search-result-title")(hr)});var Ty,lc,cc=p(()=>{"use strict";U();Ty={},lc=_`
1095
+ `:H}onResultClick(){this.dispatchEvent(new Kr(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){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};hr.elementDefinitions={"ft-typography":pe};hr.styles=Sl});var _h=p(()=>{"use strict"});var Ph={};G(Ph,{FtSearchResultTitle:()=>hr,FtSearchResultTitleCssVariables:()=>ri,styles:()=>Sl});var sc=p(()=>{"use strict";$();ac();oi();_h();ac();z("ft-search-result-title")(hr)});var Tg,lc,cc=p(()=>{"use strict";U();Tg={},lc=_`
1096
1096
  [part="no-results-message"] {
1097
1097
  text-align: center;
1098
1098
  padding: 12px;
@@ -1114,13 +1114,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1114
1114
  @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
1115
1115
  ${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],n)}
1116
1116
  </ft-search-result-context>
1117
- `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.request&&this.request.paging.page===1?n.slice(0,this.request.paging.perPage):n}clusterId(e){var r,n,i,a,s;return(a=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};ze.styles=lc;Xr([C({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Xr([C({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Xr([C({attribute:!1})],ze.prototype,"renderResult",void 0);Xr([Oe([])],ze.prototype,"clusterSortCriterion",void 0);Xr([te()],ze.prototype,"request",void 0);Xr([te()],ze.prototype,"results",void 0)});var Mh=p(()=>{"use strict"});var Dh={};G(Dh,{FtSearchResults:()=>ze,FtSearchResultsCssVariables:()=>Ty,styles:()=>lc});var Uh=p(()=>{"use strict";$();mc();cc();Mh();mc();z("ft-search-results")(ze)});var Iy,gc,yc=p(()=>{"use strict";U();Iy={},gc=_`
1117
+ `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.request&&this.request.paging.page===1?n.slice(0,this.request.paging.perPage):n}clusterId(e){var r,n,i,a,s;return(a=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};ze.styles=lc;Xr([C({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Xr([C({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Xr([C({attribute:!1})],ze.prototype,"renderResult",void 0);Xr([Oe([])],ze.prototype,"clusterSortCriterion",void 0);Xr([te()],ze.prototype,"request",void 0);Xr([te()],ze.prototype,"results",void 0)});var Mh=p(()=>{"use strict"});var Dh={};G(Dh,{FtSearchResults:()=>ze,FtSearchResultsCssVariables:()=>Tg,styles:()=>lc});var Uh=p(()=>{"use strict";$();mc();cc();Mh();mc();z("ft-search-results")(ze)});var Ig,yc,gc=p(()=>{"use strict";U();Ig={},yc=_`
1118
1118
 
1119
- `});var Ly,Ft,bc=p(()=>{"use strict";U();$();yc();Bt();it();hc();xt();Ly=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ft=class extends We(Te){constructor(){super(),this.addI18nContext(Yr,kh)}render(){return this.paging==null?H:M`
1119
+ `});var Lg,Ft,bc=p(()=>{"use strict";U();$();gc();Bt();it();hc();xt();Lg=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ft=class extends We(Te){constructor(){super(),this.addI18nContext(Yr,kh)}render(){return this.paging==null?H:M`
1120
1120
  <ft-typography variant="body1">
1121
1121
  ${Yr.messages.results(this.paging.totalClustersCount)}
1122
1122
  </ft-typography>
1123
- `}};Ft.elementDefinitions={"ft-typography":pe};Ft.styles=gc;Ly([te()],Ft.prototype,"paging",void 0)});var Bh=p(()=>{"use strict"});var Fh={};G(Fh,{FtSearchResultsNumber:()=>Ft,FtSearchResultsNumberCssVariables:()=>Iy,styles:()=>gc});var Wh=p(()=>{"use strict";$();bc();yc();Bh();bc();z("ft-search-results-number")(Ft)});$();U();$();U();$();U();$();cr();var J={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",L.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",L.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",L.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","",L.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","",L.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",L.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",L.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",L.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",L.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",L.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",L.elevation04)},kp=_`
1123
+ `}};Ft.elementDefinitions={"ft-typography":pe};Ft.styles=yc;Lg([te()],Ft.prototype,"paging",void 0)});var Bh=p(()=>{"use strict"});var Fh={};G(Fh,{FtSearchResultsNumber:()=>Ft,FtSearchResultsNumberCssVariables:()=>Ig,styles:()=>yc});var Wh=p(()=>{"use strict";$();bc();gc();Bh();bc();z("ft-search-results-number")(Ft)});$();U();$();U();$();U();$();cr();var J={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",L.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",L.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",L.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","",L.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","",L.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",L.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",L.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",L.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",L.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",L.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",L.elevation04)},kp=_`
1124
1124
  :host {
1125
1125
  display: block;
1126
1126
  }
@@ -1198,7 +1198,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1198
1198
  #action {
1199
1199
  grid-area: actions;
1200
1200
  }
1201
- `;Mo();ti();cr();oi();var ve={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",L.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",L.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",L.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",L.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",L.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",L.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",L.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",L.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",L.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",L.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",L.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",L.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",L.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",L.colorPrimary)},yf=_`
1201
+ `;Mo();ti();cr();oi();var ve={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",L.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",L.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",L.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",L.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",L.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",L.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",L.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",L.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",L.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",L.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",L.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",L.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",L.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",L.colorPrimary)},gf=_`
1202
1202
  .ft-search-in-doc--container {
1203
1203
  display: flex;
1204
1204
  flex-direction: column;
@@ -1265,7 +1265,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1265
1265
  text-decoration: none;
1266
1266
  color: inherit;
1267
1267
  }
1268
- `;it();$();ee();var $f;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})($f||($f={}));var Cy=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Dl=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ml=Symbol("registerInterval");function Ey(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[Ml]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ml]):this.dispatchEvent(new Dl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ml,Cy([le()],r.prototype,"stateManager",void 0),r}var pi=class extends Ey(Re){};ee();Fl();var mi=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};it();var Wl=nt.build("designedReaderSearchInDocument");$();U();ee();$();Gn();xt();vr();var gi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},He=class extends Z{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return M`
1268
+ `;it();$();ee();var $f;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})($f||($f={}));var Cg=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Dl=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ml=Symbol("registerInterval");function Eg(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[Ml]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ml]):this.dispatchEvent(new Dl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ml,Cg([le()],r.prototype,"stateManager",void 0),r}var pi=class extends Eg(Re){};ee();Fl();var mi=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};it();var Wl=nt.build("designedReaderSearchInDocument");$();U();ee();$();Gn();xt();vr();var yi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},He=class extends Z{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return M`
1269
1269
  <div id="container" part="container" class=${dt(e)}>
1270
1270
  ${this.clickable?M`
1271
1271
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -1283,7 +1283,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1283
1283
  </ft-typography>
1284
1284
  </div>
1285
1285
  </div>
1286
- `}};He.elementDefinitions={"ft-ripple":ne,"ft-typography":pe};He.styles=kp;gi([C()],He.prototype,"title",void 0);gi([C({type:Boolean})],He.prototype,"clickable",void 0);gi([C({type:Boolean})],He.prototype,"selected",void 0);gi([C({type:Boolean})],He.prototype,"noHeader",void 0);z("ft-card")(He);var Wt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ie=class t extends We(pi){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(Wl)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(e,r){var n;return M`
1286
+ `}};He.elementDefinitions={"ft-ripple":ne,"ft-typography":pe};He.styles=kp;yi([C()],He.prototype,"title",void 0);yi([C({type:Boolean})],He.prototype,"clickable",void 0);yi([C({type:Boolean})],He.prototype,"selected",void 0);yi([C({type:Boolean})],He.prototype,"noHeader",void 0);z("ft-card")(He);var Wt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ie=class t extends We(pi){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(Wl)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(e,r){var n;return M`
1287
1287
  <style> ${bf}</style>
1288
1288
  <a href="${hi(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1289
1289
  <ft-card clickable noheader>
@@ -1323,7 +1323,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1323
1323
  </slot>
1324
1324
  </div>
1325
1325
  </ft-search-context>
1326
- `:H}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new Kr(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(fh(),ph)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Sh(),vh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Ah(),wh)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(ic(),Nh)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(sc(),Ph)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Uh(),Dh)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Wh(),Fh)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Ie.elementDefinitions={"ft-card":He};Ie.styles=yf;Wt([te()],Ie.prototype,"map",void 0);Wt([te()],Ie.prototype,"searchInDocumentQuery",void 0);Wt([me("ft-search-context")],Ie.prototype,"searchContext",void 0);Wt([me("ft-search-results")],Ie.prototype,"searchResults",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultTitle",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultBreadcrumb",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultAbstract",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultsNumber",void 0);z("ft-reader-search-in-document")(Ie);})();
1326
+ `:H}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new Kr(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(fh(),ph)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Sh(),vh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Ah(),wh)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(ic(),Nh)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(sc(),Ph)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Uh(),Dh)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Wh(),Fh)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Ie.elementDefinitions={"ft-card":He};Ie.styles=gf;Wt([te()],Ie.prototype,"map",void 0);Wt([te()],Ie.prototype,"searchInDocumentQuery",void 0);Wt([me("ft-search-context")],Ie.prototype,"searchContext",void 0);Wt([me("ft-search-results")],Ie.prototype,"searchResults",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultTitle",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultBreadcrumb",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultAbstract",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultsNumber",void 0);z("ft-reader-search-in-document")(Ie);})();
1327
1327
  /*! Bundled license information:
1328
1328
 
1329
1329
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: