@fluid-topics/ft-reader-search-in-document 1.2.27 → 1.2.29

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,13 +1,13 @@
1
- "use strict";(()=>{var Lm=Object.create;var Gi=Object.defineProperty;var Im=Object.getOwnPropertyDescriptor;var $m=Object.getOwnPropertyNames;var km=Object.getPrototypeOf,Mm=Object.prototype.hasOwnProperty;var h=(t,e)=>()=>(t&&(e=t(t=0)),e);var Dm=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Y=(t,e)=>{for(var r in e)Gi(t,r,{get:e[r],enumerable:!0})},Bm=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $m(e))!Mm.call(t,i)&&i!==r&&Gi(t,i,{get:()=>e[i],enumerable:!(n=Im(e,i))||n.enumerable});return t};var Um=(t,e,r)=>(r=t!=null?Lm(km(t)):{},Bm(e||!t||!t.__esModule?Gi(r,"default",{value:t,enumerable:!0}):r,t));var ed=h(()=>{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,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,C){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=C.prototype.attributeChangedCallback,M=new Set(C.observedAttributes||[]);g(C,M,R);let z={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:M};this._definitionsByTag.set(A,z),this._definitionsByClass.set(C,z);let Q=r.call(n,A);Q||(Q=f(A),e.call(n,A,Q)),this===window.customElements&&(s.set(C,z),z.standInClass=Q);let q=this._awaitingUpgrade.get(A);if(q){this._awaitingUpgrade.delete(A);for(let y of q)a.delete(y),v(y,z,!0)}let U=this._whenDefinedPromises.get(A);return U!==void 0&&(U.resolve(C),this._whenDefinedPromises.delete(A)),C}upgrade(){P.push(this),n.upgrade.apply(n,arguments),P.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let C=this._getDefinition(A);if(C!==void 0)return Promise.resolve(C.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(M=>R.resolve=M),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,C,R){let M=this._awaitingUpgrade.get(C);M||this._awaitingUpgrade.set(C,M=new Set),R?M.add(A):M.delete(A)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),i.set(C,R),C},window.HTMLElement.prototype=t.prototype;let u=A=>A===document||A instanceof ShadowRoot,m=A=>{let C=A.getRootNode();if(!u(C)){let R=P[P.length-1];if(R instanceof CustomElementRegistry)return R;C=R.getRootNode(),u(C)||(C=c.get(C)?.getRootNode()||document)}return C.customElements},f=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let M=m(R)||window.customElements,z=M._getDefinition(A);return z?v(R,z):a.set(R,M),R}connectedCallback(){let R=i.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=i.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=i.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=i.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=i.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=i.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,C,R)=>{if(C.size===0||R===void 0)return;let M=A.prototype.setAttribute;M&&(A.prototype.setAttribute=function(q,U){let y=q.toLowerCase();if(C.has(y)){let S=this.getAttribute(y);M.call(this,y,U),R.call(this,y,S,U)}else M.call(this,y,U)});let z=A.prototype.removeAttribute;z&&(A.prototype.removeAttribute=function(q){let U=q.toLowerCase();if(C.has(U)){let y=this.getAttribute(U);z.call(this,U),R.call(this,U,y,null)}else z.call(this,U)});let Q=A.prototype.toggleAttribute;Q&&(A.prototype.toggleAttribute=function(q,U){let y=q.toLowerCase();if(C.has(y)){let S=this.getAttribute(y);Q.call(this,y,U);let D=this.getAttribute(y);R.call(this,y,S,D)}else Q.call(this,y,U)})},x=A=>{let C=Object.getPrototypeOf(A);if(C!==window.HTMLElement)return C===t?Object.setPrototypeOf(A,window.HTMLElement):x(C)},v=(A,C,R=!1)=>{Object.setPrototypeOf(A,C.elementClass.prototype),i.set(A,C),d=A;try{new C.elementClass}catch{x(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(M=>{A.hasAttribute(M)&&C.attributeChangedCallback.call(A,M,null,A.getAttribute(M))}),R&&C.connectedCallback&&A.isConnected&&C.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let C=E.apply(this,arguments);return A.customElements&&(C.customElements=A.customElements),C};let P=[document],T=(A,C,R=void 0)=>{let M=(R?Object.getPrototypeOf(R):A.prototype)[C];A.prototype[C]=function(){P.push(this);let z=M.apply(R||this,arguments);return z!==void 0&&c.set(z,this),P.pop(),z}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let I=(A,C)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,C);Object.defineProperty(A.prototype,C,{...R,set(M){P.push(this),R.set.call(this,M),P.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,C=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...q){let U=C.call(this,...q);return A.set(U,this),U},R.forEach(q=>{let U=window.ElementInternals.prototype,y=U[q];U[q]=function(...S){let D=A.get(this);if(i.get(D).formAssociated===!0)return y?.call(this,...S);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class M extends Array{constructor(U){super(...U),this._elements=U}get value(){return this._elements.find(U=>U.checked===!0)?.value||""}}class z{constructor(U){let y=new Map;U.forEach((S,D)=>{let K=S.getAttribute("name"),J=y.get(K)||[];this[+D]=S,J.push(S),y.set(K,J)}),this.length=U.length,y.forEach((S,D)=>{S&&(S.length===1?this[D]=S[0]:this[D]=new M(S))})}namedItem(U){return this[U]}}let Q=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let q=Q.get.call(this,[]),U=[];for(let y of q){let S=i.get(y);(!S||S.formAssociated===!0)&&U.push(y)}return new z(U)}})}}});var td=h(()=>{"use strict";ed();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 ln,un,od,rd,dn,nd,Ki,pn,Zi=h(()=>{ln=globalThis,un=ln.ShadowRoot&&(ln.ShadyCSS===void 0||ln.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,od=Symbol(),rd=new WeakMap,dn=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==od)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(un&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=rd.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&rd.set(r,e))}return e}toString(){return this.cssText}},nd=t=>new dn(typeof t=="string"?t:t+"",void 0,od),Ki=(t,e)=>{if(un)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=ln.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},pn=un?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return nd(r)})(t):t});var Fm,Wm,Hm,zm,jm,Vm,fn,id,Gm,Km,mo,yo,hn,ad,Jt,qi=h(()=>{Zi();Zi();({is:Fm,defineProperty:Wm,getOwnPropertyDescriptor:Hm,getOwnPropertyNames:zm,getOwnPropertySymbols:jm,getPrototypeOf:Vm}=Object),fn=globalThis,id=fn.trustedTypes,Gm=id?id.emptyScript:"",Km=fn.reactiveElementPolyfillSupport,mo=(t,e)=>t,yo={toAttribute(t,e){switch(e){case Boolean:t=t?Gm: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}},hn=(t,e)=>!Fm(t,e),ad={attribute:!0,type:String,converter:yo,reflect:!1,hasChanged:hn};Symbol.metadata??=Symbol("metadata"),fn.litPropertyMetadata??=new WeakMap;Jt=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=ad){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&&Wm(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Hm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ad}static _$Ei(){if(this.hasOwnProperty(mo("elementProperties")))return;let e=Vm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(mo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(mo("properties"))){let r=this.properties,n=[...zm(r),...jm(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(pn(i))}else e!==void 0&&r.push(pn(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 Ki(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:yo).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:yo;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??hn)(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){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[mo("elementProperties")]=new Map,Jt[mo("finalized")]=new Map,Km?.({ReactiveElement:Jt}),(fn.reactiveElementVersions??=[]).push("2.0.2")});function xd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return sd!==void 0?sd.createHTML(e):e}function or(t,e,r=t,n){if(e===De)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=bo(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=or(t,i._$AS(t,e.values),i,n)),e}var Qi,mn,sd,Xi,ft,Ji,Zm,rr,yn,bo,fd,hd,Yi,go,cd,ld,er,dd,ud,md,yd,gd,bd,De,fe,pd,tr,vd,xo,gn,vo,nr,bn,xn,vn,Sn,Sd,qm,ht=h(()=>{Qi=globalThis,mn=Qi.trustedTypes,sd=mn?mn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xi="$lit$",ft=`lit$${(Math.random()+"").slice(9)}$`,Ji="?"+ft,Zm=`<${Ji}>`,rr=document,yn=()=>rr.createComment(""),bo=t=>t===null||typeof t!="object"&&typeof t!="function",fd=Array.isArray,hd=t=>fd(t)||typeof t?.[Symbol.iterator]=="function",Yi=`[
2
- \f\r]`,go=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,cd=/-->/g,ld=/>/g,er=RegExp(`>|${Yi}(?:([^\\s"'>=/]+)(${Yi}*=${Yi}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),dd=/'/g,ud=/"/g,md=/^(?:script|style|textarea|title)$/i,yd=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),gd=yd(1),bd=yd(2),De=Symbol.for("lit-noChange"),fe=Symbol.for("lit-nothing"),pd=new WeakMap,tr=rr.createTreeWalker(rr,129);vd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=go;for(let c=0;c<r;c++){let d=t[c],u,m,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,m=s.exec(d),m!==null);)g=s.lastIndex,s===go?m[1]==="!--"?s=cd:m[1]!==void 0?s=ld:m[2]!==void 0?(md.test(m[2])&&(i=RegExp("</"+m[2],"g")),s=er):m[3]!==void 0&&(s=er):s===er?m[0]===">"?(s=i??go,f=-1):m[1]===void 0?f=-2:(f=s.lastIndex-m[2].length,u=m[1],s=m[3]===void 0?er:m[3]==='"'?ud:dd):s===ud||s===dd?s=er:s===cd||s===ld?s=go:(s=er,i=void 0);let x=s===er&&t[c+1].startsWith("/>")?" ":"";a+=s===go?d+Zm:f>=0?(n.push(u),d.slice(0,f)+Xi+d.slice(f)+ft+x):d+ft+(f===-2?c:x)}return[xd(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},xo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,m]=vd(e,r);if(this.el=t.createElement(u,n),tr.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=tr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Xi)){let g=m[s++],x=i.getAttribute(f).split(ft),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?bn:v[1]==="?"?xn:v[1]==="@"?vn:nr}),i.removeAttribute(f)}else f.startsWith(ft)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(md.test(i.tagName)){let f=i.textContent.split(ft),g=f.length-1;if(g>0){i.textContent=mn?mn.emptyScript:"";for(let x=0;x<g;x++)i.append(f[x],yn()),tr.nextNode(),d.push({type:2,index:++a});i.append(f[g],yn())}}}else if(i.nodeType===8)if(i.data===Ji)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ft,f+1))!==-1;)d.push({type:7,index:a}),f+=ft.length-1}a++}}static createElement(e,r){let n=rr.createElement("template");return n.innerHTML=e,n}};gn=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??rr).importNode(r,!0);tr.currentNode=i;let a=tr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new vo(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new Sn(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=tr.nextNode(),s++)}return tr.currentNode=rr,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++}},vo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=fe,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=or(this,e,r),bo(e)?e===fe||e==null||e===""?(this._$AH!==fe&&this._$AR(),this._$AH=fe):e!==this._$AH&&e!==De&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):hd(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!==fe&&bo(this._$AH)?this._$AA.nextSibling.data=e:this.$(rr.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=xo.createElement(xd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new gn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=pd.get(e.strings);return r===void 0&&pd.set(e.strings,r=new xo(e)),r}T(e){fd(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(yn()),this.k(yn()),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))}},nr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=fe,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=fe}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=or(this,e,r,0),s=!bo(e)||e!==this._$AH&&e!==De,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=or(this,c[n+d],r,d),u===De&&(u=this._$AH[d]),s||=!bo(u)||u!==this._$AH[d],u===fe?e=fe:e!==fe&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===fe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},bn=class extends nr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===fe?void 0:e}},xn=class extends nr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==fe)}},vn=class extends nr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=or(this,e,r,0)??fe)===De)return;let n=this._$AH,i=e===fe&&n!==fe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==fe&&(n===fe||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)}},Sn=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){or(this,e)}},Sd={j:Xi,P:ft,A:Ji,C:1,M:vd,L:gn,R:hd,V:or,D:vo,I:nr,H:xn,N:vn,U:bn,B:Sn},qm=Qi.litHtmlPolyfillSupport;qm?.(xo,vo),(Qi.litHtmlVersions??=[]).push("3.1.0")});var Cn,So,ea,Cd,_r,ir,L,On,Co,ta=h(()=>{Cn=globalThis,So=Cn.ShadowRoot&&(Cn.ShadyCSS===void 0||Cn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ea=Symbol(),Cd=new WeakMap,_r=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ea)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(So&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Cd.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Cd.set(r,e))}return e}toString(){return this.cssText}},ir=t=>new _r(typeof t=="string"?t:t+"",void 0,ea),L=(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 _r(r,t,ea)},On=(t,e)=>{if(So)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Cn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Co=So?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return ir(r)})(t):t});var Ym,Qm,Xm,Jm,ey,ty,wn,Od,ry,oy,Oo,En,ra,Ed,et,oa=h(()=>{ta();ta();({is:Ym,defineProperty:Qm,getOwnPropertyDescriptor:Xm,getOwnPropertyNames:Jm,getOwnPropertySymbols:ey,getPrototypeOf:ty}=Object),wn=globalThis,Od=wn.trustedTypes,ry=Od?Od.emptyScript:"",oy=wn.reactiveElementPolyfillSupport,Oo=(t,e)=>t,En={toAttribute(t,e){switch(e){case Boolean:t=t?ry: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}},ra=(t,e)=>!Ym(t,e),Ed={attribute:!0,type:String,converter:En,reflect:!1,hasChanged:ra};Symbol.metadata??=Symbol("metadata"),wn.litPropertyMetadata??=new WeakMap;et=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ed){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&&Qm(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Xm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ed}static _$Ei(){if(this.hasOwnProperty(Oo("elementProperties")))return;let e=ty(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Oo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Oo("properties"))){let r=this.properties,n=[...Jm(r),...ey(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(Co(i))}else e!==void 0&&r.push(Co(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:En).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:En;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??ra)(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){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[Oo("elementProperties")]=new Map,et[Oo("finalized")]=new Map,oy?.({ReactiveElement:et}),(wn.reactiveElementVersions??=[]).push("2.0.2")});function kd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return wd!==void 0?wd.createHTML(e):e}function lr(t,e,r=t,n){if(e===Tt)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Ao(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=lr(t,i._$AS(t,e.values),i,n)),e}var ia,An,wd,aa,mt,sa,ny,cr,wo,Ao,Td,Ld,na,Eo,Ad,Rd,ar,Nd,_d,Id,$d,B,iy,Tt,V,Pd,sr,Md,Ro,Rn,Pr,dr,Nn,_n,Pn,Tn,ay,sy,ca,la=h(()=>{ia=globalThis,An=ia.trustedTypes,wd=An?An.createPolicy("lit-html",{createHTML:t=>t}):void 0,aa="$lit$",mt=`lit$${(Math.random()+"").slice(9)}$`,sa="?"+mt,ny=`<${sa}>`,cr=document,wo=()=>cr.createComment(""),Ao=t=>t===null||typeof t!="object"&&typeof t!="function",Td=Array.isArray,Ld=t=>Td(t)||typeof t?.[Symbol.iterator]=="function",na=`[
4
- \f\r]`,Eo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ad=/-->/g,Rd=/>/g,ar=RegExp(`>|${na}(?:([^\\s"'>=/]+)(${na}*=${na}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Nd=/'/g,_d=/"/g,Id=/^(?:script|style|textarea|title)$/i,$d=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),B=$d(1),iy=$d(2),Tt=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Pd=new WeakMap,sr=cr.createTreeWalker(cr,129);Md=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Eo;for(let c=0;c<r;c++){let d=t[c],u,m,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,m=s.exec(d),m!==null);)g=s.lastIndex,s===Eo?m[1]==="!--"?s=Ad:m[1]!==void 0?s=Rd:m[2]!==void 0?(Id.test(m[2])&&(i=RegExp("</"+m[2],"g")),s=ar):m[3]!==void 0&&(s=ar):s===ar?m[0]===">"?(s=i??Eo,f=-1):m[1]===void 0?f=-2:(f=s.lastIndex-m[2].length,u=m[1],s=m[3]===void 0?ar:m[3]==='"'?_d:Nd):s===_d||s===Nd?s=ar:s===Ad||s===Rd?s=Eo:(s=ar,i=void 0);let x=s===ar&&t[c+1].startsWith("/>")?" ":"";a+=s===Eo?d+ny:f>=0?(n.push(u),d.slice(0,f)+aa+d.slice(f)+mt+x):d+mt+(f===-2?c:x)}return[kd(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Ro=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,m]=Md(e,r);if(this.el=t.createElement(u,n),sr.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=sr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(aa)){let g=m[s++],x=i.getAttribute(f).split(mt),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?Nn:v[1]==="?"?_n:v[1]==="@"?Pn:dr}),i.removeAttribute(f)}else f.startsWith(mt)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Id.test(i.tagName)){let f=i.textContent.split(mt),g=f.length-1;if(g>0){i.textContent=An?An.emptyScript:"";for(let x=0;x<g;x++)i.append(f[x],wo()),sr.nextNode(),d.push({type:2,index:++a});i.append(f[g],wo())}}}else if(i.nodeType===8)if(i.data===sa)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(mt,f+1))!==-1;)d.push({type:7,index:a}),f+=mt.length-1}a++}}static createElement(e,r){let n=cr.createElement("template");return n.innerHTML=e,n}};Rn=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??cr).importNode(r,!0);sr.currentNode=i;let a=sr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Pr(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new Tn(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=sr.nextNode(),s++)}return sr.currentNode=cr,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++}},Pr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=V,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=lr(this,e,r),Ao(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Tt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ld(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!==V&&Ao(this._$AH)?this._$AA.nextSibling.data=e:this.$(cr.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=Ro.createElement(kd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Rn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Pd.get(e.strings);return r===void 0&&Pd.set(e.strings,r=new Ro(e)),r}T(e){Td(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(wo()),this.k(wo()),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))}},dr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=V,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=V}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=lr(this,e,r,0),s=!Ao(e)||e!==this._$AH&&e!==Tt,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=lr(this,c[n+d],r,d),u===Tt&&(u=this._$AH[d]),s||=!Ao(u)||u!==this._$AH[d],u===V?e=V:e!==V&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Nn=class extends dr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===V?void 0:e}},_n=class extends dr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},Pn=class extends dr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=lr(this,e,r,0)??V)===Tt)return;let n=this._$AH,i=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==V&&(n===V||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){lr(this,e)}},ay={j:aa,P:mt,A:sa,C:1,M:Md,L:Rn,R:Ld,V:lr,D:Pr,I:dr,H:_n,N:Pn,U:Nn,B:Tn},sy=ia.litHtmlPolyfillSupport;sy?.(Ro,Pr),(ia.litHtmlVersions??=[]).push("3.1.0");ca=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Pr(e.insertBefore(wo(),a),a,void 0,r??{})}return i._$AI(t),i}});var yt,cy,ly,Dd=h(()=>{oa();oa();la();la();yt=class extends et{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=ca(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Tt}};yt._$litElement$=!0,yt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:yt});cy=globalThis.litElementPolyfillSupport;cy?.({LitElement:yt});ly={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var rx,Bd=h(()=>{rx=!1});var da={};Y(da,{CSSResult:()=>_r,LitElement:()=>yt,ReactiveElement:()=>et,_$LE:()=>ly,_$LH:()=>ay,adoptStyles:()=>On,css:()=>L,defaultConverter:()=>En,getCompatibleStyle:()=>Co,html:()=>B,isServer:()=>rx,noChange:()=>Tt,notEqual:()=>ra,nothing:()=>V,render:()=>ca,supportsAdoptingStyleSheets:()=>So,svg:()=>iy,unsafeCSS:()=>ir});var H=h(()=>{qi();ht();Dd();Bd()});var ua,Ud=h(()=>{ua=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function w(t){return(e,r)=>typeof r=="object"?Fd(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 dy,Fd,pa=h(()=>{qi();dy={attribute:!0,type:String,converter:yo,reflect:!1,hasChanged:hn},Fd=(t=dy,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(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return w({...t,state:!0,attribute:!1})}var Wd=h(()=>{pa();});function Tr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Hd=h(()=>{});var Ze,Lr=h(()=>{Ze=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function xe(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Ze(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ze(r,n,{get(){return a(this)}})}}var zd=h(()=>{Lr();});function py(t){return(e,r)=>Ze(e,r,{get(){return(this.renderRoot??(uy??=document.createDocumentFragment())).querySelectorAll(t)}})}var uy,jd=h(()=>{Lr();});function fy(t){return(e,r)=>Ze(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var Vd=h(()=>{Lr();});function hy(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}var Gd=h(()=>{Lr();});function fa(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Kd=h(()=>{Lr();});var ha={};Y(ha,{customElement:()=>ua,eventOptions:()=>Tr,property:()=>w,query:()=>xe,queryAll:()=>py,queryAssignedElements:()=>hy,queryAssignedNodes:()=>fa,queryAsync:()=>fy,standardProperty:()=>Fd,state:()=>le});var ie=h(()=>{Ud();pa();Wd();Hd();zd();jd();Vd();Gd();Kd()});var Lt,It,tt,No=h(()=>{Lt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},It=t=>(...e)=>({_$litDirective$:t,values:e}),tt=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 my,Zd,Ir,$t,yy,qd,Yd,Ln,Qd=h(()=>{ht();({D:my}=Sd),Zd=()=>document.createComment(""),Ir=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Zd(),i),s=n.insertBefore(Zd(),i);r=new my(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||c){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},$t=(t,e,r=t)=>(t._$AI(e,r),t),yy={},qd=(t,e=yy)=>t._$AH=e,Yd=t=>t._$AH,Ln=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 Xd,_o,Jd=h(()=>{ht();No();Qd();Xd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},_o=It(class extends tt{constructor(t){if(super(t),t.type!==Lt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=r(c,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=Yd(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],u,m,f=0,g=i.length-1,x=0,v=a.length-1;for(;f<=g&&x<=v;)if(i[f]===null)f++;else if(i[g]===null)g--;else if(c[f]===s[x])d[x]=$t(i[f],a[x]),f++,x++;else if(c[g]===s[v])d[v]=$t(i[g],a[v]),g--,v--;else if(c[f]===s[v])d[v]=$t(i[f],a[v]),Ir(t,d[v+1],i[f]),f++,v--;else if(c[g]===s[x])d[x]=$t(i[g],a[x]),Ir(t,i[f],i[g]),g--,x++;else if(u===void 0&&(u=Xd(s,x,v),m=Xd(c,f,g)),u.has(c[f]))if(u.has(c[g])){let E=m.get(s[x]),P=E!==void 0?i[E]:null;if(P===null){let T=Ir(t,i[f]);$t(T,a[x]),d[x]=T}else d[x]=$t(P,a[x]),Ir(t,i[f],P),i[E]=null;x++}else Ln(i[g]),g--;else Ln(i[f]),f++;for(;x<=v;){let E=Ir(t,d[v+1]);$t(E,a[x]),d[x++]=E}for(;f<=g;){let E=i[f++];E!==null&&Ln(E)}return this.dt=s,qd(t,d),De}})});var ma={};Y(ma,{repeat:()=>_o});var In=h(()=>{Jd()});var rt,eu=h(()=>{ht();No();rt=It(class extends tt{constructor(t){if(super(t),t.type!==Lt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let 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 De}})});var ya={};Y(ya,{classMap:()=>rt});var $r=h(()=>{eu()});var tu,gy,by,ru=h(()=>{ht();No();tu="important",gy=" !"+tu,by=It(class extends tt{constructor(t){if(super(t),t.type!==Lt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(gy);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?tu:""):r[n]=i}}return De}})});var ga={};Y(ga,{styleMap:()=>by});var ou=h(()=>{ru()});var kr,ur,nu=h(()=>{ht();No();kr=class extends tt{constructor(e){if(super(e),this.et=fe,e.type!==Lt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===fe||e==null)return this.vt=void 0,this.et=e;if(e===De)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:[]}}};kr.directiveName="unsafeHTML",kr.resultType=1;ur=It(kr)});var ba={};Y(ba,{UnsafeHTMLDirective:()=>kr,unsafeHTML:()=>ur});var Po=h(()=>{nu()});var xa={};Y(xa,{CancelablePromise:()=>Mr,CanceledPromiseError:()=>kt,cancelable:()=>Dr});var kt,Mr,Dr,$n=h(()=>{"use strict";kt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Mr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new kt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new kt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Dr=t=>new Mr((e,r)=>t.then(e).catch(r))});var Oa={};Y(Oa,{FtNotificationEvent:()=>va,PostResizeEvent:()=>Ca,PreResizeEvent:()=>Sa,WithEventBus:()=>pr,withEventBus:()=>iu});function iu(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var va,Sa,Ca,pr,To=h(()=>{"use strict";va=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Sa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ca=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};pr=class extends iu(Object){}});var Ea={};Y(Ea,{CacheRegistry:()=>ot,ClearCacheEvent:()=>Lo});var Lo,ot,wa=h(()=>{"use strict";$n();To();Lo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ot=class extends pr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new Lo(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Lo([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Mr&&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=Dr(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 Ra={};Y(Ra,{ClusteringHelper:()=>Aa});var Aa,Na=h(()=>{"use strict";Aa=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var r,n,i,a,s;let c=((a=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(i=e.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(c=>{a.push(c.join(" > ")),r&&r>1&&c.length>=r?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",i,a){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,g,x)=>x.findIndex(v=>v.value===f.value)===g).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,g)=>this.compareMetadata(f.metadata.value,g.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",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>c&&(c=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var _a={};Y(_a,{Debouncer:()=>Ce});var Ce,kn=h(()=>{"use strict";Ce=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(c){i(c);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 Ta={};Y(Ta,{dateReviver:()=>vy,deepEqual:()=>qe,delay:()=>Mn,eventPathContainsMatchingElement:()=>Cy,flatDeep:()=>su,getComposedPathTo:()=>Pa,hasChanged:()=>fr,last:()=>Oy,minmax:()=>hr,parseDate:()=>cu,unslotText:()=>Dn,waitFor:()=>au,waitUntil:()=>xy});async function xy(t,e=10,r=2e4){await au(async()=>await t()||void 0,e,r)}async function au(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Mn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function su(t,e){return t.flatMap(r=>[r,...su(e(r),e)])}function vy(...t){return function(e,r){return t.includes(e)?cu(r):r}}function cu(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 Sy(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(!qe(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(!qe(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(c=>s[c]!=null);if(i=a(t),r=i.length,r!==a(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){let s=i[n];if(!qe(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function qe(t,e){try{return Sy(t,e)}catch{return!1}}function fr(t,e){return!qe(t,e)}function Cy(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 hr(t,e,r){return Math.min(Math.max(t,e),r)}function Oy(t){return t[t.length-1]}function Dn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Dn(e)).join(""):t?.textContent||""}function Pa(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var Mn,Mt=h(()=>{"use strict";Mn=t=>new Promise(e=>setTimeout(e,t))});var La={};Y(La,{customElement:()=>G,isNumber:()=>lu,jsonProperty:()=>Ee,optionalNumberProperty:()=>Ey});function Ee(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:fr,...e??{}})}function Ey(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return lu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function lu(t){return!isNaN(parseFloat(t))}var G,Bn=h(()=>{"use strict";ie();Mt();G=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function O(t,e){return gt(`${t.name}: ${e}`)}var gt,o,X=h(()=>{H();gt=t=>typeof t=="string"?ir(t):t,o=class{static create(e,r,n,i){let a=c=>gt(c??i),s=L`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>L`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=L`var(${gt(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=c=>L`var(${gt(e)}, ${a(c)})`,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):gt(a??e.lastResortDefaultValue()),i=L`var(${gt(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=>L`var(${gt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var l,Ia,$a,ka,Ma,Da,Ba,Ua,Fa,Wa,du,Ha,za,ja,Va,Ga,Ka,Za,qa,Ya,Qa,Xa,Ja,es,ts,rs,os,Io,wy,ee=h(()=>{X();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},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")},$a={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")},ka={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")},Ma={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")},Da={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")},Ba={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")},Fa={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")},Wa={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")},du={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")},za={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")},ja={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")},Va={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")},Ga={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")},Ka={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")},Za={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")},qa={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")},Ya={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")},Qa={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")},Xa={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")},Ja={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")},es={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")},ts={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")},rs={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")},os={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")},Io={display:Ia,"title-1":$a,"title-2":ka,"title-3":Ma,"body-1-regular":Da,"body-1-medium":Ba,"body-1-semibold":Ua,"body-2-regular":Fa,"body-2-medium":Wa,"body-2-medium-underline":du,"body-2-semibold":Ha,"label-1-medium":za,"label-1-semibold":ja,"label-1-bold":Va,"label-2-medium":Ga,"label-2-semibold":Ka,"label-2-bold":Za,"caption-1-medium":qa,"caption-1-semibold":Ya,"caption-1-bold":Qa,"caption-2-medium":Xa,"caption-2-semibold":Ja,"caption-2-bold":es,"caption-3-medium":ts,"caption-3-semibold":rs,"caption-3-bold":os},wy=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var p,re=h(()=>{X();ee();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var b,uu=h(()=>{X();ee();re();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)}});var Ay,pu=h(()=>{X();ee();re();Ay={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var Ry,fu=h(()=>{X();ee();re();Ry={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)}});var Ny,hu=h(()=>{X();ee();re();Ny={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var _y,mu=h(()=>{X();ee();re();_y={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)}});var Py,yu=h(()=>{X();ee();re();Py={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var Ty,gu=h(()=>{X();ee();re();Ty={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var Ly,bu=h(()=>{X();ee();re();Ly={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Iy,xu=h(()=>{X();ee();re();Iy={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var $y,vu=h(()=>{X();ee();$y={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var ky,Su=h(()=>{X();ee();re();ky={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var My,Cu=h(()=>{X();ee();re();My={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var Dy,Ou=h(()=>{X();ee();re();Dy={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var By,Eu=h(()=>{X();ee();re();By={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var Uy,wu=h(()=>{X();ee();re();Uy={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var Fy,Au=h(()=>{X();ee();re();Fy={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var Wy,Ru=h(()=>{X();ee();re();Wy={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var Hy,Nu=h(()=>{X();ee();re();Hy={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var zy,_u=h(()=>{X();ee();re();zy={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var jy,Pu=h(()=>{X();ee();re();jy={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var Vy,Tu=h(()=>{X();ee();re();Vy={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var Gy,Lu=h(()=>{X();ee();Gy={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var Ky,Iu=h(()=>{X();ee();Ky={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var Zy,$u=h(()=>{X();ee();re();Zy={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var qy,ku=h(()=>{X();ee();re();qy={color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)}});var Yy,Mu=h(()=>{X();ee();re();Yy={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var Qy,Du=h(()=>{X();ee();re();Qy={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var Xy,Bu=h(()=>{X();ee();re();Xy={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var Jy,Uu=h(()=>{X();ee();re();Jy={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var eg,Fu=h(()=>{X();ee();re();eg={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)}});var Wu=h(()=>{ee();re();uu();pu();fu();hu();mu();yu();gu();bu();xu();vu();Su();Cu();Ou();Eu();wu();Au();Ru();Nu();_u();Pu();Tu();Lu();Iu();$u();ku();Mu();Du();Bu();Uu();Fu()});function ns(t){return`ftds--family-${t}`}function is(t){return`ftds--size-${t}`}var mr,bt,Hu=h(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(mr||(mr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(bt||(bt={}))});var Z=h(()=>{X();Wu();Hu()});var as={};Y(as,{DesignSystemFamily:()=>mr,DesignSystemSize:()=>bt,FtCssVariableFactory:()=>o,badge:()=>Py,banner:()=>_y,button:()=>b,chart:()=>Gy,checkbox:()=>qy,chip:()=>Ry,chipChoice:()=>Ay,collapsible:()=>jy,comboboxMultiSelect:()=>Hy,comboboxSingleSelect:()=>Wy,drawer:()=>My,floatingMenu:()=>Fy,foundation:()=>l,link:()=>Ny,modal:()=>ky,notice:()=>Zy,notification:()=>Xy,pageDesigner:()=>Ky,pageFooter:()=>Iy,pageHeader:()=>Ly,pageLayout:()=>$y,popover:()=>zy,radio:()=>Qy,reorderableList:()=>eg,resolveFamilyClass:()=>ns,resolveSizeClass:()=>is,semantic:()=>p,setVariable:()=>O,switch_:()=>Vy,tabs:()=>Dy,textArea:()=>Uy,textInput:()=>By,titleBreadcrumb:()=>Ty,toggle:()=>Yy,tooltip:()=>Jy,typographies:()=>Io,typographyBody1Medium:()=>Ba,typographyBody1Regular:()=>Da,typographyBody1Semibold:()=>Ua,typographyBody2Medium:()=>Wa,typographyBody2MediumUnderline:()=>du,typographyBody2Regular:()=>Fa,typographyBody2Semibold:()=>Ha,typographyCaption1Bold:()=>Qa,typographyCaption1Medium:()=>qa,typographyCaption1Semibold:()=>Ya,typographyCaption2Bold:()=>es,typographyCaption2Medium:()=>Xa,typographyCaption2Semibold:()=>Ja,typographyCaption3Bold:()=>os,typographyCaption3Medium:()=>ts,typographyCaption3Semibold:()=>rs,typographyDisplay:()=>Ia,typographyLabel1Bold:()=>Va,typographyLabel1Medium:()=>za,typographyLabel1Semibold:()=>ja,typographyLabel2Bold:()=>Za,typographyLabel2Medium:()=>Ga,typographyLabel2Semibold:()=>Ka,typographyTitle1:()=>$a,typographyTitle2:()=>ka,typographyTitle3:()=>Ma,typographyVariants:()=>wy});var Un=h(()=>{"use strict";Z()});var ss={};Y(ss,{designSystemVariables:()=>$});var $,cs=h(()=>{"use strict";Un();$={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")}});function ds(t,e,r){return Dt(t,Mo(e,r))}function Br(t,e){return typeof t=="function"?t(e):t}function nt(t){return t.split("-")[0]}function it(t){return t.split("-")[1]}function us(t){return t==="x"?"y":"x"}function ps(t){return t==="y"?"height":"width"}function Bo(t){return["top","bottom"].includes(nt(t))?"y":"x"}function fs(t){return us(Bo(t))}function hs(t,e,r){r===void 0&&(r=!1);let n=it(t),i=fs(t),a=ps(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ko(s)),[s,ko(s)]}function Vu(t){let e=ko(t);return[$o(t),e,$o(e)]}function $o(t){return t.replace(/start|end/g,e=>rg[e])}function og(t,e,r){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function Gu(t,e,r,n){let i=it(t),a=og(nt(t),r==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map($o)))),a}function ko(t){return t.replace(/left|right|bottom|top/g,e=>tg[e])}function ng(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ku(t){return typeof t!="number"?ng(t):{top:t,right:t,bottom:t,left:t}}function yr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var ju,zu,ls,Mo,Dt,Do,xt,tg,rg,Fn=h(()=>{ju=["top","right","bottom","left"],zu=["start","end"],ls=ju.reduce((t,e)=>t.concat(e,e+"-"+zu[0],e+"-"+zu[1]),[]),Mo=Math.min,Dt=Math.max,Do=Math.round,xt=t=>({x:t,y:t}),tg={left:"right",right:"left",bottom:"top",top:"bottom"},rg={start:"end",end:"start"}});function Zu(t,e,r){let{reference:n,floating:i}=t,a=Bo(e),s=fs(e),c=ps(s),d=nt(e),u=a==="y",m=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:m,y:n.y-i.height};break;case"bottom":x={x:m,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}switch(it(e)){case"start":x[s]-=g*(r&&u?-1:1);break;case"end":x[s]+=g*(r&&u?-1:1);break}return x}async function Wn(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:f="floating",altBoundary:g=!1,padding:x=0}=Br(e,t),v=Ku(x),P=c[g?f==="floating"?"reference":"floating":f],T=yr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(P)))==null||r?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:m,strategy:d})),I=f==="floating"?{...s.floating,x:n,y:i}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),C=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=yr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:A,strategy:d}):I);return{top:(T.top-R.top+v.top)/C.y,bottom:(R.bottom-T.bottom+v.bottom)/C.y,left:(T.left-R.left+v.left)/C.x,right:(R.right-T.right+v.right)/C.x}}function ig(t,e,r){return(t?[...r.filter(i=>it(i)===t),...r.filter(i=>it(i)!==t)]:r.filter(i=>nt(i)===i)).filter(i=>t?it(i)===t||(e?$o(i)!==i:!1):!0)}async function ag(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=nt(r),c=it(r),d=Bo(r)==="y",u=["left","top"].includes(s)?-1:1,m=a&&d?-1:1,f=Br(e,t),{mainAxis:g,crossAxis:x,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof v=="number"&&(x=c==="end"?v*-1:v),d?{x:x*m,y:g*u}:{x:g*u,y:x*m}}var qu,ms,ys,gs,bs,xs=h(()=>{Fn();Fn();qu=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:m,y:f}=Zu(u,n,d),g=n,x={},v=0;for(let E=0;E<c.length;E++){let{name:P,fn:T}=c[E],{x:I,y:A,data:C,reset:R}=await T({x:m,y:f,initialPlacement:n,placement:g,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});if(m=I??m,f=A??f,x={...x,[P]:{...x[P],...C}},R&&v<=50){v++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:m,y:f}=Zu(u,g,d)),E=-1;continue}}return{x:m,y:f,placement:g,strategy:i,middlewareData:x}};ms=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:m=!1,alignment:f,allowedPlacements:g=ls,autoAlignment:x=!0,...v}=Br(t,e),E=f!==void 0||g===ls?ig(f||null,x,g):g,P=await Wn(e,v),T=((r=s.autoPlacement)==null?void 0:r.index)||0,I=E[T];if(I==null)return{};let A=hs(I,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==I)return{reset:{placement:E[0]}};let C=[P[nt(I)],P[A[0]],P[A[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:C}],M=E[T+1];if(M)return{data:{index:T+1,overflows:R},reset:{placement:M}};let z=R.map(U=>{let y=it(U.placement);return[U.placement,y&&m?U.overflows.slice(0,2).reduce((S,D)=>S+D,0):U.overflows[0],U.overflows]}).sort((U,y)=>U[1]-y[1]),q=((i=z.filter(U=>U[2].slice(0,it(U[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||z[0][0];return q!==c?{data:{index:T+1,overflows:R},reset:{placement:q}}:{}}}},ys=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:d,elements:u}=e,{mainAxis:m=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:E=!0,...P}=Br(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let T=nt(i),I=nt(c)===c,A=await(d.isRTL==null?void 0:d.isRTL(u.floating)),C=g||(I||!E?[ko(c)]:Vu(c));!g&&v!=="none"&&C.push(...Gu(c,E,v,A));let R=[c,...C],M=await Wn(e,P),z=[],Q=((n=a.flip)==null?void 0:n.overflows)||[];if(m&&z.push(M[T]),f){let S=hs(i,s,A);z.push(M[S[0]],M[S[1]])}if(Q=[...Q,{placement:i,overflows:z}],!z.every(S=>S<=0)){var q,U;let S=(((q=a.flip)==null?void 0:q.index)||0)+1,D=R[S];if(D)return{data:{index:S,overflows:Q},reset:{placement:D}};let K=(U=Q.filter(J=>J.overflows[0]<=0).sort((J,j)=>J.overflows[1]-j.overflows[1])[0])==null?void 0:U.placement;if(!K)switch(x){case"bestFit":{var y;let J=(y=Q.map(j=>[j.placement,j.overflows.filter(Je=>Je>0).reduce((Je,ho)=>Je+ho,0)]).sort((j,Je)=>j[1]-Je[1])[0])==null?void 0:y[0];J&&(K=J);break}case"initialPlacement":K=c;break}if(i!==K)return{reset:{placement:K}}}return{}}}};gs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await ag(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},bs=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:c={fn:P=>{let{x:T,y:I}=P;return{x:T,y:I}}},...d}=Br(t,e),u={x:r,y:n},m=await Wn(e,d),f=Bo(nt(i)),g=us(f),x=u[g],v=u[f];if(a){let P=g==="y"?"top":"left",T=g==="y"?"bottom":"right",I=x+m[P],A=x-m[T];x=ds(I,x,A)}if(s){let P=f==="y"?"top":"left",T=f==="y"?"bottom":"right",I=v+m[P],A=v-m[T];v=ds(I,v,A)}let E=c.fn({...e,[g]:x,[f]:v});return{...E,data:{x:E.x-r,y:E.y-n}}}}}});function vt(t){return Qu(t)?(t.nodeName||"").toLowerCase():"#document"}function Te(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(Qu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Qu(t){return t instanceof Node||t instanceof Te(t).Node}function at(t){return t instanceof Element||t instanceof Te(t).Element}function Ye(t){return t instanceof HTMLElement||t instanceof Te(t).HTMLElement}function Yu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Te(t).ShadowRoot}function Ur(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Xu(t){return["table","td","th"].includes(vt(t))}function zn(t){let e=jn(),r=Be(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 Ju(t){let e=gr(t);for(;Ye(e)&&!Uo(e);){if(zn(e))return e;e=gr(e)}return null}function jn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Uo(t){return["html","body","#document"].includes(vt(t))}function Be(t){return Te(t).getComputedStyle(t)}function Fo(t){return at(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function gr(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Yu(t)&&t.host||St(t);return Yu(e)?e.host:e}function ep(t){let e=gr(t);return Uo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ye(e)&&Ur(e)?e:ep(e)}function Hn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ep(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Te(i);return a?e.concat(s,s.visualViewport||[],Ur(i)?i:[],s.frameElement&&r?Hn(s.frameElement):[]):e.concat(i,Hn(i,[],r))}var tp=h(()=>{});function np(t){let e=Be(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ye(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=Do(r)!==a||Do(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function ip(t){return at(t)?t:t.contextElement}function Fr(t){let e=ip(t);if(!Ye(e))return xt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=np(e),s=(a?Do(r.width):r.width)/n,c=(a?Do(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function ap(t){let e=Te(t);return!jn()||!e.visualViewport?sg:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function cg(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Te(t)?!1:e}function Wo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=ip(t),s=xt(1);e&&(n?at(n)&&(s=Fr(n)):s=Fr(t));let c=cg(a,r,n)?ap(a):xt(0),d=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,m=i.width/s.x,f=i.height/s.y;if(a){let g=Te(a),x=n&&at(n)?Te(n):n,v=g.frameElement;for(;v&&n&&x!==g;){let E=Fr(v),P=v.getBoundingClientRect(),T=Be(v),I=P.left+(v.clientLeft+parseFloat(T.paddingLeft))*E.x,A=P.top+(v.clientTop+parseFloat(T.paddingTop))*E.y;d*=E.x,u*=E.y,m*=E.x,f*=E.y,d+=I,u+=A,v=Te(v).frameElement}}return yr({width:m,height:f,x:d,y:u})}function lg(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ye(r),a=St(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=xt(1),d=xt(0);if((i||!i&&n!=="fixed")&&((vt(r)!=="body"||Ur(a))&&(s=Fo(r)),Ye(r))){let u=Wo(r);c=Fr(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function dg(t){return Array.from(t.getClientRects())}function sp(t){return Wo(St(t)).left+Fo(t).scrollLeft}function ug(t){let e=St(t),r=Fo(t),n=t.ownerDocument.body,i=Dt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Dt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+sp(t),c=-r.scrollTop;return Be(n).direction==="rtl"&&(s+=Dt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function pg(t,e){let r=Te(t),n=St(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let u=jn();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function fg(t,e){let r=Wo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Ye(t)?Fr(t):xt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:c,x:d,y:u}}function rp(t,e,r){let n;if(e==="viewport")n=pg(t,r);else if(e==="document")n=ug(St(t));else if(at(e))n=fg(e,r);else{let i=ap(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return yr(n)}function cp(t,e){let r=gr(t);return r===e||!at(r)||Uo(r)?!1:Be(r).position==="fixed"||cp(r,e)}function hg(t,e){let r=e.get(t);if(r)return r;let n=Hn(t,[],!1).filter(c=>at(c)&&vt(c)!=="body"),i=null,a=Be(t).position==="fixed",s=a?gr(t):t;for(;at(s)&&!Uo(s);){let c=Be(s),d=zn(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ur(s)&&!d&&cp(t,s))?n=n.filter(m=>m!==s):i=c,s=gr(s)}return e.set(t,n),n}function mg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?hg(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((u,m)=>{let f=rp(e,m,i);return u.top=Dt(f.top,u.top),u.right=Mo(f.right,u.right),u.bottom=Mo(f.bottom,u.bottom),u.left=Dt(f.left,u.left),u},rp(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function yg(t){return np(t)}function gg(t,e,r){let n=Ye(e),i=St(e),a=r==="fixed",s=Wo(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=xt(0);if(n||!n&&!a)if((vt(e)!=="body"||Ur(i))&&(c=Fo(e)),n){let u=Wo(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=sp(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function op(t,e){return!Ye(t)||Be(t).position==="fixed"?null:e?e(t):t.offsetParent}function lp(t,e){let r=Te(t);if(!Ye(t))return r;let n=op(t,e);for(;n&&Xu(n)&&Be(n).position==="static";)n=op(n,e);return n&&(vt(n)==="html"||vt(n)==="body"&&Be(n).position==="static"&&!zn(n))?r:n||Ju(t)||r}function xg(t){return Be(t).direction==="rtl"}var sg,bg,Wr,vs,dp=h(()=>{xs();xs();Fn();tp();sg=xt(0);bg=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||lp,a=this.getDimensions;return{reference:gg(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};Wr={convertOffsetParentRelativeRectToViewportRelativeRect:lg,getDocumentElement:St,getClippingRect:mg,getOffsetParent:lp,getElementRects:bg,getClientRects:dg,getDimensions:yg,getScale:Fr,isElement:at,isRTL:xg},vs=(t,e,r)=>{let n=new Map,i={platform:Wr,...r},a={...i.platform,_c:n};return qu(t,e,{...i,platform:a})}});function Cs(t){return vg(t)}function Ss(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function vg(t){for(let e=t;e;e=Ss(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ss(t);e;e=Ss(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 up=h(()=>{});var Es={};Y(Es,{computeFlipOffsetPosition:()=>Sg,computeOffsetPosition:()=>Os});async function Os(t,e,r){return vs(t,e,{platform:{...Wr,getOffsetParent:n=>Wr.getOffsetParent(n,Cs)},middleware:[bs({crossAxis:!0}),ms({allowedPlacements:[r]})]})}async function Sg(t,e,r,n,i,a=4){return vs(t,e,{placement:r,strategy:i,platform:{...Wr,getOffsetParent:s=>Wr.getOffsetParent(s,Cs)},middleware:[gs(a),ys({fallbackPlacements:n})]})}var Vn=h(()=>{"use strict";dp();up()});var Gn,Cg,_C,pp,fp=h(()=>{Gn=window,Cg=Gn.ShadowRoot&&(Gn.ShadyCSS===void 0||Gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_C=Symbol(),pp=(t,e)=>{Cg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Gn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var ws={};Y(ws,{ScopedRegistryLitElement:()=>Ho});var Ho,Kn=h(()=>{"use strict";H();fp();Ho=class extends yt{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 pp(n,e.elementStyles),n}}});var As={};Y(As,{FtLitElement:()=>te});var Zn,gp,hp,mp,bp,yp,te,zo=h(()=>{"use strict";ie();Bn();kn();Kn();Zn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},hp=Symbol("constructorPrototype"),mp=Symbol("constructorName"),bp=Symbol("exportpartsDebouncer"),yp=Symbol("dynamicDependenciesLoaded"),te=class extends Ho{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[gp]=new Ce(5),this[mp]=this.constructor.name,this[hp]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[mp]&&Object.setPrototypeOf(this,this[hp])}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[yp]||(e[yp]=!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[bp].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,c;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=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 x=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...v).filter(d).map(E=>E.trim()).forEach(E=>m.add(E))}if(m.size===0){this.removeAttribute("exportparts");return}let f=[...m.values()].flatMap(g=>u.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};gp=bp;Zn([w()],te.prototype,"exportpartsPrefix",void 0);Zn([Ee([])],te.prototype,"exportpartsPrefixes",void 0);Zn([w()],te.prototype,"customStylesheet",void 0);Zn([le()],te.prototype,"useAdoptedStyleSheets",void 0)});var Ns={};Y(Ns,{FtdsBase:()=>Rs,toFtdsBase:()=>qn});function qn(t){class e extends t{constructor(){super(...arguments),this.size=bt.medium,this.family=mr.neutral}getDesignSystemBaseClasses(){return{[ns(this.family)]:!0,[is(this.size)]:!0}}}return xp([w()],e.prototype,"size",void 0),xp([w()],e.prototype,"family",void 0),e}var xp,Rs,_s=h(()=>{"use strict";zo();ie();Z();xp=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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};Rs=class extends qn(te){}});var vp={};var Ps=h(()=>{"use strict"});var br,Sp=h(()=>{br=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,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,m=>{r(u)&&(c++,n(m)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.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),c=[],d=[],u,m,f=()=>({prevNode:m,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,m,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}}});var jo,Cp=h(()=>{Sp();jo=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 br(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],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+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(c=>{s+=`|${this.escapeStr(c)}`}),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:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(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,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,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 br.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),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let u=r-s.start,m=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),g=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,m),e.value=f+g,e.nodes.forEach((x,v)=>{v>=c&&(e.nodes[v].start>0&&v!==c&&(e.nodes[v].start-=m),e.nodes[v].end-=m)}),n-=m,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(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let m=u.index;if(s!==0)for(let f=1;f<s;f++)m+=u[f].length;d=this.wrapRangeInTextNode(d,m,m+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let m=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,m,f=>n(d[s],f),(f,g)=>{e.lastIndex=g,i(f)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:u,end:m,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,m,g=>r(g,c,a.value.substring(u,m),d),g=>{n(g,c)})}),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,c)=>this.opt.filter(c,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),c=this.opt.caseSensitive?"":"i",d=u=>{let m=new RegExp(this.createRegExp(u),`gm${c}`),f=0;this.log(`Searching with expression "${m}"`),this[i](m,1,(g,x)=>this.opt.filter(x,u,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(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,c,d)=>this.opt.filter(a,s,c,d),(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=br.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Ts(t){let e=new jo(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 Op=h(()=>{Cp()});var Is={};Y(Is,{highlightHtml:()=>Ls,highlightHtmlColorCssVariable:()=>Ep,highlightHtmlStyles:()=>Eg});function Ls(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Og(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=u=>{for(let m in r.attributes)u.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Og,Ep,Eg,$s=h(()=>{"use strict";H();Z();Op();Og=Ts,Ep=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Eg=L`
1
+ "use strict";(()=>{var My=Object.create;var Gi=Object.defineProperty;var By=Object.getOwnPropertyDescriptor;var Uy=Object.getOwnPropertyNames;var Fy=Object.getPrototypeOf,Wy=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(t&&(e=t(t=0)),e);var Hy=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Q=(t,e)=>{for(var r in e)Gi(t,r,{get:e[r],enumerable:!0})},zy=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Uy(e))!Wy.call(t,i)&&i!==r&&Gi(t,i,{get:()=>e[i],enumerable:!(n=By(e,i))||n.enumerable});return t};var jy=(t,e,r)=>(r=t!=null?My(Fy(t)):{},zy(e||!t||!t.__esModule?Gi(r,"default",{value:t,enumerable:!0}):r,t));var td=y(()=>{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,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(w,S){if(w=w.toLowerCase(),this._getDefinition(w)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${w}" 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 R=S.prototype.attributeChangedCallback,$=new Set(S.observedAttributes||[]);m(S,$,R);let H={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:$};this._definitionsByTag.set(w,H),this._definitionsByClass.set(S,H);let Z=r.call(n,w);Z||(Z=f(w),e.call(n,w,Z)),this===window.customElements&&(s.set(S,H),H.standInClass=Z);let V=this._awaitingUpgrade.get(w);if(V){this._awaitingUpgrade.delete(w);for(let g of V)a.delete(g),v(g,H,!0)}let U=this._whenDefinedPromises.get(w);return U!==void 0&&(U.resolve(S),this._whenDefinedPromises.delete(w)),S}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.pop()}get(w){return this._definitionsByTag.get(w)?.elementClass}_getDefinition(w){return this._definitionsByTag.get(w)}whenDefined(w){let S=this._getDefinition(w);if(S!==void 0)return Promise.resolve(S.elementClass);let R=this._whenDefinedPromises.get(w);return R===void 0&&(R={},R.promise=new Promise($=>R.resolve=$),this._whenDefinedPromises.set(w,R)),R.promise}_upgradeWhenDefined(w,S,R){let $=this._awaitingUpgrade.get(S);$||this._awaitingUpgrade.set(S,$=new Set),R?$.add(w):$.delete(w)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,R),S},window.HTMLElement.prototype=t.prototype;let u=w=>w===document||w instanceof ShadowRoot,h=w=>{let S=w.getRootNode();if(!u(S)){let R=N[N.length-1];if(R instanceof CustomElementRegistry)return R;S=R.getRootNode(),u(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},f=w=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let $=h(R)||window.customElements,H=$._getDefinition(w);return H?v(R,H):a.set(R,$),R}connectedCallback(){let R=i.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,w,!0)}disconnectedCallback(){let R=i.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,w,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=i.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=i.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=i.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=i.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},m=(w,S,R)=>{if(S.size===0||R===void 0)return;let $=w.prototype.setAttribute;$&&(w.prototype.setAttribute=function(V,U){let g=V.toLowerCase();if(S.has(g)){let C=this.getAttribute(g);$.call(this,g,U),R.call(this,g,C,U)}else $.call(this,g,U)});let H=w.prototype.removeAttribute;H&&(w.prototype.removeAttribute=function(V){let U=V.toLowerCase();if(S.has(U)){let g=this.getAttribute(U);H.call(this,U),R.call(this,U,g,null)}else H.call(this,U)});let Z=w.prototype.toggleAttribute;Z&&(w.prototype.toggleAttribute=function(V,U){let g=V.toLowerCase();if(S.has(g)){let C=this.getAttribute(g);Z.call(this,g,U);let M=this.getAttribute(g);R.call(this,g,C,M)}else Z.call(this,g,U)})},x=w=>{let S=Object.getPrototypeOf(w);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(w,window.HTMLElement):x(S)},v=(w,S,R=!1)=>{Object.setPrototypeOf(w,S.elementClass.prototype),i.set(w,S),d=w;try{new S.elementClass}catch{x(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach($=>{w.hasAttribute($)&&S.attributeChangedCallback.call(w,$,null,w.getAttribute($))}),R&&S.connectedCallback&&w.isConnected&&S.connectedCallback.call(w)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(w){let S=O.apply(this,arguments);return w.customElements&&(S.customElements=w.customElements),S};let N=[document],P=(w,S,R=void 0)=>{let $=(R?Object.getPrototypeOf(R):w.prototype)[S];w.prototype[S]=function(){N.push(this);let H=$.apply(R||this,arguments);return H!==void 0&&c.set(H,this),N.pop(),H}};P(ShadowRoot,"createElement",document),P(ShadowRoot,"importNode",document),P(Element,"insertAdjacentHTML");let L=(w,S)=>{let R=Object.getOwnPropertyDescriptor(w.prototype,S);Object.defineProperty(w.prototype,S,{...R,set($){N.push(this),R.set.call(this,$),N.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let w=new WeakMap,S=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...V){let U=S.call(this,...V);return w.set(U,this),U},R.forEach(V=>{let U=window.ElementInternals.prototype,g=U[V];U[V]=function(...C){let M=w.get(this);if(i.get(M).formAssociated===!0)return g?.call(this,...C);throw new DOMException(`Failed to execute ${g} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class $ extends Array{constructor(U){super(...U),this._elements=U}get value(){return this._elements.find(U=>U.checked===!0)?.value||""}}class H{constructor(U){let g=new Map;U.forEach((C,M)=>{let q=C.getAttribute("name"),J=g.get(q)||[];this[+M]=C,J.push(C),g.set(q,J)}),this.length=U.length,g.forEach((C,M)=>{C&&(C.length===1?this[M]=C[0]:this[M]=new $(C))})}namedItem(U){return this[U]}}let Z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let V=Z.get.call(this,[]),U=[];for(let g of V){let C=i.get(g);(!C||C.formAssociated===!0)&&U.push(g)}return new H(U)}})}}});var rd=y(()=>{"use strict";td();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 dn,pn,nd,od,un,id,Ki,fn,Zi=y(()=>{dn=globalThis,pn=dn.ShadowRoot&&(dn.ShadyCSS===void 0||dn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nd=Symbol(),od=new WeakMap,un=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==nd)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(pn&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=od.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&od.set(r,e))}return e}toString(){return this.cssText}},id=t=>new un(typeof t=="string"?t:t+"",void 0,nd),Ki=(t,e)=>{if(pn)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=dn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},fn=pn?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return id(r)})(t):t});var Vy,Gy,Ky,Zy,qy,Yy,hn,ad,Qy,Xy,bo,xo,yn,sd,Jt,qi=y(()=>{Zi();Zi();({is:Vy,defineProperty:Gy,getOwnPropertyDescriptor:Ky,getOwnPropertyNames:Zy,getOwnPropertySymbols:qy,getPrototypeOf:Yy}=Object),hn=globalThis,ad=hn.trustedTypes,Qy=ad?ad.emptyScript:"",Xy=hn.reactiveElementPolyfillSupport,bo=(t,e)=>t,xo={toAttribute(t,e){switch(e){case Boolean:t=t?Qy: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}},yn=(t,e)=>!Vy(t,e),sd={attribute:!0,type:String,converter:xo,reflect:!1,hasChanged:yn};Symbol.metadata??=Symbol("metadata"),hn.litPropertyMetadata??=new WeakMap;Jt=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=sd){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&&Gy(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Ky(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??sd}static _$Ei(){if(this.hasOwnProperty(bo("elementProperties")))return;let e=Yy(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bo("properties"))){let r=this.properties,n=[...Zy(r),...qy(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(fn(i))}else e!==void 0&&r.push(fn(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 Ki(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:xo).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:xo;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??yn)(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){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[bo("elementProperties")]=new Map,Jt[bo("finalized")]=new Map,Xy?.({ReactiveElement:Jt}),(hn.reactiveElementVersions??=[]).push("2.0.2")});function vd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return cd!==void 0?cd.createHTML(e):e}function or(t,e,r=t,n){if(e===Be)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=So(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=or(t,i._$AS(t,e.values),i,n)),e}var Qi,mn,cd,Xi,ht,Ji,Jy,rr,gn,So,hd,yd,Yi,vo,ld,dd,er,ud,pd,md,gd,bd,xd,Be,fe,fd,tr,Sd,Co,bn,Oo,nr,xn,vn,Sn,Cn,Cd,em,yt=y(()=>{Qi=globalThis,mn=Qi.trustedTypes,cd=mn?mn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xi="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,Ji="?"+ht,Jy=`<${Ji}>`,rr=document,gn=()=>rr.createComment(""),So=t=>t===null||typeof t!="object"&&typeof t!="function",hd=Array.isArray,yd=t=>hd(t)||typeof t?.[Symbol.iterator]=="function",Yi=`[
2
+ \f\r]`,vo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ld=/-->/g,dd=/>/g,er=RegExp(`>|${Yi}(?:([^\\s"'>=/]+)(${Yi}*=${Yi}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ud=/'/g,pd=/"/g,md=/^(?:script|style|textarea|title)$/i,gd=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),bd=gd(1),xd=gd(2),Be=Symbol.for("lit-noChange"),fe=Symbol.for("lit-nothing"),fd=new WeakMap,tr=rr.createTreeWalker(rr,129);Sd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=vo;for(let c=0;c<r;c++){let d=t[c],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===vo?h[1]==="!--"?s=ld:h[1]!==void 0?s=dd:h[2]!==void 0?(md.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=er):h[3]!==void 0&&(s=er):s===er?h[0]===">"?(s=i??vo,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?er:h[3]==='"'?pd:ud):s===pd||s===ud?s=er:s===ld||s===dd?s=vo:(s=er,i=void 0);let x=s===er&&t[c+1].startsWith("/>")?" ":"";a+=s===vo?d+Jy:f>=0?(n.push(u),d.slice(0,f)+Xi+d.slice(f)+ht+x):d+ht+(f===-2?c:x)}return[vd(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Co=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,h]=Sd(e,r);if(this.el=t.createElement(u,n),tr.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=tr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Xi)){let m=h[s++],x=i.getAttribute(f).split(ht),v=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?xn:v[1]==="?"?vn:v[1]==="@"?Sn:nr}),i.removeAttribute(f)}else f.startsWith(ht)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(md.test(i.tagName)){let f=i.textContent.split(ht),m=f.length-1;if(m>0){i.textContent=mn?mn.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],gn()),tr.nextNode(),d.push({type:2,index:++a});i.append(f[m],gn())}}}else if(i.nodeType===8)if(i.data===Ji)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ht,f+1))!==-1;)d.push({type:7,index:a}),f+=ht.length-1}a++}}static createElement(e,r){let n=rr.createElement("template");return n.innerHTML=e,n}};bn=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??rr).importNode(r,!0);tr.currentNode=i;let a=tr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Oo(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new Cn(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=tr.nextNode(),s++)}return tr.currentNode=rr,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++}},Oo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=fe,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=or(this,e,r),So(e)?e===fe||e==null||e===""?(this._$AH!==fe&&this._$AR(),this._$AH=fe):e!==this._$AH&&e!==Be&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):yd(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!==fe&&So(this._$AH)?this._$AA.nextSibling.data=e:this.$(rr.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=Co.createElement(vd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new bn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=fd.get(e.strings);return r===void 0&&fd.set(e.strings,r=new Co(e)),r}T(e){hd(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(gn()),this.k(gn()),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))}},nr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=fe,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=fe}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=or(this,e,r,0),s=!So(e)||e!==this._$AH&&e!==Be,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=or(this,c[n+d],r,d),u===Be&&(u=this._$AH[d]),s||=!So(u)||u!==this._$AH[d],u===fe?e=fe:e!==fe&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===fe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},xn=class extends nr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===fe?void 0:e}},vn=class extends nr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==fe)}},Sn=class extends nr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=or(this,e,r,0)??fe)===Be)return;let n=this._$AH,i=e===fe&&n!==fe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==fe&&(n===fe||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)}},Cn=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){or(this,e)}},Cd={j:Xi,P:ht,A:Ji,C:1,M:Sd,L:bn,R:yd,V:or,D:Oo,I:nr,H:vn,N:Sn,U:xn,B:Cn},em=Qi.litHtmlPolyfillSupport;em?.(Co,Oo),(Qi.litHtmlVersions??=[]).push("3.1.0")});var On,Eo,ea,Od,Lr,ir,I,En,wo,ta=y(()=>{On=globalThis,Eo=On.ShadowRoot&&(On.ShadyCSS===void 0||On.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ea=Symbol(),Od=new WeakMap,Lr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ea)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(Eo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Od.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Od.set(r,e))}return e}toString(){return this.cssText}},ir=t=>new Lr(typeof t=="string"?t:t+"",void 0,ea),I=(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 Lr(r,t,ea)},En=(t,e)=>{if(Eo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=On.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},wo=Eo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return ir(r)})(t):t});var tm,rm,om,nm,im,am,An,Ed,sm,cm,Ao,wn,ra,wd,ot,oa=y(()=>{ta();ta();({is:tm,defineProperty:rm,getOwnPropertyDescriptor:om,getOwnPropertyNames:nm,getOwnPropertySymbols:im,getPrototypeOf:am}=Object),An=globalThis,Ed=An.trustedTypes,sm=Ed?Ed.emptyScript:"",cm=An.reactiveElementPolyfillSupport,Ao=(t,e)=>t,wn={toAttribute(t,e){switch(e){case Boolean:t=t?sm: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}},ra=(t,e)=>!tm(t,e),wd={attribute:!0,type:String,converter:wn,reflect:!1,hasChanged:ra};Symbol.metadata??=Symbol("metadata"),An.litPropertyMetadata??=new WeakMap;ot=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=wd){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&&rm(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=om(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??wd}static _$Ei(){if(this.hasOwnProperty(Ao("elementProperties")))return;let e=am(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ao("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ao("properties"))){let r=this.properties,n=[...nm(r),...im(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(wo(i))}else e!==void 0&&r.push(wo(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 En(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:wn).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:wn;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??ra)(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){}};ot.elementStyles=[],ot.shadowRootOptions={mode:"open"},ot[Ao("elementProperties")]=new Map,ot[Ao("finalized")]=new Map,cm?.({ReactiveElement:ot}),(An.reactiveElementVersions??=[]).push("2.0.2")});function Dd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ad!==void 0?Ad.createHTML(e):e}function lr(t,e,r=t,n){if(e===Lt)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=No(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=lr(t,i._$AS(t,e.values),i,n)),e}var ia,Rn,Ad,aa,mt,sa,lm,cr,_o,No,Ld,Id,na,Ro,Rd,_d,ar,Nd,Td,$d,kd,B,dm,Lt,G,Pd,sr,Md,To,_n,Ir,dr,Nn,Tn,Pn,Ln,um,pm,ca,la=y(()=>{ia=globalThis,Rn=ia.trustedTypes,Ad=Rn?Rn.createPolicy("lit-html",{createHTML:t=>t}):void 0,aa="$lit$",mt=`lit$${(Math.random()+"").slice(9)}$`,sa="?"+mt,lm=`<${sa}>`,cr=document,_o=()=>cr.createComment(""),No=t=>t===null||typeof t!="object"&&typeof t!="function",Ld=Array.isArray,Id=t=>Ld(t)||typeof t?.[Symbol.iterator]=="function",na=`[
4
+ \f\r]`,Ro=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Rd=/-->/g,_d=/>/g,ar=RegExp(`>|${na}(?:([^\\s"'>=/]+)(${na}*=${na}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Nd=/'/g,Td=/"/g,$d=/^(?:script|style|textarea|title)$/i,kd=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),B=kd(1),dm=kd(2),Lt=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Pd=new WeakMap,sr=cr.createTreeWalker(cr,129);Md=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Ro;for(let c=0;c<r;c++){let d=t[c],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ro?h[1]==="!--"?s=Rd:h[1]!==void 0?s=_d:h[2]!==void 0?($d.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ar):h[3]!==void 0&&(s=ar):s===ar?h[0]===">"?(s=i??Ro,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?ar:h[3]==='"'?Td:Nd):s===Td||s===Nd?s=ar:s===Rd||s===_d?s=Ro:(s=ar,i=void 0);let x=s===ar&&t[c+1].startsWith("/>")?" ":"";a+=s===Ro?d+lm:f>=0?(n.push(u),d.slice(0,f)+aa+d.slice(f)+mt+x):d+mt+(f===-2?c:x)}return[Dd(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},To=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,h]=Md(e,r);if(this.el=t.createElement(u,n),sr.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=sr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(aa)){let m=h[s++],x=i.getAttribute(f).split(mt),v=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?Nn:v[1]==="?"?Tn:v[1]==="@"?Pn:dr}),i.removeAttribute(f)}else f.startsWith(mt)&&(d.push({type:6,index:a}),i.removeAttribute(f));if($d.test(i.tagName)){let f=i.textContent.split(mt),m=f.length-1;if(m>0){i.textContent=Rn?Rn.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],_o()),sr.nextNode(),d.push({type:2,index:++a});i.append(f[m],_o())}}}else if(i.nodeType===8)if(i.data===sa)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(mt,f+1))!==-1;)d.push({type:7,index:a}),f+=mt.length-1}a++}}static createElement(e,r){let n=cr.createElement("template");return n.innerHTML=e,n}};_n=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??cr).importNode(r,!0);sr.currentNode=i;let a=sr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Ir(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new Ln(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=sr.nextNode(),s++)}return sr.currentNode=cr,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++}},Ir=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=G,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=lr(this,e,r),No(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==Lt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Id(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!==G&&No(this._$AH)?this._$AA.nextSibling.data=e:this.$(cr.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=To.createElement(Dd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new _n(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Pd.get(e.strings);return r===void 0&&Pd.set(e.strings,r=new To(e)),r}T(e){Ld(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(_o()),this.k(_o()),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))}},dr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=G,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=G}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=lr(this,e,r,0),s=!No(e)||e!==this._$AH&&e!==Lt,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=lr(this,c[n+d],r,d),u===Lt&&(u=this._$AH[d]),s||=!No(u)||u!==this._$AH[d],u===G?e=G:e!==G&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Nn=class extends dr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===G?void 0:e}},Tn=class extends dr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},Pn=class extends dr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=lr(this,e,r,0)??G)===Lt)return;let n=this._$AH,i=e===G&&n!==G||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==G&&(n===G||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)}},Ln=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){lr(this,e)}},um={j:aa,P:mt,A:sa,C:1,M:Md,L:_n,R:Id,V:lr,D:Ir,I:dr,H:Tn,N:Pn,U:Nn,B:Ln},pm=ia.litHtmlPolyfillSupport;pm?.(To,Ir),(ia.litHtmlVersions??=[]).push("3.1.0");ca=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ir(e.insertBefore(_o(),a),a,void 0,r??{})}return i._$AI(t),i}});var gt,fm,hm,Bd=y(()=>{oa();oa();la();la();gt=class extends ot{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=ca(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Lt}};gt._$litElement$=!0,gt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:gt});fm=globalThis.litElementPolyfillSupport;fm?.({LitElement:gt});hm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var sx,Ud=y(()=>{sx=!1});var da={};Q(da,{CSSResult:()=>Lr,LitElement:()=>gt,ReactiveElement:()=>ot,_$LE:()=>hm,_$LH:()=>um,adoptStyles:()=>En,css:()=>I,defaultConverter:()=>wn,getCompatibleStyle:()=>wo,html:()=>B,isServer:()=>sx,noChange:()=>Lt,notEqual:()=>ra,nothing:()=>G,render:()=>ca,supportsAdoptingStyleSheets:()=>Eo,svg:()=>dm,unsafeCSS:()=>ir});var z=y(()=>{qi();yt();Bd();Ud()});var ua,Fd=y(()=>{ua=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function A(t){return(e,r)=>typeof r=="object"?Wd(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 ym,Wd,pa=y(()=>{qi();ym={attribute:!0,type:String,converter:xo,reflect:!1,hasChanged:yn},Wd=(t=ym,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(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return A({...t,state:!0,attribute:!1})}var Hd=y(()=>{pa();});function $r(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var zd=y(()=>{});var qe,kr=y(()=>{qe=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function xe(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return qe(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return qe(r,n,{get(){return a(this)}})}}var jd=y(()=>{kr();});function gm(t){return(e,r)=>qe(e,r,{get(){return(this.renderRoot??(mm??=document.createDocumentFragment())).querySelectorAll(t)}})}var mm,Vd=y(()=>{kr();});function bm(t){return(e,r)=>qe(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var Gd=y(()=>{kr();});function xm(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return qe(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}var Kd=y(()=>{kr();});function fa(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return qe(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Zd=y(()=>{kr();});var ha={};Q(ha,{customElement:()=>ua,eventOptions:()=>$r,property:()=>A,query:()=>xe,queryAll:()=>gm,queryAssignedElements:()=>xm,queryAssignedNodes:()=>fa,queryAsync:()=>bm,standardProperty:()=>Wd,state:()=>le});var ie=y(()=>{Fd();pa();Hd();zd();jd();Vd();Gd();Kd();Zd()});var It,$t,nt,Po=y(()=>{It={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$t=t=>(...e)=>({_$litDirective$:t,values:e}),nt=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 vm,qd,Dr,kt,Sm,Yd,Qd,In,Xd=y(()=>{yt();({D:vm}=Cd),qd=()=>document.createComment(""),Dr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(qd(),i),s=n.insertBefore(qd(),i);r=new vm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||c){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},kt=(t,e,r=t)=>(t._$AI(e,r),t),Sm={},Yd=(t,e=Sm)=>t._$AH=e,Qd=t=>t._$AH,In=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 Jd,Lo,eu=y(()=>{yt();Po();Xd();Jd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Lo=$t(class extends nt{constructor(t){if(super(t),t.type!==It.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 c of t)i[s]=n?n(c,s):s,a[s]=r(c,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=Qd(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],u,h,f=0,m=i.length-1,x=0,v=a.length-1;for(;f<=m&&x<=v;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(c[f]===s[x])d[x]=kt(i[f],a[x]),f++,x++;else if(c[m]===s[v])d[v]=kt(i[m],a[v]),m--,v--;else if(c[f]===s[v])d[v]=kt(i[f],a[v]),Dr(t,d[v+1],i[f]),f++,v--;else if(c[m]===s[x])d[x]=kt(i[m],a[x]),Dr(t,i[f],i[m]),m--,x++;else if(u===void 0&&(u=Jd(s,x,v),h=Jd(c,f,m)),u.has(c[f]))if(u.has(c[m])){let O=h.get(s[x]),N=O!==void 0?i[O]:null;if(N===null){let P=Dr(t,i[f]);kt(P,a[x]),d[x]=P}else d[x]=kt(N,a[x]),Dr(t,i[f],N),i[O]=null;x++}else In(i[m]),m--;else In(i[f]),f++;for(;x<=v;){let O=Dr(t,d[v+1]);kt(O,a[x]),d[x++]=O}for(;f<=m;){let O=i[f++];O!==null&&In(O)}return this.dt=s,Yd(t,d),Be}})});var ya={};Q(ya,{repeat:()=>Lo});var $n=y(()=>{eu()});var it,tu=y(()=>{yt();Po();it=$t(class extends nt{constructor(t){if(super(t),t.type!==It.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 Be}})});var ma={};Q(ma,{classMap:()=>it});var Mr=y(()=>{tu()});var ru,Cm,Om,ou=y(()=>{yt();Po();ru="important",Cm=" !"+ru,Om=$t(class extends nt{constructor(t){if(super(t),t.type!==It.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(Cm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ru:""):r[n]=i}}return Be}})});var ga={};Q(ga,{styleMap:()=>Om});var nu=y(()=>{ou()});var Br,ur,iu=y(()=>{yt();Po();Br=class extends nt{constructor(e){if(super(e),this.et=fe,e.type!==It.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===fe||e==null)return this.vt=void 0,this.et=e;if(e===Be)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:[]}}};Br.directiveName="unsafeHTML",Br.resultType=1;ur=$t(Br)});var ba={};Q(ba,{UnsafeHTMLDirective:()=>Br,unsafeHTML:()=>ur});var Io=y(()=>{iu()});var xa={};Q(xa,{CancelablePromise:()=>Ur,CanceledPromiseError:()=>Dt,cancelable:()=>Fr});var Dt,Ur,Fr,kn=y(()=>{"use strict";Dt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Ur=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Dt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Dt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Fr=t=>new Ur((e,r)=>t.then(e).catch(r))});var Oa={};Q(Oa,{FtNotificationEvent:()=>va,PostResizeEvent:()=>Ca,PreResizeEvent:()=>Sa,WithEventBus:()=>pr,withEventBus:()=>au});function au(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var va,Sa,Ca,pr,$o=y(()=>{"use strict";va=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Sa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ca=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};pr=class extends au(Object){}});var Ea={};Q(Ea,{CacheRegistry:()=>at,ClearCacheEvent:()=>ko});var ko,at,wa=y(()=>{"use strict";kn();$o();ko=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},at=class extends pr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new ko(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new ko([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ur&&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=Fr(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 Ra={};Q(Ra,{ClusteringHelper:()=>Aa});var Aa,_a=y(()=>{"use strict";Aa=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var r,n,i,a,s;let c=((a=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(i=e.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(c=>{a.push(c.join(" > ")),r&&r>1&&c.length>=r?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",i,a){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,x)=>x.findIndex(v=>v.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>c&&(c=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var Na={};Q(Na,{Debouncer:()=>Ce});var Ce,Dn=y(()=>{"use strict";Ce=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(c){i(c);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 Pa={};Q(Pa,{dateReviver:()=>wm,deepEqual:()=>Ye,delay:()=>Mn,eventPathContainsMatchingElement:()=>Rm,flatDeep:()=>cu,getComposedPathTo:()=>Ta,hasChanged:()=>fr,last:()=>_m,minmax:()=>hr,parseDate:()=>lu,unslotText:()=>Bn,waitFor:()=>su,waitUntil:()=>Em});async function Em(t,e=10,r=2e4){await su(async()=>await t()||void 0,e,r)}async function su(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Mn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function cu(t,e){return t.flatMap(r=>[r,...cu(e(r),e)])}function wm(...t){return function(e,r){return t.includes(e)?lu(r):r}}function lu(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 Am(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(!Ye(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(!Ye(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(c=>s[c]!=null);if(i=a(t),r=i.length,r!==a(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){let s=i[n];if(!Ye(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ye(t,e){try{return Am(t,e)}catch{return!1}}function fr(t,e){return!Ye(t,e)}function Rm(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 hr(t,e,r){return Math.min(Math.max(t,e),r)}function _m(t){return t[t.length-1]}function Bn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Bn(e)).join(""):t?.textContent||""}function Ta(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var Mn,Mt=y(()=>{"use strict";Mn=t=>new Promise(e=>setTimeout(e,t))});var La={};Q(La,{customElement:()=>K,isNumber:()=>du,jsonProperty:()=>Ee,optionalNumberProperty:()=>Nm});function Ee(t,e){let r=()=>JSON.parse(JSON.stringify(t));return A({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:fr,...e??{}})}function Nm(t){return A({type:Object,converter:{fromAttribute:e=>{if(e!=null)return du(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function du(t){return!isNaN(parseFloat(t))}var K,Un=y(()=>{"use strict";ie();Mt();K=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function E(t,e){return bt(`${t.name}: ${e}`)}var bt,o,X=y(()=>{z();bt=t=>typeof t=="string"?ir(t):t,o=class{static create(e,r,n,i){let a=c=>bt(c??i),s=I`var(${bt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${bt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=I`var(${bt(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=c=>I`var(${bt(e)}, ${a(c)})`,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):bt(a??e.lastResortDefaultValue()),i=I`var(${bt(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=>I`var(${bt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var l,Ia,$a,ka,Da,Ma,Ba,Ua,Fa,Wa,uu,Ha,za,ja,Va,Ga,Ka,Za,qa,Ya,Qa,Xa,Ja,es,ts,rs,os,Do,Tm,ee=y(()=>{X();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},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")},$a={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")},ka={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")},Da={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")},Ma={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")},Ba={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")},Fa={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")},Wa={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")},uu={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")},za={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")},ja={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")},Va={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")},Ga={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")},Ka={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")},Za={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")},qa={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")},Ya={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")},Qa={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")},Xa={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")},Ja={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")},es={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")},ts={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")},rs={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")},os={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")},Do={display:Ia,"title-1":$a,"title-2":ka,"title-3":Da,"body-1-regular":Ma,"body-1-medium":Ba,"body-1-semibold":Ua,"body-2-regular":Fa,"body-2-medium":Wa,"body-2-medium-underline":uu,"body-2-semibold":Ha,"label-1-medium":za,"label-1-semibold":ja,"label-1-bold":Va,"label-2-medium":Ga,"label-2-semibold":Ka,"label-2-bold":Za,"caption-1-medium":qa,"caption-1-semibold":Ya,"caption-1-bold":Qa,"caption-2-medium":Xa,"caption-2-semibold":Ja,"caption-2-bold":es,"caption-3-medium":ts,"caption-3-semibold":rs,"caption-3-bold":os},Tm=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var p,re=y(()=>{X();ee();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var b,pu=y(()=>{X();ee();re();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)}});var Pm,fu=y(()=>{X();ee();re();Pm={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var Lm,hu=y(()=>{X();ee();re();Lm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)}});var Im,yu=y(()=>{X();ee();re();Im={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var $m,mu=y(()=>{X();ee();re();$m={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)}});var km,gu=y(()=>{X();ee();re();km={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var Dm,bu=y(()=>{X();ee();re();Dm={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var Mm,xu=y(()=>{X();ee();re();Mm={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Bm,vu=y(()=>{X();ee();re();Bm={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var Um,Su=y(()=>{X();ee();Um={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var Fm,Cu=y(()=>{X();ee();re();Fm={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var Wm,Ou=y(()=>{X();ee();re();Wm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var Hm,Eu=y(()=>{X();ee();re();Hm={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var zm,wu=y(()=>{X();ee();re();zm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var jm,Au=y(()=>{X();ee();re();jm={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var Vm,Ru=y(()=>{X();ee();re();Vm={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var Gm,_u=y(()=>{X();ee();re();Gm={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var Km,Nu=y(()=>{X();ee();re();Km={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var Zm,Tu=y(()=>{X();ee();re();Zm={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var qm,Pu=y(()=>{X();ee();re();qm={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var Ym,Lu=y(()=>{X();ee();re();Ym={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var Qm,Iu=y(()=>{X();ee();Qm={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var Xm,$u=y(()=>{X();ee();Xm={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var Jm,ku=y(()=>{X();ee();re();Jm={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var eg,Du=y(()=>{X();ee();re();eg={color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)}});var tg,Mu=y(()=>{X();ee();re();tg={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var rg,Bu=y(()=>{X();ee();re();rg={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var og,Uu=y(()=>{X();ee();re();og={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var ng,Fu=y(()=>{X();ee();re();ng={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var ig,Wu=y(()=>{X();ee();re();ig={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)}});var Hu=y(()=>{ee();re();pu();fu();hu();yu();mu();gu();bu();xu();vu();Su();Cu();Ou();Eu();wu();Au();Ru();_u();Nu();Tu();Pu();Lu();Iu();$u();ku();Du();Mu();Bu();Uu();Fu();Wu()});function ns(t){return`ftds--family-${t}`}function is(t){return`ftds--size-${t}`}var yr,xt,zu=y(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(yr||(yr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(xt||(xt={}))});var Y=y(()=>{X();Hu();zu()});var as={};Q(as,{DesignSystemFamily:()=>yr,DesignSystemSize:()=>xt,FtCssVariableFactory:()=>o,badge:()=>km,banner:()=>$m,button:()=>b,chart:()=>Qm,checkbox:()=>eg,chip:()=>Lm,chipChoice:()=>Pm,collapsible:()=>qm,comboboxMultiSelect:()=>Km,comboboxSingleSelect:()=>Gm,drawer:()=>Wm,floatingMenu:()=>Vm,foundation:()=>l,link:()=>Im,modal:()=>Fm,notice:()=>Jm,notification:()=>og,pageDesigner:()=>Xm,pageFooter:()=>Bm,pageHeader:()=>Mm,pageLayout:()=>Um,popover:()=>Zm,radio:()=>rg,reorderableList:()=>ig,resolveFamilyClass:()=>ns,resolveSizeClass:()=>is,semantic:()=>p,setVariable:()=>E,switch_:()=>Ym,tabs:()=>Hm,textArea:()=>jm,textInput:()=>zm,titleBreadcrumb:()=>Dm,toggle:()=>tg,tooltip:()=>ng,typographies:()=>Do,typographyBody1Medium:()=>Ba,typographyBody1Regular:()=>Ma,typographyBody1Semibold:()=>Ua,typographyBody2Medium:()=>Wa,typographyBody2MediumUnderline:()=>uu,typographyBody2Regular:()=>Fa,typographyBody2Semibold:()=>Ha,typographyCaption1Bold:()=>Qa,typographyCaption1Medium:()=>qa,typographyCaption1Semibold:()=>Ya,typographyCaption2Bold:()=>es,typographyCaption2Medium:()=>Xa,typographyCaption2Semibold:()=>Ja,typographyCaption3Bold:()=>os,typographyCaption3Medium:()=>ts,typographyCaption3Semibold:()=>rs,typographyDisplay:()=>Ia,typographyLabel1Bold:()=>Va,typographyLabel1Medium:()=>za,typographyLabel1Semibold:()=>ja,typographyLabel2Bold:()=>Za,typographyLabel2Medium:()=>Ga,typographyLabel2Semibold:()=>Ka,typographyTitle1:()=>$a,typographyTitle2:()=>ka,typographyTitle3:()=>Da,typographyVariants:()=>Tm});var Fn=y(()=>{"use strict";Y()});var ss={};Q(ss,{designSystemVariables:()=>k});var k,cs=y(()=>{"use strict";Fn();k={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")}});function ds(t,e,r){return Pe(t,mr(e,r))}function gr(t,e){return typeof t=="function"?t(e):t}function Qe(t){return t.split("-")[0]}function Xe(t){return t.split("-")[1]}function us(t){return t==="x"?"y":"x"}function ps(t){return t==="y"?"height":"width"}function Wr(t){return["top","bottom"].includes(Qe(t))?"y":"x"}function fs(t){return us(Wr(t))}function hs(t,e,r){r===void 0&&(r=!1);let n=Xe(t),i=fs(t),a=ps(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Bo(s)),[s,Bo(s)]}function Gu(t){let e=Bo(t);return[Mo(t),e,Mo(e)]}function Mo(t){return t.replace(/start|end/g,e=>sg[e])}function cg(t,e,r){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function Ku(t,e,r,n){let i=Xe(t),a=cg(Qe(t),r==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map(Mo)))),a}function Bo(t){return t.replace(/left|right|bottom|top/g,e=>ag[e])}function lg(t){return{top:0,right:0,bottom:0,left:0,...t}}function Zu(t){return typeof t!="number"?lg(t):{top:t,right:t,bottom:t,left:t}}function br(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var Vu,ju,ls,mr,Pe,Uo,vt,ag,sg,Wn=y(()=>{Vu=["top","right","bottom","left"],ju=["start","end"],ls=Vu.reduce((t,e)=>t.concat(e,e+"-"+ju[0],e+"-"+ju[1]),[]),mr=Math.min,Pe=Math.max,Uo=Math.round,vt=t=>({x:t,y:t}),ag={left:"right",right:"left",bottom:"top",top:"bottom"},sg={start:"end",end:"start"}});function qu(t,e,r){let{reference:n,floating:i}=t,a=Wr(e),s=fs(e),c=ps(s),d=Qe(e),u=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}switch(Xe(e)){case"start":x[s]-=m*(r&&u?-1:1);break;case"end":x[s]+=m*(r&&u?-1:1);break}return x}async function Fo(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=gr(e,t),v=Zu(x),N=c[m?f==="floating"?"reference":"floating":f],P=br(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:d})),L=f==="floating"?{...s.floating,x:n,y:i}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),S=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},R=br(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:w,strategy:d}):L);return{top:(P.top-R.top+v.top)/S.y,bottom:(R.bottom-P.bottom+v.bottom)/S.y,left:(P.left-R.left+v.left)/S.x,right:(R.right-P.right+v.right)/S.x}}function dg(t,e,r){return(t?[...r.filter(i=>Xe(i)===t),...r.filter(i=>Xe(i)!==t)]:r.filter(i=>Qe(i)===i)).filter(i=>t?Xe(i)===t||(e?Mo(i)!==i:!1):!0)}async function ug(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Qe(r),c=Xe(r),d=Wr(r)==="y",u=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=gr(e,t),{mainAxis:m,crossAxis:x,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof v=="number"&&(x=c==="end"?v*-1:v),d?{x:x*h,y:m*u}:{x:m*u,y:x*h}}var Yu,ys,ms,gs,bs,xs,vs=y(()=>{Wn();Wn();Yu=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=qu(u,n,d),m=n,x={},v=0;for(let O=0;O<c.length;O++){let{name:N,fn:P}=c[O],{x:L,y:w,data:S,reset:R}=await P({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});if(h=L??h,f=w??f,x={...x,[N]:{...x[N],...S}},R&&v<=50){v++,typeof R=="object"&&(R.placement&&(m=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:h,y:f}=qu(u,m,d)),O=-1;continue}}return{x:h,y:f,placement:m,strategy:i,middlewareData:x}};ys=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=ls,autoAlignment:x=!0,...v}=gr(t,e),O=f!==void 0||m===ls?dg(f||null,x,m):m,N=await Fo(e,v),P=((r=s.autoPlacement)==null?void 0:r.index)||0,L=O[P];if(L==null)return{};let w=hs(L,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==L)return{reset:{placement:O[0]}};let S=[N[Qe(L)],N[w[0]],N[w[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:S}],$=O[P+1];if($)return{data:{index:P+1,overflows:R},reset:{placement:$}};let H=R.map(U=>{let g=Xe(U.placement);return[U.placement,g&&h?U.overflows.slice(0,2).reduce((C,M)=>C+M,0):U.overflows[0],U.overflows]}).sort((U,g)=>U[1]-g[1]),V=((i=H.filter(U=>U[2].slice(0,Xe(U[0])?2:3).every(g=>g<=0))[0])==null?void 0:i[0])||H[0][0];return V!==c?{data:{index:P+1,overflows:R},reset:{placement:V}}:{}}}},ms=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:d,elements:u}=e,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:O=!0,...N}=gr(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let P=Qe(i),L=Qe(c)===c,w=await(d.isRTL==null?void 0:d.isRTL(u.floating)),S=m||(L||!O?[Bo(c)]:Gu(c));!m&&v!=="none"&&S.push(...Ku(c,O,v,w));let R=[c,...S],$=await Fo(e,N),H=[],Z=((n=a.flip)==null?void 0:n.overflows)||[];if(h&&H.push($[P]),f){let C=hs(i,s,w);H.push($[C[0]],$[C[1]])}if(Z=[...Z,{placement:i,overflows:H}],!H.every(C=>C<=0)){var V,U;let C=(((V=a.flip)==null?void 0:V.index)||0)+1,M=R[C];if(M)return{data:{index:C,overflows:Z},reset:{placement:M}};let q=(U=Z.filter(J=>J.overflows[0]<=0).sort((J,j)=>J.overflows[1]-j.overflows[1])[0])==null?void 0:U.placement;if(!q)switch(x){case"bestFit":{var g;let J=(g=Z.map(j=>[j.placement,j.overflows.filter(rt=>rt>0).reduce((rt,go)=>rt+go,0)]).sort((j,rt)=>j[1]-rt[1])[0])==null?void 0:g[0];J&&(q=J);break}case"initialPlacement":q=c;break}if(i!==q)return{reset:{placement:q}}}return{}}}};gs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await ug(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},bs=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:c={fn:N=>{let{x:P,y:L}=N;return{x:P,y:L}}},...d}=gr(t,e),u={x:r,y:n},h=await Fo(e,d),f=Wr(Qe(i)),m=us(f),x=u[m],v=u[f];if(a){let N=m==="y"?"top":"left",P=m==="y"?"bottom":"right",L=x+h[N],w=x-h[P];x=ds(L,x,w)}if(s){let N=f==="y"?"top":"left",P=f==="y"?"bottom":"right",L=v+h[N],w=v-h[P];v=ds(L,v,w)}let O=c.fn({...e,[m]:x,[f]:v});return{...O,data:{x:O.x-r,y:O.y-n}}}}},xs=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:i,elements:a}=e,{apply:s=()=>{},...c}=gr(t,e),d=await Fo(e,c),u=Qe(r),h=Xe(r),f=Wr(r)==="y",{width:m,height:x}=n.floating,v,O;u==="top"||u==="bottom"?(v=u,O=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(O=u,v=h==="end"?"top":"bottom");let N=x-d[v],P=m-d[O],L=!e.middlewareData.shift,w=N,S=P;if(f){let $=m-d.left-d.right;S=h||L?mr(P,$):$}else{let $=x-d.top-d.bottom;w=h||L?mr(N,$):$}if(L&&!h){let $=Pe(d.left,0),H=Pe(d.right,0),Z=Pe(d.top,0),V=Pe(d.bottom,0);f?S=m-2*($!==0||H!==0?$+H:Pe(d.left,d.right)):w=x-2*(Z!==0||V!==0?Z+V:Pe(d.top,d.bottom))}await s({...e,availableWidth:S,availableHeight:w});let R=await i.getDimensions(a.floating);return m!==R.width||x!==R.height?{reset:{rects:!0}}:{}}}}});function St(t){return Xu(t)?(t.nodeName||"").toLowerCase():"#document"}function Le(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ct(t){var e;return(e=(Xu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Xu(t){return t instanceof Node||t instanceof Le(t).Node}function st(t){return t instanceof Element||t instanceof Le(t).Element}function Je(t){return t instanceof HTMLElement||t instanceof Le(t).HTMLElement}function Qu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Le(t).ShadowRoot}function Hr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Ju(t){return["table","td","th"].includes(St(t))}function zn(t){let e=jn(),r=Ue(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 ep(t){let e=xr(t);for(;Je(e)&&!Wo(e);){if(zn(e))return e;e=xr(e)}return null}function jn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Wo(t){return["html","body","#document"].includes(St(t))}function Ue(t){return Le(t).getComputedStyle(t)}function Ho(t){return st(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xr(t){if(St(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Qu(t)&&t.host||Ct(t);return Qu(e)?e.host:e}function tp(t){let e=xr(t);return Wo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Je(e)&&Hr(e)?e:tp(e)}function Hn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=tp(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Le(i);return a?e.concat(s,s.visualViewport||[],Hr(i)?i:[],s.frameElement&&r?Hn(s.frameElement):[]):e.concat(i,Hn(i,[],r))}var rp=y(()=>{});function ip(t){let e=Ue(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Je(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=Uo(r)!==a||Uo(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function ap(t){return st(t)?t:t.contextElement}function zr(t){let e=ap(t);if(!Je(e))return vt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=ip(e),s=(a?Uo(r.width):r.width)/n,c=(a?Uo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function sp(t){let e=Le(t);return!jn()||!e.visualViewport?pg:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function fg(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Le(t)?!1:e}function zo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=ap(t),s=vt(1);e&&(n?st(n)&&(s=zr(n)):s=zr(t));let c=fg(a,r,n)?sp(a):vt(0),d=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let m=Le(a),x=n&&st(n)?Le(n):n,v=m.frameElement;for(;v&&n&&x!==m;){let O=zr(v),N=v.getBoundingClientRect(),P=Ue(v),L=N.left+(v.clientLeft+parseFloat(P.paddingLeft))*O.x,w=N.top+(v.clientTop+parseFloat(P.paddingTop))*O.y;d*=O.x,u*=O.y,h*=O.x,f*=O.y,d+=L,u+=w,v=Le(v).frameElement}}return br({width:h,height:f,x:d,y:u})}function hg(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Je(r),a=Ct(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=vt(1),d=vt(0);if((i||!i&&n!=="fixed")&&((St(r)!=="body"||Hr(a))&&(s=Ho(r)),Je(r))){let u=zo(r);c=zr(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function yg(t){return Array.from(t.getClientRects())}function cp(t){return zo(Ct(t)).left+Ho(t).scrollLeft}function mg(t){let e=Ct(t),r=Ho(t),n=t.ownerDocument.body,i=Pe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Pe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+cp(t),c=-r.scrollTop;return Ue(n).direction==="rtl"&&(s+=Pe(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function gg(t,e){let r=Le(t),n=Ct(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let u=jn();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function bg(t,e){let r=zo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Je(t)?zr(t):vt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:c,x:d,y:u}}function op(t,e,r){let n;if(e==="viewport")n=gg(t,r);else if(e==="document")n=mg(Ct(t));else if(st(e))n=bg(e,r);else{let i=sp(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return br(n)}function lp(t,e){let r=xr(t);return r===e||!st(r)||Wo(r)?!1:Ue(r).position==="fixed"||lp(r,e)}function xg(t,e){let r=e.get(t);if(r)return r;let n=Hn(t,[],!1).filter(c=>st(c)&&St(c)!=="body"),i=null,a=Ue(t).position==="fixed",s=a?xr(t):t;for(;st(s)&&!Wo(s);){let c=Ue(s),d=zn(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Hr(s)&&!d&&lp(t,s))?n=n.filter(h=>h!==s):i=c,s=xr(s)}return e.set(t,n),n}function vg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?xg(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((u,h)=>{let f=op(e,h,i);return u.top=Pe(f.top,u.top),u.right=mr(f.right,u.right),u.bottom=mr(f.bottom,u.bottom),u.left=Pe(f.left,u.left),u},op(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Sg(t){return ip(t)}function Cg(t,e,r){let n=Je(e),i=Ct(e),a=r==="fixed",s=zo(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=vt(0);if(n||!n&&!a)if((St(e)!=="body"||Hr(i))&&(c=Ho(e)),n){let u=zo(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=cp(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function np(t,e){return!Je(t)||Ue(t).position==="fixed"?null:e?e(t):t.offsetParent}function dp(t,e){let r=Le(t);if(!Je(t))return r;let n=np(t,e);for(;n&&Ju(n)&&Ue(n).position==="static";)n=np(n,e);return n&&(St(n)==="html"||St(n)==="body"&&Ue(n).position==="static"&&!zn(n))?r:n||ep(t)||r}function Eg(t){return Ue(t).direction==="rtl"}var pg,Og,jr,Ss,up=y(()=>{vs();vs();Wn();rp();pg=vt(0);Og=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||dp,a=this.getDimensions;return{reference:Cg(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};jr={convertOffsetParentRelativeRectToViewportRelativeRect:hg,getDocumentElement:Ct,getClippingRect:vg,getOffsetParent:dp,getElementRects:Og,getClientRects:yg,getDimensions:Sg,getScale:zr,isElement:st,isRTL:Eg},Ss=(t,e,r)=>{let n=new Map,i={platform:jr,...r},a={...i.platform,_c:n};return Yu(t,e,{...i,platform:a})}});function Os(t){return wg(t)}function Cs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function wg(t){for(let e=t;e;e=Cs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Cs(t);e;e=Cs(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 pp=y(()=>{});var ws={};Q(ws,{computeFlipOffsetPosition:()=>Ag,computeOffsetPosition:()=>Es});async function Es(t,e,r){return Ss(t,e,{platform:{...jr,getOffsetParent:n=>jr.getOffsetParent(n,Os)},middleware:[bs({crossAxis:!0}),ys({allowedPlacements:[r]})]})}async function Ag(t,e,r,n,i,a,s=4){return Ss(t,e,{placement:r,strategy:i,platform:{...jr,getOffsetParent:c=>jr.getOffsetParent(c,Os)},middleware:[gs(s),ms({fallbackPlacements:n}),xs({apply({availableHeight:c,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,c)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,c)}px`}})]})}var Vn=y(()=>{"use strict";up();pp()});var Gn,Rg,IC,fp,hp=y(()=>{Gn=window,Rg=Gn.ShadowRoot&&(Gn.ShadyCSS===void 0||Gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,IC=Symbol(),fp=(t,e)=>{Rg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Gn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var As={};Q(As,{ScopedRegistryLitElement:()=>jo});var jo,Kn=y(()=>{"use strict";z();hp();jo=class extends gt{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 fp(n,e.elementStyles),n}}});var Rs={};Q(Rs,{FtLitElement:()=>te});var Zn,bp,yp,mp,xp,gp,te,Vo=y(()=>{"use strict";ie();Un();Dn();Kn();Zn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},yp=Symbol("constructorPrototype"),mp=Symbol("constructorName"),xp=Symbol("exportpartsDebouncer"),gp=Symbol("dynamicDependenciesLoaded"),te=class extends jo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[bp]=new Ce(5),this[mp]=this.constructor.name,this[yp]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[mp]&&Object.setPrototypeOf(this,this[yp])}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[gp]||(e[gp]=!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[xp].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,c;let d=m=>m!=null&&m.trim().length>0,u=e.filter(d).map(m=>m.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...v).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(m=>u.map(x=>`${m}:${x}--${m}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};bp=xp;Zn([A()],te.prototype,"exportpartsPrefix",void 0);Zn([Ee([])],te.prototype,"exportpartsPrefixes",void 0);Zn([A()],te.prototype,"customStylesheet",void 0);Zn([le()],te.prototype,"useAdoptedStyleSheets",void 0)});var Ns={};Q(Ns,{FtdsBase:()=>_s,toFtdsBase:()=>qn});function qn(t){class e extends t{constructor(){super(...arguments),this.size=xt.medium,this.family=yr.neutral}getDesignSystemBaseClasses(){return{[ns(this.family)]:!0,[is(this.size)]:!0}}}return vp([A()],e.prototype,"size",void 0),vp([A()],e.prototype,"family",void 0),e}var vp,_s,Ts=y(()=>{"use strict";Vo();ie();Y();vp=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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};_s=class extends qn(te){}});var Sp={};var Ps=y(()=>{"use strict"});var vr,Cp=y(()=>{vr=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,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{r(u)&&(c++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.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),c=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(u,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}}});var Go,Op=y(()=>{Cp();Go=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new vr(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],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+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(c=>{s+=`|${this.escapeStr(c)}`}),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:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(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,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,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 vr.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),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let u=r-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+m,e.nodes.forEach((x,v)=>{v>=c&&(e.nodes[v].start>0&&v!==c&&(e.nodes[v].start-=h),e.nodes[v].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(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,m=>r(m,c,a.value.substring(u,h),d),m=>{n(m,c)})}),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,c)=>this.opt.filter(c,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),c=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,x)=>this.opt.filter(x,u,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(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,c,d)=>this.opt.filter(a,s,c,d),(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=vr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Ls(t){let e=new Go(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 Ep=y(()=>{Op()});var $s={};Q($s,{highlightHtml:()=>Is,highlightHtmlColorCssVariable:()=>wp,highlightHtmlStyles:()=>Ng});function Is(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new _g(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=u=>{for(let h in r.attributes)u.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var _g,wp,Ng,ks=y(()=>{"use strict";z();Y();Ep();_g=Ls,wp=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ng=I`
7
7
  .highlight-html-match {
8
- background: ${Ep};
8
+ background: ${wp};
9
9
  }
10
- `});var Ds={};Y(Ds,{noTextInputDefaultClearButton:()=>Ms,noTextSelect:()=>Vo,safariEllipsisFix:()=>Go,wordWrap:()=>ks});var Vo,ks,Go,Ms,Bs=h(()=>{"use strict";H();Vo=L`
10
+ `});var Bs={};Q(Bs,{noTextInputDefaultClearButton:()=>Ms,noTextSelect:()=>Ko,safariEllipsisFix:()=>Zo,wordWrap:()=>Ds});var Ko,Ds,Zo,Ms,Us=y(()=>{"use strict";z();Ko=I`
11
11
  .ft-no-text-select {
12
12
  -webkit-touch-callout: none;
13
13
  -webkit-user-select: none;
@@ -16,7 +16,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,ks=L`
19
+ `,Ds=I`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,Go=L`
31
+ `,Zo=I`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,15 +39,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `,Ms=L`
42
+ `,Ms=I`
43
43
  input::-webkit-search-cancel-button,
44
44
  input::-webkit-search-decoration,
45
45
  input::-webkit-search-results-button,
46
46
  input::-webkit-search-results-decoration {
47
47
  display: none;
48
48
  }
49
- `});var wp={};var Us=h(()=>{"use strict"});var Fs={};Y(Fs,{ParametrizedLabelResolver:()=>Ko});var Ko,Ws=h(()=>{"use strict";Ko=class t{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 t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}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}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static 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 wg,oe,Ag,Ap=h(()=>{"use strict";Mt();ie();wg=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},oe=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:fr,attribute:!1,...e};w(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:c=>c[n],store:e.store})}},Ag=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Zo,Hs=h(()=>{"use strict";Zo=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 xr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Yn=h(()=>{"use strict"});var Rp,Np,_p,qo,Bt,vr,Le,Pp=h(()=>{"use strict";zo();Yn();qo=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),vr=Symbol("internalStores"),Le=class extends te{constructor(){super(...arguments),this[Rp]=new Map,this[Np]=new Map,this[_p]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[vr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[vr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[vr].get(e)}addStore(e,r){var n;r=(n=r??(xr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[vr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[vr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[vr].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[Bt].has(e.store):this[Bt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Bt].set(e,r.subscribe(()=>this.updateFromStores())),this[qo].set(e,[]),xr(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=c=>this[a](c);r.addEventListener(i.eventName,s),this[qo].get(e).push(()=>r.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Bt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[Bt].has(e)&&this[Bt].get(e)(),this[Bt].delete(e),(r=this[qo].get(e))===null||r===void 0||r.forEach(n=>n()),this[qo].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Rp=Bt,Np=vr,_p=qo;Le.reduxProperties=new Map;Le.reduxReactiveProperties=new Set;Le.reduxEventListeners=new Map});function je(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 Ct(t){return!!t&&!!t[de]}function Qe(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)===$g}(t)||Array.isArray(t)||!!t[Dp]||!!(!((e=t.constructor)===null||e===void 0)&&e[Dp])||Qs(t)||Xs(t))}function Sr(t,e,r){r===void 0&&(r=!1),jr(t)===0?(r?Object.keys:zr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function jr(t){var e=t[de];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qs(t)?2:Xs(t)?3:0}function Hr(t,e){return jr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Rg(t,e){return jr(t)===2?t.get(e):t[e]}function Bp(t,e,r){var n=jr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Up(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Qs(t){return Lg&&t instanceof Map}function Xs(t){return Ig&&t instanceof Set}function Ut(t){return t.o||t.t}function Js(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Hp(t);delete e[de];for(var r=zr(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 ec(t,e){return e===void 0&&(e=!1),tc(t)||Ct(t)||!Qe(t)||(jr(t)>1&&(t.set=t.add=t.clear=t.delete=Ng),Object.freeze(t),e&&Sr(t,function(r,n){return ec(n,!0)},!0)),t}function Ng(){je(2)}function tc(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function st(t){var e=Ys[t];return e||je(18,t),e}function _g(t,e){Ys[t]||(Ys[t]=e)}function Ks(){return Qo}function zs(t,e){e&&(st("Patches"),t.u=[],t.s=[],t.v=e)}function Qn(t){Zs(t),t.p.forEach(Pg),t.p=null}function Zs(t){t===Qo&&(Qo=t.l)}function Tp(t){return Qo={p:[],l:Qo,h:t,m:!0,_:0}}function Pg(t){var e=t[de];e.i===0||e.i===1?e.j():e.g=!0}function js(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||st("ES5").S(e,t,n),n?(r[de].P&&(Qn(e),je(4)),Qe(t)&&(t=Xn(e,t),e.l||Jn(e,t)),e.u&&st("Patches").M(r[de].t,t,e.u,e.s)):t=Xn(e,r,[]),Qn(e),e.u&&e.v(e.u,e.s),t!==Wp?t:void 0}function Xn(t,e,r){if(tc(e))return e;var n=e[de];if(!n)return Sr(e,function(c,d){return Lp(t,n,e,c,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Jn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Js(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Sr(a,function(c,d){return Lp(t,n,i,c,d,r,s)}),Jn(t,i,!1),r&&t.u&&st("Patches").N(n,r,t.u,t.s)}return n.o}function Lp(t,e,r,n,i,a,s){if(Ct(i)){var c=Xn(t,i,a&&e&&e.i!==3&&!Hr(e.R,n)?a.concat(n):void 0);if(Bp(r,n,c),!Ct(c))return;t.m=!1}else s&&r.add(i);if(Qe(i)&&!tc(i)){if(!t.h.D&&t._<1)return;Xn(t,i),e&&e.A.l||Jn(t,i)}}function Jn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ec(e,r)}function Vs(t,e){var r=t[de];return(r?Ut(r):t)[e]}function Ip(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 Ft(t){t.P||(t.P=!0,t.l&&Ft(t.l))}function Gs(t){t.o||(t.o=Js(t.t))}function qs(t,e,r){var n=Qs(e)?st("MapSet").F(e,r):Xs(e)?st("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Ks(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,u=Xo;s&&(d=[c],u=Yo);var m=Proxy.revocable(d,u),f=m.revoke,g=m.proxy;return c.k=g,c.j=f,g}(e,r):st("ES5").J(e,r);return(r?r.A:Ks()).p.push(n),n}function Tg(t){return Ct(t)||je(22,t),function e(r){if(!Qe(r))return r;var n,i=r[de],a=jr(r);if(i){if(!i.P&&(i.i<4||!st("ES5").K(i)))return i.t;i.I=!0,n=$p(r,a),i.I=!1}else n=$p(r,a);return Sr(n,function(s,c){i&&Rg(i.t,s)===c||Bp(n,s,e(c))}),a===3?new Set(n):n}(t)}function $p(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Js(t)}function Fp(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[de];return Xo.get(u,s)},set:function(u){var m=this[de];Xo.set(m,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][de];if(!d.P)switch(d.i){case 5:n(d)&&Ft(d);break;case 4:r(d)&&Ft(d)}}}function r(s){for(var c=s.t,d=s.k,u=zr(d),m=u.length-1;m>=0;m--){var f=u[m];if(f!==de){var g=c[f];if(g===void 0&&!Hr(c,f))return!0;var x=d[f],v=x&&x[de];if(v?v.t!==g:!Up(x,g))return!0}}var E=!!c[de];return u.length!==zr(c).length+(E?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&je(3,JSON.stringify(Ut(s)))}var a={};_g("ES5",{J:function(s,c){var d=Array.isArray(s),u=function(f,g){if(f){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var E=Hp(g);delete E[de];for(var P=zr(E),T=0;T<P.length;T++){var I=P[T];E[I]=t(I,f||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(d,s),m={i:d?5:4,A:c?c.A:Ks(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,de,{value:m,writable:!0}),u},S:function(s,c,d){d?Ct(c)&&c[de].A===s&&e(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var f=m[de];if(f){var g=f.t,x=f.k,v=f.R,E=f.i;if(E===4)Sr(x,function(C){C!==de&&(g[C]!==void 0||Hr(g,C)?v[C]||u(x[C]):(v[C]=!0,Ft(f)))}),Sr(g,function(C){x[C]!==void 0||Hr(x,C)||(v[C]=!1,Ft(f))});else if(E===5){if(n(f)&&(Ft(f),v.length=!0),x.length<g.length)for(var P=x.length;P<g.length;P++)v[P]=!1;else for(var T=g.length;T<x.length;T++)v[T]=!0;for(var I=Math.min(x.length,g.length),A=0;A<I;A++)x.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&u(x[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var kp,Qo,rc,Lg,Ig,Mp,Wp,Dp,de,$g,zr,Hp,Ys,Xo,Yo,kg,Ue,Mg,oO,nO,iO,aO,sO,cO,ei,ti=h(()=>{rc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Lg=typeof Map<"u",Ig=typeof Set<"u",Mp=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Wp=rc?Symbol.for("immer-nothing"):((kp={})["immer-nothing"]=!0,kp),Dp=rc?Symbol.for("immer-draftable"):"__$immer_draftable",de=rc?Symbol.for("immer-state"):"__$immer_state",$g=""+Object.prototype.constructor,zr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Hp=Object.getOwnPropertyDescriptors||function(t){var e={};return zr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ys={},Xo={get:function(t,e){if(e===de)return t;var r=Ut(t);if(!Hr(r,e))return function(i,a,s){var c,d=Ip(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Qe(n)?n:n===Vs(t.t,e)?(Gs(t),t.o[e]=qs(t.A.h,n,t)):n},has:function(t,e){return e in Ut(t)},ownKeys:function(t){return Reflect.ownKeys(Ut(t))},set:function(t,e,r){var n=Ip(Ut(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Vs(Ut(t),e),a=i?.[de];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Up(r,i)&&(r!==void 0||Hr(t.t,e)))return!0;Gs(t),Ft(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,Gs(t),Ft(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ut(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){je(12)}},Yo={};Sr(Xo,function(t,e){Yo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Yo.deleteProperty=function(t,e){return Yo.set.call(this,t,e,void 0)},Yo.set=function(t,e,r){return Xo.set.call(this,t[0],e,r,t[0])};kg=function(){function t(r){var n=this;this.O=Mp,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(E){var P=this;E===void 0&&(E=c);for(var T=arguments.length,I=Array(T>1?T-1:0),A=1;A<T;A++)I[A-1]=arguments[A];return d.produce(E,function(C){var R;return(R=a).call.apply(R,[P,C].concat(I))})}}var u;if(typeof a!="function"&&je(6),s!==void 0&&typeof s!="function"&&je(7),Qe(i)){var m=Tp(n),f=qs(n,i,void 0),g=!0;try{u=a(f),g=!1}finally{g?Qn(m):Zs(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return zs(m,s),js(E,m)},function(E){throw Qn(m),E}):(zs(m,s),js(u,m))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Wp&&(u=void 0),n.D&&ec(u,!0),s){var x=[],v=[];st("Patches").M(i,u,x,v),s(x,v)}return u}je(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var m=arguments.length,f=Array(m>1?m-1:0),g=1;g<m;g++)f[g-1]=arguments[g];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(f))})};var s,c,d=n.produce(i,a,function(u,m){s=u,c=m});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Qe(r)||je(8),Ct(r)&&(r=Tg(r));var n=Tp(this),i=qs(this,r,void 0);return i[de].C=!0,Zs(n),i},e.finishDraft=function(r,n){var i=r&&r[de],a=i.A;return zs(a,n),js(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Mp&&je(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=st("Patches").$;return Ct(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),Ue=new kg,Mg=Ue.produce,oO=Ue.produceWithPatches.bind(Ue),nO=Ue.setAutoFreeze.bind(Ue),iO=Ue.setUseProxies.bind(Ue),aO=Ue.applyPatches.bind(Ue),sO=Ue.createDraft.bind(Ue),cO=Ue.finishDraft.bind(Ue),ei=Mg});function Wt(t){"@babel/helpers - typeof";return Wt=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},Wt(t)}var oc=h(()=>{});function nc(t,e){if(Wt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Wt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var zp=h(()=>{oc()});function ic(t){var e=nc(t,"string");return Wt(e)==="symbol"?e:String(e)}var jp=h(()=>{oc();zp()});function ac(t,e,r){return e=ic(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vp=h(()=>{jp()});function Gp(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 ri(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Gp(Object(r),!0).forEach(function(n){ac(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var Kp=h(()=>{Vp()});function we(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function Dg(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 cc(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(we(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(we(1));return r(cc)(t,e)}if(typeof t!="function")throw new Error(we(2));var i=t,a=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function m(){if(d)throw new Error(we(3));return a}function f(E){if(typeof E!="function")throw new Error(we(4));if(d)throw new Error(we(5));var P=!0;return u(),c.push(E),function(){if(P){if(d)throw new Error(we(6));P=!1,u();var I=c.indexOf(E);c.splice(I,1),s=null}}}function g(E){if(!Dg(E))throw new Error(we(7));if(typeof E.type>"u")throw new Error(we(8));if(d)throw new Error(we(9));try{d=!0,a=i(a,E)}finally{d=!1}for(var P=s=c,T=0;T<P.length;T++){var I=P[T];I()}return E}function x(E){if(typeof E!="function")throw new Error(we(10));i=E,g({type:oi.REPLACE})}function v(){var E,P=f;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(we(11));function A(){I.next&&I.next(m())}A();var C=P(A);return{unsubscribe:C}}},E[Zp]=function(){return this},E}return g({type:oi.INIT}),n={dispatch:g,subscribe:f,getState:m,replaceReducer:x},n[Zp]=v,n}function Bg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:oi.INIT});if(typeof n>"u")throw new Error(we(12));if(typeof r(void 0,{type:oi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(we(13))})}function qp(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,c;try{Bg(r)}catch(d){c=d}return function(u,m){if(u===void 0&&(u={}),c)throw c;if(0)var f;for(var g=!1,x={},v=0;v<a.length;v++){var E=a[v],P=r[E],T=u[E],I=P(T,m);if(typeof I>"u"){var A=m&&m.type;throw new Error(we(14))}x[E]=I,g=g||I!==T}return g=g||a.length!==Object.keys(u).length,g?x:u}}function Vr(){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 Yp(){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(we(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=Vr.apply(void 0,c)(i.dispatch),ri(ri({},i),{},{dispatch:a})}}}var Zp,sc,oi,ni=h(()=>{Kp();Zp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),sc=function(){return Math.random().toString(36).substring(7).split("").join(".")},oi={INIT:"@@redux/INIT"+sc(),REPLACE:"@@redux/REPLACE"+sc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sc()}}});function Qp(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Xp,lc,Jp=h(()=>{Xp=Qp();Xp.withExtraArgument=Qp;lc=Xp});function Kg(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 fc(t){return Qe(t)?ei(t,function(){}):t}function Yg(t){return typeof t=="boolean"}function Qg(){return function(e){return Xg(e)}}function Xg(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,c=new Zg;if(r&&(Yg(r)?c.push(lc):c.push(lc.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var u}return c}function af(t){var e=Qg(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,m=u===void 0?void 0:u,f=r.enhancers,g=f===void 0?void 0:f,x;if(typeof i=="function")x=i;else if(Kg(i))x=qp(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 v=s;if(typeof v=="function"&&(v=v(e),!uc&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!uc&&v.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Yp.apply(void 0,v),P=Vr;d&&(P=Gg(Ht({trace:!uc},typeof d=="object"&&d)));var T=new qg(E),I=T;Array.isArray(g)?I=Gr([E],g):typeof g=="function"&&(I=g(T));var A=P.apply(void 0,I);return cc(x,m,A)}function zt(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 Ht(Ht({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 sf(t){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=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 Jg(t){return typeof t=="function"}function eb(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?sf(e):[e,r,n],a=i[0],s=i[1],c=i[2],d;if(Jg(t))d=function(){return fc(t())};else{var u=fc(t);d=function(){return u}}function m(f,g){f===void 0&&(f=d());var x=Gr([a[g.type]],s.filter(function(v){var E=v.matcher;return E(g)}).map(function(v){var E=v.reducer;return E}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,E){if(E)if(Ct(v)){var P=v,T=E(P,g);return T===void 0?v:T}else{if(Qe(v))return ei(v,function(I){return E(I,g)});var T=E(v,g);if(T===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return v},f)}return m.getInitialState=d,m}function tb(t,e){return t+"/"+e}function cf(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:fc(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(m){var f=n[m],g=tb(e,m),x,v;"reducer"in f?(x=f.reducer,v=f.prepare):x=f,a[m]=x,s[g]=x,c[m]=v?zt(g,v):zt(g)});function d(){var m=typeof t.extraReducers=="function"?sf(t.extraReducers):[t.extraReducers],f=m[0],g=f===void 0?{}:f,x=m[1],v=x===void 0?[]:x,E=m[2],P=E===void 0?void 0:E,T=Ht(Ht({},g),s);return eb(r,function(I){for(var A in T)I.addCase(A,T[A]);for(var C=0,R=v;C<R.length;C++){var M=R[C];I.addMatcher(M.matcher,M.reducer)}P&&I.addDefaultCase(P)})}var u;return{name:e,reducer:function(m,f){return u||(u=d()),u(m,f)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}function ab(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function sb(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var nf,Ug,Gr,Fg,Wg,Hg,ef,zg,jg,tf,Ht,dc,Vg,Gg,AO,Zg,qg,uc,rb,ob,nb,pc,rf,ib,PO,lf,df,uf,TO,LO,IO,$O,hc,kO,MO,DO,of,BO,cb,UO,pf=h(()=>{ti();ni();ni();ni();Jp();ti();ti();nf=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)}}(),Ug=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(m){return d([u,m])}}function d(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(m){u=[6,m],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Gr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Fg=Object.defineProperty,Wg=Object.defineProperties,Hg=Object.getOwnPropertyDescriptors,ef=Object.getOwnPropertySymbols,zg=Object.prototype.hasOwnProperty,jg=Object.prototype.propertyIsEnumerable,tf=function(t,e,r){return e in t?Fg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ht=function(t,e){for(var r in e||(e={}))zg.call(e,r)&&tf(t,r,e[r]);if(ef)for(var n=0,i=ef(e);n<i.length;n++){var r=i[n];jg.call(e,r)&&tf(t,r,e[r])}return t},dc=function(t,e){return Wg(t,Hg(e))},Vg=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{c(r.next(d))}catch(u){i(u)}},s=function(d){try{c(r.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((r=r.apply(t,e)).next())})},Gg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Vr:Vr.apply(null,arguments)},AO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Zg=function(t){nf(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,Gr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gr([void 0],r.concat(this))))},e}(Array),qg=function(t){nf(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,Gr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gr([void 0],r.concat(this))))},e}(Array);uc=!0;rb="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ob=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=rb[Math.random()*64|0];return e},nb=["name","message","stack","code"],pc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),rf=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),ib=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=nb;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},PO=function(){function t(e,r,n){var i=zt(e+"/fulfilled",function(m,f,g,x){return{payload:m,meta:dc(Ht({},x||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),a=zt(e+"/pending",function(m,f,g){return{payload:void 0,meta:dc(Ht({},g||{}),{arg:f,requestId:m,requestStatus:"pending"})}}),s=zt(e+"/rejected",function(m,f,g,x,v){return{payload:x,error:(n&&n.serializeError||ib)(m||"Rejected"),meta:dc(Ht({},v||{}),{arg:g,requestId:f,rejectedWithValue:!!x,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(f,g,x){var v=n?.idGenerator?n.idGenerator(m):ob(),E=new d,P,T=!1;function I(C){P=C,E.abort()}var A=function(){return Vg(this,null,function(){var C,R,M,z,Q,q,U;return Ug(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),z=(C=n?.condition)==null?void 0:C.call(n,m,{getState:g,extra:x}),sb(z)?[4,z]:[3,2];case 1:z=y.sent(),y.label=2;case 2:if(z===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,Q=new Promise(function(S,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:P||"Aborted"})})}),f(a(v,m,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:m},{getState:g,extra:x}))),[4,Promise.race([Q,Promise.resolve(r(m,{dispatch:f,getState:g,extra:x,requestId:v,signal:E.signal,abort:I,rejectWithValue:function(S,D){return new pc(S,D)},fulfillWithValue:function(S,D){return new rf(S,D)}})).then(function(S){if(S instanceof pc)throw S;return S instanceof rf?i(S.payload,v,m,S.meta):i(S,v,m)})])];case 3:return M=y.sent(),[3,5];case 4:return q=y.sent(),M=q instanceof pc?s(null,v,m,q.payload,q.meta):s(q,v,m),[3,5];case 5:return U=n&&!n.dispatchConditionRejection&&s.match(M)&&M.meta.condition,U||f(M),[2,M]}})})}();return Object.assign(A,{abort:I,requestId:v,arg:m,unwrap:function(){return A.then(ab)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();lf="listener",df="completed",uf="cancelled",TO="task-"+uf,LO="task-"+df,IO=lf+"-"+uf,$O=lf+"-"+df,hc="listenerMiddleware",kO=zt(hc+"/add"),MO=zt(hc+"/removeAll"),DO=zt(hc+"/remove"),BO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(of||(of=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},cb=function(t){return function(e){setTimeout(e,t)}},UO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:cb(10);Fp()});function lb(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))xr(e)&&e.clear()}var Ot,ff=h(()=>{"use strict";pf();Yn();Hs();To();window.ftReduxStores||(window.ftReduxStores={});Ot=class t extends pr{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(xr(a))return a;if(i==null)return;let s=cf({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=af({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Zo;let n=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,a,s)=>{let c=a,d=i[c];return d?(...u)=>{let m=d(...u.map(n));return this.reduxStore.dispatch(m),m}:u=>{this.setState({[c]:n(u)})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function ai(t,e,r){return new ii(t,e,r).watch()}var ii,hf=h(()=>{"use strict";Mt();ii=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);fr(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var mc={};Y(mc,{FtCommandQueue:()=>Zo,FtLitElementRedux:()=>Le,FtReduxStore:()=>Ot,ReduxWatcher:()=>ii,clearAllStores:()=>lb,isFtReduxStore:()=>xr,redux:()=>oe,reduxEventListener:()=>Ag,reduxReactive:()=>wg,watch:()=>ai});var si=h(()=>{"use strict";Ap();Hs();Pp();ff();Yn();hf()});var xc={};Y(xc,{scrollHelper:()=>bc});var yc,ci,gc,bc,vc=h(()=>{"use strict";Mt();ci=new Map,gc=class{lock(e,r){if(r){let n=ci.get(r);if(n==null||n===e)return ci.set(r,e),r}}release(e,r){r&&ci.get(r)===e&&ci.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let a of Pa(e)){let s=a,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&i==null&&(i=s)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,i;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return a+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=hr(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,c)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(yc=window.FluidTopicsScrollHelper)!==null&&yc!==void 0?yc:new gc;bc=window.FluidTopicsScrollHelper});var Sc={};Y(Sc,{shadowQuerySelector:()=>db,shadowQuerySelectorAll:()=>ub});function db(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function ub(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var Cc=h(()=>{"use strict"});var yf=Dm((jt,mf)=>{var li=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,di=function(){function t(){this.fetch=!1,this.DOMException=li.DOMException}return t.prototype=li,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function u(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var S={next:function(){var D=y.shift();return{done:D===void 0,value:D}}};return i.iterable&&(S[Symbol.iterator]=function(){return S}),S}function f(y){this.map={},y instanceof f?y.forEach(function(S,D){this.append(D,S)},this):Array.isArray(y)?y.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(S){this.append(S,y[S])},this)}f.prototype.append=function(y,S){y=d(y),S=u(S);var D=this.map[y];this.map[y]=D?D+", "+S:S},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,S){this.map[d(y)]=u(S)},f.prototype.forEach=function(y,S){for(var D in this.map)this.map.hasOwnProperty(D)&&y.call(S,this.map[D],D,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(S,D){y.push(D)}),m(y)},f.prototype.values=function(){var y=[];return this.forEach(function(S){y.push(S)}),m(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(S,D){y.push([D,S])}),m(y)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(S,D){y.onload=function(){S(y.result)},y.onerror=function(){D(y.error)}})}function v(y){var S=new FileReader,D=x(S);return S.readAsArrayBuffer(y),D}function E(y){var S=new FileReader,D=x(S),K=/charset=([A-Za-z0-9_-]+)/.exec(y.type),J=K?K[1]:"utf-8";return S.readAsText(y,J),D}function P(y){for(var S=new Uint8Array(y),D=new Array(S.length),K=0;K<S.length;K++)D[K]=String.fromCharCode(S[K]);return D.join("")}function T(y){if(y.slice)return y.slice(0);var S=new Uint8Array(y.byteLength);return S.set(new Uint8Array(y)),S.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=T(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=T(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(P(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(M)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(y){var S=y.toUpperCase();return A.indexOf(S)>-1?S:y}function R(y,S){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var D=S.body;if(y instanceof R){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,S.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!D&&y._bodyInit!=null&&(D=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new f(S.headers)),this.method=C(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in n){var j=new AbortController;return j.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var K=/([?&])_=[^&]*/;if(K.test(this.url))this.url=this.url.replace(K,"$1_="+new Date().getTime());else{var J=/\?/;this.url+=(J.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function M(y){var S=new FormData;return y.trim().split("&").forEach(function(D){if(D){var K=D.split("="),J=K.shift().replace(/\+/g," "),j=K.join("=").replace(/\+/g," ");S.append(decodeURIComponent(J),decodeURIComponent(j))}}),S}function z(y){var S=new f,D=y.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(K){return K.indexOf(`
50
- `)===0?K.substr(1,K.length):K}).forEach(function(K){var J=K.split(":"),j=J.shift().trim();if(j){var Je=J.join(":").trim();try{S.append(j,Je)}catch(ho){console.warn("Response "+ho.message)}}}),S}I.call(R.prototype);function Q(y,S){if(!(this instanceof Q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=S.statusText===void 0?"":""+S.statusText,this.headers=new f(S.headers),this.url=S.url||"",this._initBody(y)}I.call(Q.prototype),Q.prototype.clone=function(){return new Q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},Q.error=function(){var y=new Q(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var q=[301,302,303,307,308];Q.redirect=function(y,S){if(q.indexOf(S)===-1)throw new RangeError("Invalid status code");return new Q(null,{status:S,headers:{location:y}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,D){this.message=S,this.name=D;var K=Error(S);this.stack=K.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function U(y,S){return new Promise(function(D,K){var J=new R(y,S);if(J.signal&&J.signal.aborted)return K(new r.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function Je(){j.abort()}j.onload=function(){var Se={statusText:j.statusText,headers:z(j.getAllResponseHeaders()||"")};J.url.indexOf("file://")===0&&(j.status<200||j.status>599)?Se.status=200:Se.status=j.status,Se.url="responseURL"in j?j.responseURL:Se.headers.get("X-Request-URL");var Xt="response"in j?j.response:j.responseText;setTimeout(function(){D(new Q(Xt,Se))},0)},j.onerror=function(){setTimeout(function(){K(new TypeError("Network request failed"))},0)},j.ontimeout=function(){setTimeout(function(){K(new TypeError("Network request timed out"))},0)},j.onabort=function(){setTimeout(function(){K(new r.DOMException("Aborted","AbortError"))},0)};function ho(Se){try{return Se===""&&n.location.href?n.location.href:Se}catch{return Se}}if(j.open(J.method,ho(J.url),!0),J.credentials==="include"?j.withCredentials=!0:J.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&(i.blob?j.responseType="blob":i.arrayBuffer&&(j.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof f||n.Headers&&S.headers instanceof n.Headers)){var Jl=[];Object.getOwnPropertyNames(S.headers).forEach(function(Se){Jl.push(d(Se)),j.setRequestHeader(Se,u(S.headers[Se]))}),J.headers.forEach(function(Se,Xt){Jl.indexOf(Xt)===-1&&j.setRequestHeader(Xt,Se)})}else J.headers.forEach(function(Se,Xt){j.setRequestHeader(Xt,Se)});J.signal&&(J.signal.addEventListener("abort",Je),j.onreadystatechange=function(){j.readyState===4&&J.signal.removeEventListener("abort",Je)}),j.send(typeof J._bodyInit>"u"?null:J._bodyInit)})}return U.polyfill=!0,n.fetch||(n.fetch=U,n.Headers=f,n.Request=R,n.Response=Q),r.Headers=f,r.Request=R,r.Response=Q,r.fetch=U,r}({})})(di);di.fetch.ponyfill=!0;delete di.fetch.polyfill;var Kr=li.fetch?li:di;jt=Kr.fetch;jt.default=Kr.fetch;jt.fetch=Kr.fetch;jt.Headers=Kr.Headers;jt.Request=Kr.Request;jt.Response=Kr.Response;mf.exports=jt});var gf=h(()=>{});var bf,xf,vf,Sf,Cf,Of,Ef,wf,Af,Rf,Nf,Zr,Tf,_f,ui,Pf,Jo,Lf,qr,Yr,ve,Oc=h(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(bf||(bf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(xf||(xf={}));(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"})(vf||(vf={}));(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"})(Sf||(Sf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Cf||(Cf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Of||(Of={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Ef||(Ef={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(wf||(wf={}));(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"})(Af||(Af={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Rf||(Rf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Nf||(Nf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Zr||(Zr={}));Tf=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(_f||(_f={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ui||(ui={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Pf||(Pf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Jo||(Jo={}));Lf=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(qr||(qr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Yr||(Yr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ve||(ve={}))});var If,$f,kf=h(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(If||(If={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})($f||($f={}))});var aE,Mf=h(()=>{Oc();aE={[ve.PERSONAL_BOOK_SHARE_USER]:[ve.PERSONAL_BOOK_USER],[ve.HTML_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.PDF_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.KHUB_ADMIN]:[ve.CONTENT_PUBLISHER],[ve.ADMIN]:[ve.KHUB_ADMIN,ve.USERS_ADMIN,ve.PORTAL_ADMIN],[ve.DEVELOPER]:[ve.BETA_USER,ve.DEBUG_USER],[ve.GENERATIVE_AI_EXPORT_USER]:[ve.GENERATIVE_AI_USER]}});var Df=h(()=>{});var pb,pi=h(()=>{pb=Um(yf(),1);gf();Oc();kf();Mf();Df()});var Ec={};Y(Ec,{SearchPlaceConverter:()=>Qr,SearchPlaceQueryParams:()=>ae,isSearchPlaceQueryParams:()=>Uf,serializeRequest:()=>hb});function fb(t){return`"${t}"`}function Bf(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function hb(t,e){return new Qr(t).serialize(e)}function Uf(t){return mb.has(t)}var ae,mb,Qr,wc=h(()=>{"use strict";pi();Mt();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(ae||(ae={}));mb=new Set(Object.values(ae));Qr=class{constructor(e,r={},n=20,i=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=i,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=this.toURLSearchParams(e).toString(),i=r==null||r.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=n,a.toString()}toURLSearchParams(e,r=!1){var n,i,a,s,c,d,u,m,f,g,x,v;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(ae.LOCALE,e.contentLocale):E.append(ae.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&E.append(ae.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(ae.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(ae.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(ae.SORT,"last_update");let P=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter))!==null&&s!==void 0?s:[];if(P.length>0){let C=P.map(R=>{var M,z;let Q=((z=(M=R.valueFilter)===null||M===void 0?void 0:M.values)!==null&&z!==void 0?z:[]).map(q=>this.escapeFilters(q)).map(q=>encodeURIComponent(fb(Bf(q)))).join("_");return`${R.key}~${Q}`}).join("*");E.append(ae.VALUE_FILTERS,C)}let T=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(C=>C.dateFilter))!==null&&d!==void 0?d:[];if(T.length>0){let C=T.map(R=>{var M;return`${R.key}~${(M=R.dateFilter)===null||M===void 0?void 0:M.type.toLowerCase()}`}).join("*");E.append(ae.DATE_FILTERS,C)}let I=(m=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(C=>C.rangeFilter))!==null&&m!==void 0?m:[];if(I.length>0){let C=I.map(R=>{var M,z;return`${R.key}~${(M=R.rangeFilter)===null||M===void 0?void 0:M.from}_${(z=R.rangeFilter)===null||z===void 0?void 0:z.to}`}).join("*");E.append(ae.RANGE_FILTERS,C)}let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let C in A)E.append(C,A[C]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((v=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&E.append(ae.PER_PAGE,String(e.paging.perPage)),E}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,c,d,u;let m=e.get(ae.LOCALE)==="all"?void 0:e.get(ae.LOCALE),f=((r=e.get(ae.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),g=((n=e.get(ae.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),x=(i=e.get(ae.SCOPE))!==null&&i!==void 0?i:"default",v=+((a=e.get(ae.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let P of e.keys())Uf(P)||(E[P]=e.get(P));return{contentLocale:m??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(ae.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[x])!==null&&c!==void 0?c:"DEFAULT",virtualField:Tf(f)?f:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:hr(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:E}}parseCompatFilters(e){var r,n,i,a,s,c;let d=[];return e.has(ae.FILTERS)&&(d=this.parseValueFilters((r=e.get(ae.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ae.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(ae.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ae.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ae.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ae.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Bf).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Jo[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(Lf(e))return[{key:"ft:lastEdition",dateFilter:{type:Jo[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}}});var Rc={};Y(Rc,{toFtFormComponent:()=>Ac});function Ac(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[fi].form}constructor(...i){super(i),this[fi]=this.attachInternals(),this[fi].role=e}setFormValue(i){this[fi].setFormValue(i)}}return r}var fi,Nc=h(()=>{"use strict";fi=Symbol("elementInternals")});var _c={};Y(_c,{DateFormatter:()=>Xr});var Xr,hi=h(()=>{"use strict";Xr=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 Pc,Tc,Lc,Ic,$c,yb,k=h(()=>{"use strict";td();H();ie();In();$r();ou();Po();wa();$n();Na();kn();Bn();cs();To();Vn();Un();_s();zo();Ps();Mt();$s();Bs();Us();Ws();si();Kn();vc();Cc();wc();Nc();hi();Z();wa();$n();Na();hi();kn();Bn();cs();To();Vn();Un();_s();zo();Ps();Mt();$s();Bs();Us();Ws();si();Kn();vc();Cc();wc();Nc();Z();$c=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Lc=(Tc=(Pc=window.safari)===null||Pc===void 0?void 0:Pc.pushNotification)===null||Tc===void 0?void 0:Tc.toString())!==null&&Lc!==void 0?Lc:"")==="[object SafariRemoteNotification]",yb="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ic=window.ftGlobals)!==null&&Ic!==void 0?Ic:{lit:da,litDecorators:ha,litRepeat:ma,litClassMap:ya,litStyleMap:ga,litUnsafeHTML:ba,wcUtils:{...Ea,...xa,...Ra,..._c,..._a,...La,...ss,...Oa,...Es,...as,...Ns,...As,...vp,...Ta,...Is,...Ds,...wp,...Fs,...mc,...ws,...xc,...Sc,...Ec,...Rc,isSafari:$c,isTouchScreen:yb,setVariable:O}}});var Ff,N,Wf,Hf,zf,jf,Vf,Cr=h(()=>{"use strict";H();k();Ff=o.extend("--ft-ripple-color","",$.colorContent),N={color:Ff,backgroundColor:o.extend("--ft-ripple-background-color","",Ff),opacityContentOnSurfacePressed:o.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Wf=o.extend("--ft-ripple-color","",$.colorPrimary),Hf={color:Wf,backgroundColor:o.extend("--ft-ripple-background-color","",Wf)},zf=o.extend("--ft-ripple-color","",$.colorSecondary),jf={color:zf,backgroundColor:o.extend("--ft-ripple-background-color","",zf)},Vf=L`
49
+ `});var Ap={};var Fs=y(()=>{"use strict"});var Ws={};Q(Ws,{ParametrizedLabelResolver:()=>qo});var qo,Hs=y(()=>{"use strict";qo=class t{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 t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}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}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static 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 Tg,oe,Pg,Rp=y(()=>{"use strict";Mt();ie();Tg=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},oe=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:fr,attribute:!1,...e};A(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:c=>c[n],store:e.store})}},Pg=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Yo,zs=y(()=>{"use strict";Yo=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 Sr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Yn=y(()=>{"use strict"});var _p,Np,Tp,Qo,Bt,Cr,Ie,Pp=y(()=>{"use strict";Vo();Yn();Qo=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),Cr=Symbol("internalStores"),Ie=class extends te{constructor(){super(...arguments),this[_p]=new Map,this[Np]=new Map,this[Tp]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Cr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Cr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Cr].get(e)}addStore(e,r){var n;r=(n=r??(Sr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[Cr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Cr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Cr].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[Bt].has(e.store):this[Bt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Bt].set(e,r.subscribe(()=>this.updateFromStores())),this[Qo].set(e,[]),Sr(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=c=>this[a](c);r.addEventListener(i.eventName,s),this[Qo].get(e).push(()=>r.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Bt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[Bt].has(e)&&this[Bt].get(e)(),this[Bt].delete(e),(r=this[Qo].get(e))===null||r===void 0||r.forEach(n=>n()),this[Qo].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};_p=Bt,Np=Cr,Tp=Qo;Ie.reduxProperties=new Map;Ie.reduxReactiveProperties=new Set;Ie.reduxEventListeners=new Map});function Ve(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 Ot(t){return!!t&&!!t[de]}function et(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)===Ug}(t)||Array.isArray(t)||!!t[Bp]||!!(!((e=t.constructor)===null||e===void 0)&&e[Bp])||Xs(t)||Js(t))}function Or(t,e,r){r===void 0&&(r=!1),Kr(t)===0?(r?Object.keys:Gr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Kr(t){var e=t[de];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Xs(t)?2:Js(t)?3:0}function Vr(t,e){return Kr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Lg(t,e){return Kr(t)===2?t.get(e):t[e]}function Up(t,e,r){var n=Kr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Fp(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Xs(t){return Mg&&t instanceof Map}function Js(t){return Bg&&t instanceof Set}function Ut(t){return t.o||t.t}function ec(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=zp(t);delete e[de];for(var r=Gr(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 tc(t,e){return e===void 0&&(e=!1),rc(t)||Ot(t)||!et(t)||(Kr(t)>1&&(t.set=t.add=t.clear=t.delete=Ig),Object.freeze(t),e&&Or(t,function(r,n){return tc(n,!0)},!0)),t}function Ig(){Ve(2)}function rc(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ct(t){var e=Qs[t];return e||Ve(18,t),e}function $g(t,e){Qs[t]||(Qs[t]=e)}function Zs(){return Jo}function js(t,e){e&&(ct("Patches"),t.u=[],t.s=[],t.v=e)}function Qn(t){qs(t),t.p.forEach(kg),t.p=null}function qs(t){t===Jo&&(Jo=t.l)}function Lp(t){return Jo={p:[],l:Jo,h:t,m:!0,_:0}}function kg(t){var e=t[de];e.i===0||e.i===1?e.j():e.g=!0}function Vs(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||ct("ES5").S(e,t,n),n?(r[de].P&&(Qn(e),Ve(4)),et(t)&&(t=Xn(e,t),e.l||Jn(e,t)),e.u&&ct("Patches").M(r[de].t,t,e.u,e.s)):t=Xn(e,r,[]),Qn(e),e.u&&e.v(e.u,e.s),t!==Hp?t:void 0}function Xn(t,e,r){if(rc(e))return e;var n=e[de];if(!n)return Or(e,function(c,d){return Ip(t,n,e,c,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Jn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ec(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Or(a,function(c,d){return Ip(t,n,i,c,d,r,s)}),Jn(t,i,!1),r&&t.u&&ct("Patches").N(n,r,t.u,t.s)}return n.o}function Ip(t,e,r,n,i,a,s){if(Ot(i)){var c=Xn(t,i,a&&e&&e.i!==3&&!Vr(e.R,n)?a.concat(n):void 0);if(Up(r,n,c),!Ot(c))return;t.m=!1}else s&&r.add(i);if(et(i)&&!rc(i)){if(!t.h.D&&t._<1)return;Xn(t,i),e&&e.A.l||Jn(t,i)}}function Jn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&tc(e,r)}function Gs(t,e){var r=t[de];return(r?Ut(r):t)[e]}function $p(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 Ft(t){t.P||(t.P=!0,t.l&&Ft(t.l))}function Ks(t){t.o||(t.o=ec(t.t))}function Ys(t,e,r){var n=Xs(e)?ct("MapSet").F(e,r):Js(e)?ct("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Zs(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,u=en;s&&(d=[c],u=Xo);var h=Proxy.revocable(d,u),f=h.revoke,m=h.proxy;return c.k=m,c.j=f,m}(e,r):ct("ES5").J(e,r);return(r?r.A:Zs()).p.push(n),n}function Dg(t){return Ot(t)||Ve(22,t),function e(r){if(!et(r))return r;var n,i=r[de],a=Kr(r);if(i){if(!i.P&&(i.i<4||!ct("ES5").K(i)))return i.t;i.I=!0,n=kp(r,a),i.I=!1}else n=kp(r,a);return Or(n,function(s,c){i&&Lg(i.t,s)===c||Up(n,s,e(c))}),a===3?new Set(n):n}(t)}function kp(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ec(t)}function Wp(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[de];return en.get(u,s)},set:function(u){var h=this[de];en.set(h,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][de];if(!d.P)switch(d.i){case 5:n(d)&&Ft(d);break;case 4:r(d)&&Ft(d)}}}function r(s){for(var c=s.t,d=s.k,u=Gr(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==de){var m=c[f];if(m===void 0&&!Vr(c,f))return!0;var x=d[f],v=x&&x[de];if(v?v.t!==m:!Fp(x,m))return!0}}var O=!!c[de];return u.length!==Gr(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Ve(3,JSON.stringify(Ut(s)))}var a={};$g("ES5",{J:function(s,c){var d=Array.isArray(s),u=function(f,m){if(f){for(var x=Array(m.length),v=0;v<m.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var O=zp(m);delete O[de];for(var N=Gr(O),P=0;P<N.length;P++){var L=N[P];O[L]=t(L,f||!!O[L].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(d,s),h={i:d?5:4,A:c?c.A:Zs(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,de,{value:h,writable:!0}),u},S:function(s,c,d){d?Ot(c)&&c[de].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[de];if(f){var m=f.t,x=f.k,v=f.R,O=f.i;if(O===4)Or(x,function(S){S!==de&&(m[S]!==void 0||Vr(m,S)?v[S]||u(x[S]):(v[S]=!0,Ft(f)))}),Or(m,function(S){x[S]!==void 0||Vr(x,S)||(v[S]=!1,Ft(f))});else if(O===5){if(n(f)&&(Ft(f),v.length=!0),x.length<m.length)for(var N=x.length;N<m.length;N++)v[N]=!1;else for(var P=m.length;P<x.length;P++)v[P]=!0;for(var L=Math.min(x.length,m.length),w=0;w<L;w++)x.hasOwnProperty(w)||(v[w]=!0),v[w]===void 0&&u(x[w])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Dp,Jo,oc,Mg,Bg,Mp,Hp,Bp,de,Ug,Gr,zp,Qs,en,Xo,Fg,Fe,Wg,sO,cO,lO,dO,uO,pO,ei,ti=y(()=>{oc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Mg=typeof Map<"u",Bg=typeof Set<"u",Mp=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Hp=oc?Symbol.for("immer-nothing"):((Dp={})["immer-nothing"]=!0,Dp),Bp=oc?Symbol.for("immer-draftable"):"__$immer_draftable",de=oc?Symbol.for("immer-state"):"__$immer_state",Ug=""+Object.prototype.constructor,Gr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,zp=Object.getOwnPropertyDescriptors||function(t){var e={};return Gr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Qs={},en={get:function(t,e){if(e===de)return t;var r=Ut(t);if(!Vr(r,e))return function(i,a,s){var c,d=$p(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!et(n)?n:n===Gs(t.t,e)?(Ks(t),t.o[e]=Ys(t.A.h,n,t)):n},has:function(t,e){return e in Ut(t)},ownKeys:function(t){return Reflect.ownKeys(Ut(t))},set:function(t,e,r){var n=$p(Ut(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Gs(Ut(t),e),a=i?.[de];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Fp(r,i)&&(r!==void 0||Vr(t.t,e)))return!0;Ks(t),Ft(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 Gs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ks(t),Ft(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ut(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ve(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ve(12)}},Xo={};Or(en,function(t,e){Xo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Xo.deleteProperty=function(t,e){return Xo.set.call(this,t,e,void 0)},Xo.set=function(t,e,r){return en.set.call(this,t[0],e,r,t[0])};Fg=function(){function t(r){var n=this;this.O=Mp,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(O){var N=this;O===void 0&&(O=c);for(var P=arguments.length,L=Array(P>1?P-1:0),w=1;w<P;w++)L[w-1]=arguments[w];return d.produce(O,function(S){var R;return(R=a).call.apply(R,[N,S].concat(L))})}}var u;if(typeof a!="function"&&Ve(6),s!==void 0&&typeof s!="function"&&Ve(7),et(i)){var h=Lp(n),f=Ys(n,i,void 0),m=!0;try{u=a(f),m=!1}finally{m?Qn(h):qs(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return js(h,s),Vs(O,h)},function(O){throw Qn(h),O}):(js(h,s),Vs(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Hp&&(u=void 0),n.D&&tc(u,!0),s){var x=[],v=[];ct("Patches").M(i,u,x,v),s(x,v)}return u}Ve(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(f))})};var s,c,d=n.produce(i,a,function(u,h){s=u,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){et(r)||Ve(8),Ot(r)&&(r=Dg(r));var n=Lp(this),i=Ys(this,r,void 0);return i[de].C=!0,qs(n),i},e.finishDraft=function(r,n){var i=r&&r[de],a=i.A;return js(a,n),Vs(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Mp&&Ve(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=ct("Patches").$;return Ot(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),Fe=new Fg,Wg=Fe.produce,sO=Fe.produceWithPatches.bind(Fe),cO=Fe.setAutoFreeze.bind(Fe),lO=Fe.setUseProxies.bind(Fe),dO=Fe.applyPatches.bind(Fe),uO=Fe.createDraft.bind(Fe),pO=Fe.finishDraft.bind(Fe),ei=Wg});function Wt(t){"@babel/helpers - typeof";return Wt=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},Wt(t)}var nc=y(()=>{});function ic(t,e){if(Wt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Wt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var jp=y(()=>{nc()});function ac(t){var e=ic(t,"string");return Wt(e)==="symbol"?e:String(e)}var Vp=y(()=>{nc();jp()});function sc(t,e,r){return e=ac(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gp=y(()=>{Vp()});function Kp(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 ri(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Kp(Object(r),!0).forEach(function(n){sc(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var Zp=y(()=>{Gp()});function we(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function Hg(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 lc(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(we(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(we(1));return r(lc)(t,e)}if(typeof t!="function")throw new Error(we(2));var i=t,a=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(we(3));return a}function f(O){if(typeof O!="function")throw new Error(we(4));if(d)throw new Error(we(5));var N=!0;return u(),c.push(O),function(){if(N){if(d)throw new Error(we(6));N=!1,u();var L=c.indexOf(O);c.splice(L,1),s=null}}}function m(O){if(!Hg(O))throw new Error(we(7));if(typeof O.type>"u")throw new Error(we(8));if(d)throw new Error(we(9));try{d=!0,a=i(a,O)}finally{d=!1}for(var N=s=c,P=0;P<N.length;P++){var L=N[P];L()}return O}function x(O){if(typeof O!="function")throw new Error(we(10));i=O,m({type:oi.REPLACE})}function v(){var O,N=f;return O={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(we(11));function w(){L.next&&L.next(h())}w();var S=N(w);return{unsubscribe:S}}},O[qp]=function(){return this},O}return m({type:oi.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:x},n[qp]=v,n}function zg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:oi.INIT});if(typeof n>"u")throw new Error(we(12));if(typeof r(void 0,{type:oi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(we(13))})}function Yp(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,c;try{zg(r)}catch(d){c=d}return function(u,h){if(u===void 0&&(u={}),c)throw c;if(0)var f;for(var m=!1,x={},v=0;v<a.length;v++){var O=a[v],N=r[O],P=u[O],L=N(P,h);if(typeof L>"u"){var w=h&&h.type;throw new Error(we(14))}x[O]=L,m=m||L!==P}return m=m||a.length!==Object.keys(u).length,m?x:u}}function Zr(){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 Qp(){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(we(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=Zr.apply(void 0,c)(i.dispatch),ri(ri({},i),{},{dispatch:a})}}}var qp,cc,oi,ni=y(()=>{Zp();qp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),cc=function(){return Math.random().toString(36).substring(7).split("").join(".")},oi={INIT:"@@redux/INIT"+cc(),REPLACE:"@@redux/REPLACE"+cc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+cc()}}});function Xp(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Jp,dc,ef=y(()=>{Jp=Xp();Jp.withExtraArgument=Xp;dc=Jp});function Xg(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 hc(t){return et(t)?ei(t,function(){}):t}function tb(t){return typeof t=="boolean"}function rb(){return function(e){return ob(e)}}function ob(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,c=new Jg;if(r&&(tb(r)?c.push(dc):c.push(dc.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var u}return c}function sf(t){var e=rb(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,h=u===void 0?void 0:u,f=r.enhancers,m=f===void 0?void 0:f,x;if(typeof i=="function")x=i;else if(Xg(i))x=Yp(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 v=s;if(typeof v=="function"&&(v=v(e),!pc&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!pc&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Qp.apply(void 0,v),N=Zr;d&&(N=Qg(Ht({trace:!pc},typeof d=="object"&&d)));var P=new eb(O),L=P;Array.isArray(m)?L=qr([O],m):typeof m=="function"&&(L=m(P));var w=N.apply(void 0,L);return lc(x,h,w)}function zt(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 Ht(Ht({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 cf(t){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=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 nb(t){return typeof t=="function"}function ib(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?cf(e):[e,r,n],a=i[0],s=i[1],c=i[2],d;if(nb(t))d=function(){return hc(t())};else{var u=hc(t);d=function(){return u}}function h(f,m){f===void 0&&(f=d());var x=qr([a[m.type]],s.filter(function(v){var O=v.matcher;return O(m)}).map(function(v){var O=v.reducer;return O}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,O){if(O)if(Ot(v)){var N=v,P=O(N,m);return P===void 0?v:P}else{if(et(v))return ei(v,function(L){return O(L,m)});var P=O(v,m);if(P===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return v},f)}return h.getInitialState=d,h}function ab(t,e){return t+"/"+e}function lf(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:hc(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var f=n[h],m=ab(e,h),x,v;"reducer"in f?(x=f.reducer,v=f.prepare):x=f,a[h]=x,s[m]=x,c[h]=v?zt(m,v):zt(m)});function d(){var h=typeof t.extraReducers=="function"?cf(t.extraReducers):[t.extraReducers],f=h[0],m=f===void 0?{}:f,x=h[1],v=x===void 0?[]:x,O=h[2],N=O===void 0?void 0:O,P=Ht(Ht({},m),s);return ib(r,function(L){for(var w in P)L.addCase(w,P[w]);for(var S=0,R=v;S<R.length;S++){var $=R[S];L.addMatcher($.matcher,$.reducer)}N&&L.addDefaultCase(N)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}function ub(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function pb(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var af,jg,qr,Vg,Gg,Kg,tf,Zg,qg,rf,Ht,uc,Yg,Qg,TO,Jg,eb,pc,sb,cb,lb,fc,of,db,$O,df,uf,pf,kO,DO,MO,BO,yc,UO,FO,WO,nf,HO,fb,zO,ff=y(()=>{ti();ni();ni();ni();ef();ti();ti();af=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)}}(),jg=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(h){return d([u,h])}}function d(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}}},qr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Vg=Object.defineProperty,Gg=Object.defineProperties,Kg=Object.getOwnPropertyDescriptors,tf=Object.getOwnPropertySymbols,Zg=Object.prototype.hasOwnProperty,qg=Object.prototype.propertyIsEnumerable,rf=function(t,e,r){return e in t?Vg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ht=function(t,e){for(var r in e||(e={}))Zg.call(e,r)&&rf(t,r,e[r]);if(tf)for(var n=0,i=tf(e);n<i.length;n++){var r=i[n];qg.call(e,r)&&rf(t,r,e[r])}return t},uc=function(t,e){return Gg(t,Kg(e))},Yg=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{c(r.next(d))}catch(u){i(u)}},s=function(d){try{c(r.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((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"?Zr:Zr.apply(null,arguments)},TO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Jg=function(t){af(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,qr([void 0],r[0].concat(this)))):new(e.bind.apply(e,qr([void 0],r.concat(this))))},e}(Array),eb=function(t){af(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,qr([void 0],r[0].concat(this)))):new(e.bind.apply(e,qr([void 0],r.concat(this))))},e}(Array);pc=!0;sb="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",cb=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=sb[Math.random()*64|0];return e},lb=["name","message","stack","code"],fc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),of=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),db=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=lb;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},$O=function(){function t(e,r,n){var i=zt(e+"/fulfilled",function(h,f,m,x){return{payload:h,meta:uc(Ht({},x||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),a=zt(e+"/pending",function(h,f,m){return{payload:void 0,meta:uc(Ht({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=zt(e+"/rejected",function(h,f,m,x,v){return{payload:x,error:(n&&n.serializeError||db)(h||"Rejected"),meta:uc(Ht({},v||{}),{arg:m,requestId:f,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(f,m,x){var v=n?.idGenerator?n.idGenerator(h):cb(),O=new d,N,P=!1;function L(S){N=S,O.abort()}var w=function(){return Yg(this,null,function(){var S,R,$,H,Z,V,U;return jg(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),H=(S=n?.condition)==null?void 0:S.call(n,h,{getState:m,extra:x}),pb(H)?[4,H]:[3,2];case 1:H=g.sent(),g.label=2;case 2:if(H===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,Z=new Promise(function(C,M){return O.signal.addEventListener("abort",function(){return M({name:"AbortError",message:N||"Aborted"})})}),f(a(v,h,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:h},{getState:m,extra:x}))),[4,Promise.race([Z,Promise.resolve(r(h,{dispatch:f,getState:m,extra:x,requestId:v,signal:O.signal,abort:L,rejectWithValue:function(C,M){return new fc(C,M)},fulfillWithValue:function(C,M){return new of(C,M)}})).then(function(C){if(C instanceof fc)throw C;return C instanceof of?i(C.payload,v,h,C.meta):i(C,v,h)})])];case 3:return $=g.sent(),[3,5];case 4:return V=g.sent(),$=V instanceof fc?s(null,v,h,V.payload,V.meta):s(V,v,h),[3,5];case 5:return U=n&&!n.dispatchConditionRejection&&s.match($)&&$.meta.condition,U||f($),[2,$]}})})}();return Object.assign(w,{abort:L,requestId:v,arg:h,unwrap:function(){return w.then(ub)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();df="listener",uf="completed",pf="cancelled",kO="task-"+pf,DO="task-"+uf,MO=df+"-"+pf,BO=df+"-"+uf,yc="listenerMiddleware",UO=zt(yc+"/add"),FO=zt(yc+"/removeAll"),WO=zt(yc+"/remove"),HO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(nf||(nf=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},fb=function(t){return function(e){setTimeout(e,t)}},zO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:fb(10);Wp()});function hb(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Sr(e)&&e.clear()}var Et,hf=y(()=>{"use strict";ff();Yn();zs();$o();window.ftReduxStores||(window.ftReduxStores={});Et=class t extends pr{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(Sr(a))return a;if(i==null)return;let s=lf({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=sf({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,c,i.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Yo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let d=s,u=a[d];return u?(...h)=>{let f=u(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function ai(t,e,r){return new ii(t,e,r).watch()}var ii,yf=y(()=>{"use strict";Mt();ii=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);fr(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var mc={};Q(mc,{FtCommandQueue:()=>Yo,FtLitElementRedux:()=>Ie,FtReduxStore:()=>Et,ReduxWatcher:()=>ii,clearAllStores:()=>hb,isFtReduxStore:()=>Sr,redux:()=>oe,reduxEventListener:()=>Pg,reduxReactive:()=>Tg,watch:()=>ai});var si=y(()=>{"use strict";Rp();zs();Pp();hf();Yn();yf()});var vc={};Q(vc,{scrollHelper:()=>xc});var gc,ci,bc,xc,Sc=y(()=>{"use strict";Mt();ci=new Map,bc=class{lock(e,r){if(r){let n=ci.get(r);if(n==null||n===e)return ci.set(r,e),r}}release(e,r){r&&ci.get(r)===e&&ci.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let a of Ta(e)){let s=a,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&i==null&&(i=s)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,i;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return a+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=hr(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,c)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(gc=window.FluidTopicsScrollHelper)!==null&&gc!==void 0?gc:new bc;xc=window.FluidTopicsScrollHelper});var Cc={};Q(Cc,{shadowQuerySelector:()=>yb,shadowQuerySelectorAll:()=>mb});function yb(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function mb(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var Oc=y(()=>{"use strict"});var gf=Hy((jt,mf)=>{var li=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,di=function(){function t(){this.fetch=!1,this.DOMException=li.DOMException}return t.prototype=li,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function d(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function u(g){return typeof g!="string"&&(g=String(g)),g}function h(g){var C={next:function(){var M=g.shift();return{done:M===void 0,value:M}}};return i.iterable&&(C[Symbol.iterator]=function(){return C}),C}function f(g){this.map={},g instanceof f?g.forEach(function(C,M){this.append(M,C)},this):Array.isArray(g)?g.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(C){this.append(C,g[C])},this)}f.prototype.append=function(g,C){g=d(g),C=u(C);var M=this.map[g];this.map[g]=M?M+", "+C:C},f.prototype.delete=function(g){delete this.map[d(g)]},f.prototype.get=function(g){return g=d(g),this.has(g)?this.map[g]:null},f.prototype.has=function(g){return this.map.hasOwnProperty(d(g))},f.prototype.set=function(g,C){this.map[d(g)]=u(C)},f.prototype.forEach=function(g,C){for(var M in this.map)this.map.hasOwnProperty(M)&&g.call(C,this.map[M],M,this)},f.prototype.keys=function(){var g=[];return this.forEach(function(C,M){g.push(M)}),h(g)},f.prototype.values=function(){var g=[];return this.forEach(function(C){g.push(C)}),h(g)},f.prototype.entries=function(){var g=[];return this.forEach(function(C,M){g.push([M,C])}),h(g)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function x(g){return new Promise(function(C,M){g.onload=function(){C(g.result)},g.onerror=function(){M(g.error)}})}function v(g){var C=new FileReader,M=x(C);return C.readAsArrayBuffer(g),M}function O(g){var C=new FileReader,M=x(C),q=/charset=([A-Za-z0-9_-]+)/.exec(g.type),J=q?q[1]:"utf-8";return C.readAsText(g,J),M}function N(g){for(var C=new Uint8Array(g),M=new Array(C.length),q=0;q<C.length;q++)M[q]=String.fromCharCode(C[q]);return M.join("")}function P(g){if(g.slice)return g.slice(0);var C=new Uint8Array(g.byteLength);return C.set(new Uint8Array(g)),C.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:i.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:i.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():i.arrayBuffer&&i.blob&&a(g)?(this._bodyArrayBuffer=P(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||c(g))?this._bodyArrayBuffer=P(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.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(){if(this._bodyArrayBuffer){var g=m(this);return g||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then($)}),this.json=function(){return this.text().then(JSON.parse)},this}var w=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(g){var C=g.toUpperCase();return w.indexOf(C)>-1?C:g}function R(g,C){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var M=C.body;if(g instanceof R){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,C.headers||(this.headers=new f(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!M&&g._bodyInit!=null&&(M=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new f(C.headers)),this.method=S(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in n){var j=new AbortController;return j.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&M)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(M),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var J=/\?/;this.url+=(J.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function $(g){var C=new FormData;return g.trim().split("&").forEach(function(M){if(M){var q=M.split("="),J=q.shift().replace(/\+/g," "),j=q.join("=").replace(/\+/g," ");C.append(decodeURIComponent(J),decodeURIComponent(j))}}),C}function H(g){var C=new f,M=g.replace(/\r?\n[\t ]+/g," ");return M.split("\r").map(function(q){return q.indexOf(`
50
+ `)===0?q.substr(1,q.length):q}).forEach(function(q){var J=q.split(":"),j=J.shift().trim();if(j){var rt=J.join(":").trim();try{C.append(j,rt)}catch(go){console.warn("Response "+go.message)}}}),C}L.call(R.prototype);function Z(g,C){if(!(this instanceof Z))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new f(C.headers),this.url=C.url||"",this._initBody(g)}L.call(Z.prototype),Z.prototype.clone=function(){return new Z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},Z.error=function(){var g=new Z(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var V=[301,302,303,307,308];Z.redirect=function(g,C){if(V.indexOf(C)===-1)throw new RangeError("Invalid status code");return new Z(null,{status:C,headers:{location:g}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,M){this.message=C,this.name=M;var q=Error(C);this.stack=q.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function U(g,C){return new Promise(function(M,q){var J=new R(g,C);if(J.signal&&J.signal.aborted)return q(new r.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function rt(){j.abort()}j.onload=function(){var Se={statusText:j.statusText,headers:H(j.getAllResponseHeaders()||"")};J.url.indexOf("file://")===0&&(j.status<200||j.status>599)?Se.status=200:Se.status=j.status,Se.url="responseURL"in j?j.responseURL:Se.headers.get("X-Request-URL");var Xt="response"in j?j.response:j.responseText;setTimeout(function(){M(new Z(Xt,Se))},0)},j.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},j.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},j.onabort=function(){setTimeout(function(){q(new r.DOMException("Aborted","AbortError"))},0)};function go(Se){try{return Se===""&&n.location.href?n.location.href:Se}catch{return Se}}if(j.open(J.method,go(J.url),!0),J.credentials==="include"?j.withCredentials=!0:J.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&(i.blob?j.responseType="blob":i.arrayBuffer&&(j.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof f||n.Headers&&C.headers instanceof n.Headers)){var ed=[];Object.getOwnPropertyNames(C.headers).forEach(function(Se){ed.push(d(Se)),j.setRequestHeader(Se,u(C.headers[Se]))}),J.headers.forEach(function(Se,Xt){ed.indexOf(Xt)===-1&&j.setRequestHeader(Xt,Se)})}else J.headers.forEach(function(Se,Xt){j.setRequestHeader(Xt,Se)});J.signal&&(J.signal.addEventListener("abort",rt),j.onreadystatechange=function(){j.readyState===4&&J.signal.removeEventListener("abort",rt)}),j.send(typeof J._bodyInit>"u"?null:J._bodyInit)})}return U.polyfill=!0,n.fetch||(n.fetch=U,n.Headers=f,n.Request=R,n.Response=Z),r.Headers=f,r.Request=R,r.Response=Z,r.fetch=U,r}({})})(di);di.fetch.ponyfill=!0;delete di.fetch.polyfill;var Yr=li.fetch?li:di;jt=Yr.fetch;jt.default=Yr.fetch;jt.fetch=Yr.fetch;jt.Headers=Yr.Headers;jt.Request=Yr.Request;jt.Response=Yr.Response;mf.exports=jt});var bf=y(()=>{});var xf,vf,Sf,Cf,Of,Ef,wf,Af,Rf,_f,Nf,Tf,Pf,Lf,If,Er,Df,$f,ui,kf,Qr,Mf,Xr,Jr,ve,Ec=y(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(xf||(xf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(vf||(vf={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Sf||(Sf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Cf||(Cf={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Of||(Of={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Ef||(Ef={}));(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"})(wf||(wf={}));(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"})(Af||(Af={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Rf||(Rf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(_f||(_f={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Nf||(Nf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Tf||(Tf={}));(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"})(Pf||(Pf={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Lf||(Lf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(If||(If={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Er||(Er={}));Df=t=>Object.keys(Er).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})($f||($f={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ui||(ui={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(kf||(kf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Qr||(Qr={}));Mf=t=>Object.keys(Qr).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Xr||(Xr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Jr||(Jr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ve||(ve={}))});var Bf,Uf,Ff=y(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Bf||(Bf={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Uf||(Uf={}))});var dE,Wf=y(()=>{Ec();dE={[ve.PERSONAL_BOOK_SHARE_USER]:[ve.PERSONAL_BOOK_USER],[ve.HTML_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.PDF_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.KHUB_ADMIN]:[ve.CONTENT_PUBLISHER],[ve.ADMIN]:[ve.KHUB_ADMIN,ve.USERS_ADMIN,ve.PORTAL_ADMIN],[ve.DEVELOPER]:[ve.BETA_USER,ve.DEBUG_USER],[ve.GENERATIVE_AI_EXPORT_USER]:[ve.GENERATIVE_AI_USER]}});var Hf=y(()=>{});var gb,pi=y(()=>{gb=jy(gf(),1);bf();Ec();Ff();Wf();Hf()});var wc={};Q(wc,{SearchPlaceConverter:()=>eo,SearchPlaceQueryParams:()=>ae,isSearchPlaceQueryParams:()=>jf,serializeRequest:()=>xb});function bb(t){return`"${t}"`}function zf(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function xb(t,e){return new eo(t).serialize(e)}function jf(t){return vb.has(t)}var ae,vb,eo,Ac=y(()=>{"use strict";pi();Mt();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(ae||(ae={}));vb=new Set(Object.values(ae));eo=class{constructor(e,r={},n=20,i=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=i,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=this.toURLSearchParams(e).toString(),i=r==null||r.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=n,a.toString()}toURLSearchParams(e,r=!1){var n,i,a,s,c,d,u,h,f,m,x,v;let O=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&O.append(ae.LOCALE,e.contentLocale):O.append(ae.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&O.append(ae.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&O.append(ae.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&O.append(ae.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&O.append(ae.SORT,"last_update");let N=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(N.length>0){let S=N.map(R=>{var $,H;let Z=((H=($=R.valueFilter)===null||$===void 0?void 0:$.values)!==null&&H!==void 0?H:[]).map(V=>this.escapeFilters(V)).map(V=>encodeURIComponent(bb(zf(V)))).join("_");return`${R.key}~${Z}`}).join("*");O.append(ae.VALUE_FILTERS,S)}let P=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(P.length>0){let S=P.map(R=>{var $;return`${R.key}~${($=R.dateFilter)===null||$===void 0?void 0:$.type.toLowerCase()}`}).join("*");O.append(ae.DATE_FILTERS,S)}let L=(h=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(S=>S.rangeFilter))!==null&&h!==void 0?h:[];if(L.length>0){let S=L.map(R=>{var $,H;return`${R.key}~${($=R.rangeFilter)===null||$===void 0?void 0:$.from}_${(H=R.rangeFilter)===null||H===void 0?void 0:H.to}`}).join("*");O.append(ae.RANGE_FILTERS,S)}let w=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let S in w)O.append(S,w[S]);return!((m=e.paging)===null||m===void 0)&&m.perPage&&((v=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&O.append(ae.PER_PAGE,String(e.paging.perPage)),O}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,c,d,u;let h=e.get(ae.LOCALE)==="all"?void 0:e.get(ae.LOCALE),f=((r=e.get(ae.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),m=((n=e.get(ae.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),x=(i=e.get(ae.SCOPE))!==null&&i!==void 0?i:"default",v=+((a=e.get(ae.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),O={};for(let N of e.keys())jf(N)||(O[N]=e.get(N));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(ae.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[x])!==null&&c!==void 0?c:"DEFAULT",virtualField:Df(f)?f:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:hr(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:O}}parseCompatFilters(e){var r,n,i,a,s,c;let d=[];return e.has(ae.FILTERS)&&(d=this.parseValueFilters((r=e.get(ae.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ae.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(ae.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ae.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ae.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ae.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(zf).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Qr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(Mf(e))return[{key:"ft:lastEdition",dateFilter:{type:Qr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}}});var _c={};Q(_c,{toFtFormComponent:()=>Rc});function Rc(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[fi].form}constructor(...i){super(i),this[fi]=this.attachInternals(),this[fi].role=e}setFormValue(i){this[fi].setFormValue(i)}}return r}var fi,Nc=y(()=>{"use strict";fi=Symbol("elementInternals")});var Tc={};Q(Tc,{DateFormatter:()=>to});var to,hi=y(()=>{"use strict";to=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 Pc,Lc,Ic,$c,kc,Sb,D=y(()=>{"use strict";rd();z();ie();$n();Mr();nu();Io();wa();kn();_a();Dn();Un();cs();$o();Vn();Fn();Ts();Vo();Ps();Mt();ks();Us();Fs();Hs();si();Kn();Sc();Oc();Ac();Nc();hi();Y();wa();kn();_a();hi();Dn();Un();cs();$o();Vn();Fn();Ts();Vo();Ps();Mt();ks();Us();Fs();Hs();si();Kn();Sc();Oc();Ac();Nc();Y();kc=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ic=(Lc=(Pc=window.safari)===null||Pc===void 0?void 0:Pc.pushNotification)===null||Lc===void 0?void 0:Lc.toString())!==null&&Ic!==void 0?Ic:"")==="[object SafariRemoteNotification]",Sb="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=($c=window.ftGlobals)!==null&&$c!==void 0?$c:{lit:da,litDecorators:ha,litRepeat:ya,litClassMap:ma,litStyleMap:ga,litUnsafeHTML:ba,wcUtils:{...Ea,...xa,...Ra,...Tc,...Na,...La,...ss,...Oa,...ws,...as,...Ns,...Rs,...Sp,...Pa,...$s,...Bs,...Ap,...Ws,...mc,...As,...vc,...Cc,...wc,..._c,isSafari:kc,isTouchScreen:Sb,setVariable:E}}});var Vf,_,Gf,Kf,Zf,qf,Yf,wr=y(()=>{"use strict";z();D();Vf=o.extend("--ft-ripple-color","",k.colorContent),_={color:Vf,backgroundColor:o.extend("--ft-ripple-background-color","",Vf),opacityContentOnSurfacePressed:o.external(k.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(k.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(k.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(k.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Gf=o.extend("--ft-ripple-color","",k.colorPrimary),Kf={color:Gf,backgroundColor:o.extend("--ft-ripple-background-color","",Gf)},Zf=o.extend("--ft-ripple-color","",k.colorSecondary),qf={color:Zf,backgroundColor:o.extend("--ft-ripple-background-color","",Zf)},Yf=I`
51
51
  :host {
52
52
  display: contents;
53
53
  }
@@ -60,7 +60,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
60
60
 
61
61
  .ft-ripple:not(.ft-ripple--unbounded) {
62
62
  overflow: hidden;
63
- border-radius: ${N.borderRadius};
63
+ border-radius: ${_.borderRadius};
64
64
  }
65
65
 
66
66
  .ft-ripple .ft-ripple--background,
@@ -94,27 +94,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
94
94
  }
95
95
 
96
96
  .ft-ripple .ft-ripple--background {
97
- background-color: ${N.backgroundColor};
97
+ background-color: ${_.backgroundColor};
98
98
  }
99
99
 
100
100
  .ft-ripple .ft-ripple--effect {
101
- background-color: ${N.color};
101
+ background-color: ${_.color};
102
102
  }
103
103
 
104
104
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
105
- background-color: ${jf.backgroundColor};
105
+ background-color: ${qf.backgroundColor};
106
106
  }
107
107
 
108
108
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
109
- background-color: ${jf.color};
109
+ background-color: ${qf.color};
110
110
  }
111
111
 
112
112
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
113
- background-color: ${Hf.backgroundColor};
113
+ background-color: ${Kf.backgroundColor};
114
114
  }
115
115
 
116
116
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
117
- background-color: ${Hf.color};
117
+ background-color: ${Kf.color};
118
118
  }
119
119
 
120
120
  .ft-ripple .ft-ripple--background {
@@ -144,22 +144,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
144
144
  }
145
145
 
146
146
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
147
- opacity: ${N.opacityContentOnSurfaceHover};
147
+ opacity: ${_.opacityContentOnSurfaceHover};
148
148
  }
149
149
 
150
150
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
151
- opacity: ${N.opacityContentOnSurfaceSelected};
151
+ opacity: ${_.opacityContentOnSurfaceSelected};
152
152
  }
153
153
 
154
154
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
155
- opacity: ${N.opacityContentOnSurfaceFocused};
155
+ opacity: ${_.opacityContentOnSurfaceFocused};
156
156
  }
157
157
 
158
158
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
159
- opacity: ${N.opacityContentOnSurfacePressed};
159
+ opacity: ${_.opacityContentOnSurfacePressed};
160
160
  transform: translate(-50%, -50%) scale(1);
161
161
  }
162
- `});function Kf(t){let e=Io[t];return L`
162
+ `});function Xf(t){let e=Do[t];return I`
163
163
  .ft-typography--${ir(t)} {
164
164
  font-family: ${e.fontFamily};
165
165
  font-size: ${e.fontSize};
@@ -168,35 +168,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
168
168
  line-height: ${e.lineHeight};
169
169
  text-transform: ${e.textCase};
170
170
  }
171
- `}var Zf=h(()=>{"use strict";H();Z()});var qf,Et,F,Jr,eo,to,ro,oo,no,io,ao,so,ct,Yf,Qf,Xf,Jf,eh,mi,th,rh,oh,nh,ih,ah,yi=h(()=>{"use strict";H();k();Z();Zf();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();qf=o.extend("--ft-typography-font-family","",$.titleFont),Et=o.extend("--ft-typography-font-family","",$.contentFont),F={fontFamily:Et,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Jr={fontFamily:o.extend("--ft-typography-title-font-family","",qf),fontSize:o.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-title-dense-font-family","",qf),fontSize:o.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-body1-font-family","",Et),fontSize:o.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},no={fontFamily:o.extend("--ft-typography-body2-font-family","",Et),fontSize:o.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},io={fontFamily:o.extend("--ft-typography-caption-font-family","",Et),fontSize:o.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},ao={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Et),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},so={fontFamily:o.extend("--ft-typography-overline-font-family","",Et),fontSize:o.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},ct={fontFamily:o.extend("--ft-typography-button-font-family","",Et),fontSize:o.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},Yf=L`
171
+ `}var Jf=y(()=>{"use strict";z();Y()});var eh,wt,F,ro,oo,no,io,ao,so,co,lo,uo,lt,th,rh,oh,nh,ih,yi,ah,sh,ch,lh,dh,uh,mi=y(()=>{"use strict";z();D();Y();Jf();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();eh=o.extend("--ft-typography-font-family","",k.titleFont),wt=o.extend("--ft-typography-font-family","",k.contentFont),F={fontFamily:wt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ro={fontFamily:o.extend("--ft-typography-title-font-family","",eh),fontSize:o.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-title-dense-font-family","",eh),fontSize:o.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},no={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",wt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},io={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",wt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},ao={fontFamily:o.extend("--ft-typography-body1-font-family","",wt),fontSize:o.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},so={fontFamily:o.extend("--ft-typography-body2-font-family","",wt),fontSize:o.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},co={fontFamily:o.extend("--ft-typography-caption-font-family","",wt),fontSize:o.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},lo={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",wt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},uo={fontFamily:o.extend("--ft-typography-overline-font-family","",wt),fontSize:o.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},lt={fontFamily:o.extend("--ft-typography-button-font-family","",wt),fontSize:o.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},th=I`
172
172
  .ft-typography--title {
173
- font-family: ${Jr.fontFamily};
174
- font-size: ${Jr.fontSize};
175
- font-weight: ${Jr.fontWeight};
176
- letter-spacing: ${Jr.letterSpacing};
177
- line-height: ${Jr.lineHeight};
178
- text-transform: ${Jr.textTransform};
179
- }
180
- `,Qf=L`
181
- .ft-typography--title-dense {
182
- font-family: ${eo.fontFamily};
183
- font-size: ${eo.fontSize};
184
- font-weight: ${eo.fontWeight};
185
- letter-spacing: ${eo.letterSpacing};
186
- line-height: ${eo.lineHeight};
187
- text-transform: ${eo.textTransform};
188
- }
189
- `,Xf=L`
190
- .ft-typography--subtitle1 {
191
- font-family: ${to.fontFamily};
192
- font-size: ${to.fontSize};
193
- font-weight: ${to.fontWeight};
194
- letter-spacing: ${to.letterSpacing};
195
- line-height: ${to.lineHeight};
196
- text-transform: ${to.textTransform};
197
- }
198
- `,Jf=L`
199
- .ft-typography--subtitle2 {
200
173
  font-family: ${ro.fontFamily};
201
174
  font-size: ${ro.fontSize};
202
175
  font-weight: ${ro.fontWeight};
@@ -204,9 +177,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
204
177
  line-height: ${ro.lineHeight};
205
178
  text-transform: ${ro.textTransform};
206
179
  }
207
-
208
- `,eh=L`
209
- .ft-typography--body1 {
180
+ `,rh=I`
181
+ .ft-typography--title-dense {
210
182
  font-family: ${oo.fontFamily};
211
183
  font-size: ${oo.fontSize};
212
184
  font-weight: ${oo.fontWeight};
@@ -214,8 +186,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
214
186
  line-height: ${oo.lineHeight};
215
187
  text-transform: ${oo.textTransform};
216
188
  }
217
- `,mi=L`
218
- .ft-typography--body2 {
189
+ `,oh=I`
190
+ .ft-typography--subtitle1 {
219
191
  font-family: ${no.fontFamily};
220
192
  font-size: ${no.fontSize};
221
193
  font-weight: ${no.fontWeight};
@@ -223,8 +195,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
223
195
  line-height: ${no.lineHeight};
224
196
  text-transform: ${no.textTransform};
225
197
  }
226
- `,th=L`
227
- .ft-typography--caption {
198
+ `,nh=I`
199
+ .ft-typography--subtitle2 {
228
200
  font-family: ${io.fontFamily};
229
201
  font-size: ${io.fontSize};
230
202
  font-weight: ${io.fontWeight};
@@ -232,8 +204,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
232
204
  line-height: ${io.lineHeight};
233
205
  text-transform: ${io.textTransform};
234
206
  }
235
- `,rh=L`
236
- .ft-typography--breadcrumb {
207
+
208
+ `,ih=I`
209
+ .ft-typography--body1 {
237
210
  font-family: ${ao.fontFamily};
238
211
  font-size: ${ao.fontSize};
239
212
  font-weight: ${ao.fontWeight};
@@ -241,8 +214,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
241
214
  line-height: ${ao.lineHeight};
242
215
  text-transform: ${ao.textTransform};
243
216
  }
244
- `,oh=L`
245
- .ft-typography--overline {
217
+ `,yi=I`
218
+ .ft-typography--body2 {
246
219
  font-family: ${so.fontFamily};
247
220
  font-size: ${so.fontSize};
248
221
  font-weight: ${so.fontWeight};
@@ -250,20 +223,47 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
250
223
  line-height: ${so.lineHeight};
251
224
  text-transform: ${so.textTransform};
252
225
  }
253
- `,nh=L`
226
+ `,ah=I`
227
+ .ft-typography--caption {
228
+ font-family: ${co.fontFamily};
229
+ font-size: ${co.fontSize};
230
+ font-weight: ${co.fontWeight};
231
+ letter-spacing: ${co.letterSpacing};
232
+ line-height: ${co.lineHeight};
233
+ text-transform: ${co.textTransform};
234
+ }
235
+ `,sh=I`
236
+ .ft-typography--breadcrumb {
237
+ font-family: ${lo.fontFamily};
238
+ font-size: ${lo.fontSize};
239
+ font-weight: ${lo.fontWeight};
240
+ letter-spacing: ${lo.letterSpacing};
241
+ line-height: ${lo.lineHeight};
242
+ text-transform: ${lo.textTransform};
243
+ }
244
+ `,ch=I`
245
+ .ft-typography--overline {
246
+ font-family: ${uo.fontFamily};
247
+ font-size: ${uo.fontSize};
248
+ font-weight: ${uo.fontWeight};
249
+ letter-spacing: ${uo.letterSpacing};
250
+ line-height: ${uo.lineHeight};
251
+ text-transform: ${uo.textTransform};
252
+ }
253
+ `,lh=I`
254
254
  .ft-typography--button {
255
- font-family: ${ct.fontFamily};
256
- font-size: ${ct.fontSize};
257
- font-weight: ${ct.fontWeight};
258
- letter-spacing: ${ct.letterSpacing};
259
- line-height: ${ct.lineHeight};
260
- text-transform: ${ct.textTransform};
261
- }
262
- `,ih=L`
255
+ font-family: ${lt.fontFamily};
256
+ font-size: ${lt.fontSize};
257
+ font-weight: ${lt.fontWeight};
258
+ letter-spacing: ${lt.letterSpacing};
259
+ line-height: ${lt.lineHeight};
260
+ text-transform: ${lt.textTransform};
261
+ }
262
+ `,dh=I`
263
263
  .ft-typography {
264
264
  vertical-align: inherit;
265
265
  }
266
- `,ah=[Object.keys(Io).map(t=>Kf(t))]});var ue,sh,en=h(()=>{"use strict";H();k();ue={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},sh=L`
266
+ `,uh=[Object.keys(Do).map(t=>Xf(t))]});var ue,ph,tn=y(()=>{"use strict";z();D();ue={color:o.extend("--ft-loader-color","",k.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},ph=I`
267
267
  :host {
268
268
  line-height: 0;
269
269
  }
@@ -332,7 +332,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
332
332
  transform: translate(calc(0.35 * ${ue.size}), 0);
333
333
  }
334
334
  }
335
- `});var Pe,ch,tn=h(()=>{"use strict";H();k();Pe={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ch=L`
335
+ `});var Te,fh,rn=y(()=>{"use strict";z();D();Te={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},fh=I`
336
336
  :host, i.ft-icon {
337
337
  display: inline-flex;
338
338
  align-items: center;
@@ -341,14 +341,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
341
341
  }
342
342
 
343
343
  :host {
344
- width: ${Pe.size};
345
- height: ${Pe.size};
344
+ width: ${Te.size};
345
+ height: ${Te.size};
346
346
  }
347
347
 
348
348
  i.ft-icon {
349
349
  width: 100%;
350
350
  height: 100%;
351
- font-size: ${Pe.size};
351
+ font-size: ${Te.size};
352
352
  line-height: 1;
353
353
  font-weight: normal;
354
354
  text-transform: none;
@@ -359,28 +359,28 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
359
359
  text-rendering: auto;
360
360
  -webkit-font-smoothing: antialiased;
361
361
  -moz-osx-font-smoothing: grayscale;
362
- vertical-align: ${Pe.verticalAlign};
362
+ vertical-align: ${Te.verticalAlign};
363
363
  }
364
364
 
365
365
  i.ft-icon.ft-icon--fluid-topics {
366
- font-family: ${Pe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
366
+ font-family: ${Te.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
367
367
 
368
368
  /* Ugly fix because font is broken */
369
- font-size: calc(0.75 * ${Pe.size});
370
- line-height: ${Pe.size};
369
+ font-size: calc(0.75 * ${Te.size});
370
+ line-height: ${Te.size};
371
371
  position: relative;
372
372
  top: -4%;
373
373
  justify-content: center;
374
374
  }
375
375
 
376
376
  .ft-icon--file-format {
377
- font-family: ${Pe.fileFormatFontFamily}, ft-mime, sans-serif;
377
+ font-family: ${Te.fileFormatFontFamily}, ft-mime, sans-serif;
378
378
  }
379
379
 
380
380
  .ft-icon--material {
381
- font-family: ${Pe.materialFontFamily}, "Material Icons", sans-serif;
381
+ font-family: ${Te.materialFontFamily}, "Material Icons", sans-serif;
382
382
  }
383
- `});var lh,me,dh,kc,lt,uh,Mc=h(()=>{"use strict";H();k();Cr();yi();en();tn();lh=o.extend("--ft-button-color","",$.colorPrimary),me={backgroundColor:o.extend("--ft-button-background-color","",$.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",$.borderRadiusL),color:lh,fontSize:o.extend("--ft-button-font-size","",ct.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",lh),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external($.colorOpacityDisabled,"Design system")},dh=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",$.colorOnPrimary)),kc={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",$.colorPrimary)),color:dh,rippleColor:o.extend("--ft-button-primary-ripple-color","",dh)},lt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",$.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},uh=[L`
383
+ `});var hh,ye,yh,Dc,dt,mh,Mc=y(()=>{"use strict";z();D();wr();mi();tn();rn();hh=o.extend("--ft-button-color","",k.colorPrimary),ye={backgroundColor:o.extend("--ft-button-background-color","",k.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",k.borderRadiusL),color:hh,fontSize:o.extend("--ft-button-font-size","",lt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",hh),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(k.colorOpacityDisabled,"Design system")},yh=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",k.colorOnPrimary)),Dc={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",k.colorPrimary)),color:yh,rippleColor:o.extend("--ft-button-primary-ripple-color","",yh)},dt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",k.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},mh=[I`
384
384
  :host {
385
385
  display: inline-block;
386
386
  max-width: 100%;
@@ -391,7 +391,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
391
391
  box-shadow: 0px 0px 0px transparent;
392
392
  border: 0px solid transparent;
393
393
  text-shadow: 0px 0px 0px transparent;
394
- font-size: ${me.fontSize};
394
+ font-size: ${ye.fontSize};
395
395
  text-decoration: none;
396
396
  }
397
397
 
@@ -421,31 +421,31 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
421
421
  border: none;
422
422
  pointer-events: auto;
423
423
 
424
- --ft-button-internal-line-height: max(calc(${me.fontSize} + 2px), ${me.iconSize});
425
- --ft-button-internal-color: ${me.color};
426
- ${O(Pe.size,me.iconSize)};
427
- ${O(N.color,me.rippleColor)};
424
+ --ft-button-internal-line-height: max(calc(${ye.fontSize} + 2px), ${ye.iconSize});
425
+ --ft-button-internal-color: ${ye.color};
426
+ ${E(Te.size,ye.iconSize)};
427
+ ${E(_.color,ye.rippleColor)};
428
428
 
429
- border-radius: ${me.borderRadius};
430
- padding: ${me.verticalPadding} ${me.horizontalPadding};
431
- background-color: ${me.backgroundColor};
429
+ border-radius: ${ye.borderRadius};
430
+ padding: ${ye.verticalPadding} ${ye.horizontalPadding};
431
+ background-color: ${ye.backgroundColor};
432
432
  color: var(--ft-button-internal-color);
433
433
  -webkit-mask-image: radial-gradient(white, black);
434
434
  }
435
435
 
436
436
  .ft-button.ft-button--outlined {
437
437
  border: 1px solid var(--ft-button-internal-color);
438
- padding: calc(${me.verticalPadding} - 1px) calc(${me.horizontalPadding} - 1px);
438
+ padding: calc(${ye.verticalPadding} - 1px) calc(${ye.horizontalPadding} - 1px);
439
439
  }
440
440
 
441
441
  .ft-button.ft-button--dense {
442
- padding: ${lt.verticalPadding} ${lt.horizontalPadding};
443
- border-radius: ${lt.borderRadius};
444
- gap: ${lt.iconPadding};
442
+ padding: ${dt.verticalPadding} ${dt.horizontalPadding};
443
+ border-radius: ${dt.borderRadius};
444
+ gap: ${dt.iconPadding};
445
445
  }
446
446
 
447
447
  .ft-button.ft-button--dense.ft-button--outlined {
448
- padding: calc(${lt.verticalPadding} - 1px) calc(${lt.horizontalPadding} - 1px);
448
+ padding: calc(${dt.verticalPadding} - 1px) calc(${dt.horizontalPadding} - 1px);
449
449
  }
450
450
 
451
451
  .ft-button:not([disabled]):hover {
@@ -453,22 +453,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
453
453
  }
454
454
 
455
455
  .ft-button--round {
456
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${me.verticalPadding});
456
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ye.verticalPadding});
457
457
  }
458
458
 
459
459
  .ft-button--round.ft-button--dense {
460
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${lt.verticalPadding});
460
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${dt.verticalPadding});
461
461
  }
462
462
 
463
463
  .ft-button[disabled] {
464
464
  filter: grayscale(1);
465
- opacity: ${me.opacityDisabled};
465
+ opacity: ${ye.opacityDisabled};
466
466
  }
467
467
 
468
468
  .ft-button.ft-button--primary {
469
- background-color: ${kc.backgroundColor};
470
- --ft-button-internal-color: ${kc.color};
471
- ${O(N.color,kc.rippleColor)};
469
+ background-color: ${Dc.backgroundColor};
470
+ --ft-button-internal-color: ${Dc.color};
471
+ ${E(_.color,Dc.rippleColor)};
472
472
  }
473
473
 
474
474
  .ft-button:focus {
@@ -481,13 +481,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
481
481
  white-space: nowrap;
482
482
  text-overflow: ellipsis;
483
483
  display: block;
484
- margin: 0 ${me.iconPadding};
485
- ${O(ct.fontSize,"1em")};
486
- ${O(ct.lineHeight,"var(--ft-button-internal-line-height)")};
484
+ margin: 0 ${ye.iconPadding};
485
+ ${E(lt.fontSize,"1em")};
486
+ ${E(lt.lineHeight,"var(--ft-button-internal-line-height)")};
487
487
  }
488
488
 
489
489
  .ft-button--dense .ft-button--label {
490
- margin: 0 ${lt.iconPadding};
490
+ margin: 0 ${dt.iconPadding};
491
491
  }
492
492
 
493
493
  .ft-button--label[hidden] {
@@ -500,13 +500,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
500
500
  }
501
501
 
502
502
  .ft-button--label[hidden] + [part="icon"] {
503
- margin: 0 calc(${me.horizontalPadding} * -1);
504
- padding: 0 ${me.verticalPadding};
503
+ margin: 0 calc(${ye.horizontalPadding} * -1);
504
+ padding: 0 ${ye.verticalPadding};
505
505
  }
506
506
 
507
507
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
508
- margin: 0 calc(${lt.horizontalPadding} * -1);
509
- padding: 0 ${lt.verticalPadding};
508
+ margin: 0 calc(${dt.horizontalPadding} * -1);
509
+ padding: 0 ${dt.verticalPadding};
510
510
  }
511
511
 
512
512
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -514,29 +514,29 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
514
514
  }
515
515
 
516
516
  ft-loader {
517
- ${O(ue.size,me.iconSize)};
518
- ${O(ue.color,"var(--ft-button-internal-color)")};
517
+ ${E(ue.size,ye.iconSize)};
518
+ ${E(ue.color,"var(--ft-button-internal-color)")};
519
519
  }
520
- `,Vo]});var Ie,ce,Dc=h(()=>{"use strict";H();ie();$r();k();Cr();Ie=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ce=class extends te{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 Ce(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 Ce(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 B`
520
+ `,Ko]});var $e,ce,Bc=y(()=>{"use strict";z();ie();Mr();D();wr();$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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ce=class extends te{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 Ce(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 Ce(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 B`
521
521
  <style>
522
522
  .ft-ripple .ft-ripple--effect {
523
523
  left: ${this.originX}px;
524
524
  top: ${this.originY}px;
525
525
  }
526
526
  </style>
527
- <div class="${rt(e)}">
527
+ <div class="${it(e)}">
528
528
  <div class="ft-ripple--background"></div>
529
529
  <div class="ft-ripple--effect"></div>
530
530
  </div>
531
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",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()}};ce.elementDefinitions={};ce.styles=Vf;Ie([w({type:Boolean})],ce.prototype,"primary",void 0);Ie([w({type:Boolean})],ce.prototype,"secondary",void 0);Ie([w({type:Boolean})],ce.prototype,"unbounded",void 0);Ie([w({type:Boolean})],ce.prototype,"activated",void 0);Ie([w({type:Boolean})],ce.prototype,"selected",void 0);Ie([w({type:Boolean})],ce.prototype,"disabled",void 0);Ie([le()],ce.prototype,"hovered",void 0);Ie([le()],ce.prototype,"focused",void 0);Ie([le()],ce.prototype,"pressed",void 0);Ie([le()],ce.prototype,"rippling",void 0);Ie([le()],ce.prototype,"originX",void 0);Ie([le()],ce.prototype,"originY",void 0);Ie([xe(".ft-ripple")],ce.prototype,"ripple",void 0);Ie([xe(".ft-ripple--effect")],ce.prototype,"rippleEffect",void 0)});var ph=h(()=>{"use strict"});var gi=h(()=>{"use strict";k();Dc();Dc();Cr();ph();G("ft-ripple")(ce)});var hh,gb,Bc,fh,mh,Uc,nA,yh=h(()=>{ht();hh=Symbol.for(""),gb=t=>{if(t?.r===hh)return t?._$litStatic$},Bc=t=>({_$litStatic$:t,r:hh}),fh=new Map,mh=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],d,u=0,m=!1;for(;u<n;){for(d=e[u];u<n&&(a=r[u],(i=gb(a))!==void 0);)d+=i+e[++u],m=!0;u!==n&&c.push(a),s.push(d),u++}if(u===n&&s.push(e[n]),m){let f=s.join("$$lit$$");(e=fh.get(f))===void 0&&(s.raw=s,fh.set(f,e=s)),r=c}return t(e,...r)},Uc=mh(gd),nA=mh(bd)});var gh=h(()=>{yh()});var Vt,bi=h(()=>{"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"})(Vt||(Vt={}))});var bh,be,Fc=h(()=>{"use strict";gh();ie();k();bi();yi();bh=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 te{constructor(){super(...arguments),this.variant=Vt.body1}render(){return this.element?Uc`
532
- <${Bc(this.element)}
531
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",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()}};ce.elementDefinitions={};ce.styles=Yf;$e([A({type:Boolean})],ce.prototype,"primary",void 0);$e([A({type:Boolean})],ce.prototype,"secondary",void 0);$e([A({type:Boolean})],ce.prototype,"unbounded",void 0);$e([A({type:Boolean})],ce.prototype,"activated",void 0);$e([A({type:Boolean})],ce.prototype,"selected",void 0);$e([A({type:Boolean})],ce.prototype,"disabled",void 0);$e([le()],ce.prototype,"hovered",void 0);$e([le()],ce.prototype,"focused",void 0);$e([le()],ce.prototype,"pressed",void 0);$e([le()],ce.prototype,"rippling",void 0);$e([le()],ce.prototype,"originX",void 0);$e([le()],ce.prototype,"originY",void 0);$e([xe(".ft-ripple")],ce.prototype,"ripple",void 0);$e([xe(".ft-ripple--effect")],ce.prototype,"rippleEffect",void 0)});var gh=y(()=>{"use strict"});var gi=y(()=>{"use strict";D();Bc();Bc();wr();gh();K("ft-ripple")(ce)});var xh,Cb,Uc,bh,vh,Fc,cA,Sh=y(()=>{yt();xh=Symbol.for(""),Cb=t=>{if(t?.r===xh)return t?._$litStatic$},Uc=t=>({_$litStatic$:t,r:xh}),bh=new Map,vh=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],d,u=0,h=!1;for(;u<n;){for(d=e[u];u<n&&(a=r[u],(i=Cb(a))!==void 0);)d+=i+e[++u],h=!0;u!==n&&c.push(a),s.push(d),u++}if(u===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=bh.get(f))===void 0&&(s.raw=s,bh.set(f,e=s)),r=c}return t(e,...r)},Fc=vh(bd),cA=vh(xd)});var Ch=y(()=>{Sh()});var Vt,bi=y(()=>{"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"})(Vt||(Vt={}))});var Oh,be,Wc=y(()=>{"use strict";Ch();ie();D();bi();mi();Oh=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 te{constructor(){super(...arguments),this.variant=Vt.body1}render(){return this.element?Fc`
532
+ <${Uc(this.element)}
533
533
  part="text"
534
534
  class="ft-typography ft-typography--${this.variant}">
535
535
  <slot></slot>
536
- </${Bc(this.element)}>
537
- `:Uc`
536
+ </${Uc(this.element)}>
537
+ `:Fc`
538
538
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
539
- `}};be.styles=[Yf,Qf,Xf,Jf,eh,mi,th,rh,oh,nh,ih,...ah];bh([w()],be.prototype,"element",void 0);bh([w()],be.prototype,"variant",void 0)});var wt=h(()=>{"use strict";k();Fc();Fc();yi();bi();G("ft-typography")(be)});var Gt,xh,Wc=h(()=>{"use strict";H();k();Gt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external($.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},xh=L`
539
+ `}};be.styles=[th,rh,oh,nh,ih,yi,ah,sh,ch,lh,dh,...uh];Oh([A()],be.prototype,"element",void 0);Oh([A()],be.prototype,"variant",void 0)});var At=y(()=>{"use strict";D();Wc();Wc();mi();bi();K("ft-typography")(be)});var Gt,Eh,Hc=y(()=>{"use strict";z();D();Gt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(k.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Eh=I`
540
540
  .ft-tooltip--container {
541
541
  display: block;
542
542
  }
@@ -565,7 +565,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
565
565
  position: relative;
566
566
  word-break: break-word;
567
567
  }
568
- `});var $e,ye,Hc=h(()=>{"use strict";H();ie();k();wt();Wc();Vn();$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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ye=class extends te{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 Ce,this.revealDebouncer=new Ce}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return B`
568
+ `});var ke,me,zc=y(()=>{"use strict";z();ie();D();At();Hc();Vn();ke=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},me=class extends te{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 Ce,this.revealDebouncer=new Ce}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return B`
569
569
  <div part="container"
570
570
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
571
571
  @mouseenter=${this.onHover}
@@ -583,24 +583,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
583
583
  </div>
584
584
  </div>
585
585
  </div>
586
- `}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="",Os(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))}};ye.elementDefinitions={"ft-typography":be};ye.styles=xh;$e([w()],ye.prototype,"text",void 0);$e([w({type:Boolean})],ye.prototype,"manual",void 0);$e([w({type:Boolean})],ye.prototype,"inline",void 0);$e([w({type:Number})],ye.prototype,"delay",void 0);$e([w()],ye.prototype,"position",void 0);$e([fa()],ye.prototype,"slotNodes",void 0);$e([xe(".ft-tooltip--container")],ye.prototype,"container",void 0);$e([xe(".ft-tooltip")],ye.prototype,"tooltip",void 0);$e([xe(".ft-tooltip--content")],ye.prototype,"tooltipContent",void 0);$e([le()],ye.prototype,"visible",void 0);$e([Tr({passive:!0})],ye.prototype,"onTouch",null);$e([Tr({passive:!0})],ye.prototype,"onHover",null);$e([Tr({passive:!0})],ye.prototype,"onOut",null);$e([Tr({passive:!0})],ye.prototype,"onClick",null)});var vh=h(()=>{"use strict"});var zc=h(()=>{"use strict";k();Hc();Hc();Wc();vh();G("ft-tooltip")(ye)});function Sh(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=bb.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=jc.get(c))!==null&&n!==void 0?n:jc.get(e))!==null&&i!==void 0?i:jc.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var Kt,_,jc,bb,DA,Vc=h(()=>{"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.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Kt||(Kt={}));(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;"})(_||(_={}));jc=new Map([...["abw"].map(t=>[t,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,_.AUDIO]),...["avi"].map(t=>[t,_.AVI]),...["chm","xhs"].map(t=>[t,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,_.CODE]),...["csv"].map(t=>[t,_.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,_.DITA]),...["epub"].map(t=>[t,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,_.EXCEL]),...["flac"].map(t=>[t,_.FLAC]),...["gif"].map(t=>[t,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,_.GZIP]),...["html","htm","xhtml"].map(t=>[t,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,_.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,_.JPEG]),...["json"].map(t=>[t,_.JSON]),...["m4a","m4p"].map(t=>[t,_.M4A]),...["mov","qt"].map(t=>[t,_.MOV]),...["mp3"].map(t=>[t,_.MP3]),...["mp4","m4v"].map(t=>[t,_.MP4]),...["ogg","oga"].map(t=>[t,_.OGG]),...["pdf","ps"].map(t=>[t,_.PDF]),...["png"].map(t=>[t,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,_.POWERPOINT]),...["rar"].map(t=>[t,_.RAR]),...["stp"].map(t=>[t,_.STP]),...["txt","rtf","md","mdown"].map(t=>[t,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,_.VIDEO]),...["wav"].map(t=>[t,_.WAV]),...["wma"].map(t=>[t,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,_.WORD]),...["xml","xsl","rdf"].map(t=>[t,_.XML]),...["yaml","yml","x-yaml"].map(t=>[t,_.YAML]),...["zip"].map(t=>[t,_.ZIP])]),bb=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"]]);DA={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"}});var Fe,Gc=h(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Fe||(Fe={}))});var xi,ke,Kc=h(()=>{"use strict";H();ie();k();Po();Vc();tn();Gc();xi=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ke=class extends te{constructor(){super(...arguments),this.resolvedIcon=V}render(){let e=this.variant&&Object.values(Fe).includes(this.variant)?this.variant:Fe.fluid_topics,r=e!==Fe.material||!!this.value;return B`
586
+ `}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="",Es(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))}};me.elementDefinitions={"ft-typography":be};me.styles=Eh;ke([A()],me.prototype,"text",void 0);ke([A({type:Boolean})],me.prototype,"manual",void 0);ke([A({type:Boolean})],me.prototype,"inline",void 0);ke([A({type:Number})],me.prototype,"delay",void 0);ke([A()],me.prototype,"position",void 0);ke([fa()],me.prototype,"slotNodes",void 0);ke([xe(".ft-tooltip--container")],me.prototype,"container",void 0);ke([xe(".ft-tooltip")],me.prototype,"tooltip",void 0);ke([xe(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);ke([le()],me.prototype,"visible",void 0);ke([$r({passive:!0})],me.prototype,"onTouch",null);ke([$r({passive:!0})],me.prototype,"onHover",null);ke([$r({passive:!0})],me.prototype,"onOut",null);ke([$r({passive:!0})],me.prototype,"onClick",null)});var wh=y(()=>{"use strict"});var jc=y(()=>{"use strict";D();zc();zc();Hc();wh();K("ft-tooltip")(me)});function Ah(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=Ob.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=Vc.get(c))!==null&&n!==void 0?n:Vc.get(e))!==null&&i!==void 0?i:Vc.get(s))!==null&&a!==void 0?a:T.UNKNOWN}var Kt,T,Vc,Ob,WA,Gc=y(()=>{"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.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Kt||(Kt={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(T||(T={}));Vc=new Map([...["abw"].map(t=>[t,T.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,T.AUDIO]),...["avi"].map(t=>[t,T.AVI]),...["chm","xhs"].map(t=>[t,T.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,T.CODE]),...["csv"].map(t=>[t,T.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,T.DITA]),...["epub"].map(t=>[t,T.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,T.EXCEL]),...["flac"].map(t=>[t,T.FLAC]),...["gif"].map(t=>[t,T.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,T.GZIP]),...["html","htm","xhtml"].map(t=>[t,T.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,T.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,T.JPEG]),...["json"].map(t=>[t,T.JSON]),...["m4a","m4p"].map(t=>[t,T.M4A]),...["mov","qt"].map(t=>[t,T.MOV]),...["mp3"].map(t=>[t,T.MP3]),...["mp4","m4v"].map(t=>[t,T.MP4]),...["ogg","oga"].map(t=>[t,T.OGG]),...["pdf","ps"].map(t=>[t,T.PDF]),...["png"].map(t=>[t,T.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,T.POWERPOINT]),...["rar"].map(t=>[t,T.RAR]),...["stp"].map(t=>[t,T.STP]),...["txt","rtf","md","mdown"].map(t=>[t,T.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,T.VIDEO]),...["wav"].map(t=>[t,T.WAV]),...["wma"].map(t=>[t,T.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,T.WORD]),...["xml","xsl","rdf"].map(t=>[t,T.XML]),...["yaml","yml","x-yaml"].map(t=>[t,T.YAML]),...["zip"].map(t=>[t,T.ZIP])]),Ob=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"]]);WA={[T.ABW]:"#91ABC6",[T.AUDIO]:"#1795E3",[T.AVI]:"#E63324",[T.CHM]:"#71C3EB",[T.CODE]:"#71C3EB",[T.CSV]:"#1F7345",[T.DITA]:"#71C3EB",[T.EPUB]:"#85B926",[T.EXCEL]:"#1F7345",[T.FLAC]:"#1795E3",[T.GIF]:"#59B031",[T.GZIP]:"#F8AB36",[T.HTML]:"#71C3EB",[T.IMAGE]:"#59B031",[T.JPEG]:"#59B031",[T.JSON]:"#71C3EB",[T.M4A]:"#1795E3",[T.MOV]:"#E63324",[T.MP3]:"#1795E3",[T.MP4]:"#E63324",[T.OGG]:"#1795E3",[T.PDF]:"#E44948",[T.PNG]:"#59B031",[T.POWERPOINT]:"#B54A2B",[T.RAR]:"#F8AB36",[T.STP]:"#3764B1",[T.TEXT]:"#3162AB",[T.UNKNOWN]:"#999999",[T.VIDEO]:"#E63324",[T.WAV]:"#1795E3",[T.WMA]:"#1795E3",[T.WORD]:"#3162AB",[T.XML]:"#71C3EB",[T.YAML]:"#71C3EB",[T.ZIP]:"#F8AB36"}});var We,Kc=y(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(We||(We={}))});var xi,De,Zc=y(()=>{"use strict";z();ie();D();Io();Gc();rn();Kc();xi=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 te{constructor(){super(...arguments),this.resolvedIcon=G}render(){let e=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,r=e!==We.material||!!this.value;return B`
587
587
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
588
588
  ${ur(this.resolvedIcon)}
589
589
  <slot ?hidden=${r}></slot>
590
590
  </i>
591
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Fe.file_format:this.resolvedIcon=(e=_[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Fe.material:this.resolvedIcon=this.value||V;break;default:this.resolvedIcon=(r=Kt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ke.elementDefinitions={};ke.styles=ch;xi([w()],ke.prototype,"variant",void 0);xi([w()],ke.prototype,"value",void 0);xi([le()],ke.prototype,"resolvedIcon",void 0);xi([xe("slot")],ke.prototype,"slottedContent",void 0)});var vi=h(()=>{"use strict";k();Kc();tn();Gc();Kc();Vc();G("ft-icon")(ke)});var Or,Zc=h(()=>{"use strict";H();k();en();Or=class extends te{render(){return B`
591
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case We.file_format:this.resolvedIcon=(e=T[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case We.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=(r=Kt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};De.elementDefinitions={};De.styles=fh;xi([A()],De.prototype,"variant",void 0);xi([A()],De.prototype,"value",void 0);xi([le()],De.prototype,"resolvedIcon",void 0);xi([xe("slot")],De.prototype,"slottedContent",void 0)});var vi=y(()=>{"use strict";D();Zc();rn();Kc();Zc();Gc();K("ft-icon")(De)});var Ar,qc=y(()=>{"use strict";z();D();tn();Ar=class extends te{render(){return B`
592
592
  <div class="ft-loader">
593
593
  <div></div>
594
594
  <div></div>
595
595
  <div></div>
596
596
  <div></div>
597
597
  </div>
598
- `}};Or.styles=sh});var Ch=h(()=>{"use strict"});var Oh=h(()=>{"use strict";k();Zc();en();Ch();Zc();G("ft-loader")(Or)});var Oe,pe,qc=h(()=>{"use strict";k();gi();zc();wt();vi();Oh();H();$r();ie();Oe=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Ac(te,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let i=B`
598
+ `}};Ar.styles=ph});var Rh=y(()=>{"use strict"});var _h=y(()=>{"use strict";D();qc();tn();Rh();qc();K("ft-loader")(Ar)});var Oe,pe,Yc=y(()=>{"use strict";D();gi();jc();At();vi();_h();z();Mr();ie();Oe=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Rc(te,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let i=B`
599
599
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
600
600
  <ft-typography part="label"
601
601
  variant=${this.typographyVariant}
602
602
  element="span"
603
- class="ft-button--label ${$c?"ft-safari-ellipsis-fix":""}"
603
+ class="ft-button--label ${kc?"ft-safari-ellipsis-fix":""}"
604
604
  ?hidden=${!this.hasTextContent()}>
605
605
  <slot @slotchange=${this.onSlotchange}></slot>
606
606
  </ft-typography>
@@ -609,14 +609,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
609
609
  <a href="${a}"
610
610
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
611
611
  part="button"
612
- class="${rt(this.buttonClasses)}"
612
+ class="${it(this.buttonClasses)}"
613
613
  aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
614
614
  ?disabled=${this.isDisabled()}>
615
615
  ${i}
616
616
  </a>
617
617
  `:B`
618
618
  <button part="button"
619
- class="${rt(this.buttonClasses)}"
619
+ class="${it(this.buttonClasses)}"
620
620
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
621
621
  ?disabled=${this.isDisabled()}>
622
622
  ${i}
@@ -632,7 +632,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
632
632
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
633
633
  `:B`
634
634
  <slot part="icon" name="icon"></slot>
635
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return Dn(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};pe.elementDefinitions={"ft-ripple":ce,"ft-tooltip":ye,"ft-typography":be,"ft-icon":ke,"ft-loader":Or};Oe([w()],pe.prototype,"href",void 0);Oe([w()],pe.prototype,"target",void 0);Oe([w({type:String,reflect:!0})],pe.prototype,"role",void 0);Oe([w()],pe.prototype,"type",void 0);Oe([w({type:Boolean})],pe.prototype,"disabled",void 0);Oe([w()],pe.prototype,"label",void 0);Oe([w()],pe.prototype,"icon",void 0);Oe([w()],pe.prototype,"iconVariant",void 0);Oe([w({type:Boolean})],pe.prototype,"trailingIcon",void 0);Oe([w({type:Boolean})],pe.prototype,"loading",void 0);Oe([w({attribute:"aria-label"})],pe.prototype,"ariaLabel",void 0);Oe([w()],pe.prototype,"tooltipPosition",void 0);Oe([w({type:Boolean})],pe.prototype,"hideTooltip",void 0);Oe([w({type:Boolean})],pe.prototype,"forceTooltip",void 0);Oe([xe(".ft-button")],pe.prototype,"button",void 0);Oe([xe(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);Oe([xe("[part=tooltip]")],pe.prototype,"tooltip",void 0)});var Si,We,Yc=h(()=>{"use strict";ie();k();Mc();qc();Si=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},We=class extends pe{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"}};We.styles=[Go,uh];Si([w({type:Boolean})],We.prototype,"primary",void 0);Si([w({type:Boolean})],We.prototype,"outlined",void 0);Si([w({type:Boolean})],We.prototype,"dense",void 0);Si([w({type:Boolean})],We.prototype,"round",void 0)});var Eh,Qc=h(()=>{"use strict";H();k();Cr();en();tn();Z();Z();Eh=[L`
635
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return Bn(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};pe.elementDefinitions={"ft-ripple":ce,"ft-tooltip":me,"ft-typography":be,"ft-icon":De,"ft-loader":Ar};Oe([A()],pe.prototype,"href",void 0);Oe([A()],pe.prototype,"target",void 0);Oe([A({type:String,reflect:!0})],pe.prototype,"role",void 0);Oe([A()],pe.prototype,"type",void 0);Oe([A({type:Boolean})],pe.prototype,"disabled",void 0);Oe([A()],pe.prototype,"label",void 0);Oe([A()],pe.prototype,"icon",void 0);Oe([A()],pe.prototype,"iconVariant",void 0);Oe([A({type:Boolean})],pe.prototype,"trailingIcon",void 0);Oe([A({type:Boolean})],pe.prototype,"loading",void 0);Oe([A({attribute:"aria-label"})],pe.prototype,"ariaLabel",void 0);Oe([A()],pe.prototype,"tooltipPosition",void 0);Oe([A({type:Boolean})],pe.prototype,"hideTooltip",void 0);Oe([A({type:Boolean})],pe.prototype,"forceTooltip",void 0);Oe([xe(".ft-button")],pe.prototype,"button",void 0);Oe([xe(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);Oe([xe("[part=tooltip]")],pe.prototype,"tooltip",void 0)});var Si,He,Qc=y(()=>{"use strict";ie();D();Mc();Yc();Si=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 pe{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"}};He.styles=[Zo,mh];Si([A({type:Boolean})],He.prototype,"primary",void 0);Si([A({type:Boolean})],He.prototype,"outlined",void 0);Si([A({type:Boolean})],He.prototype,"dense",void 0);Si([A({type:Boolean})],He.prototype,"round",void 0)});var Nh,Xc=y(()=>{"use strict";z();D();wr();tn();rn();Y();Y();Nh=[I`
636
636
  :host {
637
637
  display: inline-block;
638
638
  max-width: 100%;
@@ -717,13 +717,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
717
717
  /** Brand Primary styles **/
718
718
 
719
719
  .ftds--family-brand.ft-button--primary {
720
- ${O(ue.color,b.primaryBrandIconColor)};
720
+ ${E(ue.color,b.primaryBrandIconColor)};
721
721
 
722
- ${O(N.color,b.primaryBrandStateLayerColor)};
723
- ${O(N.opacityContentOnSurfaceHover,b.primaryBrandHoverStateLayerOpacity)};
724
- ${O(N.opacityContentOnSurfaceFocused,b.primaryBrandFocusStateLayerOpacity)};
725
- ${O(N.opacityContentOnSurfaceSelected,b.primaryBrandActiveStateLayerOpacity)};
726
- ${O(N.opacityContentOnSurfacePressed,b.primaryBrandActiveStateLayerOpacity)};
722
+ ${E(_.color,b.primaryBrandStateLayerColor)};
723
+ ${E(_.opacityContentOnSurfaceHover,b.primaryBrandHoverStateLayerOpacity)};
724
+ ${E(_.opacityContentOnSurfaceFocused,b.primaryBrandFocusStateLayerOpacity)};
725
+ ${E(_.opacityContentOnSurfaceSelected,b.primaryBrandActiveStateLayerOpacity)};
726
+ ${E(_.opacityContentOnSurfacePressed,b.primaryBrandActiveStateLayerOpacity)};
727
727
 
728
728
  background-color: ${b.primaryBrandBackgroundColor};
729
729
  color: ${b.primaryBrandColor};
@@ -741,13 +741,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
741
741
  /** Brand Secondary styles **/
742
742
 
743
743
  .ftds--family-brand.ft-button--secondary {
744
- ${O(ue.color,b.secondaryBrandIconColor)};
744
+ ${E(ue.color,b.secondaryBrandIconColor)};
745
745
 
746
- ${O(N.color,b.secondaryBrandStateLayerColor)};
747
- ${O(N.opacityContentOnSurfaceHover,b.secondaryBrandHoverStateLayerOpacity)};
748
- ${O(N.opacityContentOnSurfaceFocused,b.secondaryBrandFocusStateLayerOpacity)};
749
- ${O(N.opacityContentOnSurfaceSelected,b.secondaryBrandActiveStateLayerOpacity)};
750
- ${O(N.opacityContentOnSurfacePressed,b.secondaryBrandActiveStateLayerOpacity)};
746
+ ${E(_.color,b.secondaryBrandStateLayerColor)};
747
+ ${E(_.opacityContentOnSurfaceHover,b.secondaryBrandHoverStateLayerOpacity)};
748
+ ${E(_.opacityContentOnSurfaceFocused,b.secondaryBrandFocusStateLayerOpacity)};
749
+ ${E(_.opacityContentOnSurfaceSelected,b.secondaryBrandActiveStateLayerOpacity)};
750
+ ${E(_.opacityContentOnSurfacePressed,b.secondaryBrandActiveStateLayerOpacity)};
751
751
 
752
752
  background-color: ${b.secondaryBrandBackgroundColor};
753
753
  color: ${b.secondaryBrandColor};
@@ -766,13 +766,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
766
766
  /** Brand Tertiary styles **/
767
767
 
768
768
  .ftds--family-brand.ft-button--tertiary {
769
- ${O(ue.color,b.tertiaryBrandIconColor)};
769
+ ${E(ue.color,b.tertiaryBrandIconColor)};
770
770
 
771
- ${O(N.color,b.tertiaryBrandStateLayerColor)};
772
- ${O(N.opacityContentOnSurfaceHover,b.tertiaryBrandHoverStateLayerOpacity)};
773
- ${O(N.opacityContentOnSurfaceFocused,b.tertiaryBrandFocusStateLayerOpacity)};
774
- ${O(N.opacityContentOnSurfaceSelected,b.tertiaryBrandActiveStateLayerOpacity)};
775
- ${O(N.opacityContentOnSurfacePressed,b.tertiaryBrandActiveStateLayerOpacity)};
771
+ ${E(_.color,b.tertiaryBrandStateLayerColor)};
772
+ ${E(_.opacityContentOnSurfaceHover,b.tertiaryBrandHoverStateLayerOpacity)};
773
+ ${E(_.opacityContentOnSurfaceFocused,b.tertiaryBrandFocusStateLayerOpacity)};
774
+ ${E(_.opacityContentOnSurfaceSelected,b.tertiaryBrandActiveStateLayerOpacity)};
775
+ ${E(_.opacityContentOnSurfacePressed,b.tertiaryBrandActiveStateLayerOpacity)};
776
776
 
777
777
  background-color: ${b.tertiaryBrandBackgroundColor};
778
778
  color: ${b.tertiaryBrandColor};
@@ -790,13 +790,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
790
790
  /** Neutral Secondary styles **/
791
791
 
792
792
  .ftds--family-neutral.ft-button--secondary {
793
- ${O(ue.color,b.secondaryNeutralIconColor)};
793
+ ${E(ue.color,b.secondaryNeutralIconColor)};
794
794
 
795
- ${O(N.backgroundColor,b.secondaryNeutralStateLayerColor)};
796
- ${O(N.opacityContentOnSurfaceHover,b.secondaryNeutralHoverStateLayerOpacity)};
797
- ${O(N.opacityContentOnSurfaceFocused,b.secondaryNeutralFocusStateLayerOpacity)};
798
- ${O(N.opacityContentOnSurfaceSelected,b.secondaryNeutralActiveStateLayerOpacity)};
799
- ${O(N.opacityContentOnSurfacePressed,b.secondaryNeutralActiveStateLayerOpacity)};
795
+ ${E(_.backgroundColor,b.secondaryNeutralStateLayerColor)};
796
+ ${E(_.opacityContentOnSurfaceHover,b.secondaryNeutralHoverStateLayerOpacity)};
797
+ ${E(_.opacityContentOnSurfaceFocused,b.secondaryNeutralFocusStateLayerOpacity)};
798
+ ${E(_.opacityContentOnSurfaceSelected,b.secondaryNeutralActiveStateLayerOpacity)};
799
+ ${E(_.opacityContentOnSurfacePressed,b.secondaryNeutralActiveStateLayerOpacity)};
800
800
 
801
801
  background-color: ${b.secondaryNeutralBackgroundColor};
802
802
  color: ${b.secondaryNeutralColor};
@@ -815,13 +815,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
815
815
  /** Neutral Tertiary styles **/
816
816
 
817
817
  .ftds--family-neutral.ft-button--tertiary {
818
- ${O(ue.color,b.tertiaryNeutralIconColor)};
818
+ ${E(ue.color,b.tertiaryNeutralIconColor)};
819
819
 
820
- ${O(N.backgroundColor,b.tertiaryNeutralStateLayerColor)};
821
- ${O(N.opacityContentOnSurfaceHover,b.tertiaryNeutralHoverStateLayerOpacity)};
822
- ${O(N.opacityContentOnSurfaceFocused,b.tertiaryNeutralFocusStateLayerOpacity)};
823
- ${O(N.opacityContentOnSurfaceSelected,b.tertiaryNeutralActiveStateLayerOpacity)};
824
- ${O(N.opacityContentOnSurfacePressed,b.tertiaryNeutralActiveStateLayerOpacity)};
820
+ ${E(_.backgroundColor,b.tertiaryNeutralStateLayerColor)};
821
+ ${E(_.opacityContentOnSurfaceHover,b.tertiaryNeutralHoverStateLayerOpacity)};
822
+ ${E(_.opacityContentOnSurfaceFocused,b.tertiaryNeutralFocusStateLayerOpacity)};
823
+ ${E(_.opacityContentOnSurfaceSelected,b.tertiaryNeutralActiveStateLayerOpacity)};
824
+ ${E(_.opacityContentOnSurfacePressed,b.tertiaryNeutralActiveStateLayerOpacity)};
825
825
 
826
826
  background-color: ${b.tertiaryNeutralBackgroundColor};
827
827
  color: ${b.tertiaryNeutralColor};
@@ -839,13 +839,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
839
839
  /** Info Secondary styles **/
840
840
 
841
841
  .ftds--family-info.ft-button--secondary {
842
- ${O(ue.color,b.secondaryInfoIconColor)};
842
+ ${E(ue.color,b.secondaryInfoIconColor)};
843
843
 
844
- ${O(N.backgroundColor,b.secondaryInfoStateLayerColor)};
845
- ${O(N.opacityContentOnSurfaceHover,b.secondaryInfoHoverStateLayerOpacity)};
846
- ${O(N.opacityContentOnSurfaceFocused,b.secondaryInfoFocusStateLayerOpacity)};
847
- ${O(N.opacityContentOnSurfaceSelected,b.secondaryInfoActiveStateLayerOpacity)};
848
- ${O(N.opacityContentOnSurfacePressed,b.secondaryInfoActiveStateLayerOpacity)};
844
+ ${E(_.backgroundColor,b.secondaryInfoStateLayerColor)};
845
+ ${E(_.opacityContentOnSurfaceHover,b.secondaryInfoHoverStateLayerOpacity)};
846
+ ${E(_.opacityContentOnSurfaceFocused,b.secondaryInfoFocusStateLayerOpacity)};
847
+ ${E(_.opacityContentOnSurfaceSelected,b.secondaryInfoActiveStateLayerOpacity)};
848
+ ${E(_.opacityContentOnSurfacePressed,b.secondaryInfoActiveStateLayerOpacity)};
849
849
 
850
850
  background-color: ${b.secondaryInfoBackgroundColor};
851
851
  color: ${b.secondaryInfoColor};
@@ -864,13 +864,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
864
864
  /** Info Tertiary styles **/
865
865
 
866
866
  .ftds--family-info.ft-button--tertiary {
867
- ${O(ue.color,b.tertiaryInfoIconColor)};
867
+ ${E(ue.color,b.tertiaryInfoIconColor)};
868
868
 
869
- ${O(N.backgroundColor,b.tertiaryInfoStateLayerColor)};
870
- ${O(N.opacityContentOnSurfaceHover,b.tertiaryInfoHoverStateLayerOpacity)};
871
- ${O(N.opacityContentOnSurfaceFocused,b.tertiaryInfoFocusStateLayerOpacity)};
872
- ${O(N.opacityContentOnSurfaceSelected,b.tertiaryInfoActiveStateLayerOpacity)};
873
- ${O(N.opacityContentOnSurfacePressed,b.tertiaryInfoActiveStateLayerOpacity)};
869
+ ${E(_.backgroundColor,b.tertiaryInfoStateLayerColor)};
870
+ ${E(_.opacityContentOnSurfaceHover,b.tertiaryInfoHoverStateLayerOpacity)};
871
+ ${E(_.opacityContentOnSurfaceFocused,b.tertiaryInfoFocusStateLayerOpacity)};
872
+ ${E(_.opacityContentOnSurfaceSelected,b.tertiaryInfoActiveStateLayerOpacity)};
873
+ ${E(_.opacityContentOnSurfacePressed,b.tertiaryInfoActiveStateLayerOpacity)};
874
874
 
875
875
  background-color: ${b.tertiaryInfoBackgroundColor};
876
876
  color: ${b.tertiaryInfoColor};
@@ -888,13 +888,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
888
888
  /** Success Secondary styles **/
889
889
 
890
890
  .ftds--family-success.ft-button--secondary {
891
- ${O(ue.color,b.secondarySuccessIconColor)};
891
+ ${E(ue.color,b.secondarySuccessIconColor)};
892
892
 
893
- ${O(N.backgroundColor,b.secondarySuccessStateLayerColor)};
894
- ${O(N.opacityContentOnSurfaceHover,b.secondarySuccessHoverStateLayerOpacity)};
895
- ${O(N.opacityContentOnSurfaceFocused,b.secondarySuccessFocusStateLayerOpacity)};
896
- ${O(N.opacityContentOnSurfaceSelected,b.secondarySuccessActiveStateLayerOpacity)};
897
- ${O(N.opacityContentOnSurfacePressed,b.secondarySuccessActiveStateLayerOpacity)};
893
+ ${E(_.backgroundColor,b.secondarySuccessStateLayerColor)};
894
+ ${E(_.opacityContentOnSurfaceHover,b.secondarySuccessHoverStateLayerOpacity)};
895
+ ${E(_.opacityContentOnSurfaceFocused,b.secondarySuccessFocusStateLayerOpacity)};
896
+ ${E(_.opacityContentOnSurfaceSelected,b.secondarySuccessActiveStateLayerOpacity)};
897
+ ${E(_.opacityContentOnSurfacePressed,b.secondarySuccessActiveStateLayerOpacity)};
898
898
 
899
899
  background-color: ${b.secondarySuccessBackgroundColor};
900
900
  color: ${b.secondarySuccessColor};
@@ -913,13 +913,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
913
913
  /** Success Tertiary styles **/
914
914
 
915
915
  .ftds--family-success.ft-button--tertiary {
916
- ${O(ue.color,b.tertiarySuccessIconColor)};
916
+ ${E(ue.color,b.tertiarySuccessIconColor)};
917
917
 
918
- ${O(N.backgroundColor,b.tertiarySuccessStateLayerColor)};
919
- ${O(N.opacityContentOnSurfaceHover,b.tertiarySuccessHoverStateLayerOpacity)};
920
- ${O(N.opacityContentOnSurfaceFocused,b.tertiarySuccessFocusStateLayerOpacity)};
921
- ${O(N.opacityContentOnSurfaceSelected,b.tertiarySuccessActiveStateLayerOpacity)};
922
- ${O(N.opacityContentOnSurfacePressed,b.tertiarySuccessActiveStateLayerOpacity)};
918
+ ${E(_.backgroundColor,b.tertiarySuccessStateLayerColor)};
919
+ ${E(_.opacityContentOnSurfaceHover,b.tertiarySuccessHoverStateLayerOpacity)};
920
+ ${E(_.opacityContentOnSurfaceFocused,b.tertiarySuccessFocusStateLayerOpacity)};
921
+ ${E(_.opacityContentOnSurfaceSelected,b.tertiarySuccessActiveStateLayerOpacity)};
922
+ ${E(_.opacityContentOnSurfacePressed,b.tertiarySuccessActiveStateLayerOpacity)};
923
923
 
924
924
  background-color: ${b.tertiarySuccessBackgroundColor};
925
925
  color: ${b.tertiarySuccessColor};
@@ -937,13 +937,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
937
937
  /** Warning Secondary styles **/
938
938
 
939
939
  .ftds--family-warning.ft-button--secondary {
940
- ${O(ue.color,b.secondaryWarningIconColor)};
940
+ ${E(ue.color,b.secondaryWarningIconColor)};
941
941
 
942
- ${O(N.backgroundColor,b.secondaryWarningStateLayerColor)};
943
- ${O(N.opacityContentOnSurfaceHover,b.secondaryWarningHoverStateLayerOpacity)};
944
- ${O(N.opacityContentOnSurfaceFocused,b.secondaryWarningFocusStateLayerOpacity)};
945
- ${O(N.opacityContentOnSurfaceSelected,b.secondaryWarningActiveStateLayerOpacity)};
946
- ${O(N.opacityContentOnSurfacePressed,b.secondaryWarningActiveStateLayerOpacity)};
942
+ ${E(_.backgroundColor,b.secondaryWarningStateLayerColor)};
943
+ ${E(_.opacityContentOnSurfaceHover,b.secondaryWarningHoverStateLayerOpacity)};
944
+ ${E(_.opacityContentOnSurfaceFocused,b.secondaryWarningFocusStateLayerOpacity)};
945
+ ${E(_.opacityContentOnSurfaceSelected,b.secondaryWarningActiveStateLayerOpacity)};
946
+ ${E(_.opacityContentOnSurfacePressed,b.secondaryWarningActiveStateLayerOpacity)};
947
947
 
948
948
  background-color: ${b.secondaryWarningBackgroundColor};
949
949
  color: ${b.secondaryWarningColor};
@@ -962,13 +962,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
962
962
  /** Warning Tertiary styles **/
963
963
 
964
964
  .ftds--family-warning.ft-button--tertiary {
965
- ${O(ue.color,b.tertiaryWarningIconColor)};
965
+ ${E(ue.color,b.tertiaryWarningIconColor)};
966
966
 
967
- ${O(N.backgroundColor,b.tertiaryWarningStateLayerColor)};
968
- ${O(N.opacityContentOnSurfaceHover,b.tertiaryWarningHoverStateLayerOpacity)};
969
- ${O(N.opacityContentOnSurfaceFocused,b.tertiaryWarningFocusStateLayerOpacity)};
970
- ${O(N.opacityContentOnSurfaceSelected,b.tertiaryWarningActiveStateLayerOpacity)};
971
- ${O(N.opacityContentOnSurfacePressed,b.tertiaryWarningActiveStateLayerOpacity)};
967
+ ${E(_.backgroundColor,b.tertiaryWarningStateLayerColor)};
968
+ ${E(_.opacityContentOnSurfaceHover,b.tertiaryWarningHoverStateLayerOpacity)};
969
+ ${E(_.opacityContentOnSurfaceFocused,b.tertiaryWarningFocusStateLayerOpacity)};
970
+ ${E(_.opacityContentOnSurfaceSelected,b.tertiaryWarningActiveStateLayerOpacity)};
971
+ ${E(_.opacityContentOnSurfacePressed,b.tertiaryWarningActiveStateLayerOpacity)};
972
972
 
973
973
  background-color: ${b.tertiaryWarningBackgroundColor};
974
974
  color: ${b.tertiaryWarningColor};
@@ -986,13 +986,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
986
986
  /** Error Secondary styles **/
987
987
 
988
988
  .ftds--family-error.ft-button--secondary {
989
- ${O(ue.color,b.secondaryErrorIconColor)};
989
+ ${E(ue.color,b.secondaryErrorIconColor)};
990
990
 
991
- ${O(N.backgroundColor,b.secondaryErrorStateLayerColor)};
992
- ${O(N.opacityContentOnSurfaceHover,b.secondaryErrorHoverStateLayerOpacity)};
993
- ${O(N.opacityContentOnSurfaceFocused,b.secondaryErrorFocusStateLayerOpacity)};
994
- ${O(N.opacityContentOnSurfaceSelected,b.secondaryErrorActiveStateLayerOpacity)};
995
- ${O(N.opacityContentOnSurfacePressed,b.secondaryErrorActiveStateLayerOpacity)};
991
+ ${E(_.backgroundColor,b.secondaryErrorStateLayerColor)};
992
+ ${E(_.opacityContentOnSurfaceHover,b.secondaryErrorHoverStateLayerOpacity)};
993
+ ${E(_.opacityContentOnSurfaceFocused,b.secondaryErrorFocusStateLayerOpacity)};
994
+ ${E(_.opacityContentOnSurfaceSelected,b.secondaryErrorActiveStateLayerOpacity)};
995
+ ${E(_.opacityContentOnSurfacePressed,b.secondaryErrorActiveStateLayerOpacity)};
996
996
 
997
997
  background-color: ${b.secondaryErrorBackgroundColor};
998
998
  color: ${b.secondaryErrorColor};
@@ -1011,13 +1011,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1011
1011
  /** Error Tertiary styles **/
1012
1012
 
1013
1013
  .ftds--family-error.ft-button--tertiary {
1014
- ${O(ue.color,b.tertiaryErrorIconColor)};
1014
+ ${E(ue.color,b.tertiaryErrorIconColor)};
1015
1015
 
1016
- ${O(N.backgroundColor,b.tertiaryErrorStateLayerColor)};
1017
- ${O(N.opacityContentOnSurfaceHover,b.tertiaryErrorHoverStateLayerOpacity)};
1018
- ${O(N.opacityContentOnSurfaceFocused,b.tertiaryErrorFocusStateLayerOpacity)};
1019
- ${O(N.opacityContentOnSurfaceSelected,b.tertiaryErrorActiveStateLayerOpacity)};
1020
- ${O(N.opacityContentOnSurfacePressed,b.tertiaryErrorActiveStateLayerOpacity)};
1016
+ ${E(_.backgroundColor,b.tertiaryErrorStateLayerColor)};
1017
+ ${E(_.opacityContentOnSurfaceHover,b.tertiaryErrorHoverStateLayerOpacity)};
1018
+ ${E(_.opacityContentOnSurfaceFocused,b.tertiaryErrorFocusStateLayerOpacity)};
1019
+ ${E(_.opacityContentOnSurfaceSelected,b.tertiaryErrorActiveStateLayerOpacity)};
1020
+ ${E(_.opacityContentOnSurfacePressed,b.tertiaryErrorActiveStateLayerOpacity)};
1021
1021
 
1022
1022
  background-color: ${b.tertiaryErrorBackgroundColor};
1023
1023
  color: ${b.tertiaryErrorColor};
@@ -1035,8 +1035,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1035
1035
  /** Large styles **/
1036
1036
 
1037
1037
  .ftds--size-large {
1038
- ${O(Pe.size,b.largeIconSize)};
1039
- ${O(ue.size,b.largeIconSize)};
1038
+ ${E(Te.size,b.largeIconSize)};
1039
+ ${E(ue.size,b.largeIconSize)};
1040
1040
 
1041
1041
  height: ${b.largeHeight};
1042
1042
  padding: 0 ${b.largeHorizontalPadding};
@@ -1057,8 +1057,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1057
1057
  /** Small styles **/
1058
1058
 
1059
1059
  .ftds--size-medium {
1060
- ${O(Pe.size,b.mediumIconSize)};
1061
- ${O(ue.size,b.mediumIconSize)};
1060
+ ${E(Te.size,b.mediumIconSize)};
1061
+ ${E(ue.size,b.mediumIconSize)};
1062
1062
 
1063
1063
  height: ${b.mediumHeight};
1064
1064
  padding: 0 ${b.mediumHorizontalPadding};
@@ -1080,8 +1080,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1080
1080
  /** Small styles **/
1081
1081
 
1082
1082
  .ftds--size-small {
1083
- ${O(Pe.size,b.smallIconSize)};
1084
- ${O(ue.size,b.smallIconSize)};
1083
+ ${E(Te.size,b.smallIconSize)};
1084
+ ${E(ue.size,b.smallIconSize)};
1085
1085
 
1086
1086
  height: ${b.smallHeight};
1087
1087
  padding: 0 ${b.smallHorizontalPadding};
@@ -1098,11 +1098,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1098
1098
  .ftds--size-small.ft-button--icon-only {
1099
1099
  width: ${b.smallIconOnlyWidth};
1100
1100
  }
1101
- `,Vo]});var Ci,At,Xc=h(()=>{"use strict";qc();ie();bi();k();Qc();Z();vi();Ci=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},At=class extends qn(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=mr.brand,this.iconVariant=Fe.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 bt.large:return Vt.body2medium;case bt.medium:return Vt.caption1medium;case bt.small:return Vt.caption2medium}}};At.styles=[Go,Eh];Ci([w({type:Boolean})],At.prototype,"primary",void 0);Ci([w({type:Boolean})],At.prototype,"secondary",void 0);Ci([w({type:Boolean})],At.prototype,"tertiary",void 0);Ci([w({type:Boolean})],At.prototype,"round",void 0)});var wh=h(()=>{"use strict"});var Ah=h(()=>{"use strict"});var Oi=h(()=>{"use strict";k();Yc();Xc();Yc();Mc();wh();Xc();Qc();Ah();G("ft-button")(We);G("ftds-button")(At)});var se,Jc,rn=h(()=>{"use strict";H();k();Oi();zc();se={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",$.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","",$.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",$.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",$.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",$.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",$.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",$.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",$.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",$.colorPrimary)},Jc=L`
1101
+ `,Ko]});var Ci,Rt,Jc=y(()=>{"use strict";Yc();ie();bi();D();Xc();Y();vi();Ci=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Rt=class extends qn(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=yr.brand,this.iconVariant=We.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 xt.large:return Vt.body2medium;case xt.medium:return Vt.caption1medium;case xt.small:return Vt.caption2medium}}};Rt.styles=[Zo,Nh];Ci([A({type:Boolean})],Rt.prototype,"primary",void 0);Ci([A({type:Boolean})],Rt.prototype,"secondary",void 0);Ci([A({type:Boolean})],Rt.prototype,"tertiary",void 0);Ci([A({type:Boolean})],Rt.prototype,"round",void 0)});var Th=y(()=>{"use strict"});var Ph=y(()=>{"use strict"});var Oi=y(()=>{"use strict";D();Qc();Jc();Qc();Mc();Th();Jc();Xc();Ph();K("ft-button")(He);K("ftds-button")(Rt)});var se,el,on=y(()=>{"use strict";z();D();Oi();jc();se={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",k.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","",k.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",k.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",k.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",k.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",k.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",k.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",k.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",k.colorPrimary)},el=I`
1102
1102
  * {
1103
1103
  box-sizing: border-box;
1104
- ${O(me.color,se.buttonColor)};
1105
- ${O(me.rippleColor,se.buttonRippleColor)};
1104
+ ${E(ye.color,se.buttonColor)};
1105
+ ${E(ye.rippleColor,se.buttonRippleColor)};
1106
1106
  }
1107
1107
 
1108
1108
  .ft-search-input {
@@ -1156,13 +1156,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1156
1156
  align-items: center;
1157
1157
  height: 100%;
1158
1158
 
1159
- ${O(Gt.zIndex,`calc(${se.floatingZIndex} + 1)`)};
1159
+ ${E(Gt.zIndex,`calc(${se.floatingZIndex} + 1)`)};
1160
1160
  }
1161
1161
 
1162
1162
  .ft-search-input > ft-button,
1163
1163
  .ft-search-input--actions ft-button {
1164
1164
  flex-shrink: 0;
1165
- ${O(me.backgroundColor,"transparent")};
1165
+ ${E(ye.backgroundColor,"transparent")};
1166
1166
  }
1167
1167
 
1168
1168
  .ft-search-input .ft-search-input--launch-search,
@@ -1182,12 +1182,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1182
1182
  height: 20px;
1183
1183
  border-right: 1px solid ${se.colorOutline};
1184
1184
  }
1185
- `});var Ei,el,wi=h(()=>{"use strict";H();k();Ei={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},el=L`
1185
+ `});var Ei,tl,wi=y(()=>{"use strict";z();D();Ei={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},tl=I`
1186
1186
  .kwicmatch {
1187
1187
  font-weight: 700;
1188
1188
  background-color: ${Ei.highlightBackgroundColor};
1189
1189
  }
1190
- `});var Ai,tl,Ri=h(()=>{"use strict";H();k();Ai={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},tl=L`
1190
+ `});var Ai,rl,Ri=y(()=>{"use strict";z();D();Ai={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},rl=I`
1191
1191
  .kwicmatch {
1192
1192
  font-weight: 700;
1193
1193
  background-color: ${Ai.highlightBackgroundColor};
@@ -1201,18 +1201,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1201
1201
  a:focus {
1202
1202
  outline: revert;
1203
1203
  }
1204
- `});var _h,rl=h(()=>{"use strict";H();_h=L`
1205
- `});var Ph,ol=h(()=>{"use strict";H();Ph=L`
1206
- `});var xb,nl,vb,W,Ve=h(()=>{"use strict";k();xb="ft-app-info",nl=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},vb={session:(t,e)=>{qe(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new nl(e.payload)),0))}},W=Ot.get({name:xb,reducers:vb,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var Er,Ni=h(()=>{"use strict";Ve();Er=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=W.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=W.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var dt,on=h(()=>{"use strict";k();Ni();dt=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 ot,this.cache=e?i.commonCache:new ot}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Er.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Er.await()}clearCache(){this.cache.clearAll()}}});var Th,Sb,_i,wr,Lh,il=h(()=>{"use strict";Ve();k();on();Sb=Symbol("clearAfterUnitTest"),_i=class extends dt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Th]=()=>{this.defaultMessages={},this.cache=new ot,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.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};qe(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Ko((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var 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=>Mn(0).then(()=>r()).catch(()=>null)))}};Th=Sb;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends _i{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends _i{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});wr=window.FluidTopicsI18nService,Lh=window.FluidTopicsCustomI18nService});var Re,ge,al=h(()=>{"use strict";H();ie();k();ol();Ve();il();Ni();Re=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ge=class extends te{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=()=>Er.get(),this.messageContexts=[],this.cache=new ot,this.cleanSessionDebouncer=new Ce}render(){return B`
1204
+ `});var $h,ol=y(()=>{"use strict";z();$h=I`
1205
+ `});var kh,nl=y(()=>{"use strict";z();kh=I`
1206
+ `});var Eb,il,wb,W,Ge=y(()=>{"use strict";D();Eb="ft-app-info",il=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},wb={session:(t,e)=>{Ye(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new il(e.payload)),0))}},W=Et.get({name:Eb,reducers:wb,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var Rr,_i=y(()=>{"use strict";Ge();Rr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=W.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=W.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var ut,nn=y(()=>{"use strict";D();_i();ut=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 at,this.cache=e?i.commonCache:new at}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Rr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Rr.await()}clearCache(){this.cache.clearAll()}}});var Dh,Ab,Ni,_r,Mh,al=y(()=>{"use strict";Ge();D();nn();Ab=Symbol("clearAfterUnitTest"),Ni=class extends ut{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Dh]=()=>{this.defaultMessages={},this.cache=new at,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.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};Ye(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new qo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...n)}async fetchContext(e){var r,n,i;if(!this.cache.has(e))if(((n=(r=window.process)===null||r===void 0?void 0:r.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(e,(i=this.defaultMessages[e])!==null&&i!==void 0?i:{});else try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(a){console.error(a)}}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=>Mn(0).then(()=>r()).catch(()=>null)))}};Dh=Ab;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ni{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ni{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});_r=window.FluidTopicsI18nService,Mh=window.FluidTopicsCustomI18nService});var Re,ge,sl=y(()=>{"use strict";z();ie();D();nl();Ge();al();_i();Re=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ge=class extends te{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Rr.get(),this.messageContexts=[],this.cache=new at,this.cleanSessionDebouncer=new Ce}render(){return B`
1207
1207
  <slot></slot>
1208
- `}update(e){var r,n,i,a,s;super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>wr.addContext(c)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(W.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),W.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),W.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ge.elementDefinitions={};ge.styles=Ph;Re([w()],ge.prototype,"baseUrl",void 0);Re([w()],ge.prototype,"apiIntegrationIdentifier",void 0);Re([w()],ge.prototype,"uiLocale",void 0);Re([Ee(null)],ge.prototype,"availableUiLocales",void 0);Re([Ee(null)],ge.prototype,"metadataConfiguration",void 0);Re([w({type:Boolean})],ge.prototype,"editorMode",void 0);Re([w({type:Boolean})],ge.prototype,"noCustom",void 0);Re([w({type:Boolean})],ge.prototype,"openExternalDocumentInNewTab",void 0);Re([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ge.prototype,"noCustomComponent",void 0);Re([w({type:Boolean})],ge.prototype,"withManualResources",void 0);Re([w({type:Boolean})],ge.prototype,"navigatorOnline",void 0);Re([w({type:Boolean})],ge.prototype,"forcedOffline",void 0);Re([w({type:Object})],ge.prototype,"apiProvider",void 0);Re([Ee([])],ge.prototype,"messageContexts",void 0);Re([Ee(void 0)],ge.prototype,"session",void 0);Re([le()],ge.prototype,"localesConfiguration",void 0)});var Ih=h(()=>{"use strict";ie();si();hi();Ve()});var Pi,sl=h(()=>{"use strict";Ve();on();Pi=class extends dt{async listMySearches(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Ti,cl=h(()=>{"use strict";Ve();on();Ti=class extends dt{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Cb,Li,ll,$h,dl=h(()=>{"use strict";k();sl();cl();Ve();Cb="ft-user-assets",Li=Ot.get({name:Cb,initialState:{savedSearches:void 0,bookmarks:void 0}}),ll=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ti,this.savedSearchesService=new Pi,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();qe((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)}}},$h=new ll});var ul,kh=h(()=>{"use strict";Ve();ul=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ul});var pl,Mh=h(()=>{"use strict";k();pl=class{highlightHtml(e,r,n){Ls(e,r,n)}};window.FluidTopicsHighlightHtmlService=new pl});var fl,Dh=h(()=>{"use strict";k();Ve();fl=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return Xr.format(e,(n=r?.locale)!==null&&n!==void 0?n:W.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new fl});var co,Bh=h(()=>{"use strict";k();Ve();co=class{static get(e,r){var n,i,a,s;let c=W.getState(),{lang:d,region:u}=(i=(n=c.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Qr(c.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,r??`${d}-${u}`)}}});var Uh=h(()=>{"use strict";cl();Ni();kh();il();on();Mh();sl();Dh();Bh()});var Fh=h(()=>{"use strict"});var Zt=h(()=>{"use strict";k();al();Ih();Ve();dl();Uh();ol();Fh();al();G("ft-app-context")(ge)});function Ge(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?Lh:wr}i18n(a,s,...c){var d;if(typeof a=="string")return this.i18nService.resolveMessage(a,s,...c);let u=(d=a.args)!==null&&d!==void 0?d:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...u)}onI18nUpdate(a){var s,c,d;(s=this[hl])===null||s===void 0||s.forEach((u,m)=>{let f=this.getI18nAttributeValue(m);f&&(this[m]=this.getI18nAttributeMessage(f,u,a))}),(c=this[ml])===null||c===void 0||c.forEach((u,m)=>{let f=this.getI18nListAttributeValues(m);this[m]=f?.map(g=>this.getI18nAttributeMessage(g,u,a))}),(d=this[Ii])===null||d===void 0||d.forEach((u,m)=>{u.context.toLowerCase()===a.toLowerCase()&&(this[m]=this.i18n(u))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,s){return{...a,message:this.i18n({context:a.context,key:a.key,...s})}}getI18nAttributeMessage(a,s,c){var d;let u=!c||((d=a.context)===null||d===void 0?void 0:d.toLowerCase())===c.toLowerCase();return a.context&&a.key&&u?this.buildI18nAttributeMessage(a,s):a}update(a){var s,c,d;super.update(a),(s=this[hl])===null||s===void 0||s.forEach((u,m)=>{let f=this.getI18nAttributeValue(m);f?.context&&f.key&&(a.has(m)||u.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,a,m),this[m]=this.getI18nAttributeMessage(f,u))}),(c=this[ml])===null||c===void 0||c.forEach((u,m)=>{let f=this.getI18nListAttributeValues(m);(a.has(m)||u.argsProvider!=null)&&(this[m]=f?.map(g=>(this.addI18nContextIfNeeded(g,a,m),this.getI18nAttributeMessage(g,u))))}),(d=this[Ii])===null||d===void 0||d.forEach((u,m)=>{u.argsProvider!=null&&(this[m]=this.i18n(u))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,s,c){a.context&&a.key&&s.has(c)&&this.addI18nContext(a.context)}addI18nMessagesAndSubscribe(a,s){a=a.toLowerCase(),this[nn].has(a)||this[nn].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,s??{}),this.onI18nUpdate(a)}connectedCallback(){var a,s,c,d,u,m;super.connectedCallback(),new Set([...(s=(a=this[Ii])===null||a===void 0?void 0:a.values())!==null&&s!==void 0?s:[],...[...(d=(c=this[hl])===null||c===void 0?void 0:c.keys())!==null&&d!==void 0?d:[]].map(f=>this.getI18nAttributeValue(f)),...[...(m=(u=this[ml])===null||u===void 0?void 0:u.keys())!==null&&m!==void 0?m:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f)),this[yl].forEach((f,g)=>{this.addI18nMessages(g,f)})}addI18nMessages(a,s){this[yl].set(a,s??{}),this.addI18nMessagesAndSubscribe(a,s)}addI18nContext(a,s){this.addI18nMessages(typeof a=="string"?a:a.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[nn].forEach(a=>a()),this[nn].clear()}}return e=yl,r=nn,Ob([w({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Ob,hl,ml,Ii,yl,nn,Wh,$i,ki=h(()=>{"use strict";k();Zt();ie();Ob=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},hl=Symbol("i18nAttributes"),ml=Symbol("i18nListAttributes"),Ii=Symbol("i18nProperties"),yl=Symbol("i18nManualContexts"),nn=Symbol("i18nUnsubs");Wh=class extends Ge(te){},$i=class extends Ge(Le){}});var an,Xe,gl=h(()=>{"use strict";H();ie();k();rl();ki();Zt();an=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Xe=class extends $i{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":V:B`
1208
+ `}update(e){var r,n,i,a,s;super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>_r.addContext(c)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(W.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),W.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),W.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ge.elementDefinitions={};ge.styles=kh;Re([A()],ge.prototype,"baseUrl",void 0);Re([A()],ge.prototype,"apiIntegrationIdentifier",void 0);Re([A()],ge.prototype,"uiLocale",void 0);Re([Ee(null)],ge.prototype,"availableUiLocales",void 0);Re([Ee(null)],ge.prototype,"metadataConfiguration",void 0);Re([A({type:Boolean})],ge.prototype,"editorMode",void 0);Re([A({type:Boolean})],ge.prototype,"noCustom",void 0);Re([A({type:Boolean})],ge.prototype,"openExternalDocumentInNewTab",void 0);Re([A({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ge.prototype,"noCustomComponent",void 0);Re([A({type:Boolean})],ge.prototype,"withManualResources",void 0);Re([A({type:Boolean})],ge.prototype,"navigatorOnline",void 0);Re([A({type:Boolean})],ge.prototype,"forcedOffline",void 0);Re([A({type:Object})],ge.prototype,"apiProvider",void 0);Re([Ee([])],ge.prototype,"messageContexts",void 0);Re([Ee(void 0)],ge.prototype,"session",void 0);Re([le()],ge.prototype,"localesConfiguration",void 0)});var Bh=y(()=>{"use strict";ie();si();hi();Ge()});var Ti,cl=y(()=>{"use strict";Ge();nn();Ti=class extends ut{async listMySearches(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Pi,ll=y(()=>{"use strict";Ge();nn();Pi=class extends ut{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Rb,Li,dl,Uh,ul=y(()=>{"use strict";D();cl();ll();Ge();Rb="ft-user-assets",Li=Et.get({name:Rb,initialState:{savedSearches:void 0,bookmarks:void 0}}),dl=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Pi,this.savedSearchesService=new Ti,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();Ye((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)}}},Uh=new dl});var pl,Fh=y(()=>{"use strict";Ge();pl=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new pl});var fl,Wh=y(()=>{"use strict";D();fl=class{highlightHtml(e,r,n){Is(e,r,n)}};window.FluidTopicsHighlightHtmlService=new fl});var hl,Hh=y(()=>{"use strict";D();Ge();hl=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return to.format(e,(n=r?.locale)!==null&&n!==void 0?n:W.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new hl});var po,zh=y(()=>{"use strict";D();Ge();po=class{static get(e,r){var n,i,a,s;let c=W.getState(),{lang:d,region:u}=(i=(n=c.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new eo(c.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,r??`${d}-${u}`)}}});var jh=y(()=>{"use strict";ll();_i();Fh();al();nn();Wh();cl();Hh();zh()});var Vh=y(()=>{"use strict"});var Zt=y(()=>{"use strict";D();sl();Bh();Ge();ul();jh();nl();Vh();sl();K("ft-app-context")(ge)});function Ke(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?Mh:_r}i18n(a,s,...c){var d;if(typeof a=="string")return this.i18nService.resolveMessage(a,s,...c);let u=(d=a.args)!==null&&d!==void 0?d:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...u)}onI18nUpdate(a){var s,c,d;(s=this[yl])===null||s===void 0||s.forEach((u,h)=>{let f=this.getI18nAttributeValue(h);f&&(this[h]=this.getI18nAttributeMessage(f,u,a))}),(c=this[ml])===null||c===void 0||c.forEach((u,h)=>{let f=this.getI18nListAttributeValues(h);this[h]=f?.map(m=>this.getI18nAttributeMessage(m,u,a))}),(d=this[Ii])===null||d===void 0||d.forEach((u,h)=>{u.context.toLowerCase()===a.toLowerCase()&&(this[h]=this.i18n(u))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,s){return{...a,message:this.i18n({context:a.context,key:a.key,...s})}}getI18nAttributeMessage(a,s,c){var d;let u=!c||((d=a.context)===null||d===void 0?void 0:d.toLowerCase())===c.toLowerCase();return a.context&&a.key&&u?this.buildI18nAttributeMessage(a,s):a}update(a){var s,c,d;super.update(a),(s=this[yl])===null||s===void 0||s.forEach((u,h)=>{let f=this.getI18nAttributeValue(h);f?.context&&f.key&&(a.has(h)||u.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,a,h),this[h]=this.getI18nAttributeMessage(f,u))}),(c=this[ml])===null||c===void 0||c.forEach((u,h)=>{let f=this.getI18nListAttributeValues(h);(a.has(h)||u.argsProvider!=null)&&(this[h]=f?.map(m=>(this.addI18nContextIfNeeded(m,a,h),this.getI18nAttributeMessage(m,u))))}),(d=this[Ii])===null||d===void 0||d.forEach((u,h)=>{u.argsProvider!=null&&(this[h]=this.i18n(u))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,s,c){a.context&&a.key&&s.has(c)&&this.addI18nContext(a.context)}addI18nMessagesAndSubscribe(a,s){a=a.toLowerCase(),this[an].has(a)||this[an].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,s??{}),this.onI18nUpdate(a)}connectedCallback(){var a,s,c,d,u,h;super.connectedCallback(),new Set([...(s=(a=this[Ii])===null||a===void 0?void 0:a.values())!==null&&s!==void 0?s:[],...[...(d=(c=this[yl])===null||c===void 0?void 0:c.keys())!==null&&d!==void 0?d:[]].map(f=>this.getI18nAttributeValue(f)),...[...(h=(u=this[ml])===null||u===void 0?void 0:u.keys())!==null&&h!==void 0?h:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f)),this[gl].forEach((f,m)=>{this.addI18nMessages(m,f)})}addI18nMessages(a,s){this[gl].set(a,s??{}),this.addI18nMessagesAndSubscribe(a,s)}addI18nContext(a,s){this.addI18nMessages(typeof a=="string"?a:a.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[an].forEach(a=>a()),this[an].clear()}}return e=gl,r=an,_b([A({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var _b,yl,ml,Ii,gl,an,Gh,$i,ki=y(()=>{"use strict";D();Zt();ie();_b=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},yl=Symbol("i18nAttributes"),ml=Symbol("i18nListAttributes"),Ii=Symbol("i18nProperties"),gl=Symbol("i18nManualContexts"),an=Symbol("i18nUnsubs");Gh=class extends Ke(te){},$i=class extends Ke(Ie){}});var sn,tt,bl=y(()=>{"use strict";z();ie();D();ol();ki();Zt();sn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},tt=class extends $i{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":G:B`
1209
1209
  <span class="ft-i18n">
1210
1210
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1211
1211
  </span>
1212
- `}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:""})}};Xe.elementDefinitions={};Xe.styles=_h;an([oe()],Xe.prototype,"editorMode",void 0);an([w()],Xe.prototype,"context",void 0);an([w()],Xe.prototype,"key",void 0);an([Ee([])],Xe.prototype,"args",void 0);an([w()],Xe.prototype,"defaultMessage",void 0)});var ut,Hh=h(()=>{"use strict";Zt();ut=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)}),this.rawMessages=new Proxy({},{get:(r,n)=>wr.resolveRawMessage(this.name,n)})}}});var zh=h(()=>{"use strict";ki()});var jh=h(()=>{"use strict"});var pt=h(()=>{"use strict";k();gl();Hh();ki();zh();rl();jh();gl();G("ft-i18n")(Xe)});var Gh,Kh=h(()=>{ht();Gh=t=>t??fe});var Zh=h(()=>{Kh()});function qh(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)===ui.EXTERNAL}function Di(t){var e,r,n,i,a;if(qh(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 qr.MAP:return t.map.readerUrl;case qr.DOCUMENT:return t.document.viewerUrl;case qr.TOPIC:return t.topic.readerUrl}return""}function Yh(t,e){return Gh(e&&qh(t)?"_blank":void 0)}var lo,vl=h(()=>{"use strict";pi();Zh();lo=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Ab,Cl,Ol=h(()=>{"use strict";H();Ab={},Cl=L`
1213
- `});var Qh=h(()=>{"use strict"});var Rb,Xh,Jh=h(()=>{"use strict";k();Rb={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)=>{var r;let n=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(n)?20:hr(1,n,40)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=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},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},Xh=t=>Ot.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:Rb})});var Fi,em=h(()=>{"use strict";Zt();Fi=class extends dt{constructor(e){super(!0,e),this.sortObjectFields=(r,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([i],[a])=>i.localeCompare(a)))}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,i)=>n.id.localeCompare(i.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((n,i)=>n.localeCompare(i))}}).sort((r,n)=>r.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}}});var tm,sn,uo,El=h(()=>{"use strict";k();Jh();pi();em();tm=t=>t.request.virtualField===Zr.TITLE_ONLY&&t.request.scope===Yr.DOCUMENTS,sn=class t extends Event{constructor(){super(t.eventName)}};sn.eventName="search-context-clear-all-filters";uo=class t{static build(e,r){return new t(Xh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Ce(10),this.searchDebouncer=new Ce(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(i=>({id:i}))}),this.suggestDebouncer=new Ce(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=r??new Fi,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=ai(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=ai(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;let n=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],i=this.store.getState().request.contentLocale;if(e!=i){if(n.length>0){let a=s=>n.some(c=>c.lang==s);a(e)||(e=a(i)?i:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Zr.TITLE_ONLY),this.store.actions.setRequestScope(Yr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Zr.EVERYWHERE),this.store.actions.setRequestScope(Yr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return tm(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new sn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(n=>n.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:r,negative:!1}},a=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:r}},a=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.dateFilter),...r.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:n}},s=[...i.filter(c=>!c.rangeFilter),...i.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.rangeFilter),...r.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,n,i;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Dr(this.service.launchSearch(e));let a=await this.cancelableSearch;if(a.paging.currentPage<=1)this.store.actions.results(a.results),this.store.actions.facets(a.facets),this.store.actions.spellcheck(a.spellcheck);else{let s=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(a.results);this.store.actions.results(s)}this.store.actions.paging(a.paging)}}catch(a){a instanceof kt||(console.error(a),(i=this.errorHandler)===null||i===void 0||i.call(this,a))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=Dr(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof kt)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function _b(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[wl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[wl]):this.dispatchEvent(new Al)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=wl,Nb([le()],r.prototype,"stateManager",void 0),r}var Nb,Al,wl,Me,qt=h(()=>{"use strict";k();ie();Qh();El();Nb=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Al=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},wl=Symbol("registerInterval");Me=class extends _b(Le){}});var Ne,Wi,Hi,zi,he,Rl=h(()=>{"use strict";H();ie();k();Ol();qt();Zt();dl();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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Wi=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Hi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},zi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},he=class extends Le{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=uo.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.otherQueryParams={},this.addStore(W)}render(){return B`
1212
+ `}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:""})}};tt.elementDefinitions={};tt.styles=$h;sn([oe()],tt.prototype,"editorMode",void 0);sn([A()],tt.prototype,"context",void 0);sn([A()],tt.prototype,"key",void 0);sn([Ee([])],tt.prototype,"args",void 0);sn([A()],tt.prototype,"defaultMessage",void 0)});var pt,Kh=y(()=>{"use strict";Zt();pt=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)=>_r.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(r,n)=>_r.resolveRawMessage(this.name,n)})}}});var Zh=y(()=>{"use strict";ki()});var qh=y(()=>{"use strict"});var ft=y(()=>{"use strict";D();bl();Kh();ki();Zh();ol();qh();bl();K("ft-i18n")(tt)});var Qh,Xh=y(()=>{yt();Qh=t=>t??fe});var Jh=y(()=>{Xh()});function ey(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)===ui.EXTERNAL}function Mi(t){var e,r,n,i,a;if(ey(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 Xr.MAP:return t.map.readerUrl;case Xr.DOCUMENT:return t.document.viewerUrl;case Xr.TOPIC:return t.topic.readerUrl}return""}function ty(t,e){return Qh(e&&ey(t)?"_blank":void 0)}var fo,Sl=y(()=>{"use strict";pi();Jh();fo=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Pb,Ol,El=y(()=>{"use strict";z();Pb={},Ol=I`
1213
+ `});var ry=y(()=>{"use strict"});var Lb,oy,ny=y(()=>{"use strict";D();Lb={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)=>{var r;let n=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(n)?20:hr(1,n,40)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=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},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},oy=t=>Et.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:Lb})});var Fi,iy=y(()=>{"use strict";Zt();Fi=class extends ut{constructor(e){super(!0,e),this.sortObjectFields=(r,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([i],[a])=>i.localeCompare(a)))}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,i)=>n.id.localeCompare(i.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((n,i)=>n.localeCompare(i))}}).sort((r,n)=>r.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}}});var ay,cn,ho,wl=y(()=>{"use strict";D();ny();pi();iy();ay=t=>t.request.virtualField===Er.TITLE_ONLY&&t.request.scope===Jr.DOCUMENTS,cn=class t extends Event{constructor(){super(t.eventName)}};cn.eventName="search-context-clear-all-filters";ho=class t{static build(e,r){return new t(oy(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Ce(10),this.searchDebouncer=new Ce(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(i=>({id:i}))}),this.suggestDebouncer=new Ce(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=r??new Fi,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=ai(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=ai(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;let n=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],i=this.store.getState().request.contentLocale;if(e!=i){if(n.length>0){let a=s=>n.some(c=>c.lang==s);a(e)||(e=a(i)?i:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Er.TITLE_ONLY),this.store.actions.setRequestScope(Jr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Er.EVERYWHERE),this.store.actions.setRequestScope(Jr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return ay(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new cn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(n=>n.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:r,negative:!1}},a=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:r}},a=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.dateFilter),...r.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:n}},s=[...i.filter(c=>!c.rangeFilter),...i.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.rangeFilter),...r.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,n,i;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Fr(this.service.launchSearch(e));let a=await this.cancelableSearch;if(a.paging.currentPage<=1)this.store.actions.results(a.results),this.store.actions.facets(a.facets),this.store.actions.spellcheck(a.spellcheck);else{let s=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(a.results);this.store.actions.results(s)}this.store.actions.paging(a.paging)}}catch(a){a instanceof Dt||(console.error(a),(i=this.errorHandler)===null||i===void 0||i.call(this,a))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=Fr(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof Dt)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function $b(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[Al]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Al]):this.dispatchEvent(new Rl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Al,Ib([le()],r.prototype,"stateManager",void 0),r}var Ib,Rl,Al,Me,qt=y(()=>{"use strict";D();ie();ry();wl();Ib=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Rl=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Al=Symbol("registerInterval");Me=class extends $b(Ie){}});var _e,Wi,Hi,zi,he,_l=y(()=>{"use strict";z();ie();D();El();qt();Zt();ul();_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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Wi=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Hi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},zi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},he=class extends Ie{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=ho.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.otherQueryParams={},this.addStore(W)}render(){return B`
1214
1214
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1215
- `}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.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Hi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new zi(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 Wi(e))}reloadSavedSearches(){$h.clearMySearches()}clear(){this.stateManager.clear()}};he.elementDefinitions={};he.styles=Cl;Ne([oe({store:W.name})],he.prototype,"session",void 0);Ne([w()],he.prototype,"query",void 0);Ne([w()],he.prototype,"contentLocale",void 0);Ne([w({type:Number})],he.prototype,"pageSize",void 0);Ne([w({type:Boolean})],he.prototype,"searchInDocumentTitlesOnly",void 0);Ne([w()],he.prototype,"scope",void 0);Ne([w()],he.prototype,"virtualField",void 0);Ne([w({type:Boolean})],he.prototype,"ignoreEmptyQuery",void 0);Ne([oe({store:W.name})],he.prototype,"openExternalDocumentInNewTab",void 0);Ne([Ee([])],he.prototype,"filters",void 0);Ne([Ee([])],he.prototype,"sort",void 0);Ne([Ee({})],he.prototype,"otherQueryParams",void 0);Ne([oe({store:"search"})],he.prototype,"request",void 0);Ne([oe({store:"search"})],he.prototype,"paging",void 0);Ne([oe({store:"search",selector:t=>t.spellcheck})],he.prototype,"autocorrect",void 0);Ne([w({attribute:!1})],he.prototype,"searchServiceProvider",void 0)});var rm=h(()=>{"use strict"});var om={};Y(om,{ClearAllFiltersEvent:()=>sn,FtSearchContext:()=>he,FtSearchContextCssVariables:()=>Ab,FtSearchStateManager:()=>uo,LoadErrorEvent:()=>Wi,SearchRequestChangeEvent:()=>Hi,SearchResultsChangeEvent:()=>zi,searchInDocumentTitlesOnlySelector:()=>tm,styles:()=>Cl});var nm=h(()=>{"use strict";k();Rl();Ol();rm();Rl();El();G("ft-search-context")(he)});var cn,im=h(()=>{"use strict";pt();cn=ut.build("designedSearchInput")});var am,sm=h(()=>{"use strict";H();rn();am=L`
1215
+ `}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.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Hi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new zi(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 Wi(e))}reloadSavedSearches(){Uh.clearMySearches()}clear(){this.stateManager.clear()}};he.elementDefinitions={};he.styles=Ol;_e([oe({store:W.name})],he.prototype,"session",void 0);_e([A()],he.prototype,"query",void 0);_e([A()],he.prototype,"contentLocale",void 0);_e([A({type:Number})],he.prototype,"pageSize",void 0);_e([A({type:Boolean})],he.prototype,"searchInDocumentTitlesOnly",void 0);_e([A()],he.prototype,"scope",void 0);_e([A()],he.prototype,"virtualField",void 0);_e([A({type:Boolean})],he.prototype,"ignoreEmptyQuery",void 0);_e([oe({store:W.name})],he.prototype,"openExternalDocumentInNewTab",void 0);_e([Ee([])],he.prototype,"filters",void 0);_e([Ee([])],he.prototype,"sort",void 0);_e([Ee({})],he.prototype,"otherQueryParams",void 0);_e([oe({store:"search"})],he.prototype,"request",void 0);_e([oe({store:"search"})],he.prototype,"paging",void 0);_e([oe({store:"search",selector:t=>t.spellcheck})],he.prototype,"autocorrect",void 0);_e([A({attribute:!1})],he.prototype,"searchServiceProvider",void 0)});var sy=y(()=>{"use strict"});var cy={};Q(cy,{ClearAllFiltersEvent:()=>cn,FtSearchContext:()=>he,FtSearchContextCssVariables:()=>Pb,FtSearchStateManager:()=>ho,LoadErrorEvent:()=>Wi,SearchRequestChangeEvent:()=>Hi,SearchResultsChangeEvent:()=>zi,searchInDocumentTitlesOnlySelector:()=>ay,styles:()=>Ol});var ly=y(()=>{"use strict";D();_l();El();sy();_l();wl();K("ft-search-context")(he)});var ln,dy=y(()=>{"use strict";ft();ln=pt.build("designedSearchInput")});var uy,py=y(()=>{"use strict";z();on();uy=I`
1216
1216
  * {
1217
1217
  box-sizing: border-box;
1218
1218
  }
@@ -1254,11 +1254,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1254
1254
  flex-grow: 1;
1255
1255
  flex-shrink: 1;
1256
1256
  }
1257
- `});var ji,Nl,Rt,cm=h(()=>{"use strict";k();H();ie();sm();In();vi();gi();wt();qt();Zt();ji=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Nl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Rt=class extends Me{render(){let e=co.get();return B`
1257
+ `});var ji,Nl,_t,fy=y(()=>{"use strict";D();z();ie();py();$n();vi();gi();At();qt();Zt();ji=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Nl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},_t=class extends Me{render(){let e=po.get();return B`
1258
1258
  <div class="ft-search-input-suggestion ft-word-wrap"
1259
1259
  part="container"
1260
1260
  @keydown=${r=>this.onSuggestKeyDown(r)}>
1261
- ${_o(this.suggestResults||[],r=>r.value,r=>this.renderSuggestion(r,e))}
1261
+ ${Lo(this.suggestResults||[],r=>r.value,r=>this.renderSuggestion(r,e))}
1262
1262
  </div>
1263
1263
  `}renderSuggestion(e,r){let n=B`
1264
1264
  <ft-ripple></ft-ripple>
@@ -1280,16 +1280,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1280
1280
  @click=${()=>this.onSuggestSelected(e.value)}>
1281
1281
  ${n}
1282
1282
  </div>
1283
- `}onSuggestKeyDown(e){var r,n,i,a,s,c;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":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new Nl(e))}getIcon(e){let r=e.type==="DOCUMENT"?Fe.file_format:Fe.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Kt.BOOK:Kt.ARTICLE;break;case"DOCUMENT":n=Sh(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Kt.TOPICS;break}return B`
1283
+ `}onSuggestKeyDown(e){var r,n,i,a,s,c;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":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new Nl(e))}getIcon(e){let r=e.type==="DOCUMENT"?We.file_format:We.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Kt.BOOK:Kt.ARTICLE;break;case"DOCUMENT":n=Ah(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Kt.TOPICS;break}return B`
1284
1284
  <ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
1285
- `}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()}};Rt.elementDefinitions={"ft-ripple":ce,"ft-typography":be,"ft-icon":ke};Rt.styles=[ks,am];ji([oe()],Rt.prototype,"request",void 0);ji([oe()],Rt.prototype,"suggestResults",void 0);ji([w()],Rt.prototype,"launchSearchPath",void 0);Rt=ji([ua("ft-search-input-suggestion")],Rt)});var Nt,_e,_l=h(()=>{"use strict";H();k();rn();qt();pt();im();ie();$r();cm();Oi();wt();Zt();Nt=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},_e=class extends Ge(Me){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.addI18nContext(cn)}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},i={...this.request,query:this.liveQuery},a=this.useCustomSearchPath?this.launchSearchPath:void 0,s=co.get().serializeToCurrentPageIfPossible(i,a);return B`
1286
- <div class="${rt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
1285
+ `}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()}};_t.elementDefinitions={"ft-ripple":ce,"ft-typography":be,"ft-icon":De};_t.styles=[Ds,uy];ji([oe()],_t.prototype,"request",void 0);ji([oe()],_t.prototype,"suggestResults",void 0);ji([A()],_t.prototype,"launchSearchPath",void 0);_t=ji([ua("ft-search-input-suggestion")],_t)});var Nt,Ne,Tl=y(()=>{"use strict";z();D();on();qt();ft();dy();ie();Mr();fy();Oi();At();Zt();Nt=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Ke(Me){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.addI18nContext(ln)}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},i={...this.request,query:this.liveQuery},a=this.useCustomSearchPath?this.launchSearchPath:void 0,s=po.get().serializeToCurrentPageIfPossible(i,a);return B`
1286
+ <div class="${it(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
1287
1287
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1288
1288
  <div class="ft-search-input--input-outline" part="input-outline">
1289
1289
  <input class="ft-search-input--input ft-typography--body2"
1290
1290
  part="input"
1291
1291
  type="search"
1292
- placeholder="${cn.messages.placeholder()}"
1292
+ placeholder="${ln.messages.placeholder()}"
1293
1293
  .value="${this.liveQuery}"
1294
1294
  @input=${c=>this.onInput(c)}
1295
1295
  @keydown=${c=>this.onSearchBarKeyDown(c)}
@@ -1308,7 +1308,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1308
1308
  part="clear-query"
1309
1309
  icon="close"
1310
1310
  round dense
1311
- label="${cn.messages.clearButton()}"
1311
+ label="${ln.messages.clearButton()}"
1312
1312
  @click=${()=>{var c;(c=this.stateManager)===null||c===void 0||c.setLiveQuery(""),this.input.focus()}}
1313
1313
  ></ft-button>
1314
1314
  <div class="ft-search-input--separator"></div>
@@ -1317,18 +1317,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1317
1317
  part="launch-search-in-input"
1318
1318
  icon="search"
1319
1319
  round dense
1320
- label="${cn.messages.searchButton()}"
1320
+ label="${ln.messages.searchButton()}"
1321
1321
  href="${this.useCustomSearchPath?s:""}"
1322
1322
  @click=${()=>this.launchSearch(this.liveQuery)}
1323
1323
  ></ft-button>
1324
1324
  </div>
1325
1325
  </div>
1326
- `}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.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);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;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){var r;(r=this.input)===null||r===void 0||r.focus(),this.launchSearch(e.detail)}};_e.elementDefinitions={"ft-search-input-suggestion":Rt,"ft-button":We};_e.styles=[mi,Ms,Jc];Nt([oe()],_e.prototype,"request",void 0);Nt([oe()],_e.prototype,"liveQuery",void 0);Nt([oe()],_e.prototype,"suggestResults",void 0);Nt([le()],_e.prototype,"forceCloseSuggestion",void 0);Nt([w()],_e.prototype,"launchSearchPath",void 0);Nt([w({type:Boolean})],_e.prototype,"useCustomSearchPath",void 0);Nt([xe(".ft-search-input--input")],_e.prototype,"input",void 0);Nt([xe("ft-search-input-suggestion")],_e.prototype,"suggestion",void 0);Nt([xe('[part="launch-search-in-input"]')],_e.prototype,"launchSearchButton",void 0)});var lm=h(()=>{"use strict"});var dm={};Y(dm,{FtSearchInput:()=>_e,FtSearchInputCssVariables:()=>se,styles:()=>Jc});var um=h(()=>{"use strict";k();_l();rn();lm();_l();G("ft-search-input")(_e)});var Pb,Pl,Tl=h(()=>{"use strict";H();Pb={},Pl=L`
1327
- `});var Ll,pm=h(()=>{"use strict";pt();Ll=ut.fromGwt("designedActionBlockAriaLabels")});var fm,_t,Il=h(()=>{"use strict";H();k();Tl();Oi();qt();pt();pm();fm=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},_t=class extends Ge(Me){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Ll)}render(){return this.isLastPage?V:B`
1326
+ `}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.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);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;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){var r;(r=this.input)===null||r===void 0||r.focus(),this.launchSearch(e.detail)}};Ne.elementDefinitions={"ft-search-input-suggestion":_t,"ft-button":He};Ne.styles=[yi,Ms,el];Nt([oe()],Ne.prototype,"request",void 0);Nt([oe()],Ne.prototype,"liveQuery",void 0);Nt([oe()],Ne.prototype,"suggestResults",void 0);Nt([le()],Ne.prototype,"forceCloseSuggestion",void 0);Nt([A()],Ne.prototype,"launchSearchPath",void 0);Nt([A({type:Boolean})],Ne.prototype,"useCustomSearchPath",void 0);Nt([xe(".ft-search-input--input")],Ne.prototype,"input",void 0);Nt([xe("ft-search-input-suggestion")],Ne.prototype,"suggestion",void 0);Nt([xe('[part="launch-search-in-input"]')],Ne.prototype,"launchSearchButton",void 0)});var hy=y(()=>{"use strict"});var yy={};Q(yy,{FtSearchInput:()=>Ne,FtSearchInputCssVariables:()=>se,styles:()=>el});var my=y(()=>{"use strict";D();Tl();on();hy();Tl();K("ft-search-input")(Ne)});var kb,Pl,Ll=y(()=>{"use strict";z();kb={},Pl=I`
1327
+ `});var Il,gy=y(()=>{"use strict";ft();Il=pt.fromGwt("designedActionBlockAriaLabels")});var by,Tt,$l=y(()=>{"use strict";z();D();Ll();Oi();qt();ft();gy();by=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Tt=class extends Ke(Me){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Il)}render(){return this.isLastPage?G:B`
1328
1328
  <ft-button @click="${this.loadMore}">
1329
- ${Ll.messages.searchPageLoadMore()}
1329
+ ${Il.messages.searchPageLoadMore()}
1330
1330
  </ft-button>
1331
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};_t.elementDefinitions={"ft-button":We};_t.styles=Pl;fm([oe({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}})],_t.prototype,"currentPage",void 0);fm([oe({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}})],_t.prototype,"isLastPage",void 0)});var hm=h(()=>{"use strict"});var mm={};Y(mm,{FtSearchLoadMoreButton:()=>_t,FtSearchLoadMoreButtonCssVariables:()=>Pb,styles:()=>Pl});var ym=h(()=>{"use strict";k();Il();Tl();hm();Il();G("ft-search-load-more-button")(_t)});function Tb(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[kl]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[kl]):this.dispatchEvent(new Ml)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=kl,$l([w({attribute:!1})],r.prototype,"cluster",void 0),$l([w({attribute:!1})],r.prototype,"result",void 0),$l([w({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var $l,Ml,kl,po,Dl=h(()=>{"use strict";qt();ie();$l=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Ml=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},kl=Symbol("registerInterval");po=class extends Tb(Me){}});var Ar,Bl=h(()=>{"use strict";H();Dl();wi();Po();wt();Ar=class extends po{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?B`
1331
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Tt.elementDefinitions={"ft-button":He};Tt.styles=Pl;by([oe({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}})],Tt.prototype,"currentPage",void 0);by([oe({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}})],Tt.prototype,"isLastPage",void 0)});var xy=y(()=>{"use strict"});var vy={};Q(vy,{FtSearchLoadMoreButton:()=>Tt,FtSearchLoadMoreButtonCssVariables:()=>kb,styles:()=>Pl});var Sy=y(()=>{"use strict";D();$l();Ll();xy();$l();K("ft-search-load-more-button")(Tt)});function Db(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[Dl]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Dl]):this.dispatchEvent(new Ml)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Dl,kl([A({attribute:!1})],r.prototype,"cluster",void 0),kl([A({attribute:!1})],r.prototype,"result",void 0),kl([A({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var kl,Ml,Dl,yo,Bl=y(()=>{"use strict";qt();ie();kl=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Ml=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Dl=Symbol("registerInterval");yo=class extends Db(Me){}});var Nr,Ul=y(()=>{"use strict";z();Bl();wi();Io();At();Nr=class extends yo{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?B`
1332
1332
  <ft-typography variant="body1" part="text">${ur(e)}</ft-typography>
1333
1333
  `:B`
1334
1334
  <style>
@@ -1336,44 +1336,44 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1336
1336
  display: none !important;
1337
1337
  }
1338
1338
  </style>
1339
- `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Ar.elementDefinitions={"ft-typography":be};Ar.styles=el});var gm=h(()=>{"use strict"});var bm={};Y(bm,{FtSearchResultAbstract:()=>Ar,FtSearchResultAbstractCssVariables:()=>Ei,styles:()=>el});var Ul=h(()=>{"use strict";k();Bl();wi();gm();Bl();G("ft-search-result-abstract")(Ar)});var Lb,Yt,Fl=h(()=>{"use strict";H();ie();Dl();Ri();wt();Po();vl();Lb=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Yt=class extends po{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():B`
1340
- <a href="${Di(this.result)}"
1339
+ `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Nr.elementDefinitions={"ft-typography":be};Nr.styles=tl});var Cy=y(()=>{"use strict"});var Oy={};Q(Oy,{FtSearchResultAbstract:()=>Nr,FtSearchResultAbstractCssVariables:()=>Ei,styles:()=>tl});var Fl=y(()=>{"use strict";D();Ul();wi();Cy();Ul();K("ft-search-result-abstract")(Nr)});var Mb,Yt,Wl=y(()=>{"use strict";z();ie();Bl();Ri();At();Io();Sl();Mb=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Yt=class extends yo{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():B`
1340
+ <a href="${Mi(this.result)}"
1341
1341
  @click=${this.onResultClick}
1342
- target="${Yh(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
1342
+ target="${ty(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
1343
1343
  part="link">
1344
1344
  ${this.renderTitle()}
1345
1345
  </a>
1346
- `:V}renderTitle(){return B`
1346
+ `:G}renderTitle(){return B`
1347
1347
  <ft-typography variant="title" part="text">${ur(this.selectTitle(this.result))}</ft-typography>
1348
- `}onResultClick(){this.dispatchEvent(new lo(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"))}};Yt.elementDefinitions={"ft-typography":be};Yt.styles=tl;Lb([w({type:Boolean})],Yt.prototype,"withoutLink",void 0)});var xm=h(()=>{"use strict"});var vm={};Y(vm,{FtSearchResultTitle:()=>Yt,FtSearchResultTitleCssVariables:()=>Ai,styles:()=>tl});var Wl=h(()=>{"use strict";k();Fl();Ri();xm();Fl();G("ft-search-result-title")(Yt)});var Ib,Hl,zl=h(()=>{"use strict";H();Ib={},Hl=L`
1348
+ `}onResultClick(){this.dispatchEvent(new fo(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"))}};Yt.elementDefinitions={"ft-typography":be};Yt.styles=rl;Mb([A({type:Boolean})],Yt.prototype,"withoutLink",void 0)});var Ey=y(()=>{"use strict"});var wy={};Q(wy,{FtSearchResultTitle:()=>Yt,FtSearchResultTitleCssVariables:()=>Ai,styles:()=>rl});var Hl=y(()=>{"use strict";D();Wl();Ri();Ey();Wl();K("ft-search-result-title")(Yt)});var Bb,zl,jl=y(()=>{"use strict";z();Bb={},zl=I`
1349
1349
  [part="no-results-message"] {
1350
1350
  text-align: center;
1351
1351
  padding: 12px;
1352
1352
  }
1353
- `});var Sm,jl=h(()=>{"use strict";H();Sm=L`
1353
+ `});var Ay,Vl=y(()=>{"use strict";z();Ay=I`
1354
1354
  a {
1355
1355
  color: inherit;
1356
1356
  text-decoration: inherit;
1357
1357
  }
1358
- `});var Vi,Cm=h(()=>{"use strict";Vi=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var Gl,Vl,Pt,Kl=h(()=>{"use strict";H();ie();k();jl();Cm();Gl=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Vl=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Pt=class extends te{constructor(){super(...arguments),this.index=0,this.stateManager=new Vi(e=>this.onResultSelected(e))}render(){return B`
1358
+ `});var Vi,Ry=y(()=>{"use strict";Vi=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var Kl,Gl,Pt,Zl=y(()=>{"use strict";z();ie();D();Vl();Ry();Kl=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Gl=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Pt=class extends te{constructor(){super(...arguments),this.index=0,this.stateManager=new Vi(e=>this.onResultSelected(e))}render(){return B`
1359
1359
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
1360
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Vl(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Pt.elementDefinitions={};Pt.styles=Sm;Gl([w({attribute:!1})],Pt.prototype,"cluster",void 0);Gl([le()],Pt.prototype,"result",void 0);Gl([w()],Pt.prototype,"index",void 0)});var Om=h(()=>{"use strict"});var Em=h(()=>{"use strict";k();Kl();jl();Om();Kl();G("ft-search-result-context")(Pt)});var fo,wm,Zl=h(()=>{"use strict";pt();fo=ut.build("searchResultsNumber"),wm={results:"{0} results","results[\\=1]":"1 result"}});var Rr,He,ql=h(()=>{"use strict";H();In();ie();k();zl();qt();Em();Wl();Ul();pt();Zl();Rr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Ge(Me){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>B`
1360
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Gl(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Pt.elementDefinitions={};Pt.styles=Ay;Kl([A({attribute:!1})],Pt.prototype,"cluster",void 0);Kl([le()],Pt.prototype,"result",void 0);Kl([A()],Pt.prototype,"index",void 0)});var _y=y(()=>{"use strict"});var Ny=y(()=>{"use strict";D();Zl();Vl();_y();Zl();K("ft-search-result-context")(Pt)});var mo,Ty,ql=y(()=>{"use strict";ft();mo=pt.build("searchResultsNumber"),Ty={results:"{0} results","results[\\=1]":"1 result"}});var Tr,ze,Yl=y(()=>{"use strict";z();$n();ie();D();jl();qt();Ny();Hl();Fl();ft();ql();Tr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ze=class extends Ke(Me){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>B`
1361
1361
  <ft-search-result-title></ft-search-result-title>
1362
1362
  <ft-search-result-abstract></ft-search-result-abstract>
1363
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(fo)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return B`
1364
- <ft-typography part="no-results-message" variant="body1">${fo.messages.results(0)}</ft-typography>
1365
- `;let e=this.buildClusters();return _o(e,r=>r.id,(r,n)=>{var i;return B`
1363
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(mo)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return B`
1364
+ <ft-typography part="no-results-message" variant="body1">${mo.messages.results(0)}</ft-typography>
1365
+ `;let e=this.buildClusters();return Lo(e,r=>r.id,(r,n)=>{var i;return B`
1366
1366
  <ft-search-result-context .cluster=${r} index="${n}"
1367
1367
  @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
1368
1368
  ${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],n)}
1369
1369
  </ft-search-result-context>
1370
- `})}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))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&bc.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}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,n;let i=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?i.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):i}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}};He.styles=Hl;Rr([w({type:String,attribute:"cluster-policy"})],He.prototype,"clusterPolicy",void 0);Rr([w({type:Boolean})],He.prototype,"displayNoResultsMessage",void 0);Rr([w({attribute:!1})],He.prototype,"renderResult",void 0);Rr([Ee([])],He.prototype,"clusterSortCriterion",void 0);Rr([oe({selector:t=>({...t.request,paging:void 0})})],He.prototype,"requestWithoutPaging",void 0);Rr([oe({selector:t=>t.request.paging})],He.prototype,"paging",void 0);Rr([oe()],He.prototype,"results",void 0)});var Am=h(()=>{"use strict"});var Rm={};Y(Rm,{FtSearchResults:()=>He,FtSearchResultsCssVariables:()=>Ib,styles:()=>Hl});var Nm=h(()=>{"use strict";k();ql();zl();Am();ql();G("ft-search-results")(He)});var $b,Yl,Ql=h(()=>{"use strict";H();$b={},Yl=L`
1370
+ `})}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))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&xc.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}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,n;let i=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?i.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):i}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=zl;Tr([A({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Tr([A({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Tr([A({attribute:!1})],ze.prototype,"renderResult",void 0);Tr([Ee([])],ze.prototype,"clusterSortCriterion",void 0);Tr([oe({selector:t=>({...t.request,paging:void 0})})],ze.prototype,"requestWithoutPaging",void 0);Tr([oe({selector:t=>t.request.paging})],ze.prototype,"paging",void 0);Tr([oe()],ze.prototype,"results",void 0)});var Py=y(()=>{"use strict"});var Ly={};Q(Ly,{FtSearchResults:()=>ze,FtSearchResultsCssVariables:()=>Bb,styles:()=>zl});var Iy=y(()=>{"use strict";D();Yl();jl();Py();Yl();K("ft-search-results")(ze)});var Ub,Ql,Xl=y(()=>{"use strict";z();Ub={},Ql=I`
1371
1371
 
1372
- `});var kb,Qt,Xl=h(()=>{"use strict";H();k();Ql();qt();pt();Zl();wt();kb=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Qt=class extends Ge(Me){constructor(){super(),this.addI18nContext(fo,wm)}render(){return this.paging==null?V:B`
1372
+ `});var Fb,Qt,Jl=y(()=>{"use strict";z();D();Xl();qt();ft();ql();At();Fb=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Qt=class extends Ke(Me){constructor(){super(),this.addI18nContext(mo,Ty)}render(){return this.paging==null?G:B`
1373
1373
  <ft-typography variant="body1">
1374
- ${fo.messages.results(this.paging.totalClustersCount)}
1374
+ ${mo.messages.results(this.paging.totalClustersCount)}
1375
1375
  </ft-typography>
1376
- `}};Qt.elementDefinitions={"ft-typography":be};Qt.styles=Yl;kb([oe()],Qt.prototype,"paging",void 0)});var _m=h(()=>{"use strict"});var Pm={};Y(Pm,{FtSearchResultsNumber:()=>Qt,FtSearchResultsNumberCssVariables:()=>$b,styles:()=>Yl});var Tm=h(()=>{"use strict";k();Xl();Ql();_m();Xl();G("ft-search-results-number")(Qt)});k();H();k();H();k();H();k();Cr();var ne={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",$.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",$.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",$.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","",$.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","",$.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",$.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",$.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",$.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",$.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",$.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",$.elevation04)},Gf=L`
1376
+ `}};Qt.elementDefinitions={"ft-typography":be};Qt.styles=Ql;Fb([oe()],Qt.prototype,"paging",void 0)});var $y=y(()=>{"use strict"});var ky={};Q(ky,{FtSearchResultsNumber:()=>Qt,FtSearchResultsNumberCssVariables:()=>Ub,styles:()=>Ql});var Dy=y(()=>{"use strict";D();Jl();Xl();$y();Jl();K("ft-search-results-number")(Qt)});D();z();D();z();D();z();D();wr();var ne={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",k.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",k.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",k.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","",k.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","",k.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",k.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",k.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",k.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",k.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",k.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",k.elevation04)},Qf=I`
1377
1377
  :host {
1378
1378
  display: block;
1379
1379
  }
@@ -1387,7 +1387,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1387
1387
  border-style: ${ne.borderStyle};
1388
1388
  border-width: 1px;
1389
1389
  border-radius: ${ne.borderRadius};
1390
- ${O(N.borderRadius,ne.borderRadius)};
1390
+ ${E(_.borderRadius,ne.borderRadius)};
1391
1391
  box-shadow: ${ne.elevation02};
1392
1392
  position: relative;
1393
1393
  width: 100%;
@@ -1417,7 +1417,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1417
1417
  outline-width: ${ne.selectedOutlineWidth};
1418
1418
  outline-color: ${ne.selectedOutlineColor};
1419
1419
  border-radius: ${ne.selectedBorderRadius};
1420
- ${O(N.borderRadius,ne.selectedBorderRadius)};
1420
+ ${E(_.borderRadius,ne.selectedBorderRadius)};
1421
1421
  box-shadow: ${ne.elevation04};
1422
1422
  }
1423
1423
 
@@ -1451,7 +1451,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1451
1451
  #action {
1452
1452
  grid-area: actions;
1453
1453
  }
1454
- `;rn();wi();Cr();Ri();var Ae={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",$.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",$.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",$.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",$.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",$.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",$.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",$.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",$.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",$.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",$.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",$.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",$.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",$.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",$.colorPrimary)},Rh=L`
1454
+ `;on();wi();wr();Ri();var Ae={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",k.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",k.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",k.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",k.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",k.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",k.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",k.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",k.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",k.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",k.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",k.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",k.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",k.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",k.colorPrimary)},Lh=I`
1455
1455
  .ft-search-in-doc--container {
1456
1456
  display: flex;
1457
1457
  flex-direction: column;
@@ -1459,11 +1459,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1459
1459
  }
1460
1460
 
1461
1461
  ft-search-input {
1462
- ${O(se.colorSurface,Ae.searchFieldBackgroundColor)};
1463
- ${O(se.colorOutline,Ae.searchFieldBorderColor)};
1464
- ${O(se.colorOnSurface,Ae.searchFieldTextColor)};
1465
- ${O(se.borderRadius,Ae.searchFieldBorderRadius)};
1466
- ${O(se.buttonColor,Ae.searchButtonColor)};
1462
+ ${E(se.colorSurface,Ae.searchFieldBackgroundColor)};
1463
+ ${E(se.colorOutline,Ae.searchFieldBorderColor)};
1464
+ ${E(se.colorOnSurface,Ae.searchFieldTextColor)};
1465
+ ${E(se.borderRadius,Ae.searchFieldBorderRadius)};
1466
+ ${E(se.buttonColor,Ae.searchButtonColor)};
1467
1467
  }
1468
1468
 
1469
1469
  ft-search-results-number {
@@ -1477,21 +1477,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1477
1477
  ft-search-load-more-button {
1478
1478
  margin: auto;
1479
1479
  }
1480
- `,Nh=L`
1480
+ `,Ih=I`
1481
1481
  ft-card {
1482
1482
  margin-bottom: 8px;
1483
- ${O(ne.elevation04,"none")};
1484
- ${O(ne.elevation02,"none")};
1485
- ${O(ne.borderStyle,"solid")};
1486
- ${O(ne.borderRadius,$.borderRadiusS)};
1487
- ${O(ne.colorSurface,Ae.resultBackgroundColor)};
1488
- ${O(ne.borderColor,Ae.resultBorderColor)};
1489
- ${O(ne.borderRadius,Ae.resultBorderRadius)};
1483
+ ${E(ne.elevation04,"none")};
1484
+ ${E(ne.elevation02,"none")};
1485
+ ${E(ne.borderStyle,"solid")};
1486
+ ${E(ne.borderRadius,k.borderRadiusS)};
1487
+ ${E(ne.colorSurface,Ae.resultBackgroundColor)};
1488
+ ${E(ne.borderColor,Ae.resultBorderColor)};
1489
+ ${E(ne.borderRadius,Ae.resultBorderRadius)};
1490
1490
  }
1491
1491
 
1492
1492
  ft-search-result-title {
1493
1493
  color: ${Ae.resultTitleTextColor};
1494
- ${O(Ai.highlightBackgroundColor,Ae.resultHighlightBackgroundColor)};
1494
+ ${E(Ai.highlightBackgroundColor,Ae.resultHighlightBackgroundColor)};
1495
1495
  }
1496
1496
 
1497
1497
  .breadcrumb {
@@ -1500,12 +1500,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1500
1500
 
1501
1501
  ft-search-result-abstract {
1502
1502
  color: ${Ae.resultContentTextColor};
1503
- ${O(Ei.highlightBackgroundColor,Ae.resultHighlightBackgroundColor)};
1503
+ ${E(Ei.highlightBackgroundColor,Ae.resultHighlightBackgroundColor)};
1504
1504
  }
1505
1505
 
1506
1506
  ft-card:hover {
1507
- ${O(ne.hoverBorderColor,Ae.resultHoverBorderColor)};
1508
- ${O(N.color,Ae.resultHoverBackgroundColor)};
1507
+ ${E(ne.hoverBorderColor,Ae.resultHoverBorderColor)};
1508
+ ${E(_.color,Ae.resultHoverBackgroundColor)};
1509
1509
  }
1510
1510
 
1511
1511
  .result-container {
@@ -1518,11 +1518,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1518
1518
  text-decoration: none;
1519
1519
  color: inherit;
1520
1520
  }
1521
- `;pt();k();ie();var Vh;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Vh||(Vh={}));var Eb=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},xl=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},bl=Symbol("registerInterval");function wb(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[bl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[bl]):this.dispatchEvent(new xl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=bl,Eb([le()],r.prototype,"stateManager",void 0),r}var Mi=class extends wb(Le){};ie();vl();var Bi=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};pt();var Sl=ut.build("designedReaderSearchInDocument");k();H();ie();k();gi();wt();$r();var Ui=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Ke=class extends te{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 B`
1522
- <div id="container" part="container" class=${rt(e)}>
1521
+ `;ft();D();ie();var Yh;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Yh||(Yh={}));var Nb=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},vl=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},xl=Symbol("registerInterval");function Tb(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[xl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[xl]):this.dispatchEvent(new vl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=xl,Nb([le()],r.prototype,"stateManager",void 0),r}var Di=class extends Tb(Ie){};ie();Sl();var Bi=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};ft();var Cl=pt.build("designedReaderSearchInDocument");D();z();ie();D();gi();At();Mr();var Ui=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Ze=class extends te{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 B`
1522
+ <div id="container" part="container" class=${it(e)}>
1523
1523
  ${this.clickable?B`
1524
1524
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
1525
- `:V}
1525
+ `:G}
1526
1526
  <div id="header" part="header">
1527
1527
  <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
1528
1528
  <slot name="header"></slot>
@@ -1536,17 +1536,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1536
1536
  </ft-typography>
1537
1537
  </div>
1538
1538
  </div>
1539
- `}};Ke.elementDefinitions={"ft-ripple":ce,"ft-typography":be};Ke.styles=Gf;Ui([w()],Ke.prototype,"title",void 0);Ui([w({type:Boolean})],Ke.prototype,"clickable",void 0);Ui([w({type:Boolean})],Ke.prototype,"selected",void 0);Ui([w({type:Boolean})],Ke.prototype,"noHeader",void 0);G("ft-card")(Ke);var Nr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ze=class t extends Ge(Mi){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(Sl)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var n;return B`
1540
- <style> ${Nh}</style>
1541
- <a href="${Di(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1539
+ `}};Ze.elementDefinitions={"ft-ripple":ce,"ft-typography":be};Ze.styles=Qf;Ui([A()],Ze.prototype,"title",void 0);Ui([A({type:Boolean})],Ze.prototype,"clickable",void 0);Ui([A({type:Boolean})],Ze.prototype,"selected",void 0);Ui([A({type:Boolean})],Ze.prototype,"noHeader",void 0);K("ft-card")(Ze);var Pr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},je=class t extends Ke(Di){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(Cl)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var n;return B`
1540
+ <style> ${Ih}</style>
1541
+ <a href="${Mi(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1542
1542
  <ft-card clickable noheader>
1543
1543
  <div class="result-container">
1544
- ${this.hideResultTitle?V:B`
1544
+ ${this.hideResultTitle?G:B`
1545
1545
  <ft-search-result-title withoutLink="true"></ft-search-result-title>`}
1546
- ${this.hideResultBreadcrumb?V:B`
1546
+ ${this.hideResultBreadcrumb?G:B`
1547
1547
  <ft-typography class="breadcrumb" variant="caption">${(n=e.topic)===null||n===void 0?void 0:n.breadcrumb.join(" > ")}</ft-typography>
1548
1548
  `}
1549
- ${this.hideResultAbstract?V:B`
1549
+ ${this.hideResultAbstract?G:B`
1550
1550
  <ft-search-result-abstract></ft-search-result-abstract>
1551
1551
  `}
1552
1552
  </div>
@@ -1561,9 +1561,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1561
1561
  ignoreEmptyQuery
1562
1562
  @ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new Bi({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1563
1563
  <div class="ft-search-in-doc--container">
1564
- <ft-search-input placeholder=${Sl.messages.placeholder()}
1564
+ <ft-search-input placeholder=${Cl.messages.placeholder()}
1565
1565
  @change="${e=>{var r;this.userHasDoneManualAction=!0,(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}"></ft-search-input>
1566
- ${this.hideResultsNumber?V:B`
1566
+ ${this.hideResultsNumber?G:B`
1567
1567
  <ft-search-results-number></ft-search-results-number>
1568
1568
  `}
1569
1569
  <ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
@@ -1575,7 +1575,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1575
1575
  </slot>
1576
1576
  </div>
1577
1577
  </ft-search-context>
1578
- `:V}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new lo(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(nm(),om)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(um(),dm)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(ym(),mm)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Ul(),bm)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Wl(),vm)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Nm(),Rm)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Tm(),Pm)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};ze.elementDefinitions={"ft-card":Ke};ze.styles=Rh;Nr([oe()],ze.prototype,"map",void 0);Nr([oe()],ze.prototype,"searchInDocumentQuery",void 0);Nr([xe("ft-search-results")],ze.prototype,"searchResults",void 0);Nr([w({type:Boolean})],ze.prototype,"hideResultTitle",void 0);Nr([w({type:Boolean})],ze.prototype,"hideResultBreadcrumb",void 0);Nr([w({type:Boolean})],ze.prototype,"hideResultAbstract",void 0);Nr([w({type:Boolean})],ze.prototype,"hideResultsNumber",void 0);G("ft-reader-search-in-document")(ze);})();
1578
+ `:G}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new fo(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(ly(),cy)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(my(),yy)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Sy(),vy)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Fl(),Oy)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Hl(),wy)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Iy(),Ly)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Dy(),ky)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};je.elementDefinitions={"ft-card":Ze};je.styles=Lh;Pr([oe()],je.prototype,"map",void 0);Pr([oe()],je.prototype,"searchInDocumentQuery",void 0);Pr([xe("ft-search-results")],je.prototype,"searchResults",void 0);Pr([A({type:Boolean})],je.prototype,"hideResultTitle",void 0);Pr([A({type:Boolean})],je.prototype,"hideResultBreadcrumb",void 0);Pr([A({type:Boolean})],je.prototype,"hideResultAbstract",void 0);Pr([A({type:Boolean})],je.prototype,"hideResultsNumber",void 0);K("ft-reader-search-in-document")(je);})();
1579
1579
  /*! Bundled license information:
1580
1580
 
1581
1581
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: